smallmodel
e74651f548
Fix incorrectly converted extents
2025-06-15 20:46:36 +02:00
smallmodel
377dfb618b
Add helper functions to convert extents
2025-06-15 20:12:04 +02:00
smallmodel
e5f645ec0c
Don't use cylinder trace
...
Cylinder causes some issues with terrain where some points would get created below a terrain patch
2025-06-15 18:06:05 +02:00
smallmodel
7fe8a90e8a
Use a better cost for jumping, falling and ladders
2025-06-15 18:00:48 +02:00
smallmodel
70a9a61f93
Use a different color depending on the poly area
2025-06-15 18:00:27 +02:00
smallmodel
d87b97256b
Add cost for different types of area
...
This makes it so special paths, like jump, have an higher cost
2025-06-15 01:26:17 +02:00
smallmodel
6e64526167
Fix sketchy ladder positioning
2025-06-15 00:12:02 +02:00
smallmodel
9b563eef75
Close the door if reopening on the other side fails
2025-06-14 21:57:30 +02:00
smallmodel
b98dcd8a53
Use the spawn delegate
2025-06-14 21:33:34 +02:00
smallmodel
ccb4b801bf
Add a code delegate for spawn
2025-06-14 21:31:00 +02:00
smallmodel
a5f7d9596a
Add a documentation about files
2025-06-14 20:19:09 +02:00
smallmodel
4ea06f6eb2
Update g_allclasses.html
2025-06-14 20:19:05 +02:00
smallmodel
e1923b58f6
Fix FPS model not drawing properly when the skin has no FPS model
2025-06-14 19:36:43 +02:00
smallmodel
df294ff155
Update workflows name
2025-06-13 23:04:44 +02:00
smallmodel
e43ade976b
Prevent switching teams and primary weapon in single-player
2025-06-13 00:41:25 +02:00
smallmodel
774c9d1853
Don't spawn bots in single-player
2025-06-13 00:24:31 +02:00
smallmodel
be6d2a05d2
Set a new session when the game type changes
2025-06-13 00:23:49 +02:00
1337Smithy
78565fbd3c
Deactivate all floating windows when using the popmenu command ( #757 )
2025-06-13 00:22:06 +02:00
smallmodel
a3662d01ba
Use a debug print rather than an error drop when the reference count for an area is negative ( #755 )
2025-06-11 03:00:27 +02:00
smallmodel
970dfcf1d8
Use v2.2.2 of action-gh-release ( #752 )
...
This is due to this bug: https://github.com/softprops/action-gh-release/issues/628
2025-06-10 20:08:07 +02:00
smallmodel
5a563b3cf0
Add unit test support ( #751 )
...
This adds simple support for unit testing, starting with the LZ77 compressor.
- Unit tests run on a separate GitHub Actions workflow
- Remove CTest commands from shared build workflow
2025-06-10 19:45:57 +02:00
smallmodel
ca9455bea1
Clear game variables when loading persistent archive
2025-06-10 16:21:05 +02:00
smallmodel
77bcd6d258
Use a 4-byte little-endian number for the raw saved data length ( #749 )
2025-06-10 16:14:23 +02:00
smallmodel
8c7cbfaa48
Don't use va for unnamedsoldier.cfg
2025-06-10 01:22:16 +02:00
smallmodel
7fdc863175
Refactor LZ77 code ( #748 )
2025-06-09 23:47:53 +02:00
smallmodel
ba3e68adc5
Make the trace functions properly match with the original game
2025-06-08 23:48:17 +02:00
smallmodel
c350b7e9c4
Fix complement operator being incorrect with float values
2025-06-08 22:42:47 +02:00
smallmodel
dad49e46ed
Use a tiny approximation when comparing float values ( #747 )
...
This fixes an issue where very tiny values would fail in comparison operators, for example the comparison `2.00000620 > 2` succeeds in the original game but fails in openmohaa.
2025-06-08 22:42:01 +02:00
1337Smithy
a0481b86f1
Make r_drawstaticdecals archivable ( #744 )
2025-06-08 17:59:21 +02:00
1337Smithy
1dc0dcc3cd
Lower deployed portable turrets so they don't float in the air ( #746 )
2025-06-08 17:51:28 +02:00
smallmodel
9ec3c68d64
Add file functions that uses the engine file API ( #740 )
...
This provides a safer and more secure alternative to the standard C file API.
2025-06-07 23:54:31 +02:00
smallmodel
50fdc70025
Implement remaining ScriptVariableList methods
2025-06-07 20:45:06 +02:00
smallmodel
5ab30b97d7
Make size() constant
2025-06-07 20:44:45 +02:00
smallmodel
099a67f1fd
Make cURL loosely coupled ( #739 )
...
This makes it so the project doesn't link against the library. The project must be able to run without the presence of the library.
2025-06-07 20:36:15 +02:00
smallmodel
56db5a1845
Properly initialize the client's enter time regardless of intermission
2025-06-06 21:26:25 +02:00
smallmodel
e152eba8fc
Fix jump points being made at incorrect locations
...
This fixes bots not jumping correctly on Verschneit
2025-06-06 20:51:49 +02:00
smallmodel
9663b38c62
Check if crowd is valid before updating
2025-06-06 20:37:31 +02:00
smallmodel
3d1741ec20
Fix bulge vertexes causing some surfaces to disconnect
2025-06-06 00:09:58 +02:00
smallmodel
64cbcd023e
Clear pending weapon commands when a new one arrives
2025-06-05 23:40:52 +02:00
smallmodel
33cfc2cbf8
Fix projectiles with no owner getting removed when a player joins a team ( #735 )
2025-06-05 21:00:20 +02:00
smallmodel
4b486e4a90
Make the barrel also get exploded by landmine and not bash
2025-06-05 00:35:32 +02:00
1337Smithy and smallmodel
b4c96cc543
Prevent barrel leaks when bashed with a weapon ( #733 )
...
---------
Signed-off-by: smallmodel <15067410+smallmodel@users.noreply.github.com >
Co-authored-by: smallmodel <15067410+smallmodel@users.noreply.github.com >
2025-06-05 00:00:41 +02:00
smallmodel
1e27efd7af
Set the minimum z bound back to 1 when checking for telefrag
...
Some mods block spawns by spawning a tiny solid object, this slight modification made these mods not work properly
2025-06-04 22:36:22 +02:00
smallmodel
12d5849e25
Use isValidPolyRef instead of calling passFilter()
...
passFilter() is currently defined as an inline function and can't be called properly outside its cpp file
2025-06-04 20:59:21 +02:00
smallmodel
663a7bb39e
Use correct clamping modes for clampmapx and clampmapy
2025-06-04 19:33:05 +02:00
smallmodel
2cf8c7d62e
Ignore combine extension
2025-06-04 19:29:09 +02:00
smallmodel
34c80df5ae
Add basic support for obstacles in Recast
...
- Obstacles with a radius smaller than 100 units (sphere) will be ignored
- An obstacle that would cover polygons more than twice the radius of the obstacle will be ignored
Currently, this only works for big obstacles that affect small areas
2025-06-04 03:20:14 +02:00
smallmodel
62a52c8974
Set agent max height to the character Z bounding box
2025-06-04 01:10:18 +02:00
smallmodel
971f0c9347
Update features.md
2025-06-03 20:13:41 +02:00
smallmodel
f4b41df38e
Update documentation about bots
2025-06-03 20:10:19 +02:00