Mike Nelson
bbb838a332
custom data for personas ( #6861 )
2025-07-28 19:21:14 -04:00
Mike Nelson
297a9389cd
Func to get a ship's persona directly ( #6497 )
...
* func to get a ship's persona directly
* virtvar instead of func
* get persona index
* lua index
2025-01-05 10:22:32 -05:00
Mike Nelson
38d8f17990
Fix message api out of bounds check ( #6013 )
2024-03-09 11:35:09 -05:00
Mike Nelson
3c30257816
Modular messages table ( #5285 )
...
* modular messages table
* clarify warning
2023-04-16 08:40:25 +09:00
Goober5000
b404b137a0
guard against off-by-one errors in replace_one and replace_all
...
Also add some test cases for checking correct behavior.
2022-05-07 15:08:21 -04:00
Joshua Glatt
fe236b337f
SEXP containers, Part 4: Text replacement ( #3490 )
2022-04-26 10:24:55 -07:00
asarium
ce1ea75714
Add unload function for freeing audio memory of a soundfile handle
...
This can be used by scripts for explicitly freeing up some memory when
necessary.
2019-04-27 08:53:07 +02:00
asarium
88115c7703
Fix clang-tidy issues
2018-09-26 19:15:42 +02:00
asarium
8f4d51b14a
Convert ade_get_args to variadic template based solution
...
This maintains the type information which can be used for enforce
const-correctness and also for implementing more advanced ways of
handling the type information.
2018-09-26 19:15:42 +02:00
asarium
9dfb8faea3
Use strongly-typed handles for sound entries
...
This converts the previous int handles to a strongly-typed wrapper
handle which will make the API more self-documenting and will ensure
that wrongly used handles are detected at compile time.
I already found a few mistakes with these changes which I also fixed
here.
2018-07-03 10:43:10 +02:00
asarium
c17dcb1835
Move source files into category directories
2016-12-30 19:13:39 +01:00