NovaRain
2d20de66fc
Corrected proto pid offset in define_extra.h
2024-06-17 15:21:36 +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
phobos2077
f9faa73b9c
Add args to ENCOUNTER hook to determine which encounter is being loaded, not just map ID
2024-05-31 00:53:17 +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
6b818e797e
Header lib: refactor inven_as_array and add proper jsdoc defs to all comments
...
- inven_as_array was allocating blocks of 100 items which was unnecessary
2024-05-20 12:41:02 +02:00
phobos2077
037269c940
Add useful comments to most header lib procs and macros
2024-05-19 00:15:57 +02: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
5d7015bbb5
Headers update
...
- Synced a small number of defines from RPU headers
- Removed duplicate defines from define_lite
2023-07-30 22:24:44 +02:00
NovaRain
c95d872f77
Added build instructions to readme
2023-07-26 15:08:41 +08:00
phobos2077
5c3c1ca4db
Header fixes
...
- Fix conflict with RPU command_extra.h
- Fix undefined debug_array_str error
2023-07-24 00:56:01 +02:00
phobos2077
a2ea1910f5
Minor header and readme edits
2023-07-10 23:56:58 +02:00
NovaRain
ddb3cf9b6e
Added upper/lower limits to the hit chance value
...
Edited hookscript docs.
2023-07-09 15:22:56 +08: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
NovaRain
f42b232e19
Moved sfall-mod.ini into mods\ folder
...
Packed item highlighting and NPC combat control mods into sfall.dat.
2023-07-02 20:40:35 +08:00
phobos2077
5f38744a2e
De-shittify string_format ( closes #482 )
2023-06-25 00:24:24 +02:00
phobos2077 and NovaRain
50b51fc1a3
Highlighting mod update
...
- Optional highlighting of critters, using the same colors and rules as in the combat mode
- Holding highlight key will update outlines based on current positions
- Enable LOS check by default for more interesting looting
2023-06-24 07:59:16 +08: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