1
0
mirror of https://github.com/blupi-games/planetblupi synced 2024-12-30 10:15:36 +01:00

436 Commits

Author SHA1 Message Date
Mathieu Schroeter
df8b6c98bb Remove dead code 2017-08-26 21:22:44 +02:00
Mathieu Schroeter
3f89c8d644 Do not record empty events 2017-08-26 21:19:35 +02:00
Mathieu Schroeter
c7c711b6d6 Fix properly recording stop when not using F4 2017-08-26 21:13:17 +02:00
Mathieu Schroeter
69acdc1bcc Fix bug where the event is malformed 2017-08-26 00:57:36 +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
25240911c8 Update translations (replace Belmont by Yverdon) 2017-08-24 00:15:38 +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
954d1a40b5 Fix encoding to UTF-8 2017-08-20 21:55:50 +02:00
Mathieu Schroeter
98c9191a11 Reorder includes 2017-08-20 21:53:59 +02:00
Mathieu Schroeter
30fd783ba2 Fix correctly the bug badly fixed by bf649cb2021
When the door is closed, it's possible to have blupi and the disciple in
the house.
2017-08-20 20:40:31 +02:00
Mathieu Schroeter
e618bd64b0 Revert "Fix bug where it was possible to enter in the workshop without action"
This reverts commit bf649cb2021d5bf569167197e6c4d444fed73990.

It break the building of disciples.
2017-08-20 20:34:43 +02:00
Mathieu Schroeter
fc548fdf48 Fix link for the updates 2017-08-19 19:32:17 +02:00
Mathieu Schroeter
6719cb1cab Fix copyrights for gettext header 2017-08-18 17:18:30 +02:00
Mathieu Schroeter
9c9ba5db4e Move the external json header in a dedicated directory 2017-08-17 17:41:04 +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
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
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
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
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
7f3f7e4f37 Change some Sint32 to MouseSprites 2017-08-13 21:41:06 +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
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
bf8dcd1c9e Cosmetic: fix indent 2017-08-13 07:47:03 +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
c9aea77afc Fix leak by freeing the cursor surface 2017-08-11 23:22:28 +02:00
Mathieu Schroeter
d983422866 Fix memleak with CHBLUPI channel 2017-08-11 23:14:48 +02:00
Mathieu Schroeter
8810e9afa9 Convert if..if to switch 2017-08-11 23:07:05 +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
2c15835ddf Fix bug where the buttons were not shown with the factory
The buttons are not shown when a blupi is just on south of the factory.
It's an offset problem that this commit is fixing.
2017-08-11 21:31:27 +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
1cd4885fc8 Use enum instead of defines 2017-08-11 20:00:45 +02:00
Mathieu Schroeter
2085292545 Merge branch 'master' of schroetersa.ch:/kunden/264795_8004/web/1221820/A1221820/devel/planetblupi 2017-08-11 19:01:14 +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