smallmodel
1758a0cd2e
Move whitelisted server commands to a dedicated source file
2025-04-18 18:49:12 +02:00
smallmodel
73aa377264
Fix hit/kill notify being swapped ( #698 )
CodeQL / Analyze (push) Waiting to run
Build branch / build-all (push) Failing after 42s
2025-03-17 00:19:40 +01:00
smallmodel
74e909d17f
Add echo
2025-03-15 19:48:17 +01:00
smallmodel
4b3c150004
Add cg_cameraverticaldisplacement
2025-03-15 19:47:35 +01:00
smallmodel
5ee7948071
Add more sound-related commands
2025-03-15 19:43:23 +01:00
smallmodel
8341f8cb6a
Fix bullet hole sometimes not playing
2025-01-28 20:24:14 +01:00
smallmodel
1fc36fce9b
Fix multiple bullet hole effects unnecessarily spawning
2025-01-28 20:03:02 +01:00
smallmodel
e510c50a24
Set minimum and maximum for effect variables
Build branch / build-all (push) Failing after 1m39s
CodeQL / Analyze (push) Has been cancelled
2025-01-27 00:44:17 +01:00
smallmodel
c345035e12
Add Cvar_CheckRange exports
2025-01-27 00:13:01 +01:00
smallmodel
52744fb784
Whitelist cg_3rd_person
2025-01-22 21:35:27 +01:00
smallmodel
08e5208835
Add "append" as allowed command
2025-01-22 21:35:09 +01:00
smallmodel
187079842f
Add cg_cheats to check if cheats are enabled
2025-01-22 21:26:29 +01:00
smallmodel
ef2c5d2df6
Check and verify that selected player models are valid
...
CodeQL / Analyze (push) Waiting to run
Build branch / build-all (push) Failing after 16s
If the player model or the player german model is not valid, they will be reset to the default value. If the server doesn't have one or more of these models, force model feature will not work
2025-01-22 20:52:05 +01:00
smallmodel
b8c7223da7
Allow "name" to be changed by server
...
Players often get their name changed due to them having an empty or duplicate name
2025-01-21 22:55:00 +01:00
smallmodel
19e12701f3
Fix HUD scaling for spectator text, and vote text on 4K
2025-01-21 20:15:43 +01:00
smallmodel
465d462756
Automatically adjust the FOV depending on the aspect ratio
2025-01-02 15:52:45 +01:00
smallmodel
d83ad43b0b
Fix FPS model not being set correctly to match the world model
CodeQL / Analyze (push) Waiting to run
Build branch / build-all (push) Failing after 3m46s
2024-12-30 20:24:49 +01:00
smallmodel
51a2f7d479
Use an enumeration for weapon commands and a function to get the weapon command
...
This improves clarity for using weapon commands. Also the mask was incorrect for protocol above version 8 (mohaas and mohaab)
2024-12-30 00:55:29 +01:00
smallmodel
4ec10af1fd
Fix private message not working
2024-12-29 15:43:41 +01:00
smallmodel
515beeafa7
Fix wrong fov clamping
CodeQL / Analyze (push) Waiting to run
Build branch / build-all (push) Failing after 19s
2024-12-23 22:57:26 +01:00
smallmodel
85c401496a
Add a client-game variable for customizing the FOV client-side
2024-12-23 22:53:31 +01:00
smallmodel
d5ec17ec26
Allow subtitles to be set from stufftext
2024-12-13 19:24:58 +01:00
smallmodel
e15440af5e
Clear the view velocity when PMF_NO_MOVE is set
2024-12-12 22:52:28 +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
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
7e6b0a1c2b
Remove SMP and render thread code, as they're unused
2024-12-01 16:32:19 +01:00
smallmodel
4775f29194
Fix build warnings and errors
2024-11-30 23:36:37 +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
387ccd5cc3
Bump the minimum CMake version to 3.12
2024-11-30 00:36:33 +01:00
smallmodel
d3fdaa060a
Fix bad parameters passed to CG_AnimationDebugMessage
2024-11-26 19:21:18 +01:00
smallmodel
90639cee36
Fix incorrect effect being spawned for MakeEffect CGM
2024-11-22 18:18:27 +01:00
smallmodel
64f877ae80
Use the correct convention for installing the project
...
On Win32:
- Binaries and libraries will be installed by default in <PREFIX>/bin
- The prefix is set to `Program Files/openmohaa` by default
On Unix:
- Binaries and libraries will be installed by default in <PREFIX>/lib/openmohaa
- Shared data will be installed in <PREFIX>/share/applications, <PREFIX>/share/metainfo and <PREFIX>/share/icons
- The prefix is set to `/usr/local` by default
2024-11-21 19:49:43 +01:00
smallmodel
120a486aea
Use CMake installation directory
...
This removes the use of the DESTINATION parameter from install() command and instead rely on default values.
The shared build action file was modified to package installed files in a single folder
2024-11-20 22:50:49 +01:00
smallmodel
862af012cb
Fix infinite loop while getting the number of lines in objectives
2024-11-19 20:26:23 +01:00
smallmodel
05e14f6364
Adjust the objectives menu accordingly depending on the game message box which depends on the compass scale
2024-11-19 19:41:46 +01:00
smallmodel
fb2f3bddaa
Fix the intermission screen (mission failed/success) not hiding immediately on the base game
2024-11-13 20:01:05 +01:00
smallmodel
fe862badf6
Add printdeathmsg from moh 2.0 and above
2024-11-12 18:37:17 +01:00
smallmodel
1ad5964c2f
Implement stoploopsound from moh 2.0 and above
2024-11-12 18:21:24 +01:00
smallmodel
851a16e18c
Fix the bullet tracer scale
2024-11-12 00:09:29 +01:00
smallmodel
9e060d11b6
Allow user-created variables
2024-11-11 20:58:37 +01:00
smallmodel
50fdbaf152
Use CVAR_RESETSTRING instead of CVAR_SERVER_CREATED
2024-11-11 20:36:03 +01:00
smallmodel
7bcb91bbb5
Don't allocate the mark if the number of allocated polys is insufficient
...
There was a very rare occurrence where it would hang trying to find a free mark poly, when the number of specified polys was more than the number of allocated polys. This bug also occurs in the original game
2024-11-11 15:14:20 +01:00
smallmodel
d3f3b9b51c
Don't allow lean in single-player in the base game
2024-11-10 17:01:56 +01:00
smallmodel
923a6de394
Clear the velocity when both walking and frozen
2024-11-10 16:07:55 +01:00
smallmodel
8114003c84
Add screenshot/levelshot allowed stuff commands
2024-11-03 18:54:34 +01:00
smallmodel
23f9c1a1e6
Only set the effect angles from the supplied angles if the spawnthing doesn't have angle set
2024-11-02 20:14:30 +01:00
smallmodel
e4b2c863d8
Fix angles not being set correctly from the base
2024-11-02 20:13:23 +01:00