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
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
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
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
0f3c7a34a5
Adapt movie impl. for SDL_kitchensink1 API
2018-07-02 23:20:37 +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
Mathieu Schroeter
965a93e0cc
Add missing header for execv
2018-07-02 22:03:52 +02:00
Mathieu Schroeter
652e6b81e3
Ensure to restart the game with the right params with legacy mode
2018-06-30 15:41:28 +02:00
Mathieu Schroeter
5993c8f402
Change texts and fix translations
2018-06-30 15:37:36 +02:00
Mathieu Schroeter
6dace6927b
Add right-click shortcut on flowers
...
Closes issue #63 .
2018-06-29 09:14:01 +02:00
Mathieu Schroeter
c1b336ab86
Cosmetic
2018-06-29 00:27:19 +02:00
Mathieu Schroeter
278e52db45
Fix warning (bad assignment)
2018-06-29 00:27:08 +02:00
Mathieu Schroeter
7032a42f43
Fix text for switching of mode in fullscreen
2018-06-29 00:26:32 +02:00
Mathieu Schroeter
6bf6b3de07
Restart the game when the display mode has changed
2018-06-28 23:55:08 +02:00
Mathieu Schroeter
05dd698578
Add a --legacy option for starting the game in 640x480 mode
2018-06-28 23:54:30 +02:00
Mathieu Schroeter
190147015d
Get size only when necessary
2018-06-27 18:19:38 +02:00
Mathieu Schroeter
4a21224de5
Prevent bad width and height values
2018-06-27 18:18:21 +02:00
Mathieu Schroeter
e03a539744
Cosmetic: remove dead code
2018-06-27 18:17:44 +02:00
Mathieu Schroeter
94996ef4d7
Cosmetic: fix format
2018-06-27 17:32:41 +02:00
Mathieu Schroeter
988962d74a
Retrieve the right ratio accordingly to the current display
...
It's no longer forced to 16:9.
2018-06-27 17:31:59 +02:00
Mathieu Schroeter
9a7ffb887f
Move display stuff in a dedicated source file
...
The display ratio is computed with the user's screen. It's no longer a
static value.
It must be improved in order to fix the ratio according to screen
changes.
2018-06-27 07:01:37 +02:00
Mathieu Schroeter
e70873a7b8
Make like previous commit but with the recording
2018-06-26 23:16:03 +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
e260ddf5e3
Add missing comment for #if
2018-06-26 22:49:34 +02:00