Commit graph

5401 commits

Author SHA1 Message Date
hispidence
5f3ff0e056 Cleanup generateobjects.lua and move it back into Enum generation 2022-09-13 21:22:21 +01:00
hispidence
691be5dfd7 Remove references to InvID in accordance with #701. Update doc source and changes. 2022-09-13 21:21:37 +01:00
hispidence
27b1ad43f9 Shorten TEN calls if they haven't yet been shortened; reset this flag when scripts are reset. Fixes #735 2022-09-13 20:37:31 +01:00
hispidence
f5da03db9f Remove commented-out old GAME_OBJECT_ID declaration 2022-09-12 23:39:19 +01:00
hispidence
e1e8567d3b Merge remote-tracking branch 'origin/master' into lua_1.0.2 2022-09-12 23:09:05 +01:00
hispidence
aaf6e5630a Very rough implementation for fixes to #735 and #701 2022-09-12 23:08:26 +01:00
Lwmte
299ae7a005 Fix warnings 2022-09-12 17:26:49 +03:00
Lwmte
5b962351df Update Changes.txt 2022-09-12 17:06:46 +03:00
Lwmte
926e44210a
Merge pull request #733 from MontyTRC89/creature_entity_demagic
Creature entity demagic
2022-09-12 17:05:08 +03:00
Lwmte
7e73c6f472 Fix ape run left chance 2022-09-12 17:03:40 +03:00
Lwmte
d3b2304d99 Fix LevelFuncs not being able to return any value 2022-09-12 16:38:25 +03:00
Sezz
7847ffe78e Merge branch 'master' into creature_entity_demagic 2022-09-12 22:22:48 +10:00
Sezz
38f62f057b Represent most probabilities as fractions 2022-09-12 22:20:36 +10:00
Lwmte
2df3f5f4d5 Load node catalogs in reverse order to load files starting with _ first 2022-09-12 15:10:26 +03:00
Lwmte
79833da290 Update Changes.txt 2022-09-12 11:53:54 +03:00
Lwmte
9cfd4a3ce4
Merge pull request #734 from MontyTRC89/lua_1.0.2
Lua 1.0.2
2022-09-12 11:50:01 +03:00
Lwmte
613e70a3af Resolve ambiguity with VectorIndex and item init 2022-09-12 11:48:30 +03:00
Sezz
b32b4e8a83 Use "for each" loop 2022-09-12 17:01:48 +10:00
Sezz
7dd6add17f Remove weird casts 2022-09-12 15:36:38 +10:00
Sezz
38e80d91ef Calculate distances properly 2022-09-12 15:05:01 +10:00
Sezz
b3f8cd1421 More fractions 2022-09-12 14:38:08 +10:00
Sezz
7d82d4a4bb Convert some probability values to fractions; remove cobra flags 2022-09-12 14:06:07 +10:00
Sezz
31959cc0ab Cleanup 2022-09-09 16:23:00 +10:00
Sezz
57087c14f8 Add distance methods to Vector3Int; rename 2022-09-09 11:17:16 +10:00
Sezz
5abaa816e5 Simplify 2022-09-09 10:49:10 +10:00
Sezz
c9566b9f89 Rename 2022-09-09 10:21:22 +10:00
hispidence
7d9d29962d Fix merge mistakes 2022-09-08 19:46:26 +01:00
hispidence
7c68ee94a5 Merge remote-tracking branch 'origin/master' into lua_1.0.2 2022-09-08 19:33:38 +01:00
hispidence
74ce2183be Update Timer doc to give warning about names. 2022-09-08 19:25:22 +01:00
hispidence
568019e4be Add documentation for PercentToScreen 2022-09-08 19:19:56 +01:00
Sezz
9373407568 Use WALL_MASK 2022-09-08 23:28:24 +10:00
Sezz
837fe5736e Cleanup 2022-09-08 23:01:17 +10:00
Sezz
5c0e4a6c20 Rename 2022-09-08 17:41:34 +10:00
Lwmte
0924111dcd Add static mesh enable/disable script functions, bump version 2022-09-08 03:13:38 +03:00
Lwmte
ecb6c86464
Support for autogenerated node scripts (#722)
* Initial Commit
* Embed node scripts
* Correct mistakes
* Indicate node scripts loading in log file
* Change path to be consistent
* Update Changes.txt
* Modify node catalogs script path
* Add flow events
* Fix EndLevel
* Decopypaste shatter code, add shatter static script function
* Load/save static mesh own room number instead of dummy one
* More verbose logging for loading node scripts
* Rename enum
2022-09-08 02:26:06 +03:00
hispidence
110b90aef0 Add script location movement to changes. 2022-09-07 21:13:37 +01:00
hispidence
d83ae45ba1 Update starter scripts 2022-09-07 21:12:02 +01:00
hispidence
ffbcf6601b Fix documentation and some comments. 2022-09-07 20:57:50 +01:00
hispidence
44dce8a286 Make sure LevelFuncs.Engine, LevelVars.Engine and GameVars.Engine get created. Move error handling to CallLevelFunc. 2022-09-07 20:52:54 +01:00
hispidence
cabbe2f85b Update Timer and EventSequence to work with new subtables system. 2022-09-07 19:45:35 +01:00
Sezz
30e67c3fbc Merge branch 'master' into creature_entity_demagic 2022-09-07 13:35:15 +10:00
Lwmte
7430d3c99e Minor fixes 2022-09-07 03:41:45 +03:00
hispidence
5ffe5bf067 Rename TEN folder to Engine 2022-09-06 21:50:06 +01:00
hispidence
14e78d7a68 Fix up MoveableObject header with new callback type 2022-09-06 21:38:40 +01:00
hispidence
a30ec88d3f Improve SetOnCollidedWithObject, SetOnCollidedWithRoom, SetOnHit and SetOnKilled to use LevelFuncs. Removed Getters for these for now as it's not really trivial to decide what useful thing they will return. 2022-09-06 21:31:04 +01:00
hispidence
418ab7e8b1 Improve documentation, fix ExecuteFunction behaviour 2022-09-06 21:28:44 +01:00
hispidence
5d0ea864c6 Improve documentation 2022-09-06 21:26:49 +01:00
hispidence
806381dc8b Separate Lua changes into own section 2022-09-06 21:23:09 +01:00
Sezz
e2a34499b6
Minor state update, general cleanup (#714)
* Prototype 180 standing turn dispatches
* Update standing 180 turn stuff
* Add comments
* Update animation enum
* Update turn 180 states
* Update comments
* Update roll 180 states
* Rename
* Update changes.txt
* Add annotation
* Cleanup
* Cleanup and conversion
* Alphaberise includes
* Remove comment
* Rename
* Fix pickups when player is adapted to surface tilt
* Update comments
* Formatting
2022-09-06 17:08:59 +03:00
Lwmte
743c927677 Simplify pickup code 2022-09-06 17:06:45 +03:00