Vlad and GitHub
9fdbacf4ca
Added new HOOK_BUILDSFXWEAPON ( #560 )
...
* Hook for gsnd_build_weapon_sfx_name
* Fixed long name ACM crash in AutoSearchSFX
* Updated documents
2024-07-19 19:36:04 +08:00
phobos2077
f7bf341d78
Add PAUSEWIN (Ctrl+P) to LoadGameHook game modes
2024-06-01 22:14:11 +02:00
phobos2077
ca5012b227
add gett_interface_id, fix crash in interface_draw, add doc for get_window_under_mouse
2024-06-01 22:05:07 +02:00
Vlad and GitHub
d21225bd92
WorldMapHealingRatePatch & set_world_map_heal_time metarule ( #539 )
...
Fixes bug: healing time on worldmap is tied to real time clock, instead of game time.
2024-05-27 21:35:25 +08:00
phobos2077 and NovaRain
8f10169661
Add docs and macro for new opcode
2024-05-07 20:35:57 +08:00
NovaRain
01ab4cfef7
Added signal_close_game script function
...
Updated documents and version number.
2024-04-24 08:54:35 +08:00
NovaRain
7e47607781
Added reg_anim_animate_and_move script function ( closes #497 )
2023-12-27 13:18:52 +08:00
phobos2077
553c7cc195
Renamed string_pos back to string_find to make meaning more obvious
2023-08-07 20:01:21 +02:00
phobos2077
a2ea1910f5
Minor header and readme edits
2023-07-10 23:56:58 +02:00
phobos2077
66559812bd
Updated headers
...
- Add a bunch of array-related procs to unlock basic functional programming
- Fix error with FUNC_SELECTOR_7
2023-07-05 02:31:47 +02:00
phobos2077
f968dea5e7
string_pos: use negative pos value how it works in substr
2023-07-05 01:47:47 +02:00
phobos2077
664fb84dc5
string_find renamed to string_pos + header update
...
- Renamed get_clamped to math_clamp for consistency (libs should use namespace prefixes)
- Nuked above/below macros and renamed unsigned_comp to insigned_int_compare, because it doesn't work with floats
- Replaced sprintf2 and string_pos with macros (due to new metarules)
- Add a few entries to functions.yml
2023-07-04 21:06:35 +02:00
phobos2077
74ef65335d
Add string_find metarule
...
- lib.inven.h: Updated remove_items_pid to return actually removed quantity
2023-07-04 20:19:38 +02:00
phobos2077
5f38744a2e
De-shittify string_format ( closes #482 )
2023-06-25 00:24:24 +02:00
phobos2077
0b161c7374
Rename metarule for consistency with other ini-related functions, add to functions.yml
2023-06-15 21:48:06 +02:00
NovaRain
46a80fdb6a
Added get_tile_fid and macros to function notes
...
Some misc edits to documents.
2023-06-13 12:32:49 +08:00
phobos2077
4b9008d53c
get_tile_fid correct for backwards compatibility and flexibility
...
- Allow to pass elevation using the free bits of the tileNum value to access elevations 1 and 2 (instead of defaulting to dude_elevation, which is not how it worked before)
- Access roof FID and raw data using mode flags in the top 4 bits
2023-06-12 18:26:28 +02:00
phobos2077
f222348b25
Update docs, remove deprecated macro
2023-06-12 11:55:06 +02:00
phobos2077
1c34f85789
Add get_combat_free_move for better mod compatibility
2023-06-08 21:36:09 +02:00
phobos2077
bfc9fd4d88
Add set_combat_free_move metarule and 2 arguments to STDPROCEDURE to make it more useful
2023-06-04 11:59:13 +02:00
NovaRain
c9034f917b
Added "set_spray_settings" function for scriptable burst ( #36 )
...
* Current implementation works similar to metarule2_explosions.
documentation will come later.
2023-05-17 00:14:44 +08:00
NovaRain
5b9e90100d
Changed AttackSubType enum "GUNS" to "RANGED"
...
* to be in line with define_extra.h, the naming is from RE/CE.
Minor textual edits to code.
2023-05-15 12:06:53 +08:00
phobos2077
e6e941e14c
Updated gl_compute_damage example script to work as 1:1 reflection of vanilla damage formula
...
- In hope that this will make it easier for someone to write his own damage formula
2023-05-14 22:50:33 +02:00
phobos2077
493003af54
Updated some defines
...
- ATKMODE defines removed to avoid confusion - these are really two 4-bit fields, not bit flags!
2023-05-14 01:44:15 +02:00
phobos2077
1683678657
Revert adding RMOBJ to avoid duplication from devine_extra.h
2023-05-08 10:38:35 +02:00