1
0
Fork 0
mirror of https://github.com/AquariaOSE/Aquaria.git synced 2024-11-25 17:53:47 +00:00
Commit graph

19 commits

Author SHA1 Message Date
fgenesis
1743e1a996 script compat: entity_toggleBone() and Lua platform detection is deprecated; forgot newproxy() is a valid Lua 5.1 function 2023-05-31 18:10:55 +02:00
fgenesis
bbc6636c65 fix predatorytunicate always spitting out to the left, now it's the facing direction 2023-03-06 00:54:28 +01:00
fgenesis
c606409403 oops, forgot to remove deprecated functions from list 2022-12-10 01:05:27 +01:00
fgenesis
b17afecd4b Remove 3 unused Lua functions:
- entityFollowEntity()
- entity_followEntity()
- entity_isFollowingEntity()
2022-12-09 04:20:17 +01:00
fgenesis
0edb2d609a Remove unused Lua func entity_watchEntity() 2022-12-09 04:16:05 +01:00
fgenesis
0cc2f565d7 Remove 2 unused Lua functions that only the unused "squeezer" scripts called
- entity_grabTarget()
- entity_releaseTarget()
2022-12-09 04:10:13 +01:00
fgenesis
e22cfec0e6 Overlooked a call to toggleVersionLabel()
As removed in fb3d27fcfe
2022-07-19 00:26:13 +02:00
fgenesis
008574d913 fix compat layer breaking immediately (how did this ever work?) 2022-07-17 17:57:08 +02:00
fgenesis
fb3d27fcfe Remove Lua functions:
- toggleVersionLabel()
- setVersionLabelText()

+ Implement compat function entity_flipHToAvatar() properly
2022-07-17 17:56:26 +02:00
fgenesis
4732d10d78 Add "default" and "none" mod compat scripts 2022-06-09 02:30:31 +02:00
fgenesis
1e9c415624 More work on the mod v1.1 compatibility layer 2021-01-12 23:51:18 +01:00
fgenesis
e633ce1014 Don't deprecate appendUserDataPath() 2017-04-04 19:29:07 +02:00
fgenesis
fb3edf413d Deprecate entity_incrTargetLeaches() & entity_decrTargetLeaches() properly 2017-01-21 03:34:12 +01:00
fgenesis
3b759294df Add support for mod script compatibility layers
This uses a new <Compatibility script="..." /> tag in a mod's XML file.
A compatbility layer is a script that runs before mod-init.lua is loaded,
and before any mod scripts are loaded when resuming a saved game.

This is a better solution than shipping a fragile wrapper
with every mod, that tends to break and then needs to be updated.
Now this wrapper is centralized, easy to use, and easy to update.

Closes #31.
2017-01-21 02:06:44 +01:00
fgenesis
21fa854c87 entities/squeezer.lua is unused 2017-01-20 02:21:16 +01:00
fgenesis
8472718fb7 Major include refactor; changes to pretty much everything
This untangles some of the gigantic kitchen sink headers
in an attempt to split things into smaller files.
Also don't include gl.h, glext.h, windows.h,
and other such nonsense *everywhere*.

Lots of cleanups on the way too. More dead/unused code removal.

Remove incrFlag(), decrFlag() Lua functions.
2016-07-09 04:18:40 +02:00
fgenesis
0fdc0e8acc Delete spinycrab glow on death. Fixes #16. 2015-01-14 21:40:54 +01:00
fgenesis
b4906a3840 Fix possible dangling pointer / crash in predatorytunicate script 2014-12-29 00:36:00 +01:00
fgenesis
96195219e8 Move scripts to files, to make automated overriding easier 2013-11-17 02:23:39 +01:00