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
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
7d2b26c78f
Fix gettext warning
2018-06-30 15:37:45 +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
04e3757613
Update PO files (add fr translations)
2018-06-29 00:33:41 +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
Mathieu Schroeter
93f5389132
Cosmetics
2018-06-26 19:14:55 +02:00
Mathieu Schroeter
bf31378ffc
Cosmetics
2018-06-26 19:11:49 +02:00
Mathieu Schroeter
438c01181e
Reduce glitches when chagin the window mode/size
2018-06-26 19:05:01 +02:00
Mathieu Schroeter
fc977d926e
Force the display 0 on windows only with the native 640x480 resolution
2018-06-26 18:47:15 +02:00
Mathieu Schroeter
ab39906c5e
Merge branch 'master' into wip/landscape
2018-06-26 18:30:59 +02:00
Mathieu Schroeter
315b18e8eb
Use the progress function only where necessary
...
And prefer static on the way.
2018-06-26 18:17:25 +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
3834861c1e
Fix mouse wrap in fullscreen (desktop)
2018-06-25 17:58:24 +02:00
Mathieu Schroeter
589b720474
Merge branch 'master' into wip/landscape
2018-06-25 17:22:35 +02:00
Mathieu Schroeter
cab930d472
Fix glitch when a perso is deleted and the ground is moved
...
The perso must not be drawn because it doesn't exist anymore.
- It fixes issue #62 .
2018-06-25 00:28:36 +02:00
Mathieu Schroeter
c2b4bee30f
Ensure to destroy the main texture on reload
2018-06-14 23:51:58 +02:00