Skip to content

Commit 3fa20e2

Browse files
committed
license changes, drag and drop files, more mml import LUT progress, slider crash fixes,
1 parent 85ed816 commit 3fa20e2

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

61 files changed

+567
-87
lines changed

LICENSE

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
Copyright (c) 2009-2018 Tero Lindeman (kometbomb)
1+
Copyright (c) 2009-2018 Tero Lindeman (kometbomb)
2+
Copyright (c) 2021-2022 Georgy Saraykin (LTVA1 a.k.a. LTVA) and contributors
23
Additional graphics copyright (c) 2010-2018 Ilija Melentijevic
34

45
Permission is hereby granted, free of charge, to any person

SDL.txt

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
The Simple DirectMedia Layer (SDL for short) is a cross-platform
2+
library designed to make it easy to write multi-media software, such
3+
as games and emulators.
4+
5+
The Simple DirectMedia Layer library source code is available from:
6+
http://www.libsdl.org/
7+
8+
This library is distributed under the terms of the GNU LGPL license:
9+
http://www.gnu.org/copyleft/lesser.html

SDL_image.txt

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
Please include this notice with the runtime environment:
2+
3+
This library is distributed under the terms of the GNU LGPL license:
4+
http://www.gnu.org/copyleft/lesser.html
5+
6+
The source is available from the libraries page at the SDL website:
7+
http://www.libsdl.org/
Binary file not shown.

