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

38 Commits

Author SHA1 Message Date
Mathieu Schroeter
31483d7ded Remove all directx stuff 2017-02-05 17:50:18 +01:00
Mathieu Schroeter
b1f45dc596 Implement video support based on SDL_kitchensink
It relies on FFmpeg for the video and audio decoding.
2017-02-05 17:28:47 +01:00
Mathieu Schroeter
2a01de1221 Remove dead code 2017-02-05 10:55:29 +01:00
Mathieu Schroeter
560cd6d0a3 Remove ddutil src files 2017-02-05 10:51:08 +01:00
Mathieu Schroeter
71ba1194d1 Remove absolutly all ddraw stuff from pixmap 2017-02-05 10:48:20 +01:00
Mathieu Schroeter
1e3b92218a Remove obsolete transparent stuff 2017-02-05 10:01:32 +01:00
Mathieu Schroeter
ca0242bafe Remove more ddraw palette stuff 2017-02-05 09:57:43 +01:00
Mathieu Schroeter
67573c7920 Remove palette stuff 2017-02-05 09:46:30 +01:00
Mathieu Schroeter
ae1ea95d5e Quit properly the game on the SDL_QUIT event 2017-02-05 09:24:52 +01:00
Mathieu Schroeter
deb9afc4a5 Wait on event instead of poll
Less cpu power with same results.
2017-02-05 09:15:33 +01:00
Mathieu Schroeter
ac144a0522 Remove hwnd and related ddraw stuff 2017-02-05 09:15:08 +01:00
Mathieu Schroeter
0d8a21dd47 Remove the main windows event loop stuff 2017-02-04 18:57:37 +01:00
Mathieu Schroeter
1b5727c790 Add musib handling with SDL
Note that the music volume affects the chunk volumes
too. Maybe a bug...
2017-02-04 17:59:07 +01:00
Mathieu Schroeter
1007905fc9 Remove dsound stuff already replaced by sdl 2017-02-04 16:48:26 +01:00
Mathieu Schroeter
942b97b2e7 Fix main SDL stuff init 2017-02-04 16:24:01 +01:00
Mathieu Schroeter
ae179fd250 Change from directsound to SDL mixer for sounds 2017-02-04 16:23:43 +01:00
Mathieu Schroeter
5ac40cba9c Remove obsolete message handling 2017-02-02 18:03:48 +01:00
Mathieu Schroeter
e7e1b4cc15 Cosmetic 2017-02-02 18:02:05 +01:00
Mathieu Schroeter
8c111b9557 Finish objects at the right place 2017-02-02 18:01:56 +01:00
Mathieu Schroeter
061bfe9e2b Fix timer lifetime 2017-02-02 17:57:51 +01:00
Mathieu Schroeter
2956051dbf Remove useless cdrom stuff 2017-01-31 17:58:25 +01:00
Mathieu Schroeter
158470c386 Remove a lot of useless mouse stuff 2017-01-30 22:10:11 +01:00
Mathieu Schroeter
8bca8b5840 Move function key stuff in the SDL event loop 2017-01-30 22:01:24 +01:00
Mathieu Schroeter
795875e6a4 Convert timer stuff to SDL timer 2017-01-30 21:53:17 +01:00
Mathieu Schroeter
36b44d9578 Move stuff when gain/lost focus on the main window 2017-01-30 21:53:17 +01:00
Mathieu Schroeter
89cc083664 Drop dead code 2017-01-30 21:53:17 +01:00
Mathieu Schroeter
a4e75756de WIP: adapt event stuff 2017-01-30 21:53:12 +01:00
Mathieu Schroeter
0c6fc2bcdd Fix new window parameter 2017-01-26 19:11:36 +01:00
Mathieu Schroeter
d64f3751ef Add an initial real SDL mouse cursor support 2017-01-26 18:58:14 +01:00
Mathieu Schroeter
262128c745 Move renderer at the right place 2017-01-26 18:55:36 +01:00
Mathieu Schroeter
201af8a462 WIP: replace the surfaces by the textures 2017-01-25 21:46:51 +01:00
Mathieu Schroeter
658b2f6972 WIP: add experimental SDL support for video output 2017-01-23 00:22:08 +01:00
Mathieu Schroeter
b10a6dd0e9 Create the main SDL window 2017-01-23 00:22:07 +01:00
Mathieu Schroeter
742703e31e Add initialization for SDL
We continue to use the WinMain for the migration.
2017-01-23 00:22:07 +01:00
Mathieu Schroeter
e197b01781 Fix warnings with x64 build
But the game is a bit broken, no music and demo mode
with broken coordinates.
2017-01-22 00:26:57 +01:00
Mathieu Schroeter
93047957fd Replace BOOL by bool
And replace structs that are stored from BOOL to int.
2017-01-22 00:15:32 +01:00
Mathieu Schroeter
9c0996b329 Remove useless include on windows.h 2017-01-21 23:45:45 +01:00
Mathieu Schroeter
b0270ab432 Import initial sources and assets 2017-01-21 17:51:48 +01:00