Commit Graph
100 Commits
Author SHA1 Message Date
NovaRain b919c21939 Updated version number and changelog
Minor code edits to BugFixes.cpp.
2026-06-03 19:19:31 +08:00
NovaRain 827e56cd1f Re-added NumberPatchLoop option to ddraw.ini 2026-06-01 13:30:31 +08:00
NovaRain 2da022672c Tweaked obj distance check in action_* engine functions
* use path length instead of tile distance to determine whether to walk
or run to interact with objects.

(ref. fallout2-ce/fallout2-ce#248)
2026-05-31 21:14:39 +08:00
NovaRain 93f982730d Reordered functions in MiscPatches.cpp & Worldmap.cpp
* grouping patch functions and their ASM hacks together for easier
checking.
2026-05-29 22:39:35 +08:00
NovaRain 919b17efe1 Reduced the number of trailing NOPs for MakeCall/Jump
* when the trailing length is longer than 4 bytes, it will use a mix of
5-byte long NOPs and single-byte NOPs.
2026-05-29 09:19:09 +08:00
NovaRain 48472bd4bc Fixed typo in sound debug output 2026-05-28 13:16:18 +08:00
NovaRain f0d0e4e801 Corrected the object ID range for party members 2026-05-27 09:54:38 +08:00
NovaRain 7c0c7163cf Fixed set_unique_id script function
* it unassigned unique ID even when the object doesn't have one.
* it didn't sync the attached script's owner id after unassignment.

Added a safeguard to prevent item_identical function returning false
when comparing a unique_id item to itself.

(ref. fallout2-ce/fallout2-ce#466)
2026-05-25 14:45:33 +08:00
NovaRain 7d614ab8b1 Removed ExtraSaveSlots from ddraw.ini (always enabled)
Changed the maximum number of save slots to 1000 (10k was overkill).
2026-05-23 00:15:50 +08:00
NovaRain 8967e95f0f Added a new value to InstantWeaponEquip
Tweaked the animation sequence when interacting with scenery or using
an item on an object.
2026-05-18 14:03:36 +08:00
NovaRain 675032dddc Changed the character portrait on the char screen
* now it's always in ANIM_stand instead of current action frame.
2026-05-17 16:58:15 +08:00
NovaRain bb768282ef Fixed the morning start time while traveling on the world map
* it starts at 6:01 instead of 6:00, inconsistent with afternoon (12:00)
and night (18:00).

Fixed potential index out of bounds error in wmMapIdxToName_.

(ref. fallout2-ce/fallout2-ce#453)
2026-05-13 10:08:43 +08:00
NovaRain 7542e224dd Disallowed negative cost for set/get_inven_ap_cost 2026-05-11 13:34:59 +08:00
NovaRain a67fa86116 Code edits to ApplyInvenApCostPatch 2026-05-08 14:41:30 +08:00
NovaRain 10720fbc24 Tweaked the position of item counter/timer window when not using HRP 2026-05-06 21:35:04 +08:00
NovaRain 65a107a941 Increased decompression buffer size to 4KB
(ref. fallout2-ce/fallout2-ce#439)
2026-05-05 21:12:27 +08:00
NovaRain 3472ea2d84 Added a tweak to center inventory windows when not using HRP 2026-05-04 11:04:11 +08:00
NovaRain f435c57c33 Cosmetic edits: remove unnecessary size directives
* verified the compiled binary is still the same.
2026-05-03 09:39:31 +08:00
NovaRain 205b43de0a Added a file size check for scripts
* this is for filtering out some clearly defective (or not even valid)
scripts.
2026-04-24 21:39:38 +08:00
NovaRain 74c29ce374 Fixed set/remove_script script functions
* they didn't set the script index number on non-critter objects.

Changed objects_in_radius to accept a radius of 0.

Edits to scripting documents.
2026-04-23 22:28:14 +08:00
NovaRain 2415eb31f2 Backported ActionPointsBar from 4.x
Updated resource files.
2026-04-22 21:09:32 +08:00
NovaRain 17ffdd6791 Fixed HOOK_REMOVEINVENOBJ not being triggered
* when using drug/misc item from active item slots (#623)
2026-04-21 21:26:55 +08:00
NovaRain 0dd40448c2 Moved HP/flag setting earlier in critter_kill_ engine function
(mainly for HOOK_ONDEATH, ref. fallout2-ce/fallout2-ce#384)
2026-04-20 09:57:54 +08:00
NovaRain 3dc0f42728 Replaced serial single-byte NOPs with long NOPs
(the sequence is 5-byte long NOPs with trailing single-byte NOPs)
2026-04-19 20:40:32 +08:00
NovaRain 29a5017f65 Fixed ONDEATH hook being incorrectly triggered by non-critter objects
(when calling kill_critter on a non-critter obj)
2026-04-17 23:07:31 +08:00
NovaRain 3e91b9a7ce Added object type validation to item_weight metarule
Fixed set_critter_current_ap and set_combat_free_move to update
player's AP lights only in combat

Edits to scripting documents.

(ref. fallout2-ce/fallout2-ce#380)
2026-04-17 11:58:57 +08:00
NovaRain 651ba4d95c Fixed AP cost display on game load when using CALCAPCOST hook
(ref. fallout2-ce/fallout2-ce#376)
2026-04-16 10:30:53 +08:00
NovaRain 762f3a858f Simplified the code in commit 6aae703f 2026-04-14 22:00:12 +08:00
NovaRain b13bcb9253 Added #pragma sce to all scripts that require -s option
Renamed all "lite version" script mods to more specific 38x.
2026-04-14 11:33:10 +08:00
NovaRain 6aae703f65 Fixed garbled colors when SkipOpeningMovies=1
(ref. fallout2-ce/fallout2-ce#372)
2026-04-14 11:04:19 +08:00
NovaRain ec9832b6a1 Fixed a visual glitch on the char screen when selecting gain xxx perks
(ref. fallout2-ce/fallout2-ce#367)
2026-04-11 21:37:55 +08:00
NovaRain d4c223a313 Increased the maximum party member level from 6 to 10
Updated scripting documents.

* the game reserves 10 level-up messages for each party member. More
level-ups require either more hacks or renumbering all level-up messages
in misc.msg. Otherwise, one will start using others' lines (e.g. Sulik
says Lenny's lines after lv10).
2026-04-11 00:02:23 +08:00
NovaRain c42bed9ee4 Removed GlobalScriptPaths option (reverted dd97c36)
* storing global scripts across multiple paths is almost never needed,
and no publicly available mod really uses the option. If one doesn't
want to put their global scripts in the main folder, they can always
package the scripts in a mod dat file/folder instead.
2026-04-10 09:05:06 +08:00
NovaRain 4a717a572b Fixed crash when calling proto_data with invalid data member
(ref. BGforgeNet/Fallout2_Restoration_Project#381)
2026-04-05 08:30:01 +08:00
NovaRain 95b5fbafad Updated resource files for the previous commit 2026-04-02 13:40:53 +08:00
NovaRain e8ba875002 Removed AllowLargeTiles option
* Originally, its goal was to bypass the tile FRM limit and save
people's time from splitting tiles. But no one has really used this
option since sfall 2.0 (no bug reports about being broken for many
years). And boosting the limit to 16383 should practically solve the
first goal.

* In the end the option doesn't really do what its name suggests and is
completely unused. Its tile auto-splitting function is also not very
practical.
2026-04-02 11:48:19 +08:00
NovaRain 13deeb3a79 Edited the description of inc_npc_level in scripting docs
Cosmetic edits: removed trailing spaces in some source files.
2026-04-01 22:26:32 +08:00
NovaRain adc5e0e850 Deprecated two-argument form of add_extra_msg_file 2026-03-26 12:11:08 +08:00
NovaRain d287ac194d Fixed glitched map when the encounter table has no available entries
(ref. fallout2-ce/fallout2-ce#313)

Updated sslc document.
2026-03-20 11:19:52 +08:00
NovaRain bd1995c393 Added support for nested array expressions
Fixed load_array script function not accepting floats as array keys.
Added arrays testcase script.
Updated header files.
2026-03-16 09:24:28 +08:00
NovaRain 506f63fb08 Fixed +/- not updating brightness slider when used on the Pref screen
(ref. fallout2-ce/fallout2-ce#298)
2026-03-15 07:56:57 +08:00
NovaRain ae0fb248c9 Changed the timing of setting OPTIONS game mode flag
* now it is toggled when creating/deleting the Preferences window.
2026-03-14 20:24:31 +08:00
NovaRain dd97c36338 Backported GlobalScriptPaths from 4.0 2026-03-13 08:43:33 +08:00
NovaRain 368d632919 Updated version number and changelog 2026-02-25 22:06:06 +08:00
NovaRain 9dabf726e3 Cosmetic edits: renamed some return addr variables in hacks 2026-02-25 21:20:00 +08:00
NovaRain e3c14cda94 Added a safeguard to the death animation fix on combat start 2026-02-23 15:24:39 +08:00
NovaRain 0bb63de958 Updated version number and changelog 2026-02-11 21:40:51 +08:00
NovaRain 70a8eb086f Removed unnecessary/unused return value in critter_mod_skill function 2026-02-11 20:16:09 +08:00
NovaRain 47dad66b58 Removed misleading parens from functions without args in documents 2026-01-27 16:37:49 +08:00
NovaRain 8ec4ed6a0a Code edits to SingleCore to make it run safer
Changed SingleCore to be disabled by default.
(its usage is questionable on newer systems.)
2026-01-16 10:10:28 +08:00
NovaRain 201ecd16f7 Code edits to ProcessorIdle
* include QS_RAWINPUT (0x400) for WinXP+.
* set the option enabled by default.
2026-01-15 09:41:13 +08:00
NovaRain ae3a8f85f5 Added settings about the mirrored shades to tweaks.ini
Updated the description of Fallout1Behavior.
2026-01-13 14:30:08 +08:00
NovaRain b6d8b14f90 Expanded the functionality of Fallout1Behavior
* FO1 initial in-game time is 7:21 rather than 8:24.
2026-01-10 20:36:11 +08:00
NovaRain edd6da5716 Fixed edge-scrolling speed in the world map
* commit 5feeff0 only fixed when in normal game maps.
2026-01-04 12:37:51 +08:00
NovaRain fe9d56030f Re-ordered Unarmed module init (sync with 4.x) 2026-01-03 20:45:25 +08:00
NovaRain 5feeff0c21 Fixed edge-scrolling speed when using the speed tweak
(closes #523)
2026-01-01 20:23:34 +08:00
NovaRain ea79147afe Cosmetic edits: updated year 2026-01-01 20:17:18 +08:00
NovaRain 6535a5f02e Added a safeguard to the single-frame death anims tweak
Updated version number.
2025-12-05 16:48:31 +08:00
NovaRain 265314083d Tweaked interface bar FRM
* to better sync with HRP's 800px one.

Updated resource files.
2025-11-12 22:50:25 +08:00
NovaRain 0367d28bc1 Edited the description of some legacy options to make them explicitly clear 2025-10-23 08:56:39 +08:00
NovaRain 06df287b3a Updated version number and changelog
Edits to sfall opcode list.
2025-10-09 19:26:53 +08:00
NovaRain f57a261339 Updated Russian translation file 2025-09-17 20:51:42 +08:00
NovaRain ee5cdbcd81 Added support for switching the keyboard layout
(from Crafty)

Minor edits to some documents and LoadOrder.cpp.
2025-09-17 20:49:10 +08:00
NovaRain 93416a9450 Fixed the upper limit when applying mouse sensitivity 2025-09-11 22:13:47 +08:00
NovaRain 9a18193060 Added an option to disable Arroyo-related events
Minor fix to DisableSpecialMapIDs (as ID 0 is still a valid map).
Edited some descriptions in ddraw.ini.
2025-08-29 13:23:57 +08:00
NovaRain 95cd72348d Added splash screen fallback to Mash's HRP (4.1.8 only) 2025-08-28 09:08:11 +08:00
NovaRain 0b6a058dff Code fixes/edits to the previous commit
* nonEngLang didn't get set when using Mash's HRP.
2025-08-27 10:33:25 +08:00
NovaRain 6f5ebe76fc Added default path fallback for splash screens
* before the game loaded splash screens only from art\<language>\splash\
if the game language is not English, ignoring the default art\splash\.

Added a global boolean to replace individual game language checks.
2025-08-25 12:16:34 +08:00
NovaRain 4cef7cf72f Fixed file seeking in uncompressed .dat files
(ref. fallout2-ce/fallout2-ce#244)
2025-08-24 09:45:33 +08:00
NovaRain 400f94e302 Fixed crash in an encounter between two groups
* when they are set to fight each other but one group fails to spawn.
(ref. BGforgeNet/Fallout2_Restoration_Project#350)

Updated version number.
2025-08-17 15:11:05 +08:00
NovaRain 0a42f83084 Updated version number and changelog 2025-07-26 19:05:23 +08:00
NovaRain 9f5c8fa946 Updated sslc readme
Recompiled gl_npcarmor_lite due to sslc fixes.
2025-07-14 10:22:59 +08:00
NovaRain a8baf6c331 Removed unnecessary code in SingleCore option
* GetCurrentProcess returns a pseudo handle, with which calling the
CloseHandle function has no effect
2025-07-05 19:32:18 +08:00
NovaRain 2c33b2752b Fixed slightly misaligned buttons in the barter screen
(ref. fallout2-ce/fallout2-ce#204)
2025-06-11 21:43:29 +08:00
NovaRain 01ff118619 Updated use.frm/use_e.frm
(use invbox.frm as the base instead of loot.frm)
2025-06-02 10:03:04 +08:00
NovaRain c90571392b Improved the error handling for missing main .dat files
(ref. fallout2-ce/fallout2-ce#172)
2025-05-31 08:53:08 +08:00
NovaRain 7615e318ca Fixed slightly misaligned buttons in the character screen
(ref. fallout2-ce/fallout2-ce#154)
2025-05-26 21:45:03 +08:00
NovaRain 02f9be78f6 Fixed slightly misaligned buttons in the pipboy
(ref. fallout2-ce/fallout2-ce#147)
2025-05-24 08:05:23 +08:00
NovaRain bd87a49e87 Removed glass glare from use.frm/use_e.frm
* Now they look the same as all other interfaces that have the inventory
list and character portrait (ref. fallout2-ce/fallout2-ce#148)

Updated resource files.
2025-05-24 00:27:42 +08:00
NovaRain 508bcd745c Added lowercase 'a' as a hotkey for the 'Take All' button
(previously only uppercase 'A')
2025-05-22 08:44:12 +08:00
NovaRain 1c12b52303 Improved the clearing of floating text messages after map change
(ref. fallout2-ce/fallout2-ce#115)
2025-05-13 22:02:17 +08:00
NovaRain 7cd059a9a5 Added a safeguard to stat_level engine function
(ref. fallout2-ce/fallout2-ce#76)

Unified the naming style of return addr variables for some ASM code.
2025-05-11 12:07:27 +08:00
NovaRain 9355f84943 Minor code edits to Stats.cpp 2025-05-11 09:32:58 +08:00
NovaRain 5f220d54e4 Fixed potential undefined behavior in FullItemDescInBarter
* due to obj_examine_func_hack_objdesc, item description is coped to
messageBuffer already (max 354 chars), so in most cases desc is the same
as messageBuffer, which should be UB to strncpy_s. MSVC's implementation
seems treating self-copy as no-op, but we shouldn't rely on this
behavior.
2025-05-04 08:55:46 +08:00
NovaRain 0486a43532 Fixed duplicate sound in the "Move Items" and "Set Timer" windows
* happens when clicking the "Done" button.

Fixed crash when a critter with a powered melee/unarmed weapon runs out
of ammo and there is ammo nearby.

Minor code optimization to Interface.cpp, use spare ecx register instead
of the stack for eax value.
2025-05-03 21:39:50 +08:00
NovaRain 9cccb2e45b Improved the previous commit
* now the buttons have proper press/release sfx.
2025-05-02 21:28:19 +08:00
NovaRain b59930d831 Added missing click sound to the buttons in the combat control panel
Updated version number.
2025-04-29 11:01:26 +08:00
NovaRain d996e1f739 Correction to the previous commit
* shouldn't modify the string in-place.
2025-04-13 16:40:08 +08:00
NovaRain 86506b5ec7 Removed visible newline chars when examining items in the barter screen
(ref. #401, #591)

Minor code edits to BugFixes.cpp.
Updated changelog.
2025-04-13 01:10:58 +08:00
NovaRain 8f1813cd0b Moved render.cpp/h files to GUI folder/namespace
Moved newline support hacks from MiscPatches to Text.cpp/h as 4.x.
2025-04-13 00:13:37 +08:00
NovaRain 4e0e98dda9 Updated changelog 2025-04-09 09:23:55 +08:00
NovaRain 8ff09aa10e Minor code edits to Movies.cpp 2025-04-06 12:34:15 +08:00
NovaRain caa64822dd Code edit to the previous commit 2025-04-05 22:16:58 +08:00
NovaRain bad50cd335 Changed the implementation of ProcessorIdle
* now the same as CPU_USAGE_FIX in Mash's HRP, with a simpler toggle
setting.

* also avoids slowdowns if the player happens to enable both of them.
2025-04-05 17:42:17 +08:00
NovaRain 71c8b851e6 Tightened the compatibility mode check (again)
(OS check is now limited to unsupported Windows versions.)
2025-04-04 15:23:06 +08:00
NovaRain 16b2681c79 Reverted commit ef78c35
(found another way to fix freezing issues in Win11 24H2.)
2025-04-03 01:22:14 +08:00
NovaRain 764ab01d9d Fixed out-of-bounds selection in the file list when loading a GCD file 2025-04-02 14:21:56 +08:00
NovaRain ef78c35a30 Reverted part of the optimization for the save/load game screens
(commit a35a4e03, as it could cause the cursor to become unresponsive.)

Updated version number.
2025-03-31 21:55:59 +08:00
NovaRain 2e4998168c Updated version number and changelog 2025-03-20 22:31:04 +08:00
NovaRain eef4571cfe Correction to the previous commit
* should have checked for anim code directly instead of critter flag.
2025-03-18 11:03:24 +08:00