Kp
f7ceca974b
Add config.h inclusion for digi.cpp
...
Win32 builds fail without this.
2014-06-08 00:05:33 +00:00
zico
ad7cb106bc
Changed custom D1X license to GPLv3
2014-06-01 19:55:23 +02:00
Kp
094dfbf3d4
Reduce header inclusions
2013-12-31 03:22:03 +00:00
Kp
073f00974a
Eliminate uses of the typedef struct X { ... } X; pattern
...
C++ does not require this pattern.
import re, fileinput
to = re.compile(r'^typedef struct ([a-z_A-Z]+)\s*{')
tc = re.compile(r'^}(.*?)\s*([a-z_A-Z]+);$')
osn = None
for line in fileinput.input(inplace=True):
m = to.match(line)
if m:
osn = m.group(1)
print 'struct %s\n{' % osn
continue
if osn:
m = tc.match(line)
if m:
csn = m.group(2)
if osn == csn:
print '}%s;' % m.group(1)
osn = None
continue
else:
osn = None
print line,
2013-12-28 22:48:07 +00:00
Kp
7fb4c6307f
Add debug option -no-grab to prevent window grabbing
2013-12-22 20:56:55 +00:00
Kp
e9693b5130
Clear SDL_Event before each poll
2013-12-22 20:02:42 +00:00
Kp
b1c5307eb1
Use array for palette_array_t
2013-12-22 00:37:36 +00:00
Kp
e9f9cb676f
Centralize palette utilities
2013-12-22 00:05:13 +00:00
Kp
a3d66a3b37
Add typedef palette_array_t for palette data
2013-12-22 00:05:13 +00:00
Kp
1ec8057d74
Fix at-exit memory leak in digi_mixer
2013-12-20 04:41:46 +00:00
Kp
cb4fd7c1b4
Compact known file extension storage
2013-12-13 03:58:01 +00:00
zico
a04aa340c5
Keep multi frame running during game idle events to decrease delay on packet forwarding
2013-12-09 16:28:34 +01:00
Kp
3b9b5ebfb0
Use RAII to manage function-local heap objects
2013-12-08 19:04:52 +00:00
Kp
60ecc60971
Move abspath onto read_m3u stack
2013-12-08 19:01:55 +00:00
Kp
75c229c6bf
Normalize con_printf newline usage
2013-12-07 21:13:37 +00:00
Kp
34cd26a187
Remove hud_msg_buf
2013-12-05 00:11:52 +00:00
Kp
d9c1f5425c
Simplify jukebox filename setup
2013-12-05 00:10:59 +00:00
Kp
8899120312
Remove SndDisableSdlMixer when mixer=0
2013-11-24 22:57:36 +00:00
Kp
2714679284
Mark private functions static
2013-11-02 04:23:55 +00:00
Kp
375fa1fa00
Rename digi_max_channels -> digi_mixer_max_channels
...
digi_audio.cpp has its own digi_max_channels
2013-10-26 03:50:28 +00:00
Kp
c58c4e4d06
Move declarations to headers
2013-10-03 03:11:52 +00:00
Kp
deb6fe9a91
Use MALLOC for mixdigi_convert_sound
2013-10-02 02:50:13 +00:00
Kp
c000949e3a
Move similar/arch/sdl/timer.c -> similar/arch/sdl/timer.cpp
2013-10-01 02:53:25 +00:00
Kp
e6d6d92b1a
Move similar/arch/sdl/mouse.c -> similar/arch/sdl/mouse.cpp
2013-10-01 02:53:25 +00:00
Kp
9c857c1fc8
Move similar/arch/sdl/key.c -> similar/arch/sdl/key.cpp
2013-10-01 02:53:25 +00:00
Kp
3ef32b16f5
Move similar/arch/sdl/init.c -> similar/arch/sdl/init.cpp
2013-10-01 02:53:25 +00:00
Kp
bc7429c912
Move similar/arch/sdl/event.c -> similar/arch/sdl/event.cpp
2013-10-01 02:53:25 +00:00
Kp
37b37aa08b
Move similar/arch/sdl/digi_audio.c -> similar/arch/sdl/digi_audio.cpp
2013-10-01 02:53:25 +00:00
Kp
e2b7b802e3
Move similar/arch/sdl/digi.c -> similar/arch/sdl/digi.cpp
2013-10-01 02:53:23 +00:00
Kp
fce2717e83
Move similar/arch/sdl/jukebox.c -> similar/arch/sdl/jukebox.cpp
2013-10-01 02:53:09 +00:00
Kp
ace3238790
Move similar/arch/sdl/digi_mixer.c -> similar/arch/sdl/digi_mixer.cpp
2013-10-01 02:53:09 +00:00
Kp
64c7bc80f0
Move similar/arch/sdl/gr.c -> similar/arch/sdl/gr.cpp
2013-10-01 02:53:09 +00:00
Kp
a881ee455e
Remove fix.h
2013-08-08 03:01:48 +00:00
Kp
d7b978c433
Remove unused functions digi_mixer_set_max_channels, digi_mixer_get_max_channels
2013-08-07 02:33:19 +00:00
Kp
78f3438c2b
Remove unused function digi_audio_get_max_channels
2013-08-07 02:33:19 +00:00
Kp
fa9a91a1ef
Remove unused function digi_audio_set_max_channels
2013-08-07 02:33:19 +00:00
Kp
d751b8f8ed
Remove unused function digi_audio_set_digi_volume
2013-08-07 02:33:18 +00:00
Kp
1fd8a91f45
Remove unused function digi_set_sample_rate
2013-08-07 02:33:18 +00:00
Kp
48c1b7a321
Fix const mismatch in digi_win32_play_midi_song
2013-08-03 20:32:48 +00:00
Kp
4577dd3977
Merge branch 'd2x-rebirth/master' into unification/master
2013-07-21 21:34:46 +00:00
Kp
c4f00d42f7
Fix sign mismatch in timer_delay2
2013-07-19 02:49:20 +00:00
Kp
05a8aaccaf
Move */arch/sdl/digi_audio.c -> similar/arch/sdl/digi_audio.c
2013-03-03 01:03:33 +00:00
Kp
b09f96b31f
Move */arch/sdl/digi.c -> similar/arch/sdl/digi.c
2013-03-03 01:03:33 +00:00
Kp
acbe1209e8
Move */arch/sdl/digi_mixer.c -> similar/arch/sdl/digi_mixer.c
2013-03-03 01:03:33 +00:00
Kp
e66b36de14
Move */arch/sdl/gr.c -> similar/arch/sdl/gr.c
2013-03-17 23:01:32 +00:00
Kp
6ef38884e1
Move */arch/sdl/key.c -> similar/arch/sdl/key.c
2013-03-17 23:01:31 +00:00
Kp
ddb26fa198
Move */arch/sdl/event.c -> similar/arch/sdl/event.c
2013-03-17 23:01:31 +00:00
Kp
b5c3902697
Move */arch/sdl/init.c -> similar/arch/sdl/init.c
2013-03-17 23:01:31 +00:00
Kp
4bd3f0dbec
Move */arch/sdl/mouse.c -> similar/arch/sdl/mouse.c
2013-03-17 23:01:31 +00:00
Kp
78fde624f6
Move */arch/sdl/timer.c -> similar/arch/sdl/timer.c
2013-03-17 23:01:31 +00:00