Commit graph

11 commits

Author SHA1 Message Date
smallmodel
6934e5cff8
Check for valid target list in GetScriptTarget() 2024-10-27 12:16:19 +01:00
smallmodel
c7cdde7bc2
Check if the target list is valid before adding the entity 2024-10-26 22:42:21 +02:00
smallmodel
3c1500002b
Implement the destructor for the World class to free up the target list 2024-10-25 20:44:00 +02:00
smallmodel
3d454c90cb
Rework the target list, use a container instead of an hash set so the target list gets archived correctly
This fixes an issue when loading from a save. A variable referencing target list container would have random entities in it, which would cause errors and crashes when trying to do an action on the array of entities
2024-10-22 20:05:53 +02:00
smallmodel
408c901342
Fixes skyboxSpeed using an integer rather than a float
This fixes #313 where the skybox would be misplaced
2024-07-01 00:19:50 +02:00
smallmodel
a74b966b7c
Update fog when changing whether or not the terrain must be rendered 2024-06-11 23:44:02 +02:00
smallmodel
61e9146385
Moved con_set entry to the header file
This fixes compilation issue with GCC (fixes #288)
2024-03-05 18:30:31 +01:00
smallmodel
897c2322b9
Archive the target list
This fixes crashes related to scripts using entities by target name
2024-03-04 23:35:22 +01:00
smallmodel
cebb351505
Added and implemented TargetList 2024-03-04 23:08:22 +01:00
smallmodel
f1d76a042d
Added WithinFarplaneDistance 2023-10-14 20:23:35 +02:00
smallmodel
d757fa6306
Renamed world.cpp and world.h to worldspawn.cpp and worldspawn.h 2023-10-08 00:08:47 +02:00
Renamed from code/fgame/world.cpp (Browse further)