Commit Graph

344 Commits

Author SHA1 Message Date
a3dda3035f Fix compile. 2020-02-26 21:15:36 +01:00
2486590bd3 LootDataBase should be a lot more usable from now. 2020-02-26 21:05:39 +01:00
ceb71f56d4 Added similar api to Items. And fix typo. 2020-02-26 17:24:11 +01:00
a040f946fc Added the same api to Auras. 2020-02-26 16:57:17 +01:00
58e62da501 Spell's get_description can now replace some words with value of it's properties. e.g. "%%cast_cast_time " (not the whitespace at the end) will be replaced to the value stored in cast_cast_time. This value can scaled with class level like %#cast_cast_time, and with character level like %$cast_cast_time. Also made get_description overrideabe from scripts. And bound text_translation_key. 2020-02-26 16:49:52 +01:00
89c558d1ba Started working on proper spell tooltip description support, and translation. 2020-02-26 13:05:57 +01:00
c5c0f2cddd Added support for item spells. 2020-02-25 14:00:55 +01:00
7666d11b2d Add use spell points setting. 2020-02-21 11:56:57 +01:00
581127cde5 Now entity also stores the class level, and class xp. Added separate class and character xp properties to EntityCreateInfo aswell. Standardized the remaining methods in XPData. 2020-02-20 12:18:55 +01:00
a2d4df0c89 Levels are now (properly) separated into class and character levels. 2020-02-19 12:17:10 +01:00
e16c021ac8 Added bindings for item use support, and marked quite a few methods/arguments as const. 2020-02-19 09:11:36 +01:00
9d3bd194ee Added support for Entity relations. 2020-02-19 08:39:30 +01:00
a73f61628b Added deferred versions of request_world_spell_spawn, and request_world_spell. 2020-02-16 16:17:19 +01:00
0bdf71c431 Remove duplicate line. 2020-02-09 21:55:23 +01:00
0fcaa49641 Fix uninitialized variable. 2020-02-08 03:09:25 +01:00
dc23652f70 Add a WorldSpell property to SpellCastInfo. 2020-02-07 23:25:15 +01:00
d33a499847 Bind the ported methods in Entity. 2020-02-03 18:12:59 +01:00
ae725a22f8 More work on the new spawning system. 2020-02-03 18:01:43 +01:00
aee1e1f8cf Added SpeciesInstance, it can store an entity's look setup (like hair index etc.). Also added SpeciesData loading/storing into EntityDataManager. 2020-02-03 16:13:42 +01:00
fceecac17c Moved the atlases folder into data aswell. 2020-02-03 13:03:33 +01:00
f1490c7543 Organized the data folder's classes into subfolders. 2020-02-03 13:01:17 +01:00
5ea00de13e Ported a few of Entity's virtual methods from BrokenSeals. Started reworking spawning, and Entity initialization. Moved the singletons into a new singletons folder, and renamed the profile_manager folder to profiles. 2020-02-03 11:56:52 +01:00
1704caafc8 Added more properties for EntityCreateInfo. 2020-02-02 18:17:22 +01:00
4d3bbdb4df Added an entity spawning request, and a world spell spawning request into EntityDataManager. This way actual spawning is easily scriptable. 2020-02-02 02:44:37 +01:00
26c638881b ProfileManager is now a singleton, and fixed automatic loading in EntityDataManager. 2020-02-01 15:38:46 +01:00
5f5cdac043 Made EntityDataManager a proper registered singleton. Also removed a double. 2020-02-01 11:17:24 +01:00
29a26d9774 Fix duplicate binding. 2020-02-01 02:39:53 +01:00
7976706157 Ported the spell and aura script from BrokenSeals. Also small work on WorldSpell. 2020-02-01 02:37:10 +01:00
74eb8bcb2f Updated the license header for 2020, also added the license text to the top of the c++ files. Removed a now unneeded, unused file. 2020-01-31 19:34:47 +01:00
c072f69e2a Added quite a few const, and reference qualifiers. 2020-01-31 18:06:43 +01:00
6f3744e2cb Ran clang format on every file, I got used to it working by default in Visual Studio and I forgot about it. 2020-01-09 04:27:19 +01:00
6b2c97df9a Fix a few small issues with spell's bindings. 2020-01-06 14:29:13 +01:00
e03146759c Work on the bindings for pet support. 2020-01-05 02:17:02 +01:00
bf28679b95 Fix performance issue with the AI. 2020-01-04 13:27:45 +01:00
413031fb3c Now the module can be built as a shared library. This doesn't work on windows (at least it didn't a while ago when I tried it). 2020-01-03 15:52:26 +01:00
6aa2df4647 Now both Entity, and WorldSpell inherit from Node, this complicates the setup by a tiny bit (Entity's body property needs to be assigned), but now the module will work in both 2D, and 3D. Also removed the compile time option. 2020-01-02 22:56:24 +01:00
4a166becf4 Started porting code from Broken Seals. 2020-01-02 00:14:29 +01:00
5c503af08e Fix some underlines. 2019-12-30 16:24:56 +01:00
70ca5ed700 First draft documentation for bags, and crafting. 2019-12-30 13:01:10 +01:00
ad7f4f2c2e Created the docs for a few more pages. I'll proofread them in a second pass. 2019-12-30 03:26:16 +01:00
52fb82506a Fix 2 typos. 2019-12-29 16:38:25 +01:00
47da2d28b1 Added bindings for dispells into Spell, and Aura. Cleaned up Spell's scaling bindings. The AuraTypes enum can now be used as flags aswell. Unified has_global_cooldown like bindings. 2019-12-29 01:58:25 +01:00
bc797e4ffb Added the ability to manually update Entities. This will allow for turn based games. 2019-12-28 00:44:21 +01:00
d81b5eaf13 Docs for Spell Enums. 2019-12-27 16:40:21 +01:00
dc6e74c60a Docs for Item Enums. Also started work on Spell Enums, and added a little explanation, on why these classes exist. 2019-12-27 16:04:57 +01:00
0e8e2d3463 Split the enums, and globals into smaller doc pages. Also added Pets, and networking pages. Finished EntityEnums. 2019-12-27 14:36:55 +01:00
2565a4bcc9 Skeleton for the docs. In some cases I also added some quick notes. 2019-12-27 01:00:47 +01:00
453280f6c3 Added a sphinx-based doc setup. Its based on godot's. The colors still need work. 2019-12-26 16:15:27 +01:00
fb8df96bb3 Removed accidentally committed files. 2019-12-25 19:49:01 +01:00
1cc9d1ace2 Added a brief description for most of the classes. Started writing method documentaion for aura. 2019-12-25 19:41:19 +01:00