Mathieu Schroeter
0283cb8a88
Prefer the real bool
2018-07-27 14:58:53 +02:00
Mathieu Schroeter
90eddaced5
Fix worlds loading by using a memory cell
...
It prevents to break the serialized worlds by a new structure size.
2018-07-27 14:58:11 +02:00
Mathieu Schroeter
c731fb7dd3
Remove dead code
2018-07-27 14:29:51 +02:00
Mathieu Schroeter
f155f3b635
Enable mine building for iron only after prospecting
...
It fixes the bug #68 . Note that is possible to restore this funny bug
with --restore-bugs argument.
2018-07-27 00:40:31 +02:00
Mathieu Schroeter
65f80113dd
Use the wide stars background for last win movie
2018-07-26 22:54:59 +02:00
Mathieu Schroeter
68fd32a18d
Remove back-title to back-stars
2018-07-25 18:09:26 +02:00
Mathieu Schroeter
7e93b273c3
Sync wide backgrounds with -data repository
2018-07-25 18:04:07 +02:00
Mathieu Schroeter
8a27f631a0
Fix possible flicker with video backgrounds
2018-07-25 07:30:57 +02:00
Mathieu Schroeter
70f4f74e11
Draw the wide background with win movies
2018-07-25 00:00:35 +02:00
Mathieu Schroeter
b321d915d3
Add a getter ofr retrieving a texture
2018-07-24 23:59:52 +02:00
Mathieu Schroeter
32497b173b
Add a method for testing if the display is wide
2018-07-24 23:59:06 +02:00
Mathieu Schroeter
d1fc426e48
Pass the pixmap to the movie class
2018-07-24 23:58:49 +02:00
Mathieu Schroeter
8d67df23b1
Add widescreen background for school win screen
2018-07-23 23:34:06 +02:00
Mathieu Schroeter
76783ebfa6
Add missing title background
2018-07-23 23:32:24 +02:00
Mathieu Schroeter
83d5b34416
Add widescreen background for title screen
2018-07-23 18:41:54 +02:00
Mathieu Schroeter
d458b67fd2
Add widescreen background for wind and lost screens
2018-07-23 17:49:35 +02:00
Mathieu Schroeter
f7eab8a329
Fix background
2018-07-23 07:36:09 +02:00
Mathieu Schroeter
a6b35337b5
Add widescreen background for bye screen
2018-07-23 07:27:20 +02:00
Mathieu Schroeter
c9c4944e6a
Add wide background for setup screens
2018-07-22 23:14:04 +02:00
Mathieu Schroeter
ade83281cf
Change for 8bit instead of 7bit
2018-07-22 16:09:27 +02:00
Mathieu Schroeter
8299c401a6
Add wide background for chest read
2018-07-22 16:09:12 +02:00
Mathieu Schroeter
1bedfdca85
Add wide background for chest write
2018-07-22 16:00:23 +02:00
Mathieu Schroeter
c1abfd65fa
Fix build with SDL platform
2018-07-22 15:11:35 +02:00
Mathieu Schroeter
289881e71c
Disable gettext catalog switching with MUSL
...
It seems not possible to change the language at runtime.
2018-07-22 15:01:04 +02:00
Mathieu Schroeter
4a75c5e66a
Restore gettext calls (it's ok with emscripten too)
2018-07-21 17:51:17 +02:00
Mathieu Schroeter
ea4158e8ac
Fix stupid if test
2018-07-21 17:49:51 +02:00
Mathieu Schroeter
73aab3ddb2
Start the update thread only if cURL is available
2018-07-21 17:44:29 +02:00
Mathieu Schroeter
a6196851fc
Remove useless log
...
Note that the music is not working with emscripten.
I think that it related to OGG because WAV are working.
2018-07-21 17:41:50 +02:00
Mathieu Schroeter
a40ef7d3f8
Restore other fade out with non JS platforms
2018-07-21 17:40:29 +02:00
Mathieu Schroeter
ee80592a6f
Disable properly the mixer fade out only with emscripten
...
It's not supported for an unknown reason.
2018-07-21 17:38:41 +02:00
Mathieu Schroeter
298d02c6f9
Change the fullscreen mode with JS too
...
But the fullscreen provided by the browser is not handled by the game.
It must be forwarded in the native code in order to switch properly the
fullscreen boolean.
2018-07-21 17:32:54 +02:00
Mathieu Schroeter
a7704f9fa0
Use the user desktop resolution even with JS
2018-07-21 17:24:40 +02:00
Mathieu Schroeter
2e3648cb60
Add getter for retrieve the type of platform
2018-07-21 17:03:38 +02:00
Mathieu Schroeter
c8a0a42e62
Use SDL_RWops for video loading
...
It should fix Android video support. For emscripten
it's still not working.
2018-07-20 22:43:13 +02:00
Mathieu Schroeter
561469f4fd
WIP
2018-07-20 14:54:08 +02:00
Mathieu Schroeter
1216ca08b6
WIP: add emscripten support
2018-07-19 23:17:23 +02:00
Mathieu Schroeter
7a7c7c9f64
Fix init image output rect when loading
2018-07-17 23:46:06 +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
e8e36360f8
Merge branch 'master' into wip/landscape
2018-07-03 00:12:20 +02:00
Mathieu Schroeter
dd18a0bdaf
Merge pull request #65 from blupi-games/wip/kitchensink1
...
WIP: adapt code for SDL_kitchensink1
2018-07-03 00:09:08 +02:00
Mathieu Schroeter
45120401e9
Merge remote-tracking branch 'origin' into wip/landscape
2018-07-03 00:01:21 +02:00
Mathieu Schroeter
0c0983a4d5
Add SDL2 directory as include dir for SDL_kitchensink (Kit)
2018-07-02 23:21:42 +02:00
Mathieu Schroeter
0f3c7a34a5
Adapt movie impl. for SDL_kitchensink1 API
2018-07-02 23:20:37 +02:00
Mathieu Schroeter
2d266496f3
Fix gettext warning
2018-07-02 22:09:50 +02:00
Mathieu Schroeter
e09a4e2fab
Add right-click shortcut on flowers
...
Closes issue #63 .
2018-07-02 22:09:34 +02:00
Mathieu Schroeter
18135950bf
Cosmetic: fix format
2018-07-02 22:08:35 +02:00
Mathieu Schroeter
d1cb5919c5
Make like previous commit but with the recording
2018-07-02 22:07:51 +02:00
Mathieu Schroeter
1300d8fb05
Disable smooth scroll with demos
...
It prevents lag and bad shift with mouse clicks.
2018-07-02 22:07:29 +02:00
Mathieu Schroeter
fc4483998d
Add missing comment for #if
2018-07-02 22:07:12 +02:00
Mathieu Schroeter
0815415658
Cosmetics
2018-07-02 22:06:56 +02:00