sm64coopdx/autogen/lua_definitions
Cooliokid956 1d9de02af1
CObject Properties (#1068)
* CObject Properties

- Added property members to CObjects via `PROPERTY` macro
`PROPERTY(name, get, set)`
  - `name`: property name
  - `get`: `fun(self): value`
  - `set`: `fun(self, value)`
- Prettified `LuaObjectField` struct with unions for function/property value types
- Added properties to `struct ModAudio`
  - `position`
  - `looping`
  - `frequency`
  - `volume`
    - NOTE: only work with streams- the audio reform will come later

* Define array size only when necessary

- new `__pairs` metamethod for `CObject`s, cycles through all of an object's fields, in alphabetical order
- stray semicolon!
2026-05-01 22:12:51 -04:00
..
constants.lua v1.5 2026-05-01 21:01:14 -04:00
functions.lua Add independent X and Y scaling to text rendering functions (#1182) 2026-05-01 21:17:44 -04:00
manual.lua Add independent X and Y scaling to text rendering functions (#1182) 2026-05-01 21:17:44 -04:00
structs.lua CObject Properties (#1068) 2026-05-01 22:12:51 -04:00