smallmodel
2c72908f76
Use the correct allocator when archiving a con_set object
...
CodeQL / Analyze (push) Waiting to run
Build branch / build-all (push) Failing after 17s
The default c++ allocator was be used to allocate an array of pointers, but then when destroying the array, Z_Free was called which would throw an error
2025-02-22 23:31:20 +01:00
smallmodel
330b45a1ed
Fix container object list not constructed when loading
2025-02-03 21:27:44 +01:00
smallmodel
bf184fb719
Use #pragma once instead of #ifndef
2024-09-27 20:19:11 +02:00
smallmodel
7b8be9fed1
Added ArchiveObject() that accepts a SafePtr
2024-03-04 23:34:31 +01:00
smallmodel
e07dda6991
Fixed defaultEntry not being initialized after archiving
2023-11-28 20:10:23 +01:00
smallmodel
b10ce9a426
Added GetKey() / SetKey() in con_set's Entry, so ScriptVariable can override it and set the key appropriately
2023-11-28 19:50:19 +01:00
smallmodel
0e9d83ee14
Added a check to debug the total of archived items
2023-11-26 20:31:58 +01:00
smallmodel
6f66a1d1c3
Moved Container::Archive to archive.h source file to avoid compilation errors
2023-10-12 20:45:49 +02:00
smallmodel
155734370c
Using Archive algorithm from mohaas/mohaab
2023-09-14 00:19:55 +02:00
smallmodel
15de08556e
Formatted document
2023-09-13 19:46:39 +02:00
smallmodel
b1753df1ed
Reworked con_set and con_arrayset so that they have their own Entry class
2023-08-19 02:56:51 +02:00
smallmodel
73716dd624
Fixed silly mistake in the container archive function
2023-08-16 18:29:06 +02:00
smallmodel
5333c7ff4a
Removed empty line before opening braces
2023-07-05 20:52:55 +02:00
OM
e4fa0fff3a
Renamed **game** to **fgame**
2023-06-15 23:44:02 +02:00