NovaRain
59eacce6be
Updated changelog and other documents
v3.8.40
2023-08-21 14:24:44 +08:00
NovaRain
ff53d2515d
Fixed UpdateHPStat() for not properly capping HP
...
* when a critter has modified base value of max HP in its proto.
2023-08-09 10:30:58 +08:00
NovaRain
8fd5182bb5
Renamed "string_pos" function to "string_find"
2023-08-09 08:57:03 +08:00
NovaRain
2677d9faa7
Fixed the backward compatibility of get_npc_level
...
(broken in commit 347dc85 )
2023-08-04 09:15:01 +08:00
NovaRain
9fe3ed5d98
Headers update
...
- Synced a small number of defines from RPU headers
- Removed duplicate defines from define_lite
2023-07-31 20:55:34 +08:00
NovaRain
e6610c4bbe
Expanded the engine perk options in perks.ini
2023-07-31 20:54:54 +08:00
NovaRain
31630f6627
Added build instructions to readme
2023-07-27 08:24:47 +08:00
NovaRain
489f62f5cb
Header fixes
...
- Fix conflict with RPU command_extra.h
- Fix undefined debug_array_str error
2023-07-24 08:36:28 +08:00
NovaRain
1f802cab6f
Fixed incorrect int->float conversion in op_sub
...
Fixed ASM code in StealCheckHook from previous commit.
2023-07-23 08:21:37 +08:00
NovaRain
788593cdcc
Backported the improvements of HOOK_STEAL
...
Edits to hookscripts.md and ddraw.ini.
2023-07-22 21:06:38 +08:00
NovaRain
680310f702
Re-added the check for valid objs to get/set_object_data
...
* disabled in combat for the combat data.
2023-07-19 20:56:31 +08:00
NovaRain
4f36136a39
Edited function and sslc docs
2023-07-17 20:54:57 +08:00
NovaRain
48355fa637
Minor code edits to BugFixes.cpp
...
Minor edits to some comments.
2023-07-14 09:46:53 +08:00
NovaRain
6af62af27d
Backported "get_object_ai_data" script function
...
Updated headers and documents.
Edited error messages for some script functions.
2023-07-11 11:20:56 +08:00
NovaRain
bd76a3ded7
Added upper/lower limits to the hit chance value
...
Edited hookscript docs.
2023-07-09 15:24:46 +08:00
NovaRain
3a08488895
Added "string_pos" function from 4.x
...
Added a check to PartyControl::OrderAttackPatch().
Updated function documents.
Updated scripting headers.
2023-07-05 22:20:14 +08:00
NovaRain
2941157174
Added NPC combat control mod to example mods
...
Updated item highlighting mod and NPC armor mod.
2023-07-03 15:35:03 +08:00
NovaRain
2148650313
Use explicit GetFileAttributesA function
2023-07-02 08:29:30 +08:00
NovaRain
6dee4e1183
Removed capping of console window position and size
...
* for multi-monitor setup, leaving only minimum size of 640x480.
2023-06-29 21:34:41 +08:00
NovaRain
b2e60ba62e
Backported IniConfigFolder option
...
* using C-string instead of std::string.
2023-06-28 08:52:28 +08:00
NovaRain
a71c2c901a
Removed unused bufSize argument from IniReader
...
Fixed return value of getString with buffer argument.
Increased max line length to 2048.
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.
2023-06-27 21:40:55 +08:00
NovaRain
4f3c1a60b4
Console window improvements
...
- Retain maximized/minimized state
- Save normal position when closing in maximized/minimized 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-27 21:21:13 +08:00
NovaRain
9674c16928
Fixed position jumping for console window
...
Improved "string_format" script function.
Edited error messages for a few functions.
Updated documents.
2023-06-25 16:30:46 +08:00
NovaRain
0c035a05df
op_create_spatial: fix spatial object having no scriptIndex upon creation
...
ConsoleWindow: prevent user from messing up window position & size
2023-06-24 09:07:10 +08:00
NovaRain
51cd2eab69
Unified the name of "GameRest" function in modules
2023-06-22 11:51:14 +08:00