Commit graph

960 commits

Author SHA1 Message Date
smallmodel
4aad275e3b
Removed buffer from Message_Key 2023-07-21 20:35:26 +02:00
smallmodel
2a34e54000
Fixed MSG_ReadGameStateChar not returning correctly 2023-07-21 20:35:13 +02:00
smallmodel
f725192d7d
Removed float warning 2023-07-21 20:34:59 +02:00
smallmodel
3682d3b799
Export UI_FocusMenuIfExists 2023-07-21 20:34:50 +02:00
smallmodel
24b22392ff
Removed CL_Disconnect parameter 2023-07-21 20:34:42 +02:00
smallmodel
035ed1fe24
Added com_target_version and removed CL_Disconnect parameter 2023-07-21 20:32:58 +02:00
smallmodel
129e3bfe6e
Removed comment 2023-07-21 20:32:43 +02:00
smallmodel
134873cc51
Removed CL_Disconnect parameter
Added com_target_version
2023-07-21 20:32:33 +02:00
smallmodel
d3bda17814
Fixed vertice steps 2023-07-21 20:30:44 +02:00
smallmodel
29c321d2cc
Added S_TriggeredMusic_PlayIntroMusic 2023-07-21 20:30:11 +02:00
smallmodel
7106396b3e
Implemented R_RecursiveDlightPatch, R_RealDlightPatch and R_RealDlightTerrain 2023-07-20 23:59:52 +02:00
smallmodel
ea7ee996a0
Make sure to zero out value at index 3 of static normal and xyz 2023-07-20 23:59:27 +02:00
smallmodel
a2808a0dbf
Fixed dlightmap being wrong 2023-07-20 23:58:33 +02:00
smallmodel
d0a8ac91a7
ParseFace: skip if surface shader has nodraw flags 2023-07-20 23:58:17 +02:00
smallmodel
58b88201dd
Using LIGHTMAP_SIZE instead of a constant value 2023-07-19 22:41:14 +02:00
smallmodel
eceef48267
Made lightmap_buffer access self-explanatory 2023-07-19 22:40:58 +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
9189538410
Fixed LIGHTMAP_SIZE usage 2023-07-19 20:37:05 +02:00
smallmodel
00b028b381
Fixed texture env
Fixed wrong dlight image being used
2023-07-19 20:30:43 +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
a5ff63cd01
Fixed env values 2023-07-19 20:20:16 +02:00
smallmodel
5e55e72b5c
Set tess.dlightMap to 0 in RB_AddQuadStampExt
Clear dynamic light bits when surface is a sky or has nodlight set
2023-07-19 20:19:54 +02:00
smallmodel
01fbba74ef
Code cleanup 2023-07-19 00:40:25 +02:00
smallmodel
c7de9048e5
Fixed index mistake 2023-07-19 00:40:14 +02:00
smallmodel
6faded773c
Removed (int) useless cast 2023-07-19 00:39:54 +02:00
smallmodel
ca4e55fad8
Using LIGHTMAP_SIZE 2023-07-19 00:08:49 +02:00
smallmodel
bcf58f90d6
Implemented R_RealDlightFace and R_DlightSample 2023-07-18 22:31:55 +02:00
smallmodel
3f8db539af
Fixed lightmap vecs loading 2023-07-18 22:31:45 +02:00
smallmodel
e181e00807
Added R_FastDlightTerrain
implemented R_DlightTerrain
Fixed R_DlightSurface (this fixes issues with dynamic lighting)
2023-07-18 21:39:14 +02:00
smallmodel
22fdf36cc6
Added reallight functions, unimplemented 2023-07-18 21:19:16 +02:00
smallmodel
415a5e60da
Fixed uninitialized variables 2023-07-18 21:19:01 +02:00
smallmodel
7828cddc2a
Implemented DrawStatCircle, DrawStatNeedle, DrawStatRotator DrawStatSpinner and StatCircleTexCoord. The compass HUD is now fully functional 2023-07-18 20:50:40 +02:00
smallmodel
83a6493024
Export ui_health_start and ui_health_end 2023-07-18 20:49:33 +02:00
smallmodel
e763d2b17d
Added cl_uiradar 2023-07-18 00:10:56 +02:00
smallmodel
ae8d26ce18
Use crandom() instead of random() 2023-07-18 00:09:02 +02:00
smallmodel
1438c052b4
Rearranged include files 2023-07-18 00:08:30 +02:00
smallmodel
8489059ea8
Implemented R_TessellateMarkFragments, and R_AddMarkFragmentsToTerrain 2023-07-17 23:28:06 +02:00
smallmodel
2866bfdd04
Fix for DrawStretchRaw and const params 2023-07-17 20:44:09 +02:00
smallmodel
52f60e647d
Implemented R_MarkFragmentsForInlineModel and R_BoxSurfacesForBModel_r 2023-07-17 20:09:00 +02:00
smallmodel
66213821c5
Using const parameters for BoxOnPlaneSide 2023-07-17 20:08:26 +02:00
smallmodel
baee33e07f
Added chrono stuff for C++ 2023-07-17 19:28:55 +02:00
smallmodel
800ccaf020
Fixed animation crossblend not working correctly 2023-07-17 19:24:53 +02:00
smallmodel
7e526ca9a5
Fixed scrambled string errors with accents 2023-07-17 19:13:05 +02:00
smallmodel
b07784d884
Merge branch 'main' of github.com:openmoh/openmohaa 2023-07-17 00:25:21 +02:00
pryon
6891d297d2
Implement R_CountTikiLodTris (#48)
* Implement R_CountTikiLodTris

* Fix several bugs in R_DrawDebugNumber and a buffer overrun in R_DebugLine
2023-07-17 00:24:56 +02:00
smallmodel
69c2ea4614
Using font system from SH/BT to support different code pages 2023-07-17 00:24:04 +02:00
smallmodel
7515c99195
Fixed string being wrong if there is a char above 128 (like accents), causing network glitches 2023-07-17 00:22:15 +02:00
smallmodel
70463db037
Fixed normals being corrupted/uninitialized and causing weird artifacts, such as strange water lines in some maps 2023-07-15 21:21:27 +02:00