1
0
mirror of https://github.com/vcmi/vcmi.git synced 2026-05-22 09:55:17 +02:00
Commit Graph

25 Commits

Author SHA1 Message Date
Ivan Savenko 2baa0fb8a2 Fixed remaining test failures 2026-04-30 18:00:50 +03:00
Ivan Savenko d556dd1590 All but 4 summon effect test now pass
- Added logging support for Lua
- Added exporting of enums to Lua
- Added few more missing pieces to support summon spell effect
2026-04-30 18:00:38 +03:00
Ivan Savenko 6ad93dd3eb Reworked Lua API type safety
- pushing type that is derived from type registered in Lua will now
correctly push type known to Lua
- Methods of types stored on stack as shared pointers now actually load
this as shared pointer
- It is now possible to return types other than Json from Lua function
2026-04-30 18:00:38 +03:00
Ivan Savenko 1ed8eea7cc Lua Summon effect partially works 2026-04-30 18:00:38 +03:00
Ivan Savenko 18fe3676ad Implemented missing methods for Summon spell effect in Lua 2026-04-30 18:00:38 +03:00
Ivan Savenko 7c31d4907c Add create/update/remove unit API for Lua 2026-04-30 18:00:38 +03:00
Ivan Savenko d4ed8964fb More progress with Lua API.
Now test script generally works, but has some not implemented callbacks
2026-04-30 18:00:38 +03:00
Ivan Savenko 32630a95b3 Implement resolving string -> entity for Lua 2026-04-30 18:00:38 +03:00
Ivan Savenko 12d9fdceeb Remove updateUnit method, rename setUnitState to updateUnit 2026-04-30 18:00:38 +03:00
Ivan Savenko a2dacb5784 BattleCallback can now be used by scripts 2026-04-30 18:00:38 +03:00
Ivan Savenko 6462f89239 Implemented passing non-json types into Lua 2026-04-30 18:00:38 +03:00
Ivan Savenko de98e6c39c First attempt at using Lua for actual spell effect 2026-04-30 17:45:10 +03:00
Ivan Savenko 24e8c26ec7 Remove unfinished ERM scripting module 2026-04-30 17:45:02 +03:00
Laserlicht 7d1e661e6f mithril removal 2025-09-16 02:07:25 +02:00
Alexander Wilms 02e429e973 Fix typos using https://github.com/crate-ci/typos
Changes were reviewed manually
2024-06-24 03:47:19 +02:00
Konstantin fedf7d377c vcmi: remove TFaction
This is a huge change and will break save compatibility
2023-04-10 19:28:16 +03:00
Konstantin 11b237a23c vcmi: massive refactoring v1 2023-04-05 22:33:12 +03:00
Andrii Danylchenko 4b4cc3cf4b battlefields in VLC and custom bonuses for terrain patches 2022-09-11 11:31:27 +03:00
Alexander Shishkin 9e422a1664 Merge pull request #690 from nullkiller/erm-fix-vr
ERM: fix string concatenations and bit operations
2021-04-29 16:05:20 +03:00
Andrii Danylchenko 061941b3ac ERM VR:M,VR:U 2021-04-19 18:28:55 +03:00
AlexVinS f0a7a6ffbf Fixed build
Some stubs for !!UN

C::B project update
2021-04-10 02:04:07 +03:00
AlexVinS ec6f7b88fe !?OB WIP 2021-02-16 13:32:18 +03:00
AlexVinS ecaa9f5d0b Entities redesign and a few ERM features
* Made most Handlers derived from CHandlerBase and moved service API there.
* Declared existing Entity APIs.
* Added basic script context caching
* Started Lua script module
* Started Lua spell effect API
* Started script state persistence
* Started battle info callback binding
* CommitPackage removed
* Extracted spells::Caster to own header; Expanded Spell API.
* implemented !!MC:S, !!FU:E, !!FU:P, !!MA, !!VR:H, !!VR:C
* !!BU:C, !!BU:E, !!BU:G, !!BU:M implemented
* Allow use of "MC:S@varName@" to declare normal variable (technically v-variable with string key)
* Re-enabled VERM macros.
* !?GM0 added
* !?TM implemented
* Added !!MF:N
* Started !?OB, !!BM, !!HE, !!OW, !!UN
* Added basic support of w-variables
* Added support for ERM indirect variables
* Made !?FU regular trigger
* !!re (ERA loop receiver) implemented
* Fixed ERM receivers with zero args.
2021-02-14 19:05:43 +03:00
beegee1 b1428bcd24 - Compile fix for editor - Renamed /Editor to /editor and Scripting/ERM to scripting/erm - Removed unused ipch folder and format file - Removed ancient lua folder 2013-04-13 11:07:32 +00:00
Michał W. Urbańczyk 556311c9ab Partially done object scripting and interactions.
Most of 0.4 ;)
2007-11-18 22:58:28 +00:00