Commit graph

2454 commits

Author SHA1 Message Date
rr-
2db3754765
build: link libavcodec statically 2021-12-07 14:12:53 +01:00
rr-
8aa2420e96
build: link SDL2 statically 2021-12-07 14:12:51 +01:00
rr-
bd96e1b53f
build: use pkgconfig 2021-12-07 12:54:26 +01:00
rr-
bf57753fc8
build: remove C++ options
We're back to being a pure C project, so we don't need these.
2021-12-07 10:45:02 +01:00
rr-
6e8844b060
s/fmv: respect user resolution aspect ratio
Makes the game play FMVs at 4:3 resolution if the user chose to run the
game in 4:3, even if their actual host window is 16:9.
2021-12-07 10:02:30 +01:00
rr-
c96bcdf0c1
s/shell: fix WASAPI sound playback 2021-12-07 01:37:48 +01:00
rr-
1893058a3f
gfx: improve performance without bilinear filter 2021-12-07 01:23:56 +01:00
rr-
72311ba439
gfx/blitter: fix blitting uneven surfaces 2021-12-07 01:17:55 +01:00
rr-
7382744d3e
g/settings: fix supplying default settings 2021-12-07 00:50:53 +01:00
rr-
5da2124dd4
misc: replace include guards with #pragma once 2021-12-06 18:28:17 +01:00
rr-
9ef634a960
misc: drop __cplusplus guards 2021-12-06 18:23:40 +01:00
rr-
3d4beb0ae7
gfx: pull remaining ATI structures 2021-12-06 18:18:05 +01:00
rr-
5117aa5347
ati: inline Interop 2021-12-06 17:24:23 +01:00
rr-
4246992707
ati: convert Renderer to C 2021-12-06 16:59:56 +01:00
rr-
5a08032b9e
ati: convert VertexStream to C 2021-12-06 16:59:37 +01:00
rr-
5f94b9ae60
ati: merge Texture to gfx/gl/texture 2021-12-06 16:59:37 +01:00
rr-
1223c29fb0
ati: simplify texture loader 2021-12-06 16:59:36 +01:00
rr-
4feeec46bc
ati: simplify chroma keying 2021-12-06 16:59:36 +01:00
rr-
cf66d5b08d
gfx+ati: remove glEnable(GL_TEXTURE_2D)
These functions have no effect since we do our texturing in GLSL.
2021-12-06 16:40:45 +01:00
rr-
b93ca22ea2
ati: remove unused cruft 2021-12-06 14:12:21 +01:00
rr-
669695a6c6
s/output: take over palette handling from ati 2021-12-06 11:52:13 +01:00
rr-
0e6e74a81c
gfx/gl: silence cast-function-type for GetProcAddress calls 2021-12-06 11:15:45 +01:00
rr-
efc1f9fd5d
s/output: pull g_GamePalette 2021-12-06 11:08:43 +01:00
rr-
8eaa391bfb
s/misc: move S_FadeToBlack to output/ 2021-12-06 11:00:08 +01:00
rr-
2be004ba05
s/audio: remove unused functions 2021-12-06 10:54:51 +01:00
rr-
34a965d85a
ati: remove transparency delay mechanism
Although it is important in the future to add some kind of polygon
sorting to support transparency in user-supplied textures, we do not
support such textures yet, this code is currently never executed yet and
its heavy C++ usage would only get in the way of porting ATI3DCIF
emulation to C.
2021-12-06 00:17:26 +01:00
rr-
a36b916bdf
ati: refactor away Error 2021-12-05 23:05:46 +01:00
rr-
7c67cd723f
misc: remove shlwapi dependency 2021-12-05 23:05:46 +01:00
rr-
b3298088ca
bin: rename DirectDraw shaders 2021-12-05 23:05:46 +01:00
rr-
b83e152889
ddraw: refactor away DDSURFACEDESC 2021-12-05 22:05:27 +01:00
rr-
09057620c6
ddraw: refactor away DDSCAPS and DDPIXELFORMAT 2021-12-05 21:28:52 +01:00
rr-
15e00bcb57
ddraw: remove DDBLT_COLORFILL 2021-12-05 21:24:34 +01:00
rr-
858e275244
ddraw: refactor away DirectDraw return types 2021-12-05 21:18:58 +01:00
rr-
af683443fc
ddraw: remove Interop 2021-12-05 21:09:10 +01:00
rr-
c1762241b8
ddraw: remove LPDIRECTDRAWSURFACE 2021-12-05 20:59:57 +01:00
rr-
53b2393fbf
ddraw: refactor 2D renderer initialization 2021-12-05 20:52:59 +01:00
rr-
9e17b0656d
ddraw: convert DirectDrawSurface to C 2021-12-05 20:45:40 +01:00
rr-
8baf236cbe
ddraw: convert Renderer to C 2021-12-05 20:23:45 +01:00
rr-
fb822f0339
glrage: remove ErrorUtils 2021-12-05 20:05:20 +01:00
rr-
cecff40038
glrage: remove StringUtils 2021-12-05 20:01:34 +01:00
rr-
0d138a922a
gfx/context: remove wndproc override 2021-12-05 19:55:59 +01:00
rr-
866e9171d6
glrage: convert Context to C 2021-12-05 19:54:36 +01:00
rr-
2b1ec8b610
ddraw: simplify GetAttachedSurface 2021-12-05 19:16:32 +01:00
rr-
3b82006501
ddraw: make simple functions void 2021-12-05 19:15:38 +01:00
rr-
0e6e2ff698
s/output: rename surface variables 2021-12-05 19:09:40 +01:00
rr-
e401252672
ddraw: convert Blitter to C 2021-12-05 18:35:55 +01:00
rr-
d0154d26b1
glrage/gl: rename to gfx/gl 2021-12-05 18:14:55 +01:00
rr-
35ff33ca6e
glrage: convert Program to C 2021-12-05 18:06:05 +01:00
rr-
50476850ae
glrage: inline Shader 2021-12-05 01:39:31 +01:00
rr-
40d2bfb669
g/shell: move hardcoded FMV paths to gameflow 2021-12-05 01:01:01 +01:00