Joey Riches
864cdf1fc6
CMake: Add uninstall target
...
https://gitlab.kitware.com/cmake/community/-/wikis/FAQ#can-i-do-make-uninstall-with-cmake
Useful when for testing system-wide installation with linux
2024-11-20 18:01:30 +01:00
Joey Riches
f1c12e0649
misc: Add linux assets
...
Add a .desktop file, this is used by application launchers in order to
find and execute applications, this should be installed to
`/usr/share/applications/org.openmoh.openmohaa.desktop`.
Add appstream metainfo, this provides metainfo that is used by Software
Centers for discoverability, this should be installed to
`/usr/share/metainfo/org.openmoh.openmohaa.metainfo.xml`.
This will open the door to getting OpenMoHAA packaged up by various
linux distros.
2024-11-20 16:40:01 +01:00
smallmodel
58d8a73269
Don't abort() on interrupt or on program termination
2024-11-20 12:46:04 +01:00
smallmodel
c788d57c52
Use abort() rather than doing a segfault
2024-11-19 23:15:01 +01:00
smallmodel
50eda4156a
Don't remove the weapon if it has no start ammo
...
Instead, prevent sentients from picking up weapons if they get no ammo from it and they already have that weapon. Instead, just let the weapon be picked up as a new weapon
2024-11-19 22:44:04 +01:00
smallmodel
1e609a4b2f
Ignore bullet tracers in 1.11 and below
...
Before 2.0, the tracer frequency is set on almost all weapons. This has some artifacts on multiplayer, the tracer doesn't look adjusted in first-person view
2024-11-19 22:24:50 +01:00
smallmodel
a0e2162dd7
Fix 1.11 servers filtered out
2024-11-19 22:16:55 +01:00
smallmodel
01dfbcdbfe
Properly print the backtrace and generate a core dump on both Windows/Unix
2024-11-19 21:45: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
d83374d38c
Set the default compass scale to 0.5 for the base game
2024-11-19 19:44:55 +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
6bc621462c
Use CL_FontStringWidth instead of uie.FontStringWidth
2024-11-19 19:17:16 +01:00
smallmodel
acb08b89f7
Fix constant for screenOrg
2024-11-18 22:03:58 +01:00
smallmodel
2107523eda
Use MAX_CLIENTS - 1 instead of 63
2024-11-18 21:57:02 +01:00
smallmodel
2662174eba
Fix radar clients not blinking when talking
2024-11-18 21:22:50 +01:00
smallmodel
59d03ff6f0
Return a virtual scale with the correct ratio if scale variable is set
...
This prevents the widget from being stretched out on widescreen, currently only the compass uses scalecvar
2024-11-18 21:13:43 +01:00
smallmodel
05d304dfc3
Set ignoredFiles only if ignore_files was specified
...
This fixes a crash that would occur due to a NULL string
2024-11-18 20:38:03 +01:00
smallmodel
614ed6e632
Use the vartree for flags, rather than copying the flags to a signed int value
2024-11-18 19:47:54 +01:00
smallmodel
eb938c872d
Make varnode endian-independant
...
This fixes terrain rendering incorrectly on big-endian architectures by using bit operation. The `flags` field in the union always matched the first byte of the variance float value instead of the least significant byte
2024-11-18 19:44:00 +01:00
smallmodel
46e1aa979b
Use ARRAY_LEN instead of sizeof
2024-11-18 18:46:14 +01:00
smallmodel
ec5acb4d98
Fix bad glDepthRange
2024-11-17 22:59:49 +01:00
smallmodel
b237222761
Update features.md
2024-11-17 22:27:20 +01:00
smallmodel
652df1a5af
Prevent players with SVF_NOCLIENT to use objects
2024-11-17 22:10:03 +01:00
smallmodel
69621335db
Put the target extension version in the version string
2024-11-17 21:31:45 +01:00
smallmodel
7b58fbec8a
Fix comparison operator for char
2024-11-17 21:25:54 +01:00
smallmodel
aeb8aa8e55
Don't send a voice chat message if the entity is not sent to clients
2024-11-17 20:28:03 +01:00
smallmodel
e74e113199
Fix voice message always being sent to enemies in team message
2024-11-17 20:26:40 +01:00
smallmodel
953091cdc8
Move and rename macros to snd_local_new.h
2024-11-17 19:11:59 +01:00
smallmodel
5819145af8
Synchronize the entity time with the channel time when loading
...
This prevents the channel from stopping immediately during respatialization, the entity time may be updated quite some time after loading
2024-11-17 18:46:21 +01:00
smallmodel
154464cda1
Set the server huddraw elements on single-player mode
...
This fixes huddraw elements not being archived properly when the map starts
2024-11-17 18:26:00 +01:00
smallmodel
2342f08a79
Print the new damage when g_showbullettrace is turned on
2024-11-17 18:02:57 +01:00
smallmodel
16711a33ef
Fix bulletthroughwood and bulletthroughmetal not being archived correctly
...
This caused issues on some single-player maps where bullet would go through walls
2024-11-17 18:02:35 +01:00
smallmodel
cea0d95fee
Set the pitch to default when setting a new SFX
...
This fixes channels having an incorrect pitch when starting the sound under some circumstances
2024-11-17 17:12:36 +01:00
smallmodel
989ec9574c
Fix too high farVal for glDepthRange
2024-11-17 16:46:21 +01:00
smallmodel
b0b82f0252
Fix incorrect start trace for Actor::DontFaceWall()
...
This fixes AI not turning from wall
2024-11-17 16:36:45 +01:00
smallmodel
80ddba1013
Fix constant string for "officer" disguise type
...
This fixes the officer think not working at all
2024-11-17 16:36:19 +01:00
smallmodel
23f776d3c7
Fix typo
2024-11-17 14:32:44 +01:00
smallmodel
880acf9120
Make com_target_game and com_target_demo write-protected (can only be set at startup)
2024-11-17 14:28:00 +01:00
smallmodel
598110477e
Archive the m_bAlwaysAway
variable
2024-11-16 22:35:55 +01:00
smallmodel
ffdfbc3c7d
Fix the bullet stopping after the first entity
2024-11-16 21:57:12 +01:00
smallmodel
a7dc8b3493
Don't archive r_fastsky variable
...
This prevents this setting to be altered by mods forever
2024-11-16 21:36:56 +01:00
smallmodel
67d8cad64d
Allow sound files from OS disk in pure mode
2024-11-16 21:34:19 +01:00
smallmodel
b007842fb4
Fix pure checksums not matching the server
2024-11-16 21:32:53 +01:00
smallmodel
2c4b5fc9ba
Rename the type variable to currentType so it doesn't take precedence over the type member
...
This fixes an issue where it was the type variable that was being set, rather than the type member
2024-11-16 20:07:26 +01:00
smallmodel
e96a3f4f59
Use c_str() instead of accessing m_data
...
c_str() will always return a valid string even if empty
2024-11-16 19:27:48 +01:00
smallmodel
8eded28efc
Fix the typename in the error message for incompatible types
2024-11-16 19:22:01 +01:00
smallmodel
b68bb4cee7
Fix integer overflow in wait command that would cause infinite loop in stock scripts
...
It was causing a rare infinite loop in anim/stand.scr where it waits for 9999999 if the actor is unarmed and medic
2024-11-16 19:10:26 +01:00
smallmodel
824cfd789c
Properly save and restore entity's children solidity
2024-11-16 18:19:45 +01:00
smallmodel
a0b80a9096
Fix string not usable for targetname
2024-11-16 18:17:19 +01:00
smallmodel
857d25825b
Remove tmvolume like other commands when shutting down OpenAL
2024-11-16 16:57:59 +01:00