Commit graph

2203 commits

Author SHA1 Message Date
rr-
61ab7cd60a
show message box in S_ExitSystem 2021-03-25 16:29:39 +01:00
rr-
a20092577d
remove TerminateGameWithMsg 2021-03-25 16:29:14 +01:00
rr-
3aa6ab1874
port game_malloc 2021-03-23 17:14:25 +01:00
rr-
870a6ba397
add missing call to S_SeedRandom 2021-03-23 17:12:15 +01:00
rr-
44edb5a510
port S_ExitSystem 2021-03-23 17:12:15 +01:00
rr-
8b1e8230ce
port TerminateGameWithMsg 2021-03-23 17:12:14 +01:00
rr-
09dc6f59d3
port TerminateGame 2021-03-23 17:12:14 +01:00
rr-
06a02cf156
port ShowFatalError 2021-03-23 17:12:14 +01:00
rr-
67b6a36af0
remove unnecessary log calls from WinMain 2021-03-23 17:12:13 +01:00
rr-
8a256a8a12
port MusicInit 2021-03-23 17:12:13 +01:00
rr-
b306756b34
add INPUT_LAYOUT enum 2021-03-23 17:12:13 +01:00
rr-
c8d67e3c3c
drop joypad code 2021-03-23 17:12:12 +01:00
rr-
44f10ac338
port SWRInit 2021-03-23 17:12:12 +01:00
rr-
3a58027beb
pull remaining gameplay vars 2021-03-23 17:12:11 +01:00
rr-
418a6055b6
pull input vars 2021-03-23 17:12:11 +01:00
rr-
9fdbac6899
simplify KeyboardHook 2021-03-23 17:12:10 +01:00
rr-
d2c3a92d95
port WinMain 2021-03-23 17:12:10 +01:00
rr-
b1b4e53017
port KeyboardHook 2021-03-23 01:21:50 +01:00
rr-
0bd0dfec3b
port InputInit 2021-03-23 01:13:52 +01:00
rr-
8cc26c1f25
port OnKeyPress 2021-03-23 01:13:52 +01:00
rr-
1e8b198b99
port SoundMakeSample 2021-03-23 00:33:34 +01:00
rr-
0235066848
simplify SoundLoadSample 2021-03-22 23:17:46 +01:00
rr-
66ad28eced
fix regression in sndpc.c
mnsound.c used to think that invalid handles are -1. During porting
sndpc.c, I removed some of the handle >= 0 checks and simplified them to
if (handle). Under the hood, these handles are LPDIRECTSOUNDBUFFER (e.g.
pointers), so -1 doesn't make much sense. While I understand that
mnsound.c chose this to be platform-independent, in the end I decided to
replace the value of SOUND_INVALID_HANDLE with NULL for simplicity.
Introducing a new driver will require refactors anyway.
2021-03-22 22:59:34 +01:00
rr-
176864bca0
port SoundLoadSample 2021-03-22 22:43:05 +01:00
rr-
593bb3401c
change sound opaque handle to void* 2021-03-22 22:36:46 +01:00
rr-
14c356c4f5
port SoundLoadSamples 2021-03-22 22:07:15 +01:00
rr-
2186a3291a
pass raw pan values like GLrage 2021-03-22 22:07:13 +01:00
rr-
5986e50720
port mn_adjust_master_volume 2021-03-22 21:34:42 +01:00
rr-
df26872956
port mn_stop_sound_effect 2021-03-22 21:30:38 +01:00
rr-
abf8008e0d
port mn_update_sound_effects 2021-03-22 21:21:52 +01:00
rr-
f0932949ce
rename S_SoundSetPanAndVolume 2021-03-22 21:00:52 +01:00
rr-
85d76c09be
port mn_stop_ambient_samples 2021-03-22 20:55:55 +01:00
rr-
10d1083187
port S_SoundSampleIsPlaying 2021-03-22 20:55:32 +01:00
rr-
698d35267e
port mn_reset_ambient_loudness 2021-03-22 20:55:31 +01:00
rr-
63334ce32f
port mn_get_fx_slot 2021-03-22 20:55:13 +01:00
rr-
c6eada568c
port mn_play_sound_sample 2021-03-22 20:54:43 +01:00
rr-
b76f14666f
port S_SoundPlaySampleLooped 2021-03-22 20:54:43 +01:00
rr-
c8b96fdf5f
move mnsound.* to game/ 2021-03-22 20:54:43 +01:00
rr-
c7a73ae967
port mn_reset_sound_effects 2021-03-22 20:54:42 +01:00
rr-
1d6e8be839
extract mnsound.h 2021-03-21 23:50:02 +01:00
rr-
635924d1a2
port S_SoundStopSample 2021-03-21 23:27:16 +01:00
rr-
5e4e07b591
port S_SoundStopAllSamples 2021-03-21 23:08:19 +01:00
rr-
3dc72810d8
port S_SoundPlaySample 2021-03-21 23:08:19 +01:00
rr-
531fd0bc95
port SoundBufferSetVolume 2021-03-21 21:48:34 +01:00
rr-
7c80288fc2
port SoundInit 2021-03-21 21:32:53 +01:00
rr-
0278f7d238
extract lib.h and vars_platform.h 2021-03-21 21:29:02 +01:00
rr-
3cddb20649
move const, types and vars to global/ 2021-03-21 21:17:46 +01:00
rr-
4c5071deb9
port SoundIsInitialised 2021-03-21 20:51:57 +01:00
rr-
f682d4674f
port S_CDLoop 2021-03-21 20:51:56 +01:00
rr-
36772bddea
port CDPlayLooped 2021-03-21 20:51:56 +01:00