src/action.c

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
/*
2-
Copyright (c) 2009-2010 Tero Lindeman (kometbomb)
2+
Copyright (c) 2009-2010 Tero Lindeman (kometbomb)
3+
Copyright (c) 2021-2022 Georgy Saraykin (LTVA1 a.k.a. LTVA) and contributors
34
45
Permission is hereby granted, free of charge, to any person
56
obtaining a copy of this software and associated documentation

src/action.h

+2-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
#define ACTION_H
33

44
/*
5-
Copyright (c) 2009-2010 Tero Lindeman (kometbomb)
5+
Copyright (c) 2009-2010 Tero Lindeman (kometbomb)
6+
Copyright (c) 2021-2022 Georgy Saraykin (LTVA1 a.k.a. LTVA) and contributors
67
78
Permission is hereby granted, free of charge, to any person
89
obtaining a copy of this software and associated documentation

src/clipboard.c

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
/*
2-
Copyright (c) 2009-2010 Tero Lindeman (kometbomb)
2+
Copyright (c) 2009-2010 Tero Lindeman (kometbomb)
3+
Copyright (c) 2021-2022 Georgy Saraykin (LTVA1 a.k.a. LTVA) and contributors
34
45
Permission is hereby granted, free of charge, to any person
56
obtaining a copy of this software and associated documentation

src/clipboard.h

+2-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
#define CLIPBOARD_H
33

44
/*
5-
Copyright (c) 2009-2010 Tero Lindeman (kometbomb)
5+
Copyright (c) 2009-2010 Tero Lindeman (kometbomb)
6+
Copyright (c) 2021-2022 Georgy Saraykin (LTVA1 a.k.a. LTVA) and contributors
67
78
Permission is hereby granted, free of charge, to any person
89
obtaining a copy of this software and associated documentation

src/command.c

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
/*
2-
Copyright (c) 2009-2010 Tero Lindeman (kometbomb)
2+
Copyright (c) 2009-2010 Tero Lindeman (kometbomb)
3+
Copyright (c) 2021-2022 Georgy Saraykin (LTVA1 a.k.a. LTVA) and contributors
34
45
Permission is hereby granted, free of charge, to any person
56
obtaining a copy of this software and associated documentation

src/command.h

+2-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
#define COMMAND_H
33

44
/*
5-
Copyright (c) 2009-2010 Tero Lindeman (kometbomb)
5+
Copyright (c) 2009-2010 Tero Lindeman (kometbomb)
6+
Copyright (c) 2021-2022 Georgy Saraykin (LTVA1 a.k.a. LTVA) and contributors
67
78
Permission is hereby granted, free of charge, to any person
89
obtaining a copy of this software and associated documentation

src/config.c

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
/*
2-
Copyright (c) 2009-2010 Tero Lindeman (kometbomb)
2+
Copyright (c) 2009-2010 Tero Lindeman (kometbomb)
3+
Copyright (c) 2021-2022 Georgy Saraykin (LTVA1 a.k.a. LTVA) and contributors
34
45
Permission is hereby granted, free of charge, to any person
56
obtaining a copy of this software and associated documentation

src/config.h

+2-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
#define CONFIG_H
33

44
/*
5-
Copyright (c) 2009-2010 Tero Lindeman (kometbomb)
5+
Copyright (c) 2009-2010 Tero Lindeman (kometbomb)
6+
Copyright (c) 2021-2022 Georgy Saraykin (LTVA1 a.k.a. LTVA) and contributors
67
78
Permission is hereby granted, free of charge, to any person
89
obtaining a copy of this software and associated documentation

src/console.c

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
/*
2-
Copyright (c) 2009-2010 Tero Lindeman (kometbomb)
2+
Copyright (c) 2009-2010 Tero Lindeman (kometbomb)
3+
Copyright (c) 2021-2022 Georgy Saraykin (LTVA1 a.k.a. LTVA) and contributors
34
45
Permission is hereby granted, free of charge, to any person
56
obtaining a copy of this software and associated documentation

src/console.h

+2-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
#define CONSOLE_H
33

44
/*
5-
Copyright (c) 2009-2010 Tero Lindeman (kometbomb)
5+
Copyright (c) 2009-2010 Tero Lindeman (kometbomb)
6+
Copyright (c) 2021-2022 Georgy Saraykin (LTVA1 a.k.a. LTVA) and contributors
67
78
Permission is hereby granted, free of charge, to any person
89
obtaining a copy of this software and associated documentation

src/copypaste.c

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
/*
2-
Copyright (c) 2009-2010 Tero Lindeman (kometbomb)
2+
Copyright (c) 2009-2010 Tero Lindeman (kometbomb)
3+
Copyright (c) 2021-2022 Georgy Saraykin (LTVA1 a.k.a. LTVA) and contributors
34
45
Permission is hereby granted, free of charge, to any person
56
obtaining a copy of this software and associated documentation

src/copypaste.h

+2-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@
66
#include "../klystron/src/snd/music.h"
77

88
/*
9-
Copyright (c) 2009-2010 Tero Lindeman (kometbomb)
9+
Copyright (c) 2009-2010 Tero Lindeman (kometbomb)
10+
Copyright (c) 2021-2022 Georgy Saraykin (LTVA1 a.k.a. LTVA) and contributors
1011
1112
Permission is hereby granted, free of charge, to any person
1213
obtaining a copy of this software and associated documentation

src/diskop.c

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
/*
2-
Copyright (c) 2009-2010 Tero Lindeman (kometbomb)
2+
Copyright (c) 2009-2010 Tero Lindeman (kometbomb)
3+
Copyright (c) 2021-2022 Georgy Saraykin (LTVA1 a.k.a. LTVA) and contributors
34
45
Permission is hereby granted, free of charge, to any person
56
obtaining a copy of this software and associated documentation
@@ -1487,7 +1488,7 @@ void open_data(void *type, void *action, void *_ret)
14871488
char str[1000];
14881489
snprintf(str, sizeof(str), "%s %s", modename[a], open_stuff[t].name);
14891490

1490-
stop(0,0,0);
1491+
stop(0, 0, 0);
14911492

14921493
char _def[1024] = "";
14931494
char *def = NULL;

src/diskop.h

+2-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
#define DISKOP_H
33

44
/*
5-
Copyright (c) 2009-2010 Tero Lindeman (kometbomb)
5+
Copyright (c) 2009-2010 Tero Lindeman (kometbomb)
6+
Copyright (c) 2021-2022 Georgy Saraykin (LTVA1 a.k.a. LTVA) and contributors
67
78
Permission is hereby granted, free of charge, to any person
89
obtaining a copy of this software and associated documentation

src/edit.c

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
/*
2-
Copyright (c) 2009-2010 Tero Lindeman (kometbomb)
2+
Copyright (c) 2009-2010 Tero Lindeman (kometbomb)
3+
Copyright (c) 2021-2022 Georgy Saraykin (LTVA1 a.k.a. LTVA) and contributors
34
45
Permission is hereby granted, free of charge, to any person
56
obtaining a copy of this software and associated documentation

src/edit.h

+2-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
#define EDIT_H
33

44
/*
5-
Copyright (c) 2009-2010 Tero Lindeman (kometbomb)
5+
Copyright (c) 2009-2010 Tero Lindeman (kometbomb)
6+
Copyright (c) 2021-2022 Georgy Saraykin (LTVA1 a.k.a. LTVA) and contributors
67
78
Permission is hereby granted, free of charge, to any person
89
obtaining a copy of this software and associated documentation

src/event.c

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
/*
2-
Copyright (c) 2009-2010 Tero Lindeman (kometbomb)
2+
Copyright (c) 2009-2010 Tero Lindeman (kometbomb)
3+
Copyright (c) 2021-2022 Georgy Saraykin (LTVA1 a.k.a. LTVA) and contributors
34
45
Permission is hereby granted, free of charge, to any person
56
obtaining a copy of this software and associated documentation

src/event.h

+3-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
#define EVENT_H
33

44
/*
5-
Copyright (c) 2009-2010 Tero Lindeman (kometbomb)
5+
Copyright (c) 2009-2010 Tero Lindeman (kometbomb)
6+
Copyright (c) 2021-2022 Georgy Saraykin (LTVA1 a.k.a. LTVA) and contributors
67
78
Permission is hereby granted, free of charge, to any person
89
obtaining a copy of this software and associated documentation
@@ -45,7 +46,7 @@ void wave_add_param(int d);
4546
void songinfo_event(SDL_Event *e);
4647
void songinfo_add_param(int d);
4748
void instrument_add_param(int a);
48-
void del_sequence(int first,int last,int track);
49+
void del_sequence(int first, int last, int track);
4950
void add_sequence(int channel, int position, int pattern, int offset);
5051
void set_room_size(int fx, int size, int vol, int dec);
5152
void update_position_sliders();

src/export.c

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
/*
2-
Copyright (c) 2009-2010 Tero Lindeman (kometbomb)
2+
Copyright (c) 2009-2010 Tero Lindeman (kometbomb)
3+
Copyright (c) 2021-2022 Georgy Saraykin (LTVA1 a.k.a. LTVA) and contributors
34
Permission is hereby granted, free of charge, to any person
45
obtaining a copy of this software and associated documentation
56
files (the "Software"), to deal in the Software without

src/export.h

+2-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
#define EXPORT_H
33

44
/*
5-
Copyright (c) 2009-2010 Tero Lindeman (kometbomb)
5+
Copyright (c) 2009-2010 Tero Lindeman (kometbomb)
6+
Copyright (c) 2021-2022 Georgy Saraykin (LTVA1 a.k.a. LTVA) and contributors
67
78
Permission is hereby granted, free of charge, to any person
89
obtaining a copy of this software and associated documentation

src/help.c

+5-4
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ const char* comments[] = {
8989
"",
9090
"Of course, now these are minor additions, but with each I better understand",
9191
"how tracker works, and so I can add more complex stuff in the future. 4-op is",
92-
"on the way and other stuff too!",
92+
"already there and other stuff is on its way too!",
9393
//"\x80\x81\x82\x83\x84\x85\x86\x87\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f\x90\x91\x92\x93\x94\x95\x96\x97\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xad\xa8\xa9\xaa\xab",
9494
// ░ ▒ ▓ █ │ ┤ ╡ ╢ ╖ ╕ ╣ ║ ╗ ╝ ╜ ╛ ┐ └ ┴ ┬ ├ ─ ┼ ╞ ╟ ╚ ╔ ╩ ╦ ╠ ═ ╬ ╧ ╨ ╤ ╥ ╙ ╘ ╒ ╓ ╫ ╪ ┘ ┌
9595

@@ -183,7 +183,8 @@ const char* comments[] = {
183183
"you increase this number, you get kinda the same effect as decreasing cutoff",
184184
"frequency, but there is some difference which may be useful in some cases.",
185185
"Basically higher number there means that inside klystrack-plus sound engine",
186-
"you have a chain of 1, 2 or 4 filters. If you want more, just ask about it lol.",
186+
"you have a chain of 1, 2, 4, 8, 16 or 32 filters. If you want more, just ask",
187+
"about it lol.",
187188
"",
188189
"Then a bit about new filter modes. These are just sums of signals of different",
189190
"filters divided by a number of modes these filters have. For example LHP mode",
@@ -534,13 +535,13 @@ int helpbox(const char *title, GfxDomain *domain, GfxSurface *gfx, const Font *l
534535
if (e.wheel.y > 0)
535536
{
536537
data.list_position -= 2;
537-
data.scrollbar.position -= 2;
538+
*(data.scrollbar.position) -= 2;
538539
}
539540

540541
else
541542
{
542543
data.list_position += 2;
543-
data.scrollbar.position += 2;
544+
*(data.scrollbar.position) += 2;
544545
}
545546

546547
data.list_position = my_max(0, my_min((data.n_lines - 1) - ((domain->window_h - (33 + 30)) / 18), data.list_position));

src/import/ahx.c

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
/*
2-
Copyright (c) 2009-2010 Tero Lindeman (kometbomb)
2+
Copyright (c) 2009-2010 Tero Lindeman (kometbomb)
3+
Copyright (c) 2021-2022 Georgy Saraykin (LTVA1 a.k.a. LTVA) and contributors
34
45
Permission is hereby granted, free of charge, to any person
56
obtaining a copy of this software and associated documentation

src/import/ahx.h

+2-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
#define AHX_H
33

44
/*
5-
Copyright (c) 2009-2010 Tero Lindeman (kometbomb)
5+
Copyright (c) 2009-2010 Tero Lindeman (kometbomb)
6+
Copyright (c) 2021-2022 Georgy Saraykin (LTVA1 a.k.a. LTVA) and contributors
67
78
Permission is hereby granted, free of charge, to any person
89
obtaining a copy of this software and associated documentation

src/import/import.c

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
/*
2-
Copyright (c) 2009-2010 Tero Lindeman (kometbomb)
2+
Copyright (c) 2009-2010 Tero Lindeman (kometbomb)
3+
Copyright (c) 2021-2022 Georgy Saraykin (LTVA1 a.k.a. LTVA) and contributors
34
45
Permission is hereby granted, free of charge, to any person
56
obtaining a copy of this software and associated documentation

src/import/import.h

+2-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
#define IMPORT_H
33

44
/*
5-
Copyright (c) 2009-2010 Tero Lindeman (kometbomb)
5+
Copyright (c) 2009-2010 Tero Lindeman (kometbomb)
6+
Copyright (c) 2021-2022 Georgy Saraykin (LTVA1 a.k.a. LTVA) and contributors
67
78
Permission is hereby granted, free of charge, to any person
89
obtaining a copy of this software and associated documentation

0 commit comments

Comments
 (0)