Commit graph

72 commits

Author SHA1 Message Date
smallmodel
ebb3173322
Added skeletorMorphCache_t as an alias to int 2024-06-10 22:06:47 +02:00
smallmodel
c1604c0c8c
Handle animation file endianness 2024-06-08 14:59:52 +02:00
smallmodel
e27f2443e8
Fixed skel loading on big-endian systems 2024-06-08 00:53:39 +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
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
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
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
b76f9a9a6c
Fixed skel_entity_cache initialization 2024-02-20 22:42:34 +01:00
smallmodel
cbe6d85bcd
Added multiple cache per entity 2024-02-20 20:44:55 +01:00
smallmodel
f018c2c15a
Ignore shaders for surface starting with the name "material" 2024-02-07 23:36:04 +01:00
smallmodel
e8109076f4
Assign shaders to surfaces that don't have a shader assigned 2024-02-03 23:03:41 +01:00
smallmodel
5f3ee10bc0
Fixed Linux compilation error because of stupid CL accepting anything 2024-01-29 00:01:39 +01:00
smallmodel
bca71ade85
Added automatic addition of idle animation when there is none (from 2.30 code) 2024-01-28 23:16:47 +01:00
smallmodel
3f8aeac7e6
Exported WriteSkelmodel 2024-01-28 20:27:58 +01:00
smallmodel
c4a9a87929
Added TIKI_AddDefaultIdleAnim 2024-01-28 20:24:17 +01:00
smallmodel
7eca455795
Set the idle skelmodel and increase the number of skels 2024-01-28 20:24:04 +01:00
smallmodel
cb9ac23b23
Added TIKI_AllocAnim 2024-01-28 20:23:05 +01:00
smallmodel
eeb697570d
Fixed collapse index still being processed with SKB files (would cause crashes) 2023-11-14 00:04:42 +01:00
smallmodel
9e69df1e94
Check for valid model and anim num in **TIKI_Anim_NameForNum()** 2023-11-06 19:09:06 +01:00
smallmodel
f68e06a949
Use MAX_TIKI_ALIASES instead of the constant number (4095) 2023-11-06 18:30:11 +01:00
smallmodel
f4da539d95
Use vec3_t type for coordinates/angles 2023-11-06 18:11:12 +01:00
smallmodel
17af75a9bb
Formatted TIKI source files 2023-11-06 18:08:53 +01:00
smallmodel
bd263c5d22
Added condition to check for null model/animation and for out of bound animnum in TIKI_Frame_Commands() 2023-10-29 20:21:58 +01:00
smallmodel
1f0418a9cd
Fixed TIKI_LoadSetupCaseHeader() not using case value properly 2023-10-19 19:47:06 +02:00
smallmodel
e76837b42c
Fixed TIKI_GetHeadSkin() wrongly using headmodels 2023-10-19 19:46:12 +02:00
smallmodel
87be7068c9
Added MAX_SKELMODELS 2023-10-19 19:45:56 +02:00
smallmodel
f0fe93429f
Fixed headmodels/headskins never working 2023-10-19 19:36:07 +02:00
smallmodel
525dc17573
Ignore NULL tiki
This fixes frequent crashes with NULL models
2023-09-09 20:53:59 +02:00
smallmodel
4d8ed24833
Fixed TIKI_ParseAnimations incorrectly returning 2023-09-09 20:49:08 +02:00
smallmodel
67556a88f1
Fixed errors when compiling with DEBUG_MEMORY 2023-09-07 19:06:06 +02:00
smallmodel
89aeee4269
TIKI_LoadSetupCase: reworked case integer values 2023-08-27 17:29:04 +02:00
smallmodel
d50302fa41
Fixed tiki radius being wrong 2023-08-27 17:28:25 +02:00
smallmodel
e5beb0d9b9
Explicitly use GT_SINGLE_PLAYER 2023-08-18 14:53:12 +02:00
smallmodel
244a2e66f9
Added TIKI_Anim_DeltaOverTime 2023-08-11 21:10:29 +02:00
smallmodel
84f785a872
Fixed TIKI autosteps flags (this fixes footsteps) 2023-07-09 20:36:42 +02:00
OM
3cc1e89b45 Tiny fixes related to bad printf formatting and sizes 2023-06-21 21:01:37 +02:00
OM
5b97245dd1 Reworked CMakeLists 2023-06-17 01:44:38 +02:00
OM
c287638f99 Reworked file inclusion (using relative path) 2023-06-17 01:24:20 +02:00
OM
6a74d72017 Added animation num checks 2023-05-23 23:06:26 +02:00
OM
08057f52bc Fixed bad morph/weight index on ARM 2023-05-22 18:00:58 +02:00
OM
d3870ccf45 Compilation fixes for ARM 2023-05-22 17:33:26 +02:00
OM
bdcb6c42b6 Parse includes, depending on the server type 2023-05-21 22:07:42 +02:00
OM
0e1b92a5eb Fixed corrupted memory due to TIKI 2023-05-15 16:50:19 +02:00
OM
4b04bfaea2 Fixed weights being completely wrong 2023-05-15 16:49:44 +02:00
OM
26a7e3c25a x64 fix try 2023-05-12 00:01:26 +02:00
OM
c62185ef04 Fixed skeleton morph and weight 2023-05-10 20:39:59 +02:00