smallmodel
439e0718ce
Fix sprite rendering causing crashes
2024-12-22 19:16:27 +01:00
smallmodel
4c57ba6ef3
Fix currentStaticModel assignment
2024-12-22 19:03:11 +01:00
smallmodel
b4bae40da8
Fix BSP minimum and maximum version on GL2
2024-12-22 19:00:15 +01:00
smallmodel
e04cbd57ea
Fix most shader errors, light rendering
CodeQL / Analyze (push) Waiting to run
Build branch / build-all (push) Failing after 18s
2024-12-21 22:49:38 +01:00
smallmodel
66664b7b46
Add tr_vis
2024-12-21 21:43:29 +01:00
smallmodel
546b90d75f
Add basic 3D GL2 rendering with static models and terrain
2024-12-21 17:04:31 +01:00
smallmodel
14e83a52a4
Add terrain rendering
2024-12-21 14:01:11 +01:00
smallmodel
dc9fec9d03
Load JPEG file first before TGA
CodeQL / Analyze (push) Waiting to run
Build branch / build-all (push) Failing after 28s
2024-12-20 23:35:14 +01:00
smallmodel
6d21d52d3e
Define USE_INTERNAL_JPEG macro for renderer when using the internal JPEG
2024-12-20 23:31:03 +01:00
smallmodel
3afb87486b
Add basic support for mohaa shaders for GL2
2024-12-20 23:21:28 +01:00
smallmodel
d0c0a55e6d
Fix drawing elements with color
2024-12-20 23:20:30 +01:00
smallmodel
1919b0efcb
Fix Cvar_SetValue not set for ref imports
2024-12-20 23:11:37 +01:00
smallmodel
954d096261
Fix font rendering
2024-12-20 21:53:33 +01:00
smallmodel
7e150c7a8a
Implement used draw functions
2024-12-20 21:27:10 +01:00
smallmodel
77646bda78
Implement RB_Stream draw surfaces
2024-12-20 21:21:10 +01:00
smallmodel
e6848a3ab0
Fix the window sizer losing focus when rapidly dragging the mouse
...
This would lead to annoyances when trying to resize the window as the window sizer would lose focus
2024-12-20 20:13:05 +01:00
smallmodel
011f49616b
Fix the improper focus and activation of pulldown menus
2024-12-20 19:35:27 +01:00
smallmodel
e1be3c0fd1
Call G_SetClientConfigString() instead to properly set the team configstring
2024-12-20 19:13:17 +01:00
smallmodel
3d950764a2
Add minimal renderergl2 implementation
...
CodeQL / Analyze (push) Waiting to run
Build branch / build-all (push) Failing after 17s
This implementation should just let the game run without crashing, the renderer doesn't show anything yet
2024-12-20 01:23:00 +01:00
smallmodel
fe16f999d8
Use ri.Printf to print instead of the Com_* functions
2024-12-19 22:40:38 +01:00
smallmodel
390c1d3f3d
Move tiki_mesh inclusion to renderercommon CMakeLists
2024-12-19 21:18:54 +01:00
smallmodel
49b5c29c11
Format renderergl1 source files
2024-12-19 21:13:39 +01:00
smallmodel
f86b495cc6
Set all common renderer imports and add openmohaa imports after ioquake3 imports for more clarity
2024-12-19 20:09:52 +01:00
smallmodel
a4d0a96ce5
Clear the camera jitter when ending the remote control
2024-12-19 19:52:29 +01:00
smallmodel
9d4ea75a18
Increase the number of aliases that can be found
...
Previously, 64 aliases could be chosen for random search, it was incremented to 128 since 2.0, however it should have been increased in Breakthrough as well, because there are aliases with more than 128 elements
2024-12-19 19:19:12 +01:00
smallmodel
38427fa3c5
Add support for compiling both opengl1 and opengl2 when they're built as shared libraries
...
CodeQL / Analyze (push) Waiting to run
Build branch / build-all (push) Failing after 26s
renderercommon is now used, which will appropriately use opengl1 when building static libraries, or compile both opengl1/opengl2 modules when building shared libraries
2024-12-18 23:24:04 +01:00
smallmodel
7d369dec74
Don't render static mesh if there is no static xyz
2024-12-18 19:44:48 +01:00
smallmodel
58bef33bc7
Don't check if the TIKI model exists when initializing a static model
...
In later version like 2.0 and above, the TIKI model can be registered before static models which would prevent static xyz to be initialized
2024-12-18 19:41:28 +01:00
smallmodel
bd021b109c
Fix a terrible mistake in TIKI_FindTiki with uninitialized variable
...
This was using an uninitialized buffer to find the cached TIKI, in most configurations it always returned false, but when compiled with GCC it would return true
2024-12-18 19:31:21 +01:00
smallmodel
3b1b994152
Fix temporary spawn spots being incorrectly ignored
2024-12-17 22:54:46 +01:00
smallmodel
4e69d7a78a
Remove redundant code
2024-12-17 22:50:25 +01:00
smallmodel
16166a36b5
Fix spawnpoint metric for objective-based matches
2024-12-17 22:48:10 +01:00
smallmodel
bcbe7cd870
Fix spawn point metric functions not counting the last player
2024-12-17 22:45:43 +01:00
smallmodel
8dba91fbcc
Reopen doors to the other side when blocked
2024-12-17 22:17:02 +01:00
smallmodel
29fe5780e9
Only post the EV_MoveDone event if it's not pending when done moving
...
There are some situations where EV_MoveDone is posted again through a call to G_PushMove(), this avoids the mover unexpectedly and immediately moving to the new location
2024-12-17 22:15:53 +01:00
smallmodel
12686c0ab1
Format mover source file
2024-12-17 22:02:35 +01:00
smallmodel
a21d712f54
Reopen the door to the other side if it's blocked
2024-12-17 21:30:48 +01:00
smallmodel
2c7d18b331
Initialize client persistent in G_InitClientPersistant
2024-12-17 21:16:45 +01:00
smallmodel
e353673005
Fix player deaths (or total kills) being added twice in round-based matches
2024-12-17 21:11:34 +01:00
smallmodel
1be50cdddf
Clear the attack time during reaction time
2024-12-17 14:01:13 +01:00
smallmodel
869b257bf8
Add a slight random response time before attacking
...
Build branch / build-all (push) Failing after 56s
CodeQL / Analyze (push) Has been cancelled
It's a way to make the fight less difficult between bots and players
2024-12-16 23:05:35 +01:00
smallmodel
f165ebf9a3
Refactor G_ExitLevel
2024-12-16 23:03:15 +01:00
smallmodel
a6c168c289
Count from 0 instead of CS_OBJECTIVES for more clarity
2024-12-16 22:13:26 +01:00
smallmodel
0057a8273c
Initialize the total map time
2024-12-16 21:17:36 +01:00
smallmodel
876829a742
Properly aim the enemy
...
The bot wasn't aiming properly at the enemy because the bot was aiming from the centroid. It also caused issues when the enemy was crouching
2024-12-16 19:45:42 +01:00
smallmodel
f4519325ce
Speed up bot rotation
2024-12-16 19:41:01 +01:00
smallmodel
932367d061
Append "demo" to the keywords if fs_restrict is enabled
CodeQL / Analyze (push) Waiting to run
Build branch / build-all (push) Failing after 16s
2024-12-15 21:32:34 +01:00
smallmodel
79643d963e
Correctly parse the name of the players returned by the serverstatus command
2024-12-15 21:32:23 +01:00
smallmodel
872b3f5d70
Improve bot movement when stuck
2024-12-15 21:10:48 +01:00
smallmodel
ac4138a763
Declare PID functions
CodeQL / Analyze (push) Waiting to run
Build branch / build-all (push) Failing after 17s
2024-12-15 00:20:31 +01:00