Mathieu Schroeter
1300d8fb05
Disable smooth scroll with demos
...
It prevents lag and bad shift with mouse clicks.
2018-07-02 22:07:29 +02:00
Mathieu Schroeter
1093c048ac
Update some copyright dates
2018-02-14 06:36:22 +01:00
Mathieu Schroeter
403b5dbb3d
Use the right mouse click (when building) for deleting
...
- It fixes issue #55 .
2018-02-14 06:16:45 +01:00
Mathieu Schroeter
c6d109f87d
Revert "Return the music format finally retrieved by GetMusicLocation"
...
This reverts commit 7097c6708dc4e00d2aa86e95cea279cdfe20a432.
2018-01-31 23:57:49 +01:00
Mathieu Schroeter
fbfadb1eef
Enable only music choices accordingly to the available formats
...
It fixes OdyX need #47 .
2018-01-31 07:32:33 +01:00
Mathieu Schroeter
e52704d937
Revert "Add an argument to look for music only in the base location"
...
This reverts commit ce0fe82a02c0334a068bd2b78fa1f92e81680806.
It's not very useful..
2018-01-31 07:20:36 +01:00
Mathieu Schroeter
ce0fe82a02
Add an argument to look for music only in the base location
2018-01-31 07:10:32 +01:00
Mathieu Schroeter
7097c6708d
Return the music format finally retrieved by GetMusicLocation
...
It means that it's possible that this function returns something
different of the restoreMusic settings. It's the case when the prefered
format is not available in the directories.
2018-01-31 06:59:02 +01:00
Mathieu Schroeter
daa3dbf22b
Move the code to retrieve the music in a dedicated method
2018-01-31 06:50:56 +01:00
Mathieu Schroeter
dc8f6319f0
Cosmetic: rename windowScale to zoom
2017-12-14 23:10:24 +01:00
Mathieu Schroeter
1db67ed200
Save the window zoom and fullscreen settings in the user preferences
2017-12-14 23:07:17 +01:00
Mathieu Schroeter
8f5cfdfaa0
Fix Win32 build by removing WPARAM/LPARAM clash
2017-12-01 13:52:36 +01:00
Mathieu Schroeter
546f5a86ba
Add smooth scrolling for the playing and build area
...
It fixes the issue #28 .
2017-10-30 18:14:31 +01:00
Mathieu Schroeter
05a8c4469a
Fix noise when saving info.blp file
...
The enum must be sync with the vector. I should rewrite
this stuff otherwise.
2017-10-23 19:30:29 +02:00
Mathieu Schroeter
6da7be9e78
Cosmetic: apply clang-format
2017-10-23 17:32:18 +02:00
krzys-h
b96741b45f
Merge remote-tracking branch 'origin/master' into HEAD
2017-10-22 20:57:31 +02:00
Mathieu Schroeter
04f127af19
Prevent black screen (glitch) when a movie is not found
2017-10-21 23:31:32 +02:00
Mathieu Schroeter
c81b41192d
Fix cheat text visibility regression
2017-10-11 16:50:00 +02:00
Mathieu Schroeter
00d4fbf59e
Add Italian translation
2017-09-29 16:26:46 +02:00
Mathieu Schroeter
459759ffa5
WIP: add support for cli option to change the window size
2017-09-19 20:06:13 +02:00
krzys-h
8a31aaf0e5
Add support for Polish translations
2017-09-12 16:08:59 +02:00
Mathieu Schroeter
ca97d1b278
Add a --play-record arg for playing a specific demo file
2017-08-26 22:40:59 +02:00
Mathieu Schroeter
bfe84f65ca
Begin real improvements for the recorder
...
Use an infinite vector instead of a stupid static array.
2017-08-26 00:56:58 +02:00
Mathieu Schroeter
a635640f4c
Save the selected language in the info file if different of user's locale
2017-08-24 10:52:40 +02:00
Mathieu Schroeter
8cd1cacb89
Rename windows types to something else
2017-08-21 22:08:25 +02:00
Mathieu Schroeter
d5acf3822b
Add a boolean for starting the recorder
...
It's not usable for now.
2017-08-14 21:59:03 +02:00
Mathieu Schroeter
733b6b7b1a
Restore the demo recorder by serializing useful SDL events
2017-08-14 21:39:51 +02:00
Mathieu Schroeter
77262bf3a8
Show a message on the main screen if an update is available
2017-08-13 16:37:01 +02:00
Mathieu Schroeter
41ae39d1dc
Use the enum type instead of Sint32 with the buttons
2017-08-11 20:01:49 +02:00
Mathieu Schroeter
a14adc4fe5
Fix build with clang
2017-08-04 21:45:17 +02:00
Mathieu Schroeter
4b2cf9417d
Reformat with clang-format file
2017-08-04 00:21:47 +02:00
Mathieu Schroeter
57b6190a53
Add license header in all source files
2017-08-03 22:51:40 +02:00
Mathieu Schroeter
ac128c7e46
Cosmetic: rename fr filenames to en
2017-07-09 13:35:48 +02:00
Mathieu Schroeter
1e27bd8815
Use an enum for the error codes
2017-03-13 19:19:39 +01:00
Mathieu Schroeter
694c05717e
Replace a lot of c string by c++ string
2017-03-04 17:19:36 +01:00
Mathieu Schroeter
8de7181458
Remove useless mouse type code
2017-03-03 22:44:09 +01:00
Mathieu Schroeter
ae6d01a519
Add getter for the window scale factor
2017-03-01 18:08:45 +01:00
Mathieu Schroeter
5ff9482422
Remove dead code
2017-02-28 20:58:09 +01:00
Mathieu Schroeter
25ce46a186
Add a new global setting panel
...
It's not complete and the images are temporary.
This screen is useful in order to change the language,
the screen mode and the window size.
2017-02-28 19:44:56 +01:00
Mathieu Schroeter
4b55f8f92f
Add a user data to user event (optional)
2017-02-28 19:35:45 +01:00
Mathieu Schroeter
cceeed43f7
Remove dead code
2017-02-26 17:47:24 +01:00
Mathieu Schroeter
01c8b5a042
Cosmetic: change coding style with
...
astyle src/*.{cpp,h} -s4 -Y -m0 -p -xg -xd -H -k3 -W3 -y -xb -xj -O -c -xy -xC80 -U
2017-02-12 13:14:22 +01:00
Mathieu Schroeter
59698849e1
Use type with explicit length especially for long
...
The long type on win64 is 32 bits, and 64 bits on linux 64.
2017-02-12 00:51:38 +01:00
Mathieu Schroeter
14428f6d49
Fix all warnings
2017-02-11 18:58:56 +01:00
Mathieu Schroeter
14385461fa
Fix a lot of warnings
2017-02-11 18:33:40 +01:00
Mathieu Schroeter
90ba4b791c
WIP: convert to CMake
2017-02-10 23:03:33 +01:00