Mathieu Schroeter
fcb6f00a7f
Show the error dialog before creating the SDL window
2017-09-16 22:56:43 +02:00
Mathieu Schroeter
eb044e13ca
Check that the file exists instead of crashing
...
- It closes issue #15 .
2017-09-16 22:55:38 +02:00
Mathieu Schroeter
9b052fa8a2
Start with a window and after go in fullscreen
...
It prevents glitches with the textures on old systems.
No idea why...
2017-09-14 00:07:21 +02:00
Mathieu Schroeter
a17bbcefba
Cosmetic: fix indent
2017-08-29 18:37:54 +02:00
Mathieu Schroeter
32aa5c9c3f
Specify that we are in v1.9.0-rc1
2017-08-29 18:36:30 +02:00
Mathieu Schroeter
a1549544d4
Fix test against getline return value
2017-08-29 09:10:32 +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
8cd1cacb89
Rename windows types to something else
2017-08-21 22:08:25 +02:00
Mathieu Schroeter
98c9191a11
Reorder includes
2017-08-20 21:53:59 +02:00
Mathieu Schroeter
fc548fdf48
Fix link for the updates
2017-08-19 19:32:17 +02:00
Mathieu Schroeter
9c9ba5db4e
Move the external json header in a dedicated directory
2017-08-17 17:41:04 +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
2a1128ecef
COsmetic: update clang-format definition
2017-08-14 22:10:26 +02:00
Mathieu Schroeter
995b83b97a
Fix crash when the fullscreen property is read from the json
2017-08-14 17:32:55 +02:00
Mathieu Schroeter
7308e6ef00
Convert ini file to json
2017-08-13 23:01:04 +02:00
Mathieu Schroeter
a80c3d09fc
Cosmetic
2017-08-13 17:03:26 +02:00
Mathieu Schroeter
97482dcbbb
Add missing static specifier
2017-08-13 16:52: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
4ba3056984
Add a function to check for updates
2017-08-13 16:35:46 +02:00
Mathieu Schroeter
22087548b3
Add explicit include on string
2017-08-11 22:33:15 +02:00
Mathieu Schroeter
6a1f8e0cbd
Add cmdline options for some stuff
...
You can set the speedrate, timerinterval, fullscreen and the renderer
exactly like with the config.ini file.
Note that the timerinterval can be set in the ini file but it's not
really public. The default interval is a good choice (50 ms).
2017-08-11 22:07:43 +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
2d7a6f28d1
Cosmetic: translate comments
2017-08-04 21:04:04 +02:00
Mathieu Schroeter
8ac93b8e40
Remove useless directx argument
2017-08-04 20:53:25 +02:00
Mathieu Schroeter
1772691a0b
Cosmetic: fix typo
2017-08-04 20:52:56 +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
5fc903683e
Disable window icon (prefer winrc and linux desktop)
2017-08-02 20:35:20 +02:00
Mathieu Schroeter
c4d21aec31
Add all icons with the AppImage
2017-08-01 19:38:34 +02:00
Mathieu Schroeter
9013032ce5
Fix icons for SDL and Windows
2017-07-30 19:29:53 +02:00
Mathieu Schroeter
643f5eead2
Fix mask when building an object
...
It uses a white and black mask. See BuildIconMask for details.
2017-07-22 18:08:50 +02:00
Mathieu Schroeter
ac128c7e46
Cosmetic: rename fr filenames to en
2017-07-09 13:35:48 +02:00
Mathieu Schroeter
8de7181458
Remove useless mouse type code
2017-03-03 22:44:09 +01:00
Mathieu Schroeter
5ca80681a9
Set the logical size only at the init
2017-03-03 21:51:14 +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
c910c79f5f
Pause the game when the focus is lost
2017-02-26 21:39:30 +01:00
Mathieu Schroeter
2ba834578d
Fix window name
2017-02-26 20:47:07 +01:00
Mathieu Schroeter
0a4515af82
Fix fullscreen on Linux
2017-02-26 18:58:29 +01:00
Mathieu Schroeter
cdc8234934
Remove unused fullscreen bool
2017-02-26 17:57:40 +01:00
Mathieu Schroeter
3634be868d
Fix title in all languages
2017-02-26 17:50:56 +01:00
Mathieu Schroeter
cceeed43f7
Remove dead code
2017-02-26 17:47:24 +01:00
Mathieu Schroeter
102ea6734c
Add icon to the window
2017-02-26 17:46:49 +01:00
Mathieu Schroeter
1b51abfbb1
Remove the AD for intro images, keep only Epsitec splash
2017-02-25 15:09:51 +01:00
Mathieu Schroeter
83b459f84f
Rename cpp sources to cxx
2017-02-24 18:50:03 +01:00