NovaRain
0e8b6efe49
Re-added the check for valid objs to get/set_object_data
...
* disabled in combat for the combat data.
2023-07-19 20:56:12 +08:00
NovaRain
6d66bfffb0
Edited function and sslc docs
2023-07-17 20:53:50 +08:00
NovaRain
6eeb674641
Minor code edits to BugFixes.cpp
...
Minor edits to some comments.
2023-07-14 09:46:02 +08:00
NovaRain
b94993d756
Minor edits to error msg for some script functions
...
Edits to function notes.
2023-07-11 11:19:29 +08: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
NovaRain
321f8e1ab2
Changed string_pos to return -1 on arg error
...
Added a check to PartyControl::OrderAttackPatch().
Updated function documents.
2023-07-05 22:14:04 +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
9f6ca9d55d
Updated some documents
2023-07-03 15:39:56 +08: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
NovaRain
0926ace899
Use explicit GetFileAttributesA function
2023-07-02 08:28:15 +08:00
NovaRain
b2023b7e51
Removed capping of console window position and size
...
* for multi-monitor setup, leaving only minimum size of 640x480.
2023-06-29 21:32:32 +08:00
NovaRain
1f962458cd
Added file check for books/drugs/enginetweaks ini files
...
Fixed possible array index out of bound error in BarBoxes.
Added trimming to custom unarmed attack names.
Edits to ddraw.ini and function docs.
2023-06-27 21:19:36 +08:00
phobos2077
0bb5941c98
IniReader: Remove bufSize argument when it's not used ( closes #485 )
...
- Fix return value of getString with buffer argument
- Increase max line length to 2048
2023-06-27 00:14:00 +02:00
phobos2077
3e4e9ff4e6
Console window improvements
...
- Retain maximized/minimized state
- Save normal position when closing in maximized/minized state
- Allow to move window in negative x direction
- Disable close button
- Save position if game was closed by pressing Alt+F4 in console window
2023-06-26 23:31:06 +02:00
NovaRain
ece95a95e9
Updated docs for improved string_format
...
Edited error messages for a few functions.
ConsoleWindow: disallowed negative window position.
2023-06-25 16:16:23 +08:00
phobos2077
5f38744a2e
De-shittify string_format ( closes #482 )
2023-06-25 00:24:24 +02:00
phobos2077
c0aac45b0c
ConsoleWindow: attempt to fix position jumping
2023-06-24 13:12:38 +02:00
NovaRain
d7a974c50b
Fixed the display after switching back in NPC combat control mod
...
* player's active "sneak" notification box wasn't shown when switching
back after the combat.
Replaced numbers with defines in item highlighting mod.
2023-06-24 14:17:38 +08:00
phobos2077 and NovaRain
3f8d322697
Fix container highlight condition
2023-06-24 07:59:16 +08: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
e1aebb21e4
op_create_spatial: fix spatial object having no scriptIndex upon creation
2023-06-24 01:58:17 +02:00