Commit graph

658 commits

Author SHA1 Message Date
Vsevolod Kremianskii
abcaf8ae4c refactor: Refactor combat 2020-11-17 19:15:43 +07:00
Vsevolod Kremianskii
4d12a769af refactor: Cleanup combat, split timer classes, fix style issues 2020-11-17 16:52:48 +07:00
Vsevolod Kremianskii
e61c8fdd71 Merge remote-tracking branch 'uwadmin12/combat-basic' into combat-basic 2020-11-17 13:29:20 +07:00
UW Admin
66d4f9cb5f fix: pc stopped scanning after dectivation 2020-11-16 17:20:26 -05:00
UW Admin
6e06ac2dae feat: rotate ai master with 3s timeout. 2020-11-16 16:03:23 -05:00
Vsevolod Kremianskii
e2ea0b7b0a chore: Improve error handling in the scripting system 2020-11-16 23:09:50 +07:00
Vsevolod Kremianskii
88571f3840 feat: Implement force move and jump actions 2020-11-16 21:46:40 +07:00
Vsevolod Kremianskii
e7a0ea599d fix: Fix bugs in GetObjectByTag and dialog GUI
This allows the party to progress up until Taris.
2020-11-16 21:07:20 +07:00
Vsevolod Kremianskii
1b0aa94cee fix: Fix potential NPE in actionStartConversation 2020-11-16 20:38:46 +07:00
Vsevolod Kremianskii
60376d0637 fix: Fix TSL GUI glitches 2020-11-16 20:31:02 +07:00
Vsevolod Kremianskii
cd1e49326b chore: Fix CI warnings 2020-11-16 20:23:02 +07:00
Vsevolod Kremianskii
1b95b443dc fix: Fix potential NPE in SelectionOverlay 2020-11-16 20:05:04 +07:00
Vsevolod Kremianskii
c2b5cf3d39 fix: Always clean up movie audio 2020-11-16 19:58:56 +07:00
Vsevolod Kremianskii
702924e135 fix: Fix type of _endEntryTimeout 2020-11-16 19:58:50 +07:00
Vsevolod Kremianskii
b18ac841b3 Merge remote-tracking branch 'Ziemas/playmovie' 2020-11-16 19:56:08 +07:00
Vsevolod Kremianskii
bcdd99f7fc feat: Walk when executing follow action and close to target 2020-11-16 19:50:09 +07:00
Vsevolod Kremianskii
a092be4276 feat: MoveToObject action is walk-by-default 2020-11-16 19:34:22 +07:00
Vsevolod Kremianskii
0bbbbce393 feat: Clicking on placeables may start conversations 2020-11-16 19:16:48 +07:00
Vsevolod Kremianskii
86b89ae1e4 fix: Fix inconsistencies in mouse click handling 2020-11-16 19:10:17 +07:00
Vsevolod Kremianskii
47bf9485f6 refactor: Make creature handle all its animations 2020-11-16 17:55:28 +07:00
Vsevolod Kremianskii
b5cd07126f refactor: Modify _conversation directly when loading objects 2020-11-16 16:34:59 +07:00
Vsevolod Kremianskii
700062fe13 feat: Make it possible to start conversation with placeables 2020-11-16 13:57:49 +07:00
Vsevolod Kremianskii
0af3ce965a fix: Make Trigger call SpatialObject::update 2020-11-16 13:41:47 +07:00
Vsevolod Kremianskii
2418e31de4 feat: Implement area heartbeats 2020-11-16 13:16:30 +07:00
UW Admin
491aadac34 fix: style issues per request 2020-11-16 01:14:10 -05:00
UW Admin
5d18469f2f feat: combatant deactivation with timeout. 2020-11-16 01:05:13 -05:00
Vsevolod Kremianskii
62c1ea5a00 fix: Fix potential NPE in GetLocation(object) 2020-11-16 12:45:36 +07:00
Vsevolod Kremianskii
e5f15f2c4a refactor: Drop custom vector and quaternion classes
They were redundant with no real benefit.
2020-11-16 12:45:36 +07:00
Vsevolod Kremianskii
390b7bde91 feat: Implement location script routines 2020-11-16 11:48:21 +07:00
Vsevolod Kremianskii
20edf98f2a feat: Implement vector script routines
Vector, VectorMagnitude, VectorNormalize.
2020-11-16 11:17:04 +07:00
Vsevolod Kremianskii
ebf8933f0a feat: Implement StartNewModule script routine 2020-11-16 10:08:01 +07:00
Vsevolod Kremianskii
92ca526cac fix: Dialog camera follows the speaker as he moves 2020-11-16 09:58:30 +07:00
Vsevolod Kremianskii
f6d9aaed7e feat: Implement GetStringByStrRef routine 2020-11-16 09:46:36 +07:00
Vsevolod Kremianskii
69d67978d0 fix: Return if object is trying to face itself 2020-11-16 09:46:07 +07:00
Vsevolod Kremianskii
705f8ab008 fix: Fix NPE Party isNPCMember and setPartyLeader 2020-11-16 09:33:40 +07:00
Vsevolod Kremianskii
7d943047ce feat: Take sound volume into account 2020-11-16 09:28:47 +07:00
Vsevolod Kremianskii
93cc5d1f83 feat: Take sound elevation into account 2020-11-16 09:27:37 +07:00
Vsevolod Kremianskii
430c6498f8 fix: Ignore MinDistance of a Sound for now
It should specify the radius, in which the sound is at the maximum
volume.
2020-11-16 09:19:25 +07:00
Ziemas
6f33cc8eb0 feat: implement SoundObjectPlay script function 2020-11-15 22:32:59 +01:00
Ziemas
13f0ac9e3d feat: implement playMovie script function 2020-11-15 20:43:06 +01:00
Vsevolod Kremianskii
f8bceecf3a fix: Delay trigger's onExit script execution 2020-11-16 01:26:40 +07:00
Vsevolod Kremianskii
7c549f9b0e feat: Implement more script routines
GetExitingObject, GetPosition, GetFacing, GetDistanceToObject,
GetDistanceToObject2D.
2020-11-16 01:19:18 +07:00
Vsevolod Kremianskii
f2f9ed06ae feat: Implement GetModule and GetTag script functions 2020-11-16 00:39:49 +07:00
Vsevolod Kremianskii
339cf04703 feat: Implement global string script routines 2020-11-16 00:34:05 +07:00
Vsevolod Kremianskii
cbdbed6d6d feat: Implement string script routines 2020-11-16 00:25:20 +07:00
Vsevolod Kremianskii
5146f26af5 feat: Implement multiple conversion script routines 2020-11-16 00:03:39 +07:00
Vsevolod Kremianskii
9d6b107fb5 refactor: Return normal, not squared distances from public functions
This is to reduce ambiguity at the cost of performance.
2020-11-15 23:43:08 +07:00
Vsevolod Kremianskii
117012b750 feat: Implement ExecuteScript and GetRunScriptVar 2020-11-15 20:47:00 +07:00
Vsevolod Kremianskii
3c4b1c87f9 feat: Implement running OnExit trigger scripts 2020-11-15 20:36:43 +07:00
Vsevolod Kremianskii
7cc49a7a6e feat: Implement CreateItemOnObject 2020-11-15 20:28:29 +07:00