NovaRain
90b39f3dde
Replaced some values with constants in Perks.cpp.
2018-12-16 11:39:56 +08:00
NovaRain
c80224f661
Simplified and reformatted code in Perks.cpp (from Mr.Stalin)
...
Replaced some 'strcpy_s' usages to 'strncpy_s' in Perks.cpp.
2018-12-15 18:55:40 +08:00
NovaRain
d7d8de5e1a
Added "get/set_object_data" script functions (from Mr.Stalin)
...
Changed read_byte, read_short, read_int, and read_string functions to not require AllowUnsafeScripting.
v3.8.13
2018-12-05 10:17:26 +08:00
NovaRain
0a21e4abfa
Fixed a bug in the hero appearance mod that caused the player to disappear after saving the game when player's base FID is greater than 255.
...
Replaced old SafeWrite usages with corresponding Hook/MakeCall functions in HeroAppearance.cpp.
2018-12-04 09:45:55 +08:00
NovaRain
1340eeb0d3
Fixed the return values of a hook getting corrupted if another hook was called during the execution of the current hook (from Mr.Stalin)
...
Added a fix to prevent hook scripts from being executed when the depth limit is exceeded.
2018-12-03 20:43:03 +08:00
NovaRain
a350fed4d1
Added a fix for unable to sell/give items in barter screen when the player/party member is overloaded (from Mr.Stalin)
...
Added a variant of MakeCall/Jump with 3 arguments to replace some SafeWrite 0x90 code for trailing NOPs.
2018-11-30 11:35:14 +08:00
NovaRain
402d4f40f2
Changed some MakeJump usages to MakeCall in Stats.cpp, Knockback.cpp, and main.cpp.
...
(see Mr.Stalin's comments in commit c990b6701d )
2018-11-29 09:56:41 +08:00
NovaRain
0f49c7f68d
Refactored the code in Knockback.cpp.
...
Edited part of HookScripts.cpp (ref. commit 0a3745f8f5 )
Minor edits to some code files.
2018-11-28 21:35:47 +08:00
NovaRain
deb0299776
Added an option to fix AI not taking chem_primary_desire in AI.txt as drug use preference when using drugs in their inventory (from Mr.Stalin)
...
Minor edits to some code files.
2018-11-26 09:59:14 +08:00
NovaRain
4bb3fa0275
Merged two Glovz's fix functions and reorganized Glovz's/YAAM code layout a bit.
...
Fixed a bug in Stats.cpp that caused critical hits to ignore critical table roll value and only have the lowest level effect.
Minor edits to MainMenu.cpp.
2018-11-20 23:44:27 +08:00
NovaRain
da31455cef
Fixed missing AC/DR mod stats when examining ammo in barter screen.
...
Added an option to display full item description for weapon/ammo in barter screen.
Minor code correction in ScriptExtender.cpp.
Minor edits to document.
Updated version number.
2018-11-20 07:23:25 +08:00
NovaRain
4da10e2fdb
Fixed the missing return value of -1 for HOOK_USEOBJON.
2018-11-16 06:34:47 +08:00
NovaRain
5426d043c1
Fixed unable to click the pop-up message box when death from radiation was triggered during resting.
2018-11-14 07:14:39 +08:00
NovaRain
719cec74d1
Added a fix to display a pop-up message box about death from radiation.
2018-11-13 21:37:48 +08:00
NovaRain
627fe11c29
Fixed determine_to_hit_func_ engine function taking distance into account when called from determine_to_hit_no_range_ (from Mr.Stalin)
2018-11-12 13:14:07 +08:00
NovaRain
dcca405b89
Added an additional mode to SpeedInterfaceCounterAnims (from Mr.Stalin)
...
Refactored the code of Stats.cpp.
Unified stat_level_ usages in Inventory.cpp, LoadGameHook.cpp and skills.cpp.
2018-11-10 10:08:08 +08:00
NovaRain
cce9437d19
Removed the pop-up message box about not finding the original ddraw.dll, now the error is reported in the log file.
...
Added a note about setting a custom background for the character screen to the hero appearance mod.
2018-11-09 10:01:10 +08:00
NovaRain
09b3bf3aed
Added DisplaySwiftLearnerExp option (from Crafty)
...
Minor edits to some documents/code.
2018-11-07 09:39:11 +08:00
NovaRain
08a891a0fc
Added "obj_under_cursor" script function.
...
Backported some script functions from 4.0: lock_is_jammed, unjam_lock.
2018-11-04 09:14:02 +08:00
NovaRain
e9df81ac78
Changed PartyMemberExtraInfo to not show "Addict" text (in dark green) on the combat control panel if the party member is not addicted to drugs.
2018-11-02 22:49:14 +08:00
NovaRain
3e982be4b6
Removed RemoveWindowRounding option because it doesn't affect anything.
v3.8.12
2018-11-01 09:54:37 +08:00
NovaRain
8a888f387d
Adjusted the position of ExtraSaveSlots page buttons a bit.
2018-10-31 07:16:17 +08:00
NovaRain
712b4de5f7
Changed the debug editor to require sfall debugging mode.
...
Some minor code edits.
2018-10-29 11:14:30 +08:00
NovaRain
a3b456cf0a
Added a new return value to HOOK_KEYPRESS to override the pressed key (from Crafty)
...
Added check for map being loaded to KeyPress/MouseClick hooks.
2018-10-28 08:51:01 +08:00
NovaRain
9f689863d7
Added a new setting to DebugMode to send debug output to both the screen and the debug log (from Crafty)
...
Simplified the code for ObjCanSeeObj_ShootThru_Fix a bit (from Mr.Stalin)
Changed sfall to not to create sfallfs.sav when UseFileSystemOverride is disabled.
2018-10-27 09:46:35 +08:00