Commit Graph
100 Commits
Author SHA1 Message Date
NovaRain f5c7d3ccc6 Added setting about Night Vision perk to perks.ini
Updated version number.
2025-01-05 21:03:12 +08:00
NovaRain 4255614112 Cosmetic edits: updated year 2025-01-05 17:29:12 +08:00
NovaRain 69ac2f5b33 Updated changelog 2024-12-04 09:05:18 +08:00
NovaRain 1fc38ca6d1 Added upper limit to WorldMapDelay2 2024-11-22 12:49:25 +08:00
NovaRain d193568678 Tweaked how XPTable data was loaded
* to align hook functions with the engine functions they replaced.
2024-11-19 21:54:26 +08:00
NovaRain 00108e23c2 [HRP] Fixed IFACE_BAR_WIDTH for Chinese version
(wasn't disabled correctly in commit 0622a899)
2024-10-18 10:46:37 +08:00
NovaRain 2c1ae1bf27 Removed unnecessary selfrun file creation
* autoplay was disabled in 4.3 (commit 460bc045)

Updated version number.
2024-10-14 10:52:41 +08:00
NovaRain 6f8b06e738 Updated version number and changelog 2024-09-15 12:45:07 +08:00
NovaRain 63965923a9 Fixed the behavior of game_loaded script function
(always returned 1 when called from normal scripts, closes #567)

- Revert the changes to ScriptExtender.cpp in commit 191beb8, and use
unordered_set instead of vector for caching script program pointers.
2024-09-10 09:49:43 +08:00
NovaRain 58b645a108 Fixed issues with picking Tag! or Mutate! perk if there are unused perks
* their windows keep reappearing when picking other perks, can cause
various issues or even crashes.
2024-09-01 12:21:34 +08:00
NovaRain c62aa261af Fixed object_fix_weapon_ammo_ engine function
(was incorrectly checking Misc "object" type instead of item subtype.)
2024-08-14 14:41:34 +08:00
NovaRain cfdb441dc4 Fixed the return value of using_skill script function
* if the arguments are not the player and SKILL_SNEAK, it returned
garbage values due to the uninitialized variable.
2024-07-31 20:12:29 +08:00
NovaRain 130eb7db77 Merge branch 'feature/restore-sneak-between-maps'
Minor edit to documents.
2024-07-31 08:21:41 +08:00
NovaRain 2c5e044296 Prevent RegisterHook() from registering placeholder hooks
Minor edits to code and documents.
2024-07-19 19:46:12 +08:00
NovaRain ec8f64a6cd Added a tweak to restore the sneak state when switching between maps
(can be overridden with map_enter/exit_p_proc in global scripts)
2024-07-16 23:20:27 +08:00
NovaRain 3d1de2c74a Fixed gh-pages build error 2024-07-16 20:50:34 +08:00
NovaRain 190ebc417b Prevent unnecessary toggling of the tags in show/hide_iface_tag 2024-07-16 10:43:45 +08:00
NovaRain 9dce219eb1 Updated version number
Minor code cosmetic edits.
2024-07-08 10:52:31 +08:00
NovaRain dc3537747f Reverted GameReset in LoadGameHook.cpp to pre-4.1.4 behavior
(when the engine's game_reset is called, sfall will reset modules as
well for consistency, closes #553)
2024-06-29 17:35:43 +08:00
NovaRain b852d6f168 Added checks for OutlineColorContainers/Corpses in gl_highlighting
(same as OutlineColor, in case player set them to negative values.)

Updated resource files.
2024-06-28 21:12:54 +08:00
NovaRain a8163b6b0c Updated changelog and readme 2024-06-19 20:40:22 +08:00
NovaRain e2e33f07c0 Updated sslc doc for documentation site 2024-06-18 11:27:43 +08:00
NovaRain 2d20de66fc Corrected proto pid offset in define_extra.h 2024-06-17 15:21:36 +08:00
NovaRain eb8febf347 Further simplification of the previous commit
Updated sslc_readme.md.
2024-06-15 19:06:38 +08:00
NovaRain a35bc8882a Minor edits to combat_begin_anim_stop_hook 2024-06-09 14:10:45 +08:00
NovaRain 24058c5fb5 Merge branch 'feature/dont-stop-anim-forever' 2024-06-09 14:07:21 +08:00
NovaRain 929be4f7b3 Changed the game mode check in gl_highlighting
* now opening other interfaces (inventory, options, etc.) will also
turn off highlight.
2024-06-09 12:05:07 +08:00
NovaRain f12f39bef0 Fixed crash on game save (due to commit 13e0348c) 2024-06-09 06:26:10 +08:00
NovaRain fd0bd975fd Fixed page build error 2024-06-07 08:23:45 +08:00
NovaRain faca95a77b Expanded show/hide_iface_tag functions to work with tag value 0 (sneak)
Updated documents.
2024-06-07 08:06:26 +08:00
NovaRain 13e0348cc3 Minor code edits: replace some push/pop in ASM with pushadc/popadc pair 2024-06-06 21:55:27 +08:00
NovaRain 497973d259 Code edits to ItemMoveSkipDragKey
(slightly reduced the number of variables.)
2024-06-06 21:38:53 +08:00
NovaRain b3ec9f1faa Cosmetic edits: unified the placement of __declspec keyword
* it's recommended to place __declspec before the return type.
(ref: https://stackoverflow.com/q/13613864 )
2024-06-04 20:46:04 +08:00
NovaRain 1a844e4e7d Fixed possible crash in BoxBarCount
Edits to ddraw.ini and comments in Message.cpp.
2024-06-03 09:28:36 +08:00
NovaRain 18487103d4 Edits to documents
Minor code edits to PartyMemberNoEarlyLevelUp.
2024-06-02 08:39:05 +08:00
NovaRain a8ac1f8402 Updated documents for the encounter hook changes 2024-05-31 15:11:27 +08:00
NovaRain 0ba74de616 Changed the world map healing rate patch to be enabled by default
* default 3 hrs according to Fallout v1.2 manual errata.

Changed AIDrugUsePerfFix to be enabled by default (UPU/RPU have it
enabled for years, and F2:CE also implemented a similar fix.)

Updated version number.
2024-05-28 21:29:11 +08:00
NovaRain 0631f97b1f Added 'DontMoveTop' flag to the interface bar
* originally only for built-in HRP, now it's a generic patch to prevent
the interface bar from obscuring the barter/trade interface.
2024-05-27 22:24:51 +08:00
NovaRain 5803dc6606 Edited the documents for set_world_map_heal_time
Minor code edits to Worldmap.cpp.
2024-05-27 21:48:51 +08:00
NovaRain bc962aca9c Reverted speed patch/keys behavior to pre-4.1.5
* Enable in [Speed] is the master switch for all Speed* settings.
* SpeedMultiInitial requires Enable=1, not a standalone setting.
* SpeedModKey=0 allows players to use only numpad keys to change speed.
2024-05-24 21:36:50 +08:00
NovaRain 6d432163ca Added "item" type to the party member protos patch
(for the car trunk)
2024-05-24 08:50:32 +08:00
NovaRain 48916137ae Minor edits to ItemCounterAutoCaps 2024-05-23 17:01:21 +08:00
NovaRain a4298bb6ee Fixed the missing hotkeys for additional elevators derived from the original elevator types
(ref. BGforgeNet/Fallout2_Restoration_Project#290)
2024-05-18 15:13:44 +08:00
NovaRain 20c32714b2 Edits to Cautious Nature setting in perk.ini
* Rename the setting to CautiousNatureBonus.
* Lower the bonus cap to 20 (too high of values would result in empty
encounters or game crash for high PE players).
2024-05-17 21:03:11 +08:00
NovaRain bc05a00d1e Changed DebugWindowFont to a toggle option
(because other fonts are not practical for displaying debug ouput)
Minor edits/simplification to ASM code in DebugEditor.cpp.
2024-05-14 21:26:07 +08:00
NovaRain d6dc179df7 Removed duplicate implementation in round() script function
* C++11 lroundf can do the same thing.
2024-05-12 13:53:45 +08:00
NovaRain 44aafc757a Updated INVBOX_E.frm for Russian and Chinese
Removed duplicate FRMs from repo.
Rename all interface FRMs to lowercase.
Updated resource files.
2024-05-12 13:35:03 +08:00
NovaRain b9fade9732 Removed the version check of external HRP for ActionPointsBar
(tested on v4.1.7 and v3.0.6)
2024-05-12 11:22:22 +08:00
NovaRain cc2b79d107 Removed unnecessary error message when AutoSearchSFX is enabled
Removed leftover from devlog_f() in release builds.
2024-05-11 00:22:31 +08:00
NovaRain 0281797d26 Renamed the inventory/barter slot extension options
Edited their logging messages and description in ddraw.ini
Added Chinese FRMs
Corrected the size directives in ASM code in Inventory.cpp
2024-05-10 23:59:49 +08:00
NovaRain 73356d9dd5 Cosmetic edits: alignment and tab/space chars 2024-05-10 23:48:12 +08:00
NovaRain e435e1d614 Updated docs for art_frame_data script function
Minor code edits: type name, indentation/alignment, unified messages
2024-05-07 21:05:42 +08:00
NovaRain b2bac4ee2a Tweaked the check for stretch to fit of AVI movies 2024-05-06 23:37:45 +08:00
NovaRain 41394bfb9d Fix build workflow 2024-05-05 11:30:55 +08:00
NovaRain 44942e188f Changed ExpandWorldMap to be compatible with older HRP
(tested v4.1.7 and v3.0.6)

Minor code edits.
2024-05-05 11:02:10 +08:00
NovaRain f89684029c Added sfall.dat content (except global scripts) 2024-05-05 10:09:56 +08:00
NovaRain 6d276cceca Fixed PlayIdleAnimOnReload causing critters to lose highlights in combat
* happens when the Target Highlight pref is set to "targeting only".
(closes #528)
2024-05-02 09:38:32 +08:00
NovaRain d4ca2b9ff1 Added a check for NPC being dead to NPCsTryToSpendExtraAP (closes #524) 2024-05-02 08:46:30 +08:00
NovaRain c7dfa793ac Fixed page build error 2024-04-24 15:16:16 +08:00
NovaRain 01ab4cfef7 Added signal_close_game script function
Updated documents and version number.
2024-04-24 08:54:35 +08:00
NovaRain a5e7a77588 Updated changelog 2024-04-19 08:41:54 +08:00
NovaRain a19f9d0b83 Reverted ScriptValue DataType from long to short
* for reasons unknown, it was the cause of random hang/crash when
running certain script sequences. (closes #517)

Updated version number.
2024-04-18 22:21:41 +08:00
NovaRain 7dc0681b4c Text edits to INI files 2024-04-18 20:47:45 +08:00
NovaRain b066e9d533 Updated changelog 2024-04-04 22:50:46 +08:00
NovaRain 6e8f2c6c36 Removed SpeedInterfaceCounterAnims=3 (now default behavior) 2024-04-01 17:20:04 +08:00
NovaRain 0044af0362 Fixed xp exploit from canceling Here and Now perk
(when the player has Swift Learner perk)

Removed DisplaySwiftLearnerExp from ddraw.ini (always enabled)
2024-03-29 16:55:00 +08:00
NovaRain ce0e950884 Minor code edits 2024-03-28 08:34:21 +08:00
NovaRain a66ff8d252 Edits to gl_partycontrol and main.h
* it seems no need to "fix" Gecko Skinning perk anymore.
* use array to hold perk levels instead of calling has_trait twice.
2024-03-27 11:18:53 +08:00
NovaRain 9bd9837a7d Added a new example mod gl_molotov 2024-03-26 12:14:24 +08:00
NovaRain a89e672355 Fixed add_extra_msg_file loading the same msg file more than once (#467)
Minor code edits.
Updated version number.
2024-03-22 12:07:26 +08:00
NovaRain b32c358a77 Added a new example mod gl_static_books 2024-03-14 10:20:03 +08:00
NovaRain 1b98bedd6f Edits to sslc documents
* edited the description of command line options.
* removed old references of dos4gw.exe (only for pre-2.10) and FSE.
2024-03-11 10:08:31 +08:00
NovaRain 596b485d9c Fixed the clickability issue of the "Use Inventory Item On" action
* the game would execute the default action for the overlapped object
instead of the player using the item.

(ref. BGforgeNet/Fallout2_Restoration_Project#271)
2024-03-05 10:40:10 +08:00
NovaRain ae53c9586a Updated npcarmor.ini based on new NPC armor mod
(ref. BGforgeNet/Fallout2_NPC_Armor@ca93bb6)
2024-03-05 10:31:16 +08:00
NovaRain 7b53814c82 Updated npcarmor.ini based on newer RPU (v27+)
(ref. BGforgeNet/Fallout2_NPC_Armor#5)
2024-03-04 11:52:52 +08:00
NovaRain e9b40f5491 Tweaked the log for loading global scripts
* it should be after the game scripts check.
2024-03-03 00:01:07 +08:00
NovaRain 71a7545445 Added additional check to AI weapon switching fix 2024-02-29 13:19:30 +08:00
NovaRain 42ab38a333 Minor edits to ddraw.ini 2024-02-26 09:27:21 +08:00
NovaRain c540ce8e72 Fixed unnecessary path searching for loading external wrapper
(ref. https://github.com/sfall-team/sfall/issues/504#issuecomment-1962314458)
2024-02-24 20:47:31 +08:00
NovaRain 3db8ed3381 Cosmetic edits: unified indentation of switch-case 2024-02-22 08:39:25 +08:00
NovaRain de009eec4e Added support for an external DirectDraw wrapper
(#504)
2024-02-22 08:36:27 +08:00
NovaRain 9268776736 Added a note about external wrapper to ddraw.ini 2024-02-22 08:35:58 +08:00
NovaRain c09ed0565b Further attempt to keep DD7+no windowed for external wrapper 2024-02-20 10:40:27 +08:00
NovaRain e57f9b5503 Disallowed DX9 mode when using external wrapper 2024-02-19 22:07:44 +08:00
NovaRain 39ed1d313f Code correction to the previous commit 2024-02-18 01:04:51 +08:00
NovaRain 510bd6ddeb Added a basic loading process for external ddraw wrapper
Changed sfall to DD7 if bult-in HRP is enabled but f2_res.ini is
missing.
2024-02-17 19:00:56 +08:00
NovaRain c0f11b7a46 Fixed critical hit message for super mutants
* judging from combat.msg, the fix has been applied to a wrong
bodypart since 2.8b.
2024-02-17 07:52:03 +08:00
NovaRain 1cb1284787 Fixed the game disappearing from the taskbar after using Alt+Tab
Code change to the input patch.
Updated version number.
2024-02-16 09:26:01 +08:00
NovaRain af2fdb5153 Updated changelog 2024-02-12 20:45:09 +08:00
NovaRain 22fbac8b9f Added a fix to prevent integer overflow for inven item stacks
* This is more of a preventive fix because now it's easier to cause
integer overflow with add_mult_objs_to_inven. Also in case people
use save editor and set silly values to their items.
2024-02-12 09:51:05 +08:00
NovaRain b8fe8cb4e3 Fixed the modulo operator for negative integers
* this changes the behavior of vanilla modulo operator to use signed
integer division to match how the fixed division operator works.
2024-01-25 10:19:23 +08:00
NovaRain 4f786f3302 Changed the fix for add_mult_objs_to_inven
(to allow adding more than 99999 instances of an object in one go)
2024-01-24 09:40:59 +08:00
NovaRain ff650d8007 Added missing level cap to XPTable (fixed a hang) 2024-01-15 14:29:47 +08:00
NovaRain 9e4ac57775 Fixed log entry for PatchFileXX options
(also allow using ".\\", as it cannot escape the game folder.)
2024-01-11 21:38:58 +08:00
NovaRain bfbbc339d0 Updated version number and year 2024-01-02 10:28:17 +08:00
NovaRain ea9a701f51 Fixed functions.yml 2023-12-27 13:25:19 +08:00
NovaRain 7e47607781 Added reg_anim_animate_and_move script function (closes #497) 2023-12-27 13:18:52 +08:00
NovaRain cfcc66ad1a Fixed right arm critical hit messages for some critter types
(BGforgeNet/Fallout2_Restoration_Project#256)
2023-12-19 21:01:36 +08:00
NovaRain ff5c9c9cfc Tweaked the condition check for instadeath fix 2023-12-15 20:44:29 +08:00
NovaRain dcbe6c9c7e Fixed 0 dmg instadeath crits with HOOK_COMBATDAMAGE 2023-12-15 09:17:19 +08:00