Commit Graph
208 Commits
Author SHA1 Message Date
smallmodel 2785a72789 Fixed R_GatherLightSources crash 2023-08-27 17:01:53 +02:00
smallmodel c1ee0332e3 Fixed parameter of Draw_StretchPic2 2023-08-16 00:45:26 +02:00
smallmodel 5343949254 Implemented Draw_StretchPic2 2023-08-15 23:52:22 +02:00
smallmodel 0fea47bb69 Added Draw_StretchPic2 2023-08-15 22:44:37 +02:00
smallmodel 078223c1b6 Centerprint when screenshotting 2023-07-30 11:40:33 +02:00
smallmodel 3fe7cbf725 Fixed vertex colors spam 2023-07-30 11:38:59 +02:00
smallmodel ae4ea14b35 Fixed crash related to backEnd.currentEntity being null 2023-07-29 19:56:36 +02:00
smallmodel 15633626fe Implemented R_GatherLightSources, R_CheckAddLightToList and R_InsertLightIntoList 2023-07-25 22:01:28 +02:00
smallmodel fc9cf41557 Implemented R_GetLightingGridValue (better lighting) 2023-07-25 20:03:07 +02:00
smallmodel 527131e513 R_LoadLightGrid: Set light grid size depending on the map version 2023-07-25 20:02:56 +02:00
smallmodel b79163f998 Fixed sqrt non-constant expression 2023-07-25 18:46:05 +02:00
smallmodel 121aaa164a Implemented sphere light 2023-07-24 20:18:14 +02:00
smallmodel 2522559a04 Implemented R_SphereInLeafs 2023-07-24 20:14:23 +02:00
smallmodel cf61471b2d Added MAX_REAL_LIGHTS 2023-07-24 20:14:16 +02:00
smallmodel 9ebdc6a238 Replaced 2 with RDF_HUD 2023-07-24 20:13:43 +02:00
smallmodel 087d0047b3 Implemented AGEN_DIST_FADE, AGEN_ONE_MINUS_DIST_FADE, AGEN_TIKI_DIST_FADE, AGEN_ONE_MINUS_TIKI_DIST_FADE and AGEN_HEIGHT_FADE 2023-07-23 19:08:57 +02:00
smallmodel d6952b8915 Implemented RB_CalcAlphaFromHeightFade 2023-07-23 18:43:35 +02:00
smallmodel 396e543b74 Removed tess.numVertexes check from RB_CheckOverflow 2023-07-23 18:21:09 +02:00
smallmodel cd3e9bec03 Don't draw NODRAW surface 2023-07-23 15:07:20 +02:00
smallmodel a6c7f7d4e0 Fixed animation map 2023-07-23 13:44:30 +02:00
smallmodel c2cc57fa6b Made model check case-insensitive (this fixes thing like recaching, and this fixes cgame crashing with m_spawnthing being null during model parsing) 2023-07-22 21:27:56 +02:00
smallmodel 783cefacf9 Fixed surfaces crash 2023-07-21 23:42:09 +02:00
smallmodel 832067d967 Fixed (a little bit) R_RealDlightPatch 2023-07-21 23:36:02 +02:00
smallmodel d3bda17814 Fixed vertice steps 2023-07-21 20:30:44 +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 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 b07784d884 Merge branch 'main' of github.com:openmoh/openmohaa 2023-07-17 00:25:21 +02:00