LJ Sonic
d1dbdee016
Refactor global userdata registration
2023-10-28 00:24:04 +02:00
LJ Sonic
bc9a378521
Refactor userdata metatable registration
2023-10-27 20:17:27 +02:00
spherallic
1470d099e3
Update copyright year & credits
2023-03-31 14:53:31 +02:00
MascaraSnake
f672b1b940
Merge branch 'udmf-scrollers' into udmf-polyobjects
...
# Conflicts:
# src/p_spec.c
2022-04-19 22:17:28 +02:00
spherallic
14295ac7de
2022
2022-03-03 20:24:46 +01:00
MascaraSnake
6e9afabd44
Adapt polyobject move and rotate linedef types to UDMF
2021-07-04 12:54:48 +02:00
LJ Sonic
07e69c5eb3
Add copyright date ranges for files created in 2020
2021-05-07 18:04:30 +02:00
LJ Sonic
d325c7e6d3
The year is 2021
2021-05-07 17:45:56 +02:00
LJ Sonic
b369243beb
Use standard Lua naming scheme for polyobject list
2021-02-15 13:37:25 +01:00
James R
4b0725f36f
Use FIELDFROM in lua polyobject code
2020-10-15 16:17:51 -07:00
Monster Iestyn
0f2e063de0
Added the ability to modify parent, flags, translucency in polyobj_t
...
(attempting to edit polyobj.angle just gives you an error message saying to use polyobj:rotate() instead)
2020-09-13 21:38:16 +01:00
Monster Iestyn
78f7998618
Added polyobj.vertices and polyobj.lines to Lua
2020-09-09 21:15:02 +01:00
Monster Iestyn
4ce161f9c3
Added the functions Polyobj_moveXY and Polyobj_rotate to Lua as polyobj.moveXY and polyobj.rotate
2020-09-09 19:38:56 +01:00
Monster Iestyn
f86dad2979
Added new functions as variables of polyobj_t:
...
* po.pointInside(po, x, y) as a wrapper for P_PointInsidePolyobj
* po.mobjTouching(po, mo) as a wrapper for P_MobjTouchingPolyobj
* po.mobjInside(po, mo) as a wrapper for P_MobjInsidePolyobj
I can confirm that ":" syntax works with all the above, e.g. po:mobjInside(mo)
2020-09-09 18:09:32 +01:00
Monster Iestyn
89e989d6b1
added "sector" as a Lua-exclusive shortcut to polyobj->lines[0]->backsector in polyobj_t
2020-09-09 17:06:36 +01:00
Monster Iestyn
5fc58de94f
* added access to translucency and triggertag in polyobj_t
...
* added POF_ flags to INT_CONST in dehacked.c
2020-09-08 22:10:11 +01:00
Monster Iestyn
33c96ab1aa
* added access to id, parent, angle, damage, thrust, flags in polyobj_t
...
* #polyobj now returns the index id for the polyobj in PolyObjects
* Polyobj_GetForNum is implemented in Lua as PolyObjects.GetForNum()
2020-09-08 21:42:51 +01:00
Monster Iestyn
60b49b5ecd
Fix STJr copyright years, this file was obviously only created today, not 4 years ago!
2020-09-08 18:56:00 +01:00
Monster Iestyn
0bc7eb32e9
make sure to include fastcmp.h, whoops
2020-09-08 18:55:16 +01:00
Monster Iestyn
05fe86ffdc
* started functions for accessing/editing META_POLYOBJ (bare minimum atm)
...
* added the "PolyObjects" array as a global var, with index and len functions, as well as its own iterate function
2020-09-08 18:29:10 +01:00
Monster Iestyn
d5beae9738
Begin work on adding access to polyobjects in Lua:
...
* create new file lua_polyobjlib.c
* made a stub LUA_PolyObjLib function
* added META_POLYOBJ to lua_libs.h
* updated makefile, CMake and MSVC project files for lua_polyobjlib.c
2020-09-08 18:08:08 +01:00