smallmodel
5155c10136
Fixed scripts not working on big-endian architectures
2024-06-08 14:40:35 +02:00
smallmodel
28c6e3b398
Properly swap terrain patches for rendering on big-endian architectures
2024-06-08 12:48:36 +02:00
smallmodel
41244095b1
CMod_LoadTerrainIndexes: big-endian compatibility
2024-06-08 12:47:18 +02:00
smallmodel
a5535fa789
Make sure to initialize the widget's command handler to NULL.
...
This should fix #305
2024-06-08 01:40:36 +02:00
smallmodel
6796a8b3fe
Properly swap terrain patch values on big-endian systems
2024-06-08 01:08:58 +02:00
smallmodel
819dffcb86
Added MAX_TERRAIN_VARNODES
2024-06-08 01:05:47 +02:00
smallmodel
b54db17069
Added unsigned swaps
2024-06-08 01:03:08 +02:00
smallmodel
e27f2443e8
Fixed skel loading on big-endian systems
2024-06-08 00:53:39 +02:00
smallmodel
a1e0bc5d7c
Implemented TIKI_SwapSkel (used on Big-Endian systems)
2024-06-08 00:40:52 +02:00
smallmodel
28ea95b9ff
Added scale field
2024-06-08 00:08:54 +02:00
smallmodel
e3b9e48d8c
Added TIKI_SKEL_LOD_INDEXES
2024-06-07 22:38:45 +02:00
smallmodel
026b6b2562
Ignore endianness on skd/skb header signature, as it's a string
2024-06-07 22:08:46 +02:00
smallmodel
0fa380ecff
Correctly read the BSP checksum on big-endian systems
2024-06-07 22:01:24 +02:00
smallmodel
ebd885f053
Fixed Subclient not having the correct client name
2024-06-07 20:36:55 +02:00
smallmodel
74ccb03e54
Reduced compilation warnings
2024-06-07 20:34:13 +02:00
smallmodel
50264c4968
Make sure to cast the float number to int when using it in the format specifier
2024-06-07 20:25:47 +02:00
smallmodel
be222b64a1
Fixed one tiny instruction mistake that could cause issues with dynamic lights on terrains
2024-06-07 20:20:19 +02:00
smallmodel
db7ae4ffef
Properly clear the color values
2024-06-07 19:57:14 +02:00
smallmodel
884a76db4c
Drop error instead of throwing an exception to meet non-throwing exception specification
2024-06-07 19:55:33 +02:00
smallmodel
18e5c6e714
Use unsigned format specifier to match MAX_VOTEOPTIONS_BUFFER_LENGTH
's type
2024-06-07 19:49:51 +02:00
smallmodel
468341b7d0
Explicitly mark as override
2024-06-07 19:49:29 +02:00
smallmodel
e03b976ffd
Added missing header on scriptclass.cpp source file
2024-06-07 19:42:10 +02:00
smallmodel
34ea099d87
Define _FILE_OFFSET_BITS to 64 due to a bug in readdir() affecting 32-bit architectures
...
readdir() would return NULL, setting errno to EOVERFLOW, unable to load pk3 files
2024-06-06 22:18:23 +02:00
smallmodel
1d887b4655
Fixed leaf light being incorrectly reassigned
2024-06-05 21:21:35 +02:00
smallmodel
6bb475abe7
Fixed PowerPC platform support with proper checks for endianness and ppc64
2024-06-05 21:13:06 +02:00
smallmodel
31ea951357
Fixed SkelMorphGetXyz implementation
2024-06-05 00:43:08 +02:00
smallmodel
091c8b4d12
Optimized channel data memory and performance (feature from moh 2.0 and above)
2024-06-05 00:40:43 +02:00
smallmodel
c4523db991
Added GetBoneChannelType
2024-06-04 23:48:29 +02:00
smallmodel
2b66672d2d
Added MAX_GLOBAL_FROM_LOCAL constant and implemented skelChannelList_s::GlobalChannel
and skelChannelList_s::LocalChannel
2024-06-04 21:06:43 +02:00
smallmodel
77de0b78ba
First test if the entity has morphs before proceeding to loop through vertices
2024-06-04 20:20:40 +02:00
smallmodel
0181fbcfa0
Use the weight's bone index if there is no morph
2024-06-04 19:52:32 +02:00
smallmodel
e1f2433c36
Fixed sky portal rendering
...
This fixes #260
2024-06-03 21:36:58 +02:00
smallmodel
c753dcafd8
SurfIsOffscreen: use raw surface values rather than tess values
2024-06-03 21:36:35 +02:00
smallmodel
57ac7d8c19
Removed code that is already present in CG_SetupFog() and CG_SetupPortalSky()
2024-06-03 21:36:12 +02:00
smallmodel
d64ef13b79
Fixed script_skyorigin never being sent to clients
2024-06-03 21:34:48 +02:00
smallmodel
911e87c6ec
physics_off
: Don't reset the physics in 1.0 in Single-player mode
...
This fixes #303 in m4l2 where the player doesn't have their gun holstered in the truck
2024-06-03 20:29:41 +02:00
smallmodel
b75c7b64f1
Still allow crouch when glued in 1.0 and in Single-player mode
...
This fixes #303 where the player is standing in the truck in m4l2
2024-06-03 20:28:39 +02:00
smallmodel
135b519dd8
Reduced actor's change of getting curious
2024-06-02 23:47:06 +02:00
smallmodel
b7a0607d52
Using parameters that take the entity rather than raw values
2024-06-02 19:55:42 +02:00
smallmodel
2ee1a2099d
Ignore map name case sensitivity when parsing map-specific animations
2024-06-02 19:46:14 +02:00
smallmodel
7fe7e74fe2
Replaced all stricmp calls with Q_stricmp
2024-06-02 19:44:06 +02:00
smallmodel
0a3a23af41
Using AI_EVENT_MAX to check for max ai events
2024-05-29 23:54:48 +02:00
smallmodel
e89262ed3b
Fixed TIKI_ParseAnimations improperly returning, even when a map was specified, causing parsing issues
2024-05-28 21:38:17 +02:00
smallmodel
21fda4cabd
Removed redundant code
2024-05-28 21:31:28 +02:00
smallmodel
a85694b548
Fixed incorrect method for EV_ScriptThread_Showmenu
.
...
This fixes #302 where screen text with the mission date would never be shown.
2024-05-28 20:49:09 +02:00
smallmodel
16464c5a68
Removed zone events from entity
...
This fixes a conflict where some scripts would store stuff in a variable named `zone` in an entity
2024-05-27 23:28:12 +02:00
smallmodel
85c8769512
Fixed incorrect usage of the grid lighting
...
This fixes some entities being invisible when `r_fastentlight` is set to 1, due to the alpha color being 0 (cast from int to char for each color value). Fixes #299
2024-05-20 13:11:48 +02:00
smallmodel
c3abbd9014
Added assertion checks
2024-05-20 13:10:12 +02:00
smallmodel
98239050d8
Correctly archive the active weapon (safe pointer)
...
This fixes the player sometimes being holstered after loading from a save (closes #270 )
2024-05-12 23:55:11 +02:00
smallmodel
dc7caf04a8
Fixed MoveTo not working on waypoints.
...
This fixes an issue where objects using waypoint (like elevators) would move at `(0 0 0)`. Closes #298
2024-05-12 23:40:11 +02:00