Commit graph

728 commits

Author SHA1 Message Date
Vsevolod Kremianskii
7dbb68258e chore: Code cleanup 2020-12-31 15:48:46 +07:00
Vsevolod Kremianskii
ec10b020e2 doc: Update README
[ci skip]
2020-12-31 13:02:38 +07:00
Vsevolod Kremianskii
9dc0ddba6c feat: Add support for custom character generation (minus actual values) 2020-12-30 14:08:57 +07:00
Vsevolod Kremianskii
02f175140e fix: Fix random last name generation 2020-12-30 13:44:08 +07:00
Vsevolod Kremianskii
82716d8685 feat: Implement random name generation 2020-12-29 23:52:13 +07:00
Vsevolod Kremianskii
f2d62e084c fix: RemovePartyMember removes actual, not available party member 2020-12-29 21:05:09 +07:00
Vsevolod Kremianskii
f50f57e107 feat: Implement RemoveAvailableNPC routine 2020-12-29 20:26:28 +07:00
Vsevolod Kremianskii
91bc755a06 feat: Implement time routines 2020-12-29 20:17:10 +07:00
Vsevolod Kremianskii
6c377c85bf feat: Use predefined attack result and damage for CutsceneAttack 2020-12-29 18:09:51 +07:00
Vsevolod Kremianskii
aca9943009 feat: Implement Death effect 2020-12-29 16:33:18 +07:00
Vsevolod Kremianskii
070d54d7b2 feat: Implement ClearAllEffects and ApplyEffectToObject 2020-12-29 16:22:13 +07:00
Vsevolod Kremianskii
85ba198dc4 feat: Implement GetNearest* routines 2020-12-29 15:31:00 +07:00
Vsevolod Kremianskii
f8ada74c47 feat: Implement CreateObject routine 2020-12-29 13:03:15 +07:00
Vsevolod Kremianskii
59331ce756 feat: Partially implement Combat.cutsceneAttack 2020-12-28 21:25:22 +07:00
Vsevolod Kremianskii
34b07237f9 feat: Make combat between a creature and a spatial object possible 2020-12-28 20:09:44 +07:00
Vsevolod Kremianskii
e34f575e98 refactor: Refactor combat 2020-12-22 23:24:29 +07:00
Vsevolod Kremianskii
7c60782a08 refactor: Use a universal setter for third party camera style 2020-12-22 23:07:51 +07:00
Vsevolod Kremianskii
18389ec803 refactor: Make on(Enter|Exit)CombatMode private 2020-12-22 23:04:46 +07:00
Vsevolod Kremianskii
5717663236 feat: Add support code for CutsceneAttack 2020-12-22 23:01:00 +07:00
Vsevolod Kremianskii
176c435e07 chore: Sort includes 2020-12-22 22:36:22 +07:00
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