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

59 Commits

Author SHA1 Message Date
Mathieu Schroeter
39a2cf926b Optimize the wide background stuff by loading only on demand
It uses less memory.
2018-07-30 18:39:08 +02:00
Mathieu Schroeter
881a0137b4 Disable smooth scroll with demos
It prevents lag and bad shift with mouse clicks.
2018-06-26 23:14:29 +02:00
Mathieu Schroeter
3ebe028640 Fix mouse pos when zoom=2 > fullscreen 2018-06-25 22:53:10 +02:00
Mathieu Schroeter
375388b22f Fix mouse position when changing zoom and fullscreen 2018-06-25 22:17:39 +02:00
Mathieu Schroeter
c79961e803 Merge branch 'wip/fullscreen' into wip/landscape 2018-06-13 23:42:55 +02:00
Mathieu Schroeter
967819a5b8 Add a method for testing if a demo is playing 2018-06-13 23:11:29 +02:00
Mathieu Schroeter
e88e58863b Merge branch 'master' into wip/landscape 2018-02-19 18:13:21 +01: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
af31192f73 Merge branch 'master' into wip/landscape 2017-10-23 19:31:12 +02: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
d052ab4da3 Merge branch 'master' into wip/landscape 2017-10-23 18:29:40 +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
b25259df51 Prevent black screen (glitch) when a movie is not found 2017-10-21 16:44:22 +02:00
Mathieu Schroeter
108c577b85 Use the back-build image as stretched background for wide screen
Concerns only screens provided with the map builder.
2017-10-21 15:31:38 +02:00
Mathieu Schroeter
f7640e92ce WIP: add an expanded mode for the backgrounds
It's just partially working.
2017-10-15 11:23:02 +02:00
Mathieu Schroeter
c5f2df30b1 Merge branch 'master' into wip/landscape 2017-10-11 16:50:48 +02:00
Mathieu Schroeter
c81b41192d Fix cheat text visibility regression 2017-10-11 16:50:00 +02:00
Mathieu Schroeter
fd43a6ef01 WIP: add landscape support 2017-10-06 18:23:07 +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