Commit graph

31 commits

Author SHA1 Message Date
smallmodel
7023184892
Fix subdivisions endianness
See #332
2024-08-26 00:45:21 +02:00
smallmodel
1d4fe357c8
Fix ShaderForShaderNum incorrectly swapping the shader num 2024-07-29 21:39:24 +02:00
smallmodel
c7900b6048
Fix static model index endianness 2024-07-29 21:13:18 +02:00
smallmodel
6e3f959684
Fix header version incorrectly parsed 2024-07-29 20:32:21 +02:00
smallmodel
eb9a3b1bbf
R_UnpackTerraPatch: no need to get little-endian values as values are already swapped by R_SwapTerraPatch
See #332
2024-07-29 19:04:29 +02:00
smallmodel
391450f090
Swap bsp header on big-endian architectures
See #332 where the lump's offset and length are incorrect on big-endian architectures
2024-07-29 19:03:26 +02:00
smallmodel
28c6e3b398
Properly swap terrain patches for rendering on big-endian architectures 2024-06-08 12:48:36 +02:00
smallmodel
5aa70d91f3
Fixed patch subdivisions 2024-02-07 23:44:59 +01:00
smallmodel
136838e40b
Fixed R_ColorShiftLightingBytes()
The lighting bytes must use tr.overbrightShift instead of tr.overbrightBits.
This makes the rendering more colorful
2023-08-27 22:18:09 +02:00
smallmodel
527131e513
R_LoadLightGrid: Set light grid size depending on the map version 2023-07-25 20:02:56 +02:00
smallmodel
d0a8ac91a7
ParseFace: skip if surface shader has nodraw flags 2023-07-20 23:58:17 +02:00
smallmodel
9189538410
Fixed LIGHTMAP_SIZE usage 2023-07-19 20:37:05 +02:00
smallmodel
ca4e55fad8
Using LIGHTMAP_SIZE 2023-07-19 00:08:49 +02:00
smallmodel
3f8db539af
Fixed lightmap vecs loading 2023-07-18 22:31:45 +02:00
OM
b5dd79287a Fixed colors segmentation fault (because it was grabbing 4 bytes instead of 3 thanks to unsigned int*) 2023-07-02 21:22:15 +02:00
OM
7b79877516 made renderer (original quake III) work with SDL 2023-05-27 22:23:03 +02:00
OM
7085d60d02 Added Team Tactics features 2023-05-21 19:58:43 +02:00
OM
2dc75b7527 Added lightmap grid data support 2023-05-20 19:30:12 +02:00
OM
4dc60b9aa4 Added lighting-grid / sphere light basic implementation 2023-05-20 17:02:01 +02:00
OM
34a1cee89b Made sure to unpack static models correctly 2023-05-19 13:40:18 +02:00
OM
7438dd709c Fixed terrain unpacking 2023-05-18 18:17:18 +02:00
OM
497f853171 Fixed terrain varnodes being badly loaded 2023-05-18 17:14:00 +02:00
OM
cf14b84876 Using MOHAA's R_CreateImage and R_LoadImage 2023-05-17 00:25:27 +02:00
OM
2af56d8a2e Fixed R_ColorShiftLightingBytes for lightmaps 2023-05-15 14:59:20 +02:00
OM
d447ec1c14 Redundantly load fix 2023-05-10 20:18:49 +02:00
OM
0fad7c1ad6 Ubertools modifications 2023-05-09 22:54:13 +02:00
OM
797ae47b46 Renderer fixes 2023-05-09 21:58:24 +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