Commit Graph
100 Commits
Author SHA1 Message Date
NovaRain 63606b96d7 Updated version number and changelog
Minor code edits to BugFixes.cpp.
2026-06-03 19:17:48 +08:00
NovaRain d6946c8b65 Re-added NumberPatchLoop option to ddraw.ini 2026-06-01 13:29:39 +08:00
NovaRain 96eab6efff 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:13:26 +08:00
NovaRain e277bbbe9a Reordered functions in MiscPatches.cpp & Worldmap.cpp
* grouping patch functions and their ASM hacks together for easier
checking.
2026-05-29 22:38:06 +08:00
NovaRain 1f18d06f9b 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:18:23 +08:00
NovaRain 9f0a3e43de Fixed typo in sound debug output 2026-05-28 13:15:23 +08:00
NovaRain 1e1eeda287 Corrected the object ID range for party members 2026-05-27 09:52:31 +08:00
NovaRain 17383dbd64 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:42:38 +08:00
NovaRain d74ec5f4fa Removed ExtraSaveSlots from ddraw.ini (always enabled)
Changed the maximum number of save slots to 1000 (10k was overkill).
2026-05-23 00:12:57 +08:00
NovaRain d9ee190435 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:02:10 +08:00
NovaRain b4495f01e9 Changed the character portrait on the char screen
* now it's always in ANIM_stand instead of current action frame.
2026-05-17 16:57:30 +08:00
NovaRain d8ae063298 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:05:46 +08:00
NovaRain 9b92adfa51 Disallowed negative cost for set/get_inven_ap_cost 2026-05-11 13:34:18 +08:00
NovaRain 06c5779475 Code edits to ApplyInvenApCostPatch 2026-05-08 14:40:42 +08:00
NovaRain 53a2a11521 Tweaked the position of item counter/timer window
* now they are centered in the game view (CE style) except when in
dialog screen with DIALOG_SCRN_BACKGROUND=0.
2026-05-06 21:18:53 +08:00
NovaRain c3dae6db57 Increased decompression buffer size to 4KB
(ref. fallout2-ce/fallout2-ce#439)
2026-05-05 21:11:12 +08:00
NovaRain 86e1425044 Added a tweak to center inventory windows when not using HRP
Shorten inventory window enum names.
2026-05-04 11:02:44 +08:00
NovaRain b54b86b33c Cosmetic edits: remove unnecessary size directives
* verified the compiled binary is still the same.
2026-05-03 09:31:51 +08:00
NovaRain f4eaaccc57 Added a file size check for scripts
* this is for filtering out some clearly defective (or not even valid)
scripts.
2026-04-24 21:37:46 +08:00
NovaRain fb47779d4c 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:24:37 +08:00
NovaRain 91cc37dc17 Fixed HOOK_REMOVEINVENOBJ not being triggered
* when using drug/misc item from active item slots (closes #623)
2026-04-21 21:25:53 +08:00
NovaRain 9c6d7bfdd2 Moved HP/flag setting earlier in critter_kill_ engine function
(mainly for HOOK_ONDEATH, ref. fallout2-ce/fallout2-ce#384)
2026-04-20 09:52:01 +08:00
NovaRain 3b836fdf73 Replaced serial single-byte NOPs with long NOPs
(the sequence is 5-byte long NOPs with trailing single-byte NOPs)
2026-04-19 20:38:10 +08:00
NovaRain e3a133e3aa Fixed ONDEATH hook being incorrectly triggered by non-critter objects
(when calling kill_critter on a non-critter obj)
2026-04-17 23:05:56 +08:00
NovaRain 81e612f383 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:54:35 +08:00
NovaRain 490934bb3c Fixed AP cost display on game load when using CALCAPCOST hook
(ref. fallout2-ce/fallout2-ce#376)
2026-04-16 10:29:46 +08:00
NovaRain 68d721773e Simplified the code in commit db4f0cb8 2026-04-14 21:59:10 +08:00
NovaRain 31df2d5c98 Added #pragma sce to all scripts that require -s option 2026-04-14 11:27:22 +08:00
NovaRain db4f0cb8d5 Fixed garbled colors when SkipOpeningMovies=1
(ref. fallout2-ce/fallout2-ce#372)
2026-04-14 11:03:39 +08:00
NovaRain 67c74888b4 Fixed a visual glitch on the char screen when selecting gain xxx perks
(ref. fallout2-ce/fallout2-ce#367)
2026-04-11 21:33:33 +08:00
NovaRain 1ee135611d Increased the maximum party member level from 6 to 10 (closes #621)
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:01:25 +08:00
NovaRain bfbdea7e83 Removed GlobalScriptPaths option
* 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 08:54:46 +08:00
NovaRain a273969756 Fixed crash when calling proto_data with invalid data member
(ref. BGforgeNet/Fallout2_Restoration_Project#381)
2026-04-05 08:29:20 +08:00
NovaRain a14f3d14a3 Updated resource files for the previous commit 2026-04-02 13:39:59 +08:00
NovaRain cc61526f69 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:47:12 +08:00
NovaRain 5c4b1ffea1 Updated nokogiri version in Gemfile.lock 2026-04-01 22:31:35 +08:00
NovaRain 4e9eb06988 Try updating some components in Gemfile 2026-04-01 22:27:49 +08:00
NovaRain 7cd30956a7 Edited the description of inc_npc_level in scripting docs
Cosmetic edits: removed trailing spaces in some source files.
2026-04-01 22:24:53 +08:00
NovaRain c28d8c0d2b Deprecated two-argument form of add_extra_msg_file
Edits to scripting documents.
2026-03-26 12:09:32 +08:00
NovaRain 7b3f69f496 Fixed glitched map when the encounter table has no available entries
(ref. fallout2-ce/fallout2-ce#313)

Updated sslc document.
2026-03-20 11:18:45 +08:00
NovaRain 41fd1e3495 Fixed +/- not updating brightness slider when used on the Pref screen
(ref. fallout2-ce/fallout2-ce#298)
2026-03-15 07:55:23 +08:00
NovaRain a8490f1913 Changed the timing of setting OPTIONS game mode flag
* now it is toggled when creating/deleting the Preferences window.
2026-03-14 20:20:33 +08:00
NovaRain f5bc53d780 Fixed the root cause of crash in PrepareGlobalScriptsListByMask
* Calling convention violation - v141_xp uses ebx to store reference,
but db_get_file_list does not preserve it.
* v140_xp uses esi instead, which is preserved by the engine function.
* Reverted some code changes in ScriptExtender.cpp.
2026-03-12 21:32:04 +08:00
NovaRain 38e1eaef64 Updated version number and changelog 2026-02-25 22:04:49 +08:00
NovaRain f408534ce4 Cosmetic edits: renamed some return addr variables in hacks 2026-02-25 21:16:06 +08:00
NovaRain e9c73e6dd3 Updated web document for set_pipboy_available script function 2026-02-24 08:34:20 +08:00
NovaRain bac9e630f9 Added a safeguard to the death animation fix on combat start 2026-02-23 15:23:23 +08:00
NovaRain 1e950f5172 Updated version number and changelog 2026-02-11 22:07:01 +08:00
NovaRain b7c34813bf Removed unnecessary/unused return value in critter_mod_skill function 2026-02-11 22:05:58 +08:00
NovaRain 29b6d4ba10 Removed misleading parens from functions without args in documents 2026-01-27 16:37:08 +08:00
NovaRain 84d8d80d30 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:07 +08:00
NovaRain b3c5fad981 Code edits to ProcessorIdle
* use proper QS_ALLINPUT as it includes QS_RAWINPUT for WinXP+.
* set the option enabled by default.
2026-01-15 09:20:17 +08:00
NovaRain 7e74abf78f Added settings about the mirrored shades to tweaks.ini
Updated the description of Fallout1Behavior.
2026-01-13 14:23:02 +08:00
NovaRain ed1f926d36 Expanded the functionality of Fallout1Behavior
* FO1 initial in-game time is 7:21 rather than 8:24.
2026-01-10 20:34:54 +08:00
NovaRain 5ac1b23bc6 Updated expanded UI FRMs and resource files 2026-01-09 20:09:55 +08:00
NovaRain 19d0f5c16a Fixed edge-scrolling speed in the world map
* commit a3383fd only fixed when in normal game maps.
2026-01-04 12:36:23 +08:00
NovaRain c44fe84cc4 Re-ordered Unarmed module init
* to prevent a specific display issue in the inventory (#603)
2026-01-03 20:40:50 +08:00
NovaRain a3383fdf7f Fixed edge-scrolling speed when using the speed tweak
(closes #523)
2026-01-01 20:22:13 +08:00
NovaRain 2ed856deaf Cosmetic edits: updated year 2026-01-01 20:16:39 +08:00
NovaRain 3a3dd2f5f5 Added a safeguard to the single-frame death anims tweak
Updated version number.
2025-12-05 16:47:07 +08:00
NovaRain c794acdc24 Tweaked interface bar FRM
* to better sync with HRP's 800px one.

Updated resource files.
2025-11-12 22:48:42 +08:00
NovaRain eddea58cf0 Updated expanded barter/trade UI for Chinese
Updated Chinese resource file.
2025-10-28 08:34:07 +08:00
NovaRain 961b52d8e3 Fixed glitched pixels in expanded barter/trade UI for Russian
Updated Russian resource file.
2025-10-27 14:57:08 +08:00
NovaRain ff7bddf32f Edited the description of some legacy options to make them explicitly clear 2025-10-23 08:55:45 +08:00
NovaRain 0ad8b5484e Updated version number and changelog
Edits to sfall opcode list.
2025-10-09 19:24:45 +08:00
NovaRain e6f4ae3c6c [HRP] Fixed splash screen display when packed in an uncompressed .dat 2025-10-05 11:09:47 +08:00
NovaRain 10671ddf46 [HRP] Fixed a crash and a visual glitch in the interface bar
* when the game width is greater than side panel graphics + iface bar.
(closes #598)
2025-09-28 10:08:11 +08:00
NovaRain e7f6f6fd73 Try to fix gh-pages workflow
Increased the retention period for GHA artifacts
2025-09-17 21:03:20 +08:00
NovaRain 08b3942670 Updated Russian translation file 2025-09-17 20:51:06 +08:00
NovaRain 90dfe16b22 Added support for switching the keyboard layout
(from Crafty, closes #590)

Minor edits to some documents and LoadOrder.cpp.
2025-09-17 20:47:04 +08:00
NovaRain a0967aa12a Fixed the upper limit when applying mouse sensitivity 2025-09-11 22:11:37 +08:00
NovaRain 3a7b77404c 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:24 +08:00
NovaRain 4516bf7935 Added splash screen fallback to Mash's HRP (4.1.8 only)
Condensed some code in HRP\init.cpp.
2025-08-28 09:07:16 +08:00
NovaRain 82567d1b9c Code fixes/edits to the previous commit
* nonEngLang didn't get set when using Mash's HRP.
2025-08-27 10:29:45 +08:00
NovaRain abdfd94806 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:10:44 +08:00
NovaRain a7850bd54a Fixed file seeking in uncompressed .dat files
(ref. fallout2-ce/fallout2-ce#244)
2025-08-24 09:44:52 +08:00
NovaRain 9996b60aae 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:10:17 +08:00
NovaRain 1fb58e3aa4 Updated version number and changelog 2025-07-26 19:03:22 +08:00
NovaRain 54bd7149fa Bump nokogiri from 1.18.8 to 1.18.9 in /docs 2025-07-22 13:08:40 +08:00
NovaRain 2c0a1e1e99 Updated sslc readme
Recompiled gl_npcarmor due to sslc fixes.
2025-07-14 10:21:50 +08:00
NovaRain d839bd697d Updated GitHub Actions setup
- Switch to Windows 2022 runner
- Install v140 toolset via Chocolatey (for some reasons trying to add
related components to VS2022 would hang the workflow.)
2025-07-07 11:12:31 +08:00
NovaRain 13c3ac8db5 Removed unnecessary code in SingleCore option
* GetCurrentProcess returns a pseudo handle, with which calling the
CloseHandle function has no effect.
2025-07-05 19:31:16 +08:00
NovaRain 03af7b193d Updated readme about using VS build tools 2025-06-25 10:29:17 +08:00
NovaRain 0e2317fd4c Fixed slightly misaligned buttons in the barter screen
(ref. fallout2-ce/fallout2-ce#204)
2025-06-11 21:42:56 +08:00
NovaRain 71ecec3d40 Updated use.frm/use_e.frm
(use invbox.frm as the base instead of loot.frm)
2025-06-02 10:01:04 +08:00
NovaRain 930d1e8a03 Improved the error handling for missing main .dat files
(ref. fallout2-ce/fallout2-ce#172)
2025-05-31 08:52:33 +08:00
NovaRain 3a9dcc1945 Fixed slightly misaligned buttons in the character screen
(ref. fallout2-ce/fallout2-ce#154)
2025-05-26 21:44:28 +08:00
NovaRain 089a1831f1 Fixed slightly misaligned buttons in the pipboy
(ref. fallout2-ce/fallout2-ce#147)
2025-05-24 08:05:00 +08:00
NovaRain 2f7d8a6db9 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:25:02 +08:00
NovaRain b65024f039 Added lowercase 'a' as a hotkey for the 'Take All' button
(previously only uppercase 'A')
2025-05-22 08:43:22 +08:00
NovaRain da47ee5134 Improved the clearing of floating text messages after map change
(ref. fallout2-ce/fallout2-ce#115)
2025-05-13 22:00:54 +08:00
NovaRain 17afecf5ca 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:10 +08:00
NovaRain 74dca891a1 Minor code edits to Stats.cpp 2025-05-11 09:32:16 +08:00
NovaRain aa3ac70949 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:53:48 +08:00
NovaRain 8622917e12 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:38:33 +08:00
NovaRain b2ccf26bd5 Improved the previous commit
* now the buttons have proper press/release sfx.
2025-05-02 21:23:55 +08:00
NovaRain 3b33131280 Added missing click sound to the buttons in the combat control panel
Updated version number.
2025-04-29 10:19:27 +08:00
NovaRain d16f1bc60c Correction to the previous commit
* shouldn't modify the string in-place.
2025-04-13 16:39:09 +08:00
NovaRain 3b9348dd69 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:07:09 +08:00
NovaRain d95780aa7c Updated changelog 2025-04-09 09:23:23 +08:00