smallmodel
835ddb1de3
Set the compass scale to 0.55 by default on the base game
2024-12-09 18:08:00 +01:00
smallmodel
b58f031bcc
Remove unused cg variables
CodeQL / Analyze (push) Waiting to run
Build branch / build-all (push) Failing after 17s
2024-12-08 20:09:23 +01:00
smallmodel
3897a44ce6
Bump the version number
2024-12-08 19:58:59 +01:00
smallmodel
70a5dde726
Correctly handle long strings in chat and game message box
2024-12-08 19:22:25 +01:00
smallmodel
f684349c18
Make sure to pop the loading screen on error
...
CodeQL / Analyze (push) Waiting to run
Build branch / build-all (push) Failing after 16s
This fixes the client getting stuck in the loading screen due to a drop error
2024-12-08 18:47:10 +01:00
smallmodel
a08a9a4f10
Remove TOKEN_NUMBER (unused)
...
Some maps use #xx to indicate an identifier, so remove this token to avoid errors
2024-12-08 18:24:33 +01:00
smallmodel
f719b87e69
Handle identifiers that are present after strings, by marking strings as identifier
2024-12-08 18:15:26 +01:00
smallmodel
af1cbea966
Also make players non-solid in a vehicle slot
2024-12-08 17:19:39 +01:00
smallmodel
f3f53947bc
Call the switch label only is the primary turret is valid
2024-12-08 16:43:58 +01:00
smallmodel
f0cc34cccf
Correctly parse identifiers starting with a number and containing non-numeric characters
2024-12-08 16:19:57 +01:00
smallmodel
c4a1175ad0
Clear the invulnerable override when loading
2024-12-08 15:53:37 +01:00
smallmodel
333c452f44
Sanitize the name with a maximum buffer size limit
2024-12-08 12:51:14 +01:00
smallmodel
5801af34bb
Don't execute newconfig.cfg
...
This prevents graphic settings from being overridden by the configuration file previously generated by the original game
2024-12-08 12:43:05 +01:00
smallmodel
da0c36cc88
Also show the port of clients in status
2024-12-08 12:40:21 +01:00
smallmodel
d8d98ade6a
Set the default sound quality to 44 Hz
2024-12-08 12:37:59 +01:00
smallmodel
c3157ad4d7
Use DebugPrintf for errors that are relevant to developers
Build branch / build-all (push) Failing after 16s
CodeQL / Analyze (push) Has been cancelled
2024-12-06 20:36:12 +01:00
smallmodel
6f686cb7fa
Check if the renderer is loaded instead of checking if it's registered
CodeQL / Analyze (push) Waiting to run
Build branch / build-all (push) Failing after 43s
2024-12-06 00:45:18 +01:00
smallmodel
39981643a8
Fix incorrect count when unloading sgl fonts
2024-12-06 00:45:12 +01:00
smallmodel
28bdd1b2b3
Made the renderer modular and loadable
...
This removes coupling between the renderer and UI/client functions. An option USE_RENDERER_DLOPEN was added to specify whether a renderer module should be compiled and loaded, instead of integrating the renderer into the executable directly. This opens the door for a new renderer
2024-12-06 00:15:19 +01:00
smallmodel
35f40e949b
Properly clear UI resources when shutting down the UI
2024-12-05 23:31:38 +01:00
smallmodel
115b7b82aa
Correctly handle the scenario where multiple architectures are specified
...
Each target will produce a single binary having multiple architectures, instead of having a binary per architecture. The suffix for each binary will be `multiarch`. This makes it easier for the end-user to install and use. This also helps the transition between Intel and Apple Silicon hardware
2024-12-05 21:12:19 +01:00
smallmodel
d7c0ee47fe
Check if the skel is valid before freeing it
2024-12-05 00:42:50 +01:00
smallmodel
0559d643b7
Use TIKI_DPrintf instead of Skel_DPrintf
2024-12-05 00:42:31 +01:00
smallmodel
8446a655bb
Print an error when the skel file extension is unknown
2024-12-04 22:33:42 +01:00
smallmodel
01d098dab5
Clear the number of uses of the skel cache when registering a new skeleton
2024-12-04 22:33:28 +01:00
smallmodel
b6dd3914be
Correctly free skels when freeing TIKIs
...
This fixes a potential memory leak that would occur when the first skelcache's skel is NULL
2024-12-04 22:30:26 +01:00
smallmodel
c2e45710ad
Improve code clarity
2024-12-04 22:15:01 +01:00
smallmodel
ac6b274a4f
Use MAP_SIZE instead of MAX_MAP_BOUNDS
...
This fixes collision being incorrect on big maps
2024-12-04 19:22:56 +01:00
smallmodel
f7c8c745c4
Don't return a slash at the end for directory name
2024-12-02 21:08:42 +01:00
smallmodel
861338b0fc
Add support for smaller lightmaps
...
Large lightmap can be disabled for very low-end hardware. A BSP file with a smaller lightmap (_sml.bsp) will be used instead of the standard one if the map supports it
2024-12-02 20:36:45 +01:00
smallmodel
499fe44bde
Call R_RegisterShaderNoMip for the crosshair
...
This prevents the crosshair texture from being altered by the texture quality settings
2024-12-02 19:00:43 +01:00
smallmodel
ba74943844
Fix picmip adjustment
2024-12-02 18:59:48 +01:00
smallmodel
21f631e733
Compile SDL input/client and SDL OpenGL independently
...
This decouple the renderer from the client part of SDL (input), and only uses SDL for OpenGL
2024-12-01 22:23:28 +01:00
smallmodel
b5c32a41de
Check for tabs alongside spaces in the lexer between expressions and variables
...
This fixes a compile error in some scripts that use tabs instead of spaces between expressions
2024-12-01 20:36:30 +01:00
smallmodel
c9373cbc97
Comment out ABI compatibility checks
2024-12-01 20:34:38 +01:00
smallmodel
b5a73384d3
Exclude the slash at the beginning of each file for FS_ListFilteredFiles
2024-12-01 20:33:51 +01:00
smallmodel
4f699f3b58
Add support to compile renderergl2 (currently unimplemented)
2024-12-01 19:21:07 +01:00
smallmodel
4ea598d76b
Reimplement SkipBracedSection
2024-12-01 17:53:51 +01:00
smallmodel
7e6b0a1c2b
Remove SMP and render thread code, as they're unused
2024-12-01 16:32:19 +01:00
smallmodel
d884512a76
Update renderergl2 from upstream ioq3
2024-12-01 15:41:48 +01:00
smallmodel
71450fb36e
Move renderer to renderergl1
2024-12-01 15:30:23 +01:00
smallmodel
4775f29194
Fix build warnings and errors
2024-11-30 23:36:37 +01:00
smallmodel
d5d5c7a55d
Use bits per sample rather than bytes as there are 4-bit sounds
2024-11-30 23:23:49 +01:00
smallmodel
aa74934ae0
Fix huddraw scaling with high resolutions
2024-11-30 23:21:20 +01:00
smallmodel
0534482c22
Fix a small mistake where it uses vidWidth rather than vidHeight
2024-11-30 23:08:23 +01:00
smallmodel
6fe1e86b31
Automatically scale UI elements for high resolutions
...
This fixes UI elements being tiny on high resolutions like 4K. Now most UI elements will scale automatically with resolutions above 1920x1080.
2024-11-30 22:40:00 +01:00
smallmodel
47983481c9
Use UI definitions instead of cls.glconfig for UI code to get the resolution
2024-11-30 13:54:50 +01:00
smallmodel
387ccd5cc3
Bump the minimum CMake version to 3.12
2024-11-30 00:36:33 +01:00
smallmodel
0fb775cd60
Only set the infoclient if it's a teammate player that can be sent to other clients
2024-11-29 23:45:52 +01:00
smallmodel
56cc3fff53
Use a single variable to disable modern DMA
2024-11-29 22:53:04 +01:00