Commit graph

45 commits

Author SHA1 Message Date
smallmodel
02df233205
Refactor UploadCompressed 2024-10-17 15:17:20 +02:00
Sébastien Noel
aa15b3ea7f
Allow to build against system libs instead of bundled copy 2024-10-07 20:51:23 +02:00
smallmodel
020a6d8b66
Fix stupid compile error mistake 2024-09-30 22:39:33 +02:00
smallmodel
9dea8fc41e
Fix wrong pointer type passed to strncmp 2024-09-30 21:59:14 +02:00
smallmodel
c39bdd246a
Correctly load DDS file on bigendian architectures 2024-09-28 20:56:55 +02:00
smallmodel
f9d264058b
Use safe version of sprintf and strcpy 2024-09-20 23:08:53 +02:00
smallmodel
6cdf5b7b7e
Process .gst files 2024-09-12 19:44:36 +02:00
smallmodel
e19b72647e
Use qglGenTextures to guarantee the uniqueness of the texture number 2024-08-08 19:07:09 +02:00
smallmodel
d809975882
Use Q_snprintf because itoa is non-standard 2024-08-07 22:27:02 +02:00
smallmodel
b463c905cf
Free up unused images
This fixes #93 where the game would hit `MAX_DRAWIMAGES` after loading a few maps
2024-08-07 21:11:16 +02:00
smallmodel
7f8a0c9931
Fix the image texture number not properly matching the image
It caused issues with textures being messed up sometimes, after multiple maps were loaded
2024-08-07 21:10:04 +02:00
smallmodel
d22dea5e8e
Count renderer memory 2024-08-07 19:57:09 +02:00
smallmodel
60e4fa7005
Handle shader picmip and fix shaders not rendered properly with force32bit (alpha channel was ignored) 2024-07-28 19:25:24 +02:00
smallmodel
74ccb03e54
Reduced compilation warnings 2024-06-07 20:34:13 +02:00
smallmodel
5475624b7f
Added DDS support + handle compressed textures correctly 2024-02-12 20:19:33 +01:00
smallmodel
4487113c58
Fixed dlight image name 2024-01-01 23:52:38 +01:00
smallmodel
9c8ca98e68
Added anisotropic filtering 2024-01-01 14:25:02 +01:00
smallmodel
c73f5917f8
Removed image->UseCount 2023-08-28 17:36:01 +02:00
smallmodel
f32d32f720
Made lightmap_buffer variable 1D 2023-07-19 22:40:40 +02:00
smallmodel
c269a4f034
Fixed missing semicolon 2023-07-19 20:59:04 +02:00
smallmodel
7d309553cc
Fixed dlight byte 2023-07-19 20:30:22 +02:00
smallmodel
8c7dd5fad6
Set DLIGHT_SIZE to 32 instead of 16 2023-07-19 20:21:06 +02:00
smallmodel
e8ecd1ca9e
Implemented R_RefreshImageFile 2023-07-09 18:15:04 +02:00
OM
3acda727d2 Added full sprite support 2023-05-29 14:27:36 +02:00
OM
a7f6c77b8d Mixed mipmap param fix 2023-05-29 13:49:19 +02:00
OM
7b79877516 made renderer (original quake III) work with SDL 2023-05-27 22:23:03 +02:00
OM
f3be59f64d update 2023-05-26 23:32:27 +02:00
OM
e54f4a65f9 altname fix 2023-05-22 13:44:37 +02:00
OM
55ad4dacdd Added DDS support 2023-05-22 13:01:52 +02:00
OM
9e7991f4b1 Load JPEG before TGA 2023-05-22 02:16:21 +02:00
OM
ac45f20fa6 Added *UploadCompressed* (although useless) + *force32bit* support in *Upload32* 2023-05-21 02:05:48 +02:00
OM
bb401d8d3c now sets tr.needsLightScale 2023-05-20 19:32:47 +02:00
OM
b16ce90be3 Added *UI_LoadResource* calls 2023-05-19 23:15:24 +02:00
OM
b61c7b3988 Fog fixes 2023-05-19 02:08:32 +02:00
OM
cf14b84876 Using MOHAA's R_CreateImage and R_LoadImage 2023-05-17 00:25:27 +02:00
OM
4dcd1111fb overbright bits fix 2023-05-16 14:09:18 +02:00
OM
e605159f7f Removed R_InitSkins 2023-05-11 23:28:36 +02:00
OM
8b73d676cb Fakk modifications 2023-05-11 18:56:40 +02:00
OM
776d3fa897 Added all mohaa renderer Cvars 2023-05-10 18:21:26 +02:00
OM
929cb3eb79 JPEG-6 fix 2023-05-10 00:51:18 +02:00
OM
e1f391fa4b made tr.images statically allocated 2023-05-10 00:00:40 +02:00
OM
4824f8a3b3 MOHAA BSP implementation 2023-05-09 20:49:04 +02:00
L
0d7b822216 Implemented R_LoadFont 2023-05-09 19:13:37 +02:00
L
521af45611 Fixed all errors (now compile & link) 2023-05-09 17:50:29 +02:00
L
53c1c94dac Using Quake 3 renderer 2023-05-08 14:33:37 +02:00