Commit graph

1440 commits

Author SHA1 Message Date
rr-
da6779a716 s/sound: ditch DSound, use new SDL backend 2021-11-30 02:29:11 +01:00
rr-
be9ff15cd5 s/shell: use 16:9 resolution by default 2021-11-30 02:14:46 +01:00
rr-
524749346d misc: use 16:9 Eidos logo 2021-11-30 02:14:46 +01:00
rr-
22425dc1d9 l/ddraw: use RGB888 textures 2021-11-30 02:14:46 +01:00
rr-
0882d6371f s/picture: use bilinear scaling 2021-11-30 02:14:46 +01:00
rr-
d3e28825fa g/picture: add Picture_Create 2021-11-30 02:14:46 +01:00
rr-
f5a944f611 s/picture: improve clarity about frame size nuances 2021-11-30 02:14:46 +01:00
rr-
98d1604d25 s/hwr: move color normalization from s/picture 2021-11-30 02:14:46 +01:00
rr-
4fcc99ab9f g/screen: reduce resolution switches 2021-11-30 02:14:46 +01:00
rr-
f3e944a5c1
s/fmv: reduce gfx switches in case of missing fmvs 2021-11-29 00:53:16 +01:00
rr-
40bf4d5b1f
s/fmv: port to use libav 2021-11-29 00:08:20 +01:00
rr-
a139e922bd
l/glrage: simplify attaching; fix broken detaching 2021-11-28 23:57:27 +01:00
rr-
c85b376284
s/ddraw: extract DDraw management from s/shell.c 2021-11-28 23:04:22 +01:00
rr-
efee769a26
s/hwr: merge HWR_PrepareFMV and HWR_FMVInit 2021-11-28 22:58:09 +01:00
rr-
15c2c22872
s/hwr: make HWR_SetHardwareVideoMode void 2021-11-28 22:55:55 +01:00
rr-
405d5286a9
s/hwr: remove unused dwCaps fields 2021-11-28 22:54:32 +01:00
rr-
5b11d38958
s/shell: switch to SDL 2021-11-28 20:50:32 +01:00
rr-
b581b862f6
s/sound: pass stream sizes 2021-11-26 17:25:46 +01:00
rr-
801ccc273d
s/audio/stream: support more than 1 or 2 channels 2021-11-26 17:25:45 +01:00
rr-
293187477f
s/audio+s/picture: send stream parameters to codec context 2021-11-26 17:25:45 +01:00
rr-
9aaee20262
cosmetics: clean up 2021-11-26 17:25:42 +01:00
rr-
7ea056cdff
s/audio: extract stream stuff to a separate file 2021-11-26 17:24:45 +01:00
rr-
7cb8317a7e
s/audio: use consistent naming 2021-11-26 17:24:45 +01:00
rr-
224b45ebc1
g/music: fix setting music volume 2021-11-26 17:24:44 +01:00
rr-
232b5b841c
g/gameflow: pull g_GameFlow 2021-11-24 18:57:08 +01:00
rr-
8bf25e7f02
config: adhere to new conventions 2021-11-24 18:20:05 +01:00
rr-
65d9f9e79b
cosmetics: shorten enum GAME_STRING_ID member 2021-11-24 18:14:55 +01:00
rr-
eb4ae3aa33
cosmetics: rename module-level globals 2021-11-24 18:14:54 +01:00
rr-
d9356711c0
cosmetics: rename global variables 2021-11-24 18:07:23 +01:00
rr-
d2bb3779ae
g/inv: remove unused function 2021-11-24 18:07:23 +01:00
rr-
d45aed1c31
s/shell: pull args.c 2021-11-24 18:07:23 +01:00
rr-
46f48846a3
s/output: inline VISIBLE macro 2021-11-24 18:07:22 +01:00
rr-
e9f2a76f0d
s/input: name private functions with module prefix 2021-11-24 18:07:22 +01:00
rr-
fbc46b6e67
objects/scion: fix reviving the Scion
After shooting the Scion in The Great Pyramid, if the player steps on
the tile that activates it again, the Scion will get reactivated as the
trigger is repeatable. This has a side effect of enabling Scion3Control
calls again and the internal explosion counter will tick beyond the
value of 90, causing even more explosions.

Rather than merely deactivating the Scion, we need to actually discard it.

Closes #252
2021-11-24 16:37:13 +01:00
rr-
ee399d0112
s/audio: remove unused struct declaration 2021-11-24 00:01:38 +01:00
rr-
5f0f71ea61
s/audio: improve audio API naming 2021-11-24 00:00:24 +01:00
rr-
7e7c811d5f
g/music: fix playing one-shot triggers twice 2021-11-23 23:49:06 +01:00
rr-
bb19d363da
s/audio: reduce buffer size to 1/10 s 2021-11-23 21:35:57 +01:00
rr-
d41d356616
s/audio: remove debug logs 2021-11-23 21:21:25 +01:00
rr-
07b575b369
g/music: merge with s/music
As a bonus, s_audio.c is generic enough to handle samples (s_sound.c) in
the future.
2021-11-23 21:20:03 +01:00
rr-
c29cd4f7ae
build: make avcodec and SDL required
We will not be maintaining the old libraries anyway.
2021-11-23 21:20:03 +01:00
rr-
75252e4aaa
s/music: support looped tracks 2021-11-23 21:20:02 +01:00
rr-
ef8fb30c98
s/music: implement SDL mixer and avcodec decoder 2021-11-23 21:20:01 +01:00
rr-
969934b5f5
g/settings: save brightness
Closes #251.
2021-11-22 10:49:45 +01:00
rr-
c0cbc243f1 s/picture: load images with libavcodec 2021-11-21 23:39:39 +01:00
rr-
5c35aed485
build: add FMV player binaries 2021-11-21 22:29:07 +01:00
rr-
fe7e59b4f0
build: go with our own .exe 2021-11-21 22:29:06 +01:00
rr-
06941d204e
l/ati3dcif: remove ati getinfo 2021-11-21 22:29:04 +01:00
rr-
8806b1394a
s/picture: fix memory leak 2021-11-21 22:29:00 +01:00
rr-
6625dc6516
s/hwr: improve blitting performance 2021-11-21 22:29:00 +01:00