Goober5000
d5e387479e
replace pointers with indexes in object_h
...
This refactors the object_h struct to store objects as indexes rather than pointers. This is a prerequisite for making the collection of objects dynamic in the future. See also #6100 .
Follow-up to #5800 and #5829 .
2024-06-09 02:06:22 -04:00
Goober5000
ec241fcab3
standardize on isValid() and make validity member functions const
2024-02-26 15:56:41 -05:00
Goober5000
19e407df62
convert some timestamps to the new system
...
Mostly debris and asteroid timestamps, but also arc timestamps for ships.
2022-08-25 21:40:18 -04:00
BMagnu
fd60dd342f
Add vanish Lua function to some objects ( #3238 )
...
* Add vanish function to some objects
* Modify vanish function return. Modify fireball access
* Remove dedunant check for ship vanish
2021-02-21 11:59:49 +00:00
Goober5000
2dec0af410
add code to tell if debris is one of those tiny models
...
make Debris dynamic, and use a soft limit at 64 pieces (the old MAX)
add per-class specification of death roll sounds
2020-08-12 23:51:39 -04:00
Goober5000
83d2ac8818
more complete scripting support for debris
...
Adds a hook for debris creation, and adds DoNotExpire and LifeLeft virtual variables for controlling debris removal.
2020-07-26 22:02:51 -04:00
Goober5000
c9df8a13f1
add functions to remove the clutter of static casts for ship and weapon info vectors
2020-03-14 13:02:12 -04:00
asarium
c17dcb1835
Move source files into category directories
2016-12-30 19:13:39 +01:00