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
NovaRain
0a672c1e10
Added MoreTiles option to increase the limit of FRM images for tiles from 4096 to 16383 (from Crafty)
...
Added sfall log messages to both options in Tiles.cpp and edited the code style.
2018-05-28 10:15:02 +08:00
NovaRain
01214633f4
Simplified the code in BarBoxes.cpp.
...
Updated version number.
Fixed a minor typo in function notes.txt.
2018-05-27 16:42:34 +08:00
NovaRain
334e98c4c1
Backported DisplaySecondWeaponRange option from 'develop' branch.
...
Improved DisablePipboyAlarm so that when the player press Z key they won't see a blank Pipboy screen.
Simplified the HookCall usages in TimeLimit option.
2018-05-27 16:09:21 +08:00
NovaRain
78a29ad556
Simplified the code from commit 716bfd4156.
2018-05-15 20:23:34 +08:00
NovaRain
e5d14ff845
Minor edit to FixCharScrnBack() in HeroAppearance.cpp.
2018-05-14 21:16:44 +08:00
NovaRain
9b67db7208
Fixed broken get_attack_type function (from Mr.Stalin and Crafty)
...
Replaced some SafeWriteX usages with SafeMemSet for writing serial NOPs.
Minor edits to documents.
2018-05-08 15:39:39 +08:00
NovaRain
e92ded34e4
Added "floor2" script function to work with ceil ( #109 )
...
Added the missing description of ceil to notes.txt.
Disabled ceil marco in lib.math.h.
Removed duplications in Utils.h.
2018-04-28 11:16:10 +08:00
NovaRain
1689542165
Fixed the last additional notification boxes to the interface being missing ( #140 )
2018-04-26 10:11:22 +08:00
NovaRain
2c86201db9
Updated README.txt for info about additional headers/libraries.
...
(cherry picked from commit e474ba1660 )
2018-04-21 09:19:20 +08:00
NovaRain
d7c9acf713
Added set_ini_setting to documents, and updated info for get_ini_setting.
...
Updated credits.
Replacing a couple of strcpy usages with strcpy_s.
2018-04-21 08:49:56 +08:00
NovaRain
774adaa3b0
Revert "Fixed a bug when using HOOK_ITEMDAMAGE and calling item_w_damage_ engine function at the same time. It would result in player self-damaging when attacking targets."
...
This reverts commit b4d174d91b .
2018-04-13 20:43:33 +08:00
NovaRain
b4d174d91b
Fixed a bug when using HOOK_ITEMDAMAGE and calling item_w_damage_ engine function at the same time. It would result in player self-damaging when attacking targets.
...
Set DataLoadOrderPatch to be enabled by default, for preventing partial of a game crash issue due to unusual game folders setup. #136
2018-04-13 11:09:37 +08:00
NovaRain
3291f6fe17
Added a fix for being at incorrect hex after map change when the exit hex in source map is at the same position as some exit hex in destination map (from Crafty) #134
2018-04-02 23:22:46 +08:00
NovaRain
84f442ca08
Rewrote the fix for player's base EMP DR as an engine-level fix (from Crafty)
2018-04-01 12:48:13 +08:00
NovaRain
f5c35eb639
Fixed typos in hookscripts.txt.
2018-03-23 23:10:17 +08:00
NovaRain
514894ed59
Fixed typos in sfall function notes.txt.
2018-03-23 22:06:02 +08:00
NovaRain
204810d067
Fixed the long existing slotdat.ini function in ExtraSaveSlots.
...
Reduced duplication in ExtraSaveSlots code.
Unified the indent style in ExtraSaveSlots.cpp.
Updated version number.
2018-03-16 12:49:39 +08:00
NovaRain
ec4ba13a28
Fixed add_mult_objs_to_inven only adding 500 of an object when the value of "count" argument is over 99999. #129
2018-01-17 07:37:03 +08:00
NovaRain
14a6ef7fc6
Made sure the value of player's base EMP DR is set correctly.
2018-01-02 23:25:27 +08:00
NovaRain
c3a74070ca
Updated version number and the year.
...
Set the copyright string in the same way as 4.0 build.
2018-01-02 10:26:32 +08:00
NovaRain
302fd4bb51
Condensed the code in ApplyHeaveHoFix a bit.
2018-01-02 10:02:04 +08:00
NovaRain
c7520c71cf
Fixed player's base EMP DR isn't properly initialized when creating a new character and then starting the game.
2017-12-15 07:34:10 +08:00
NovaRain
45632d6887
Changed sneak_success to call is_pc_sneak_working_ engine function, which takes player's current sneaking status into account as well, instead of only returning the result of last sneak attempt.
2017-12-05 10:25:11 +08:00
NovaRain
866c9165c0
Replaced hex values with proper VAR_TYPE_* defines for code readability.
2017-12-03 23:29:28 +08:00
NovaRain
813abbf452
Added missing entry of block_combat script function in opcode list.
2017-12-03 02:40:36 +08:00
NovaRain
c6864e01f6
Added the damage type offset of weapon proto to define_extra.h.
...
Fixed a typo in hookscripts.txt.
Added a new example mod gl_autodoors (by Mr.Stalin) to modderspack. #19
2017-11-28 00:30:29 +08:00
NovaRain
0eab48932a
Tweaked the way DebugMode works, now only DebugMode=2 sends debug output to a debug.log file. Any other non-0 value sends debug output to the screen. #123
2017-11-07 10:44:57 +08:00
NovaRain
6c3efc5b84
Replaced some SafeWrite* usages in old code with corresponding HookCall/MakeCall/MakeJump for code readability.
...
Edited code style in Perks.cpp.
2017-11-06 15:21:08 +08:00
NovaRain
cb8d7dc94a
Enabled mouse scroll control in barter and loot screens when the cursor is hovering over other lists, also enabled scrolling through the display monitor (from Crafty) #120
...
Rearraged the code style in dinput.cpp.
Updated version number.
2017-10-25 11:40:46 +08:00
NovaRain
5786cfb267
Fix crash when calling partyMemberGetCurLevel_ on a critter that has no data in party.txt.
...
Updated version number.
2017-10-18 14:56:38 +08:00
NovaRain
78dfb530a9
Moved LoadHeroAppearance() from MainMenuHook to NewGame2. No reason to run it on the main menu where player appearance can't display.
2017-09-19 15:27:08 +08:00
NovaRain
d588f2e691
Edited code style in HeroAppearance.cpp/h, also removed some redundant blank lines.
2017-09-19 10:43:31 +08:00
NovaRain
daf7a82997
Added descriptions for the variables in Perks.ini.
...
(cherry picked from commit 848f29b468 )
2017-09-12 15:39:39 +08:00
NovaRain
9ad2b19e1a
Removed the redundant LoadHeroAppearance calling.
...
(now it's called during LoadGame_, which is earlier than LoadGame2_After)
2017-09-09 18:59:21 +08:00
NovaRain
4b66dd3682
Reverted LoadGame to previous revision, but also kept EndLoadHook and changed it to only call LoadHeroAppearance.
...
(attempted to fix issue #117 and #94 )
2017-09-05 09:21:22 +08:00
NovaRain
4899aeece1
Changed new function names in the previous commit to PascalCase style.
2017-09-01 09:45:33 +08:00
NovaRain
438ea071fc
Removed the backported new modes for get_game_mode in commit a93ad5a9ba.
2017-08-24 21:46:42 +08:00
NovaRain
89760235c7
Removed unimplemented HEROWIN game mode from header files.
...
Cleared some obsoleted/unused code from main.cpp & LoadGameHook.cpp.
2017-08-23 13:42:58 +08:00
NovaRain
321f1c6034
Fixed the double damage effect of Silent Death perk not being applied to critical hits (from Crafty)
2017-08-21 23:18:32 +08:00
NovaRain
513338f160
Fixed incorrect argument description for get/set_proto_data in sfall opcode list.txt.
...
Removed incorrect PROTO_CR_FLAGS value in define_extra.h (was actually critter's IN), and renamed PROTO_CR_ACTION_FLAGS to its correct name #112
(cherry picked from commit ad17773ace )
2017-08-21 11:33:37 +08:00
NovaRain
08b92542f4
Fixed the incorrect description in HOOK_COMBATDAMAGE.
...
(cherry picked from commit 85cdd8973e )
2017-08-19 08:49:56 +08:00
NovaRain
46013c94b0
Added SSL library files and define_lite.h (from 4.0 development branch)
2017-08-18 15:52:14 +08:00
NovaRain
7a4ab59089
Added missing description for set_car_current_town.
...
Removed trailing spaces in MetaruleOp.hpp.
2017-08-13 11:38:18 +08:00
NovaRain
e505e204cb
Two bug fixes from Crafty:
...
1. Fixed the displayed message when the attack randomly hits a target that is not a critter and has a script attached.
2. Fixed damage_p_proc being called for misses if the target is not a critter.
2017-08-07 13:24:11 +08:00
NovaRain
7343754d53
Fixed Bonus Move APs being replenished when you save and load the game in combat (from Crafty)
...
Replaced all usages of MakeCall with 3 arguments with either MakeJump or MakeCall (2 arguments) to improve code readability (ref. commit 96fa2668cc )
2017-07-26 23:13:40 +08:00
NovaRain
ae1e17d359
Added a note for argnum in set_sfall_arg().
...
Fixed incorrect set_sfall_arg usage in the example.
Removed a redundant line in sfall opcode list.txt.
2017-07-25 23:14:50 +08:00
NovaRain
32dbe5581d
Replaced hs_*.int scripts in example mods with normal global scripts with register_hook.
...
(cherry picked from commit e7e286013f )
2017-07-06 21:04:51 +08:00
NovaRain
a93ad5a9ba
Added new modes for get_game_mode to match Crafty's (backported from 4.0 development branch, commit c32dc7664e)
2017-06-22 09:41:05 +08:00
NovaRain
874b047ce1
Added Attack Type argument for HOOK_COMBATDAMAGE (from Crafty) #100
2017-06-14 12:45:13 +08:00
NovaRain
afa590c5a8
Minor edits to ddraw.ini.
2017-06-02 11:49:02 +08:00
NovaRain
b89c52fcec
Added DontTurnOffSneakIfYouRun option to prevent the player from running while sneaking without Silent Running perk (from Crafty)
...
Added sfall log text for DisablePipboyAlarm.
2017-05-26 10:10:16 +08:00
NovaRain
ec2d323f75
Changed LoadGame2_After to be called before LoadGame state is ended (backported from 4.0 development branch, commit c2e6d743a3)
...
Updated version number.
Minor edits to scripting documents.
2017-05-23 21:05:04 +08:00
NovaRain
31834fdfea
Added OutlineColor option to set the color of outlines for items/containers.
2017-05-07 20:27:30 +08:00
NovaRain
7405e3cb52
Updated version number in ddraw.ini.
2017-05-07 01:22:00 +08:00
NovaRain
771230f9b4
Fixed a crash when calling destroy_object or destroy_mult_objs.
...
Updated some structs, using commit 75c7ab647f as the reference.
Updated version number.
2017-05-07 01:08:28 +08:00
NovaRain
e7d03fc60a
Fixed a bug that caused the game to crash upon entering combat mode if AnimationsAtOnceLimit is set to negative values by accident.
...
Used static const for the value of animation record size.
2017-03-23 13:03:20 +08:00
NovaRain
50c91db5ea
Moved part of AnimationsAtOnceInit code from main.cpp to AnimationsAtOnceLimit.cpp.
...
Changed the if condition for ProcessorIdle to make sure out-of-bounds values not resulting in unexpected but valid values.
2017-03-21 21:05:44 +08:00
NovaRain
b1624e5acf
Fixed vanilla to-hit calculation being broken by the previous TOHIT hook commit.
2017-03-20 13:57:11 +08:00
NovaRain
024b1dbf6f
Backported the fix for TOHIT hook from 4.0 development branch (commit 7bbe84feef)
...
Updated credits.
2017-03-19 08:29:27 +08:00
NovaRain
659da227f4
Fixed incorrect "\r\r\n" being printed in sfall-log.txt.
...
Simplified Jet Antidote fix.
Unified the wording of some log entries.
Changed sprintf to _snprintf_s for SimplePatch.
2017-03-18 22:42:19 +08:00