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

73 Commits

Author SHA1 Message Date
Mathieu Schroeter
cbd1348760 Remove ddraw cursor 2017-02-05 10:04:05 +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
eeef84d4cd Remove ddraw clipper stuff 2017-02-05 09:52:17 +01:00
Mathieu Schroeter
641ffc4b97 Remove obsolete function 2017-02-05 09:48:48 +01:00
Mathieu Schroeter
17c0a1fa47 Cosmetic 2017-02-05 09:47:37 +01:00
Mathieu Schroeter
67573c7920 Remove palette stuff 2017-02-05 09:46:30 +01:00
Mathieu Schroeter
cdfebc9d1a Fix warning 2017-02-05 09:25:42 +01:00
Mathieu Schroeter
bc73c2fe7a Fix crash by removing ddraw function 2017-02-05 09:25:32 +01:00
Mathieu Schroeter
ae1ea95d5e Quit properly the game on the SDL_QUIT event 2017-02-05 09:24:52 +01:00
Mathieu Schroeter
2e5580dc2c Cosmetics 2017-02-05 09:15:47 +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
4787569104 Fix warning 2017-02-04 18:02:22 +01:00
Mathieu Schroeter
5b61168605 Remove dsound stuff 2017-02-04 18:01:56 +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
393dfb0b7c Stop all sounds with a fade when the phase is not play 2017-02-04 16:41:34 +01:00
Mathieu Schroeter
992e96ab7d Remove dead code 2017-02-04 16:30:44 +01:00
Mathieu Schroeter
db53c5b38f Fix the function to stop all sounds
Note that this functions is not used...
2017-02-04 16:29:39 +01:00
Mathieu Schroeter
d0abde9274 Remove unused functions 2017-02-04 16:26:06 +01:00
Mathieu Schroeter
a4dd39d865 Prevent crash when event is null 2017-02-04 16:24:16 +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
5f8de02110 Add SDL2_mixer to the project 2017-02-04 16:19:07 +01:00
Mathieu Schroeter
4bd59279c3 Add SDL2_mixer libraries 2017-02-04 16:17:00 +01:00
Mathieu Schroeter
c5d7ace9d4 Remove dead code 2017-02-02 18:07:01 +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
cbfe4585ce Add editorconfig file 2017-02-02 17:54:09 +01:00
Mathieu Schroeter
b6cee1bcc8 Move stuff for mouse motions with demo 2017-02-02 17:53:53 +01:00
Mathieu Schroeter
f40b29f0ec Add a converter for demo play
It converts from Windows events to SDL events. Only
useful events are considered.
2017-02-02 07:49:52 +01:00
Mathieu Schroeter
a75a2e6650 Remove dead code 2017-01-31 18:15:41 +01:00
Mathieu Schroeter
328dc4f2ba Use SDL call for setting mouse position 2017-01-31 18:12:23 +01:00
Mathieu Schroeter
2956051dbf Remove useless cdrom stuff 2017-01-31 17:58:25 +01:00
Mathieu Schroeter
223ec0c5bc Cosmetic 2017-01-31 17:45:33 +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
50f8a441ea Fix the minimap for SDL 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
515c8fedd9 Remove test code 2017-01-26 19:13:07 +01:00
Mathieu Schroeter
0c6fc2bcdd Fix new window parameter 2017-01-26 19:11:36 +01:00
Mathieu Schroeter
3dd443d53d Remove stuff to control if the mouse is visible
With SDL it's useless because the mouse is not blit on the
renderer by our code.
2017-01-26 19:07:32 +01:00
Mathieu Schroeter
d64f3751ef Add an initial real SDL mouse cursor support 2017-01-26 18:58:14 +01:00