Mathieu Schroeter
8b7142a084
Add the option for chaning the render quality
...
It toggles between 'nearest' (faster) and 'best' (slower but more
prettier). It's enabled only when the game runs in fullscreen.
The option can be passed by command line argument `--render-quality on`,
by settings.json file with a `"renderquality": true` entry or simply
with the main settings screen in the game.
2018-08-06 07:20:23 +02:00
Mathieu Schroeter
d43bbb9784
Update copyrights where appropriate
2018-08-03 12:20:15 +02:00
Mathieu Schroeter
1216ca08b6
WIP: add emscripten support
2018-07-19 23:17:23 +02:00
Mathieu Schroeter
bc0a7cbc76
Do not prepend SDL headers by SDL2/
...
It's not always the case.
2018-07-17 18:13:08 +02:00
Mathieu Schroeter
6bf6b3de07
Restart the game when the display mode has changed
2018-06-28 23:55:08 +02:00
Mathieu Schroeter
05dd698578
Add a --legacy option for starting the game in 640x480 mode
2018-06-28 23:54:30 +02:00
Mathieu Schroeter
e88e58863b
Merge branch 'master' into wip/landscape
2018-02-19 18:13:21 +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
da3d683bf7
Add a global settings entry for switching between ogg and midi music
2017-12-12 23:48:21 +01:00
Mathieu Schroeter
d2bfd12934
Restore midi playback support and add --restore-midi cli argument
...
- It closes issue #49 .
2017-12-10 15:34:47 +01:00
Mathieu Schroeter
8f5cfdfaa0
Fix Win32 build by removing WPARAM/LPARAM clash
2017-12-01 13:52:36 +01:00
Mathieu Schroeter
fd43a6ef01
WIP: add landscape support
2017-10-06 18:23:07 +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
25641ac20e
Fix warnings on windows build
2017-08-21 22:14:00 +02:00
Mathieu Schroeter
8cd1cacb89
Rename windows types to something else
2017-08-21 22:08:25 +02:00
Mathieu Schroeter
3909d96f29
Fix broken previous commit
2017-08-15 17:55:30 +02:00
Mathieu Schroeter
40d63ed8af
Disable the recorder feature by default
...
In order to be really fun, I must add a new window where it will be
possible to load a record exactly like for the savegame. A button should
be added to the main screen in order to access to the records.
I suggets to add this feature with the next version.
2017-08-15 17:53:09 +02:00
Mathieu Schroeter
ea78526ba4
Add a command line arg to restore old funny bugs
2017-08-14 22:22:30 +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
4508c1a51c
Use argagg for command line args parsing
...
Use this for printing help and version.
2017-08-11 14:39:09 +02:00
Mathieu Schroeter
1b4f3822fa
Rename event with something less windows-like
2017-08-07 18:33:26 +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
694c05717e
Replace a lot of c string by c++ string
2017-03-04 17:19:36 +01:00
Mathieu Schroeter
6608fa2fdb
Fix initial value for the fullscreen
2017-03-03 23:11:14 +01:00
Mathieu Schroeter
148b11bd33
Add countof macro for arrays
2017-02-15 17:33:03 +01:00
Mathieu Schroeter
ebec94b32b
Cosmetics: fix style, remove deadcode, const
2017-02-12 14:36:34 +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
90ba4b791c
WIP: convert to CMake
2017-02-10 23:03:33 +01:00