Commit graph

658 commits

Author SHA1 Message Date
Vsevolod Kremianskii
a45a2f3526 style: Add .editorconfig file for C++ 2020-12-22 17:58:47 +07:00
Vsevolod Kremianskii
558768fdf4 chore: Remove unused variables in factionutil.cpp 2020-12-19 13:47:29 +07:00
Vsevolod Kremianskii
be894bbb0c fix: Measure 2D distance to destination when navigating creatures 2020-12-18 20:05:44 +07:00
Vsevolod Kremianskii
f4a37f15dd refactor: Rename CameraObject to PlaceableCamera to match nwscript.nss 2020-12-18 18:48:35 +07:00
Vsevolod Kremianskii
2128ca8bc1 refactor: Extract structs and classes from game/types.h 2020-12-18 16:22:14 +07:00
Vsevolod Kremianskii
3590466dc5 feat: Add AttackResult enum 2020-12-18 15:05:40 +07:00
Vsevolod Kremianskii
8fa80fa6da feat: Run onSpawn creature scripts 2020-12-18 14:53:13 +07:00
Vsevolod Kremianskii
ea8284ddce feat: Implement (get|set)AreaUnescapable 2020-12-18 14:46:38 +07:00
Vsevolod Kremianskii
82acae0e61 fix: Make getWaypointByTag search only waypoints 2020-12-18 14:36:28 +07:00
Vsevolod Kremianskii
67b24d5b73 feat: Implement getLastOpenedBy 2020-12-17 20:04:22 +07:00
Vsevolod Kremianskii
09e8eb7da0 fix: Invert when animation is considered fire and forget 2020-12-17 19:52:56 +07:00
Vsevolod Kremianskii
defabd71ec chore: Do not run k_ai_master at the moment 2020-12-17 19:47:06 +07:00
Vsevolod Kremianskii
889f4b6558 fix: Fix item dropability when loading creatures and placeables 2020-12-17 19:46:52 +07:00
Vsevolod Kremianskii
9f3c21407b fix: Fix potential segmentation fault in Sound 2020-12-17 19:27:50 +07:00
Vsevolod Kremianskii
8c9daabaf7 feat: Implement onExit trigger scripts 2020-12-17 19:03:51 +07:00
Vsevolod Kremianskii
39fc72ac47 feat: Run heartbeat scripts for all game objects 2020-12-17 14:35:21 +07:00
Vsevolod Kremianskii
58f5b6feaf refactor: Run scripts through the ScriptRunner class 2020-12-17 14:28:48 +07:00
Vsevolod Kremianskii
f1ad3ad63f feat: Run onExit area scripts 2020-12-17 00:28:04 +07:00
Vsevolod Kremianskii
868c60b4ab feat: Implement playAnimation script routine 2020-12-17 00:14:51 +07:00
Vsevolod Kremianskii
144e0ac3c5 feat: Implement (get|set)Commandable 2020-12-15 16:34:47 +07:00
Vsevolod Kremianskii
c3558f4437 feat: Implement all Action* script routines 2020-12-15 16:27:34 +07:00
Vsevolod Kremianskii
996a0ab425 feat: Implement (get|set)Identified script routines 2020-12-15 14:23:29 +07:00
Vsevolod Kremianskii
4332d235d1 feat: Implement (get|set)GlobalLocation 2020-12-15 02:28:53 +07:00
Vsevolod Kremianskii
2c19272b11 feat: Implement stealth XP script routines 2020-12-15 02:14:20 +07:00
Vsevolod Kremianskii
569c9bc254 feat: Implement faceObjectAwayFromObject script routine 2020-12-15 01:46:19 +07:00
Vsevolod Kremianskii
1292e03735 refactor: Rename Object title to name to match nwscript.nss 2020-12-15 01:38:52 +07:00
Vsevolod Kremianskii
20aa99f25d feat: Implement XP script routines 2020-12-15 00:08:49 +07:00
Vsevolod Kremianskii
dae935b81b feat: Implement (get|set)PlotFlag script routines 2020-12-15 00:00:36 +07:00
Vsevolod Kremianskii
3e6c9506bc feat: Implement getStartingLocation script routine 2020-12-14 23:54:45 +07:00
Vsevolod Kremianskii
94e6b9fcdc feat: Implement getName and getObjectType script routines 2020-12-14 23:51:43 +07:00
Vsevolod Kremianskii
779ad773d5 feat: Implement setFacingPoint script routine 2020-12-14 23:48:28 +07:00
Vsevolod Kremianskii
380943dca6 feat: Implement setFacing script routine 2020-12-14 23:43:50 +07:00
Vsevolod Kremianskii
5432c5f086 chore: Remove deprecated effect type constants 2020-12-14 23:32:13 +07:00
Vsevolod Kremianskii
23737e45fd refactor: Use object type constants from nwscript.nss 2020-12-14 23:27:28 +07:00
Vsevolod Kremianskii
60641e6fea feat: Add animation constants from nwscript.nss 2020-12-14 23:16:27 +07:00
Vsevolod Kremianskii
09066fa11e chore: Cleanup Feat and ForcePower enums 2020-12-14 22:48:38 +07:00
Vsevolod Kremianskii
4c0d51e172 refactor: Rename heading to facing to match nwscript.nss 2020-12-14 22:42:10 +07:00
Vsevolod Kremianskii
851c0f88ea refactor: Simplify script routine registration 2020-12-14 22:36:01 +07:00
Vsevolod Kremianskii
ee45ac0262 feat: Implement item stack script routines 2020-12-14 22:30:49 +07:00
Vsevolod Kremianskii
c72ef75b12 feat: Implement stacked items 2020-12-13 15:01:49 +07:00
Vsevolod Kremianskii
cf48af39c8 feat: Implement kill console command 2020-12-13 13:46:05 +07:00
Vsevolod Kremianskii
0db9730074 feat: Implement describe console command 2020-12-13 13:41:26 +07:00
Vsevolod Kremianskii
b4d33bff73 feat: Implement listanim console command 2020-12-13 13:20:39 +07:00
Vsevolod Kremianskii
ced99add00 feat: Implement clear and playanim console commands 2020-12-13 13:07:07 +07:00
Vsevolod Kremianskii
472f2a8c57 refactor: Replace object ids with smart pointers in ObjectSelector 2020-12-13 12:06:27 +07:00
Vsevolod Kremianskii
e9ca22b127 fix: Reduce map arrow size in TSL 2020-12-13 11:47:08 +07:00
Vsevolod Kremianskii
c0a78d4cf9 fix: Do not display party members health in TSL 2020-12-13 11:43:27 +07:00
Vsevolod Kremianskii
525bc7aa02 feat: Implement scrollable console output 2020-12-13 11:41:10 +07:00
Vsevolod Kremianskii
8404fa073a fix: Fix console background 2020-12-13 11:05:59 +07:00
Vsevolod Kremianskii
d9ad009471 feat: Make party members immortal 2020-12-13 11:01:25 +07:00