NovaRain
f44db1730c
Merge branch 'develop'
2018-11-01 19:28:08 +08:00
NovaRain
fbdb9777c7
Updated NPC combat control mod to prevent Marcus and non-biped critters from equipping armor when controlled by the player.
2018-11-01 17:25:29 +08:00
NovaRain
0f1e648e1a
Fixed isCheck argument (arg1) for HOOK_ONEXPLOSION hook (from Mr.Stalin)
...
Removed RemoveWindowRounding option because it doesn't affect anything.
2018-11-01 09:51:27 +08:00
NovaRain
7bd93af696
Adjusted the position of ExtraSaveSlots page buttons a bit.
2018-10-31 07:15:11 +08:00
NovaRain
6319017186
Added new HOOK_ONEXPLOSION and a new mode "set_explosion_max_targets" to metarule2_explosions (from Mr.Stalin) ( #35 )
2018-10-30 11:19:19 +08:00
NovaRain
29ad288f52
Fixed SwitchHandHook not being injected for controlled critters if there's no script using HOOK_INVENTORYMOVE.
2018-10-29 11:35:31 +08:00
NovaRain
a10196e2ca
Corrected the key overriding mechanism and removed unused vKey argument from KeyPressedDelegate (from Mr.Stalin)
...
Changed the debug editor to require sfall debugging mode.
Some minor code edits.
2018-10-29 11:04:51 +08:00
NovaRain
88779c10e0
Added a new return value to HOOK_KEYPRESS to override the pressed key (from Crafty)
2018-10-27 22:30:01 +08:00
NovaRain
919384bac7
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 not enabled.
Updated item highlighting mod to be disabled while in the loot screen.
2018-10-27 09:43:12 +08:00
NovaRain
a60f58c0eb
Reverted some changes in the previous commit.
2018-10-26 06:46:24 +08:00
NovaRain
558e654dbf
Replaced some __cdecl calling conventions to __fastcall.
...
(from Mr.Stalin - Reason: The compiler can use the arguments for its own purposes, which can spoil the stored value on the stack.)
Simplified the code for ObjCanSeeObj_ShootThru_Fix and added extra note to ddraw.ini (#208 )
2018-10-25 11:16:39 +08:00
NovaRain
5ab389a51a
Added new HOOK_USESKILLON and PartyMemberSkillFix option ( #191 )
2018-10-24 12:19:30 +08:00
NovaRain
3203152ca4
Added missing functions from the source library ddraw.dll to export from sfall (from Mr.Stalin)
...
Simplified the code in ExtraSaveSlots.cpp.
2018-10-23 11:45:38 +08:00
NovaRain
134dc03dc9
Added an option to skip loading game settings from a saved game (from Mr.Stalin)
...
Minor edits to ddraw.ini.
2018-10-20 09:53:16 +08:00
NovaRain
1ac8825b1b
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 10:27:00 +08:00
NovaRain
851e9b6d59
Added DisplayNPCExtraInfo option to ddraw.ini for commit bceb505024.
...
Changed some constant/variable names in Explosions.cpp.
2018-10-17 09:31:29 +08:00
NovaRain
cbb6afac7c
Updated NPC combat control mod to work with BoxBarCount.
...
Added additional notes to HOOK_COMBATDAMAGE in hookscripts.txt.
2018-10-16 22:18:35 +08:00
NovaRain
bceb505024
Added displaying party member's current level & AC & addict flag info to the combat control panel (from Mr.Stalin)
...
Changed highlighting containers/corpses to be default on in sfall-mods.ini.
2018-10-16 10:05:25 +08:00
NovaRain
005684fa3b
Added 3 new modes to metarule2_explosions and "item_make_explosive" script function ( #169 )
...
Simplified byte writing in some options (from Crafty)
Minor edits to Criticals.cpp.
Updated version number.
2018-10-14 21:05:15 +08:00
NovaRain
009a6cc21d
Fixed the exploit that allows you to gain excessive skill points from Tag! perk before leaving the character screen (from Mr.Stalin)
...
Minor edits to documents.
2018-10-12 10:56:18 +08:00
NovaRain
ee64d981fa
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.
2018-10-11 10:46:04 +08:00
NovaRain
bb13dbd727
Added FastMoveFromContainer as the auxiliary option for ItemFastMoveKey (from Mr.Stalin)
...
Refactored the code of StackEmptyWeapons.
2018-10-10 17:52:05 +08:00
NovaRain
e813188e67
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.
2018-10-10 12:19:06 +08:00
NovaRain
64a59211ba
Changed implementation of StartGDialogFix, additionally fixed the game crash if calling start_gdialog function outside of talk_p_proc procedure for talking heads.
2018-10-10 09:14:41 +08:00
NovaRain
88f3622a5d
Added "dialog_obj" script function.
2018-10-08 09:42:38 +08:00
NovaRain
e6d958a83b
Rewrote get/set_proto_data functions in C++ and added an auto-extend mechanism for proto loading limit (from Mr.Stalin)
...
Replaced ProtoProcessingLimit with LoadProtoMaxLimit option.
Added more definitions to define_extra.h and reformatted sfall.h a bit.
2018-10-07 10:30:59 +08:00
NovaRain
6796dc1012
Added sound effect to ExtraSaveSlots page buttons (from Mr.Stalin)
2018-10-06 22:58:36 +08:00
NovaRain
90149b4fb6
Fixed crash bug in the previous commit.
2018-10-04 23:30:39 +08:00
NovaRain
41a398cbf2
Refactored ASM code in ScriptExtender.cpp (from Mr.Stalin)
...
Simplified the code of NegateFix.
2018-10-04 22:58:10 +08:00
NovaRain
88cd177ebb
Re-organized ScriptExtender.cpp:
...
* Moved SetAutoUnjamLockTime function to new Objects.cpp module.
* Move restore stats/perks to their respective modules.
* Move NegateFix to BugFixes.cpp.
2018-10-04 16:50:30 +08:00
NovaRain
569721381c
Added ProtoProcessingLimit option to address some glitches with scripts that will process a large number of protos ( #198 )
2018-10-04 09:44:48 +08:00
NovaRain
8af87a5252
Merge branch 'develop'
2018-10-01 21:14:00 +08:00
NovaRain
96cb6c51ea
Updated version number.
2018-10-01 21:10:21 +08:00
NovaRain
5874450f60
AllowDShowSound improvements from Mr.Stalin:
...
* 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-09-30 21:34:35 +08:00
NovaRain
f088c9bb70
Fixed the mood argument of start_gdialog function being ignored for talking heads. (from Crafty)
...
Simplified the code of disabling losing unused perks.
2018-09-30 16:24:15 +08:00
NovaRain
7f8481d03a
Added "get/set_rest_on_map" script functions (from Mr.Stalin)
2018-09-28 13:59:09 +08:00
NovaRain
f162a5ab0c
Moved item_count function fix from Inventory.cpp to BugFixes.cpp.
...
Minor edit to document.
2018-09-25 14:12:06 +08:00
NovaRain
ce69e8123e
Fixed the max text width of player name in inventory.
...
Added an 8 lines limit to the underline position fix.
Removed obsoleted WorldMapEncPatch* functions from Worldmap.cpp (forgot to remove during commit 0f1072c302 )
Some minor ASM code edits.
2018-09-25 12:19:30 +08:00
NovaRain
b5e85f2f89
Changed the implementation of fs_* opcodes from ASM blocks to handler functions.
2018-09-24 12:20:42 +08:00
NovaRain
f7fe463f42
Added "create_win" script function and InterfaceDontMoveOnTop option (from Mr.Stalin)
2018-09-23 16:13:20 +08:00
NovaRain
27f2d57ebd
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 (#197 )
2018-09-23 08:13:35 +08:00
NovaRain
bbe789d013
Added "get_current_inven_size" script function.
2018-09-21 19:23:35 +08:00
NovaRain
76ea3ed383
Added inventory size check to "Take All" button (from Mr.Stalin)
...
Added additional note to CritterInvSizeLimitMode in ddraw.ini, and changed CritterInvSizeLimit to its default value.
2018-09-20 09:41:49 +08:00
NovaRain
c6f3dbfcf6
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 (from Mr.Stalin)
...
Fixed CritterInvSizeLimitMode not properly checking the weight of equipped items when mode is set to 4+.
2018-09-19 22:49:05 +08:00
NovaRain
49ce654d72
Excluded inventory size features for NPCs when CritterInvSizeLimitMode is set to PC only.
2018-09-16 10:24:49 +08:00
NovaRain
b2a1160492
Removed UTF-8 BOM in Inventory.cpp.
2018-09-15 10:13:25 +08:00
NovaRain
5da2ec76de
Refactored CritterInvSizeLimitMode option and fixed some bugs (from Mr.Stalin)
...
Added party member's current/max inventory size info to the combat control panel.
2018-09-15 09:49:07 +08:00
NovaRain
123f69268d
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:39:18 +08:00
NovaRain
6d0c84e783
Fixed broken get/reset_critical_table functions (from Mr.Stalin)
2018-09-11 09:55:38 +08:00
NovaRain
c652fae849
Fixed the encounter description being displayed in two lines instead of one (from Crafty)
2018-09-09 23:09:26 +08:00
NovaRain
3399e07958
Removed the duplicated sf_inventory_redraw code in Interface.cpp.
2018-09-06 23:01:15 +08:00
NovaRain
044af677d9
Merge branch 'develop'
2018-09-06 21:18:59 +08:00
NovaRain
752ad8ae01
Added notes to AutoQuickSavePage description.
2018-09-06 13:01:57 +08:00
NovaRain
9d9d8ada49
Added options to use more than one save slot for quick saving (from Mr.Stalin) ( #186 )
2018-09-06 07:01:14 +08:00
NovaRain
6bd7d3ebca
Added the description of the new FemaleDialogMsgs setting value to ddraw.ini.
2018-09-03 09:58:27 +08:00
NovaRain
fe5f4bb2aa
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:08:37 +08:00
NovaRain
8a7d22dd03
Added additional checks to the fix of multihex critters moving in combat (from Mr.Stalin)
...
Added AIBestWeaponFix option to ddraw.ini.
2018-09-02 10:55:14 +08:00
NovaRain
fac0b73d9e
Changed the fix for multihex critter moving in combat to a more proper one.
2018-08-29 09:37:55 +08:00
NovaRain
2974210ad3
Minor edit to the description of QuestsScrollButtonsX/Y.
2018-08-26 14:53:47 +08:00
NovaRain
bb0f2bb8db
Changed the two example hook scripts to global scripts.
2018-08-24 08:10:38 +08:00
NovaRain
715b55dda8
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)
Changed BugFixes module to be initialized at the beginning.
2018-08-21 07:19:51 +08:00
NovaRain
999d818c86
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)
Changed BugFixes module to be initialized at the beginning.
2018-08-21 06:14:16 +08:00
NovaRain
1d7fd442b0
Minor edits to sfall-mods.ini.
2018-08-19 00:41:50 +08:00
NovaRain
3062533492
Added ObjCanHearObjFix to ddraw.ini.
...
Added extra comment for CarChargingFix to ddraw.ini.
Edited the description of DisplayName in sfall-mods.ini because of the new BoxBarCount option.
Minor edits to hookscripts.txt.
2018-08-19 00:33:10 +08:00
NovaRain
9f0797f8ad
Added extra comment for CarChargingFix to ddraw.ini.
2018-08-14 23:58:09 +08:00
NovaRain
a7c66685b9
Added QuestsScrollButtonsX/Y, DisplaySwiftLearnerExp, and additional note for the new mode of UseScrollingQuestsList to ddraw.ini.
...
Changed a log message in BugFixes.cpp to be a bit more specific.
Edited some comments in QuestList.cpp.
2018-08-12 19:07:52 +08:00
NovaRain
ccd897281f
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:54:07 +08:00
NovaRain
d200262a2b
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 22:04:21 +08:00
NovaRain
d0c97f7118
Fixed an issue with file IDs of additional game msg files being shifted when a file in ExtraGameMsgFileList is missing.
...
Minor edit to the description of CityRepsList in ddraw.ini, to avoid misunderstanding.
Updated version number.
2018-07-28 22:46:59 +08:00
NovaRain
0bda53e109
Rename the option from previous commit to FullItemDescInBarter and added it to ddraw.ini.
...
Edited info about HOOK_DESCRIPTIONOBJ and the new return value of HOOK_BARTERPRICE to documents.
Minor edits to ddraw.ini to avoid misunderstanding.
2018-07-28 22:27:32 +08:00
NovaRain
44d668f50b
Renamed DialogFemaleMsgFile to FemaleDialogMsgs, and added its description to ddraw.ini.
...
Added additional notes for the new functionality of ExtraGameMsgFileList to documents.
2018-07-24 12:07:02 +08:00
NovaRain
39221065af
Added BoxBarCount to ddraw.ini.
...
Edited documents for the change of is_iface_tag_active and added BoxBarCount.
Edited the phrasing of debugging message in SafeWrite.cpp.
2018-07-21 08:54:25 +08:00
NovaRain
41c8722179
Merged a couple of fixes and minor improvements for 4.0.x from the develop branch:
...
* Fixed the game thinking you dropped an active explosive when the dropping is prevented with hs_inventorymove.
* Added "inventory_redraw" script function (from Mr.Stalin)
* NPC combat control mod now centers the screen on the controlled critter and has new options to display critter's name.
* Removed obsoleted WIN2K preprocessor defines.
Updated version number.
2018-07-16 09:14:01 +08:00
NovaRain
033376000c
Fixed the screen flickering during switching critters in NPC combat control.
...
Now the mod does not center the screen on PC and display name box for the first turn of a player-initiated combat or when there's no other controllable critter in combat.
2018-07-13 11:25:42 +08:00
NovaRain
bc2dabc461
Removed redundant function from NPC combat control and tidied up a bit.
2018-07-11 10:03:03 +08:00
NovaRain
08b5e3a769
Improved the functionality of NPC combat control mod ( #179 )
...
* centers the screen on controlled critter.
* removes roof tiles to show controlled critter properly.
* additional options to display the name of controller critter.
2018-07-10 12:05:15 +08:00
NovaRain
09c9c5cce0
Added the description of HOOK_EXPLOSIVETIMER to hookscripts.txt.
...
Edited the example script.
Updated version number.
2018-07-10 06:09:23 +08:00
NovaRain
2a20209bb8
Added "inventory_redraw" script function (from Mr.Stalin)
2018-07-08 00:30:26 +08:00
NovaRain
84c7ac0536
Added InjectAllGameHooks to [Debugging] section in ddraw.ini.
2018-07-05 21:52:53 +08:00
NovaRain
5d4b8fdd7b
Added info for new HOOK_AMMOCOST arguments to hookscripts.txt.
2018-07-03 09:38:07 +08:00
NovaRain
2f22a1e982
Edited the description of HOOK_USEANIMOBJ in hookscripts.txt.
...
Removed obsoleted WIN2K preprocessor define.
Updated version number.
2018-06-25 22:12:42 +08:00
NovaRain
1b3b5dc523
Fixed premature assignment of arguments before the beginning of the hooks in InventoryHs.cpp. ( #173 )
...
(cherry picked from commit fff48407c3 )
Updated version number.
2018-06-24 12:36:01 +08:00
NovaRain
c2f7e38a43
Added KeepWeaponSelectMode option to ddraw.ini.
2018-06-19 06:03:36 +08:00
NovaRain
8c2483a289
Merge branch 'develop'
2018-06-12 21:01:12 +08:00
NovaRain
e14ac89463
Added more info to the comments of various keys in [Input] section of ddraw.ini.
2018-06-12 20:52:03 +08:00
NovaRain
177137f2ee
Edited the description in hookscripts.txt for changes to HOOK_INVENTORYMOVE and HOKK_INVENWIELD.
...
Fixed a bug in DisplaySecondWeaponRange that didn't display correct weapon range when the secondary mode is aimed (e.g. spear and throwing knife)
Removed trilling spaces in previous commit.
2018-06-11 13:40:09 +08:00
NovaRain
28962f428f
Added ItemFastMoveKey and ItemCounterDefaultMax options to ddraw.ini.
...
Set ReloadReserve to be disabled by default.
2018-06-06 06:33:46 +08:00
NovaRain
ea1c00ec91
Added the ability to define allowed weapon animations for NPCs to NPC armor appearance mod ( #159 )
2018-06-05 22:08:39 +08:00
NovaRain
410c7ab417
Minor edits to documents.
2018-06-04 21:21:32 +08:00
NovaRain
1652072391
Fixed a bug that critters killed in combat by scripting still being able to move in their combat turn if the distance parameter in their AI packages is set to stay_close/charge, or NPCsTryToSpendExtraAP is enabled (from Mr.Stalin)
2018-06-02 18:15:53 +08:00
NovaRain
051b1c98aa
Edited the added comments in AnimationsAtOnceLimit.cpp.
...
Renamed obj_move_hack to object_move_hack because it hooks on object_move_ engine function.
2018-06-01 23:36:56 +08:00
NovaRain
2f6f0d8b28
Added the description of new metarule2_explosions mode to function notes.txt.
...
Fixed a typo in metarule2_explosions error message.
2018-05-30 21:07:51 +08:00
NovaRain
b24a860d40
Renamed WorldMapFont to WorldMapFontPatch and changed its description in ddraw.ini.
2018-05-30 09:27:58 +08:00
NovaRain
120a8cd964
Added WorldMapFont option to use Fallout font on the world map instead of system font. ( #48 )
2018-05-29 16:22:58 +08:00
NovaRain
2d8ea2b44c
Added description of HOOK_GAMEMODECHANGE to hookscripts.txt.
...
Fixed the line break for debug.log message of GameReset.
Minor edits to Tiles.cpp code format.
2018-05-28 23:37:45 +08:00
NovaRain
5e0e8dd2f1
Added MoreTiles option to ddraw.ini.
...
Changed MoreTiles to work independently of HRP 4.1.8 and removed the redundant define.
Added sfall log messages to both options in Tiles.cpp.
Implemented HookCalls in TimeLimitPatch().
Fixed a minor typo in function notes.txt.
2018-05-28 09:27:53 +08:00
NovaRain
839e86ed26
Added the description and setting for the previous commit to ddraw.ini.
...
Improved DisablePipboyAlarm so that when the player press Z key they won't see a blank Pipboy screen.
2018-05-27 15:08:46 +08:00
NovaRain
c4903abd4c
Added the description of set_iface_tag_text to notes.txt.
...
Fixed compilation error in BarBoxes.cpp.
Updated version number.
2018-05-21 10:51:12 +08:00
NovaRain
b9c7f5ea82
Fixed commit 470a0b3386.
2018-05-15 20:20:07 +08:00
NovaRain
56fdec8b37
Reverted the previous changes of ASM code due to the bug that AppChCrt.frm overwrites AppChEdt.frm.
2018-05-14 21:14:50 +08:00