Commit graph

2090 commits

Author SHA1 Message Date
smallmodel
1184843318
Set dirty timer in SetTime() 2023-10-30 22:59:04 +01:00
smallmodel
dd1f8bd92a
Compare with STATE_RUNNING instead 2023-10-30 22:46:59 +01:00
smallmodel
220c82954c
Don't execute script thread now if paused 2023-10-30 22:46:50 +01:00
smallmodel
8879bacb1d
Fixed Think_Curious() and LookAtCuriosity() small mistakes 2023-10-30 22:04:09 +01:00
smallmodel
5824022745
Added ScriptRemove 2023-10-30 22:03:37 +01:00
smallmodel
3ecb5bd06a
Fixed WaitExecuteThreadInternal() waiting on the group instead of the thread 2023-10-30 21:59:47 +01:00
smallmodel
7de31a776b
Added a check to avoid freeing a model that is used more than once 2023-10-29 20:40:37 +01:00
smallmodel
503320d13f
Added modelOnly parameter to CG_ProcessConfigString + added votes 2023-10-29 20:40:07 +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
b0201aef5d
Set number of arguments when constructing a new Event 2023-10-29 20:20:56 +01:00
smallmodel
31014808c8
Added and using AI_COVER_MASK 2023-10-29 20:20:19 +01:00
smallmodel
0906124867
Use CurrentThink() to get the current think 2023-10-28 00:01:57 +02:00
smallmodel
43bb5ce653
Fixed BroadcastEvent not returning true with 1 processed listener + Fixed UnregisterTarget not removing the name 2023-10-27 21:03:07 +02:00
smallmodel
7e66483b1a
Added g_timescripts var 2023-10-27 21:02:25 +02:00
smallmodel
f96b606a1a
Fixed ScriptThread timing 2023-10-27 21:02:18 +02:00
smallmodel
30d26c3e44
Fixed register/unregistration 2023-10-27 20:42:01 +02:00
smallmodel
57e450a745
Thread state fix 2023-10-27 20:41:47 +02:00
smallmodel
24297bf396
Added timescript in ScriptMaster::ExecuteRunning() 2023-10-27 20:02:21 +02:00
smallmodel
481cd760a9
Added ScriptTrace/GetSourcePos 2023-10-27 20:00:48 +02:00
smallmodel
6d6043775e
Use const unsigned char* for sourcepos 2023-10-27 19:59:29 +02:00
smallmodel
bb97ec8933
Added GetSourceAt() with code pos 2023-10-27 19:59:15 +02:00
smallmodel
dc028b87e4
Added const unsigned char* hashcode 2023-10-27 19:58:38 +02:00
smallmodel
0d1b7a9c8a
Added int64 support 2023-10-27 19:58:29 +02:00
smallmodel
a6e602af1d
Renamed variables in ScriptClass::RemoveThread for more clarification 2023-10-26 20:18:50 +02:00
smallmodel
04a6012e5d
Renamed thread parameters 2023-10-26 20:17:53 +02:00
smallmodel
0f7691c722
Reordered NotifyDelete switch statement for more clarity 2023-10-26 20:17:42 +02:00
smallmodel
f01a0a17c1
Added script traces 2023-10-26 20:13:07 +02:00
smallmodel
b291ab92b6
Fixed script class being always created even when a thread was started in the same group 2023-10-26 20:08:09 +02:00
smallmodel
fb4bf4fcaa
Fixed wrong value() for GetGameScript in CreateScriptInternal() 2023-10-26 20:07:49 +02:00
smallmodel
98816156d7
Delete created scriptclass / thread when there is an exception, in ScriptThreadLabel::Create() 2023-10-26 19:58:26 +02:00
smallmodel
92bfb4c426
Fixed clarity of conditions in Animate::UseSyncTime() 2023-10-26 19:57:39 +02:00
smallmodel
cac883c4a0
Drop error to main menu if an hard script exception was encountered while executing running scripts 2023-10-24 23:18:44 +02:00
smallmodel
5a4fb90c96
Fixed THINKSTATE_ATTACK animation inside ChangeAnim() + weight should be 2.0 for ChangeMotionAnim() 2023-10-24 23:16:45 +02:00
smallmodel
c4f9eb65ae
Use SetWeight() and SetOnceType() instead of setting the frameinfo directly 2023-10-24 22:55:46 +02:00
smallmodel
9f5557b33c
Initialize bHasThrowTarget 2023-10-24 22:55:22 +02:00
smallmodel
4d876fdf5d
Fixed wrong state being ended in EndState() 2023-10-24 21:35:49 +02:00
smallmodel
978666c946
AssertValidSquad() in DisbandSquadMate() 2023-10-24 21:35:16 +02:00
smallmodel
9b9fa696e8
Added Waypoint and TempWaypoint constructor to set the SimpleEntity subclass type 2023-10-24 20:37:41 +02:00
smallmodel
088b22073c
Formatted document 2023-10-24 20:36:53 +02:00
smallmodel
4f9831faa4
Formatted document 2023-10-24 20:27:18 +02:00
smallmodel
3373caa939
DebugNearestStartNode() should return a node only if node_count is higher than 0 2023-10-24 19:37:48 +02:00
smallmodel
dc1be17b2a
Added badPlaceTeam 2023-10-24 19:35:42 +02:00
smallmodel
64a3b04181
Fixed CM_SightTraceThroughBrush() implementation 2023-10-24 19:29:38 +02:00
smallmodel
57e1920b9c
G_SightTrace: only return true if the result is true 2023-10-24 19:29:20 +02:00
smallmodel
ddb6236eb9
simplified delta subtraction 2023-10-23 22:55:35 +02:00
smallmodel
4e4af590e5
Added m_pAnimThread assertion check 2023-10-23 22:55:09 +02:00
smallmodel
a249f6b29b
Fixed parm.previousthread not being actually set to the previous executing thread 2023-10-23 19:31:01 +02:00
smallmodel
7787729b24
Fixed standidentify scr file 2023-10-23 19:26:57 +02:00
smallmodel
45c8c704af
Fixed ai_debugpath having an infinite line 2023-10-23 18:58:16 +02:00
smallmodel
31fde1ad94
Unreachable node fix 2023-10-23 18:57:56 +02:00