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
207af398eb
Fix the recorder start and stop with F3 and F4
2017-08-15 17:38:39 +02:00
Mathieu Schroeter
500b16a58f
Draw the REC text with the compass
2017-08-15 17:38:07 +02:00
Mathieu Schroeter
6ca3af3493
WIP: add F3 and F4 to control the recording
...
It's not working properly, it's just a first try.
2017-08-15 10:46:54 +02:00
Mathieu Schroeter
19e8e81550
Fix bug where the bad function key was used for memo
2017-08-15 09:24:29 +02:00
Mathieu Schroeter
2a1128ecef
COsmetic: update clang-format definition
2017-08-14 22:10:26 +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
03e12faa48
Pass MouseSprites instead of int for some cases
2017-08-13 19:12:03 +02:00
Mathieu Schroeter
d42bbe9617
Replace if..if by switch
2017-08-13 19:01:49 +02:00
Mathieu Schroeter
f64c03e37f
Cosmetic: remove dead code
2017-08-13 17:15:38 +02:00
Mathieu Schroeter
b4c5f62dcf
Replace sprintf by snprintf
2017-08-13 17:15:09 +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
19329c0d63
Try to use the Sounds enum type as much as possible
2017-08-12 22:51:19 +02:00
Mathieu Schroeter
8810e9afa9
Convert if..if to switch
2017-08-11 23:07:05 +02:00
Mathieu Schroeter
b42967d762
Cosmetic
2017-08-11 20:02:28 +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
70a8bda9e4
Cosmetic: rename more def
2017-08-10 22:29:48 +02:00
Mathieu Schroeter
1b4f3822fa
Rename event with something less windows-like
2017-08-07 18:33:26 +02:00
Mathieu Schroeter
0b9dda2a92
Fix warnings with clang
2017-08-04 21:45:04 +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
1fb73742a9
Fix windows state after fullscreen
2017-08-03 15:15:33 +02:00
Mathieu Schroeter
4caa6922b3
Reload only sounds that are not the same
...
It seems that it fixes a random crash on darwin in the SDL audio
internals.
2017-07-30 23:14:56 +02:00
Mathieu Schroeter
d67010c87a
Ensure that all channels are halted before free
2017-07-30 22:38:51 +02:00
Mathieu Schroeter
6788ff99bd
Change the website to www.blupi.org
2017-07-28 18:49:15 +02:00
Mathieu Schroeter
1441a12d03
Change the window title when we change of language
2017-07-28 18:46:03 +02:00
Mathieu Schroeter
b946926b16
Add a image especially for the main setup screen (new screen)
2017-07-28 09:41:12 +02:00
Mathieu Schroeter
ac128c7e46
Cosmetic: rename fr filenames to en
2017-07-09 13:35:48 +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
ed131da115
Use putenv instead of setenv
2017-03-03 23:03:58 +01:00
Mathieu Schroeter
8de7181458
Remove useless mouse type code
2017-03-03 22:44:09 +01:00
Mathieu Schroeter
a77b8bfcba
Handle properly the fullscreen mode
...
The textures must be reloaded like with the new
window size.
2017-03-03 21:51:52 +01:00
Mathieu Schroeter
5ca80681a9
Set the logical size only at the init
2017-03-03 21:51:14 +01:00
Mathieu Schroeter
b0a3e7875d
Disable double scrilling when recording a demo
...
With the recorder, it's not possible to use these movements because only
the first key is recorded.
2017-03-03 18:14:45 +01:00
Mathieu Schroeter
6f028085ac
Replace if.. by switch
2017-03-03 18:11:21 +01:00
Mathieu Schroeter
fc37ddd017
Reload the textures (target) when the window size changes
2017-03-03 17:43:01 +01:00
Mathieu Schroeter
63285d466e
Exit the settings screen with escape or return
2017-03-03 17:42:29 +01:00
Mathieu Schroeter
90bfd940dd
Fix regression with demos
2017-03-02 19:43:33 +01:00
Mathieu Schroeter
b49e9d3d14
Fix build on windows
2017-03-02 19:04:51 +01:00
Mathieu Schroeter
5b789cfb2d
Handle decor shifting with multiple key press
...
Then it's possible to shift with the keyboard like the
mouse (NE, NW, SE, SW).
2017-03-01 23:05:09 +01:00
Mathieu Schroeter
ace9791ab0
Fix the mouse movements with scaling != of 1x
2017-03-01 18:10:20 +01:00
Mathieu Schroeter
ae6d01a519
Add getter for the window scale factor
2017-03-01 18:08:45 +01:00
Mathieu Schroeter
9317da91e8
Fix version in the interface
2017-02-28 22:39:26 +01:00
Mathieu Schroeter
016581ff18
Remove useless bool
2017-02-28 21:54:29 +01:00
Mathieu Schroeter
2347b6a86c
Reload the sound when changing of language
2017-02-28 21:49:36 +01:00
Mathieu Schroeter
5ff9482422
Remove dead code
2017-02-28 20:58:09 +01:00
Mathieu Schroeter
34d0dd7f02
Add comments
2017-02-28 19:51:31 +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