NovaRain
9765396b08
Fixed set_self function for use_obj_on_obj, attack, attack_complex vanilla functions (from Mr.Stalin) ( #214 )
2019-01-22 09:47:19 +08:00
NovaRain
b008502e13
Added error message when the name for sfall global variable is not equal to 8 characters.
...
Fixed error in FileSystem.cpp from the previous commit.
Updated version number.
2019-01-21 13:55:42 +08:00
NovaRain
d71efe5b82
Corrected code in FileSystem.cpp (from Mr.Stalin)
...
Added fix for db_freadInt_ engine function from BugFixes.cpp when enabling UseFileSystemOverride.
2019-01-20 22:16:38 +08:00
NovaRain
120888e5ed
Added "art_cache_clear" script function.
2019-01-20 09:10:58 +08:00
NovaRain
7b5075042d
Fixed and refactored code in FileSystem.cpp (from Mr.Stalin)
2019-01-20 00:20:51 +08:00
NovaRain
12ad41043d
Refactored ASM code in FileSystem.cpp (from Mr.Stalin)
2019-01-17 10:10:38 +08:00
NovaRain
e509932add
Added support for returning integer values to abs math function.
...
Minor code refactoring in Skills.cpp.
2019-01-16 11:38:49 +08:00
NovaRain
ba3ad33587
Fixed a bug that broke the calculation of the skill point cost for increasing skill levels ( #226 )
...
Updated version number for hot fix.
2019-01-14 09:34:19 +08:00
NovaRain
6e74c3166a
Refactored ASM code in Sound.cpp (from Mr.Stalin)
...
Minor fix for "path_find_to" script function.
Changed the two wrapper functions in ObjectsOps.hpp using dev branch as ref.
Changed some code in ObjectsOps.hpp for edited wrapper functions.
Moved obj_under_cursor to ObjectsOps.hpp.
Reformatted Karma/Worldmap related code in main.cpp as in dev branch.
2019-01-08 13:28:00 +08:00
NovaRain
e320acce0b
Expanded create/temp_array functions to allow creating a new "lookup" type of associative array (from Mr.Stalin)
2019-01-08 06:52:00 +08:00
NovaRain
4f48926105
Added support for sorting associative arrays by keys or values (from Mr.Stalin)
2019-01-07 15:13:22 +08:00
NovaRain
5611931063
Fixed a crash bug when using sorting functions on an associative array(map) (from Mr.Stalin)
2019-01-06 11:59:09 +08:00
NovaRain
f00022fed6
Moved ModifiedIni to main.cpp.
2019-01-04 21:08:30 +08:00
NovaRain
78815425e2
Refactored ASM code in KillCounter.cpp.
...
Reformatted and tweaked code in Explosions.cpp.
2019-01-03 11:07:57 +08:00
NovaRain
9ddddcc120
Changed INVENTORYMOVE hook to be called before displaying the 'Move Items' window for drag and drop ammo on weapons.
2019-01-03 09:35:26 +08:00
NovaRain
11c15cec93
Refactored some ASM code in BurstMods.cpp, Inventory.cpp, Credits.cpp, AnimationsAtOnceLimit.cpp.
2019-01-01 10:27:40 +08:00
NovaRain
f36bd6fb61
Improved the functionality of ElevatorsFile to allow to change the FRM images of the elevator panel and create new elevator types (from Mr.Stalin)
2018-12-31 10:10:06 +08:00
NovaRain
26ab38c6c3
Changed critical table to be loaded before global scripts.
...
Removed redundant ClearGlobals() in LoadGameHook.cpp (already run in ResetState(1) above)
Updated version number and year.
2018-12-30 10:08:47 +08:00
NovaRain
9b50e6be1e
Added UseWalkDistance option (from Mr.Stalin) ( #46 )
2018-12-28 20:06:55 +08:00
NovaRain
2427634ee8
Added a fix to the following script functions to ensure they set the correct object: (from Mr.Stalin)
...
set_critter_burst_disable, set_critter_pickpocket_mod, set_critter_skill_mod, set_critter_hit_chance_mod, set_*_knockback
2018-12-28 10:04:22 +08:00
NovaRain
36d1d0a5fc
Refactored HeroAppearance.cpp (from Mr.Stalin)
2018-12-27 16:03:13 +08:00
NovaRain
486f00cdf4
Refactored assembler code in Skills.cpp.
2018-12-26 10:23:21 +08:00
NovaRain
b6fd424665
Added missing return values for HOOK_INVENWIELD.
2018-12-25 10:02:39 +08:00
NovaRain
3d679db758
Added a fix to prevent sfall from loading global scripts with an extension that exceeds three characters (from Mr.Stalin)
...
Replaced some pushad/popad opcodes with pushadc/popadc ASM macros.
2018-12-25 01:25:37 +08:00
NovaRain
92e1f919d9
Refactored SafeWrite.cpp.
2018-12-20 09:37:47 +08:00
NovaRain
d259e8c903
Formatted code in HeroAppearance.cpp.
2018-12-18 07:54:19 +08:00
NovaRain
dea0e596c3
Minor code edit on main.cpp.
2018-12-17 09:44:36 +08:00
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.
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.
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
NovaRain
b5306406b3
Replaced some __cdecl calling conventions with __fastcall.
...
(from Mr.Stalin - Reason: The compiler can use the arguments for its own purposes, which can spoil the stored value on the stack.)
Added extra notes for some options to ddraw.ini.
2018-10-26 06:51:52 +08:00
NovaRain
ce3b9c172c
Minor edit to the fade patch.
2018-10-24 12:00:52 +08:00
NovaRain
b8a77d77fb
Added missing functions from the source library ddraw.dll to export from sfall (from Mr.Stalin)
...
Simplified the code in SuperSave.cpp.
Minor edits to ddraw.ini.
2018-10-23 11:50:55 +08:00
NovaRain
a01da656c7
Fixed showing game movies and subtitles for DX9 mode when not using the hi-res patch, and added logging messages for DX9 mode (from Mr.Stalin)
...
Changed DisplayNPCExtraInfo to PartyMemberExtraInfo.
2018-10-19 11:07:30 +08:00
NovaRain
5eda8dd7a0
Backported a new mode of metarule2_explosions from 4.0.
2018-10-17 22:30:07 +08:00
NovaRain
c05babeda7
Added DisplayNPCExtraInfo option to ddraw.ini for previous commit.
2018-10-17 09:34:14 +08:00
NovaRain
cc2b95d64e
Added displaying party member's current level & AC & addict flag info to the combat control panel (from Mr.Stalin)
...
Added additional notes to HOOK_COMBATDAMAGE in hookscripts.txt (#204 )
2018-10-16 10:14:32 +08:00
NovaRain
fb62bd51b5
Simplified some byte writing in a few options.
2018-10-15 09:57:55 +08:00
NovaRain
f4d7ccef40
Fixed typo in the previous commit.
2018-10-14 10:15:02 +08:00
NovaRain
85bb34377c
Added missing argument validation to refactored fs_* opcodes.
...
Minor edits to Criticals.cpp.
2018-10-14 10:06:06 +08:00
NovaRain
af24c6eae4
Fixed the exploit that allows you to gain excessive skill points from Tag! perk before leaving the character screen (from Mr.Stalin)
2018-10-12 19:27:04 +08:00
NovaRain
930f463000
Backported expanded is_iface_tag_active function from 4.0, and refactored show/hide_iface_tag functions as well.
...
Minor edits to a couple of documents.
2018-10-11 23:56:11 +08:00
NovaRain
e1aefcc1ed
Refactored BonusHtHDamageFix/DisplayBonusDamage code in AmmoMod.cpp (from Mr.Stalin)
...
Fixed DisplayBonusDamage not being applied on Melee Damage stat in the character screen when BonusHtHDamageFix is enabled.
Reimplemented INTFACEUSE/INTFACELOOT/BARTER game mode flags, and backported inventory_redraw script function from 4.0.
2018-10-11 11:19:22 +08:00
NovaRain
25554ff0b2
Added FastMoveFromContainer as the auxiliary option for ItemFastMoveKey (from Mr.Stalin)
...
Refactored the code of StackEmptyWeapons.
Added missing argument validation for backported script functions.
2018-10-10 18:27:54 +08:00
NovaRain
dad0860d6e
Changed implementation of StartGDialogFix, additionally fixed the game crash if calling start_gdialog function outside of talk_p_proc procedure for talking heads.
...
Fixed "Heave Ho!" perk increasing strength stat above 10 when determining the max range of thrown weapons.
Moved SpecialUnarmedAttacksFix to BugFixes.cpp and simplified the code.
Added comments to old ApplyHeaveHoFix in Perks.cpp.
Backported some non-hook related script functions from 4.0: item_weight, get/set_outline, get/set_flags, tile_refresh_display, outlined_object, get/set_cursor_mode, display_stats, get/set_map_enter_position, attack_is_aimed.
2018-10-10 17:24:05 +08:00
NovaRain
a7e492a80f
Backported get/set_proto_data changes and LoadProtoMaxLimit option from the develop branch.
...
Added more definitions to define_extra.h.
2018-10-08 21:45:16 +08:00
NovaRain
d9b748c261
Backported UseScrollingQuestsList imporvements from 4.1.
...
Added sound effect to ExtraSaveSlots page buttons (from Mr.Stalin)
2018-10-06 23:18:07 +08:00
NovaRain
0aad511e3e
Refactored ASM code in ScriptExtender.cpp according to the develop branch, and edited the code style.
...
Moved NegateFix to Bugs.cpp and simplified its code.
2018-10-05 10:13:01 +08:00
NovaRain
d117296990
Backported "create_win" script function and InterfaceDontMoveOnTop option from the developt branch.
...
Updated version number.
2018-10-02 12:15:48 +08:00
NovaRain
e672db53c7
Backported AllowDShowSound improvements from the develop branch:
...
* Added volume control support for alternative sound files.
* Added mode 2 to play alternative music files even if original acm files are not present in the music folder.
* Added AllowDShowMovies option to separate avi files playback from enabling DX9 mode.
* Fixed initialization bug when DX9 mode is disabled.
* Small refactoring on ASM code.
Added missing FadeMultiplier option to ddraw.ini.
2018-10-01 12:16:42 +08:00
NovaRain
25bbd91fc5
Fixed the mood argument of start_gdialog function being ignored for talking heads (from Crafty)
...
Fixed the broken obj_can_hear_obj script function (from Mr.Stalin)
Simplified the code of disabling losing unused perks.
2018-09-30 16:31:29 +08:00
NovaRain
8db528330b
Fixed the max text width of player name in inventory.
...
Added an 8 lines limit to the underline position fix.
Some minor ASM code edits.
Minor edit to document.
2018-09-25 14:17:45 +08:00
NovaRain
f761f7834e
Refactored fs_* opcodes with ASM macros and opcode handlers.
2018-09-25 12:29:33 +08:00
NovaRain
f6c4e5133c
Fixed ai_retrieve_object_ engine function not returning the requested object when there are different objects with the same ID (from Mr.Stalin)
...
Added info about map_*_p_proc procedures to the global script section in notes.txt.
2018-09-23 08:15:52 +08:00
NovaRain
2e30c86467
Added "get_current_inven_size" script function.
2018-09-21 19:27:57 +08:00
NovaRain
1679f7c59d
Backported CritterInvSizeLimitMode related fixes/improvements from the develop branch:
...
* Changed item_total_weight/item_c_curr_size engine functions to return the weight and size of equipped(hidden) items on NPCs when exchanging/bartering items.
* Fixed CritterInvSizeLimitMode not properly checking the weight of equipped items when mode is set to 4+.
* Added inventory size check to "Take All" button.
* Added additional note to CritterInvSizeLimitMode in ddraw.ini, and changed CritterInvSizeLimit to its default value.
2018-09-20 09:48:27 +08:00
NovaRain
9a4cbd4fa9
Excluded inventory size features for NPCs when CritterInvSizeLimitMode is set to PC only.
2018-09-16 10:25:45 +08:00
NovaRain
0c561ba677
Backported refactored CritterInvSizeLimitMode option from the develop branch (from Mr.Stalin)
...
Added party member's current/max inventory size info to the combat control panel.
Removed redundant functions from FalloutEngine.cpp.
2018-09-15 11:41:46 +08:00
NovaRain
20ccdacee8
Fixed the underline position in the inventory display window when the item name is longer than one line (from Mr.Stalin)
...
Simplified the code of SuperStimExploitFix and corrected the return value for the change.
2018-09-12 22:45:58 +08:00
NovaRain
d44663ce76
Backported two bug fixes from the develop branch:
...
* Fixed broken get/reset_critical_table functions (from Mr.Stalin)
* Fixed the encounter description being displayed in two lines instead of one (from Crafty)
2018-09-11 16:15:25 +08:00
NovaRain
a196160258
Changed the fix for multihex critter moving in combat to a more proper one (from Mr.Stalin)
...
Added AIBestWeaponFix option to ddraw.ini.
2018-09-02 18:07:05 +08:00
NovaRain
55a97a5793
Fixed multihex critters moving too close and overlapping their targets in combat (from Crafty)
...
Fixed critters not checking weapon perks properly when searching for the best weapon (from Mr.Stalin)
2018-08-21 07:18:35 +08:00
NovaRain
3eaa64ee16
Added extra comment for CarChargingFix to ddraw.ini.
2018-08-14 23:57:29 +08:00
NovaRain
aa9257ab1c
Fixed obj_can_see_obj not checking if source and target objects are on the same elevation before calling is_within_perception_ (from Mr.Stalin)
2018-08-10 22:37:55 +08:00
NovaRain
81a8fd4863
Added a fix for the display issue in the pipboy when a quest list is too long with UseScrollingQuestsList diabled (from Mr.Stalin)
...
Added a fix for the clickability issue of holodisk list in the pipboy (from Mr.Stalin)
2018-08-06 21:10:09 +08:00
NovaRain
ed260ad7e5
Minor edit to the description of CityRepsList in ddraw.ini, to avoid misunderstanding.
...
Updated version number.
2018-07-28 22:33:28 +08:00
NovaRain
9dce3c8d62
Fixed an issue with file IDs of additional game msg files being shifted when a file in ExtraGameMsgFileList is missing.
2018-07-24 09:39:26 +08:00
NovaRain
f28a179c78
Added more info to the comments of various keys in [Input] section in ddraw.ini.
2018-06-12 20:53:03 +08:00
NovaRain
540abbe273
Fixed a bug in DisplaySecondWeaponRange that didn't display correct weapon range when the secondary mode is aimed (e.g. spear and throwing knife)
...
Added more info about unwielding in HOKK_INVENWIELD to hookscripts.txt.
2018-06-11 13:47:20 +08:00
NovaRain
8dda3940d0
Added ItemFastMoveKey and ItemCounterDefaultMax options from 4.0 develop branch (commit aaa76cb3d1)
...
Set ReloadReserve to be disabled by default.
2018-06-06 06:54:55 +08:00
NovaRain
44b9b24490
Minor edits to documents.
2018-06-04 21:28:05 +08:00
NovaRain
dafbc357b2
Added more detail to the comment of previous commit.
2018-06-02 18:13:33 +08:00
NovaRain
cab19b5ca0
Fixed the backported code in commit d6952a0c93 not working when enabling AnimationsAtOnceLimit.
...
Reorganized the layout of AnimationsAtOnceLimit.cpp to be more in-line with 4.0 code.
2018-06-02 08:21:19 +08:00
NovaRain
d6952a0c93
Backported the fix for the crash when the critter goes through a door with animation trigger from commit 56945c7437.
2018-06-01 23:42:52 +08:00
NovaRain
b996867d65
Minor edit to the code in Explosions.cpp.
2018-05-30 21:21:23 +08:00
NovaRain
bd18c240f9
Simplified the ASM code of get_mouse_buttons() a bit.
2018-05-30 09:37:58 +08:00
NovaRain
2ad28e3086
Added WorldMapFontPatch option to use Fallout's normal text font instead of DOS-like font on the world map. ( #48 )
2018-05-30 09:33:40 +08:00
NovaRain
ef5ff4e90f
Expanded get_mouse_buttons function to return a value for the middle mouse button (from Mr.Stalin)
2018-05-29 09:32:16 +08:00