NovaRain
d654233614
Fixed issues related to negative weapon ammo
...
(ref. alexbatalov/fallout2-ce#443 )
Fixed freeze when reloading an overloaded weapon via the interface bar.
2025-01-19 15:10:55 +08:00
NovaRain
6f9d1fc1f8
Added German and French resource files
2025-01-14 12:32:06 +08:00
NovaRain
fee5b7daa1
Reduced the green tone of the message window
...
(less pixelated colors and for text clarity)
Updated resource files.
2025-01-11 14:22:42 +08:00
NovaRain
f36f204dd7
Fixed map lighting from Night Vision perk
...
* Before the perk effect only kicked in when map update proc ran after
game load. Now the delay is much shorter.
2025-01-09 10:47:26 +08:00
NovaRain
cc7e471df0
Added setting about Comprehension perk to perks.ini
2025-01-07 11:58:45 +08:00
NovaRain
4b8478911e
Added setting about Night Vision perk to perks.ini
...
Updated version number.
2025-01-05 21:05:59 +08:00
NovaRain
deb6d2d0ea
Cosmetic edits: updated year
2025-01-05 17:30:52 +08:00
NovaRain
1354ff2ec6
Updated changelog
2024-12-04 09:06:45 +08:00
NovaRain
38eed54c9f
Added upper limit to WorldMapDelay2
2024-11-22 12:50:07 +08:00
NovaRain
5230d0aeca
Tweaked how XPTable data was loaded
...
* to align hook functions with the engine functions they replaced.
2024-11-19 21:55:57 +08:00
NovaRain
62f9eb1987
Removed unnecessary selfrun file creation
...
* autoplay was disabled in 3.8.30 (commit 6c2eb479 )
Updated version number.
2024-10-14 10:56:09 +08:00
NovaRain
ef791b872a
Updated version number and changelog
2024-09-15 12:45:36 +08:00
NovaRain
bbf8e84696
Fixed the behavior of game_loaded script function
...
(always returned 1 when called from normal scripts)
- Revert the changes to ScriptExtender.cpp in commit 9149df1 , and use
unordered_set instead of vector for caching script program pointers.
2024-09-10 09:52:21 +08:00
NovaRain
b8add3dec5
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:22:31 +08:00
NovaRain
d3ff9d04b4
Fixed object_fix_weapon_ammo_ engine function
...
(was incorrectly checking Misc "object" type instead of item subtype.)
2024-08-14 14:42:20 +08:00
NovaRain
587ca5bee1
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:20:28 +08:00
NovaRain
20bf2ce145
Added a tweak to restore the sneak state when switching between maps
...
(can be overridden with map_enter/exit_p_proc in global scripts)
Minor edit to function notes.
2024-07-31 08:23:03 +08:00
NovaRain
486c897243
Added new HOOK_BUILDSFXWEAPON
...
* Hook for gsnd_build_weapon_sfx_name
* Fixed long name ACM crash in AutoSearchSFX
* Updated documents
2024-07-19 19:51:04 +08:00
NovaRain
87eca4898a
Scripting headers: add material-related constants, minor lib extensions
2024-07-18 08:36:30 +08:00
NovaRain
3515dac146
Prevent unnecessary toggling of the tags in show/hide_iface_tag
2024-07-16 10:54:42 +08:00
NovaRain
73deda86c8
Fixed the skilldex art for the hero appearance mod ( #555 )
...
* the info card doesn't refresh properly due to cached FRM.
2024-07-07 18:18:49 +08:00
NovaRain
d39535e0a6
Fixed inconsistent behavior of escaped percent sign in sprintf/string_format
...
Minor code edits to LoadGameHook.cpp.
2024-07-06 22:17:10 +08:00
NovaRain
5c246ba614
Reverted GameReset in LoadGameHook.cpp to pre-3.8.29 behavior
...
(when the engine's game_reset is called, sfall will reset modules as
well for consistency.)
2024-06-29 17:34:15 +08:00
NovaRain
33943bb6ff
Added OutlineColorContainers/Corpses to the built-in item highlighting
...
Minor code refactor of the built-in item highlighting.
Updated version number.
2024-06-28 22:11:00 +08:00
NovaRain
81f4af927b
Synced item highlighting mod with 4.x
2024-06-28 21:14:46 +08:00
NovaRain
e2dcb3e0b2
Updated changelog and readme
2024-06-19 20:44:23 +08:00
NovaRain
88197f7fed
Corrected proto pid offset in define_extra.h
2024-06-17 15:21:56 +08:00
NovaRain
0b14111472
Further simplification of the previous commit
...
Updated sslc_readme.md.
2024-06-15 19:08:04 +08:00
NovaRain
8448a24339
Added a tweak to prevent "forever" type of animation from stopping when entering combat
2024-06-09 14:15:30 +08:00
NovaRain
388a5de994
Changed the game mode check in gl_highlighting_lite
...
* now opening other interfaces (inventory, options, etc.) will also
turn off highlight.
2024-06-09 12:09:05 +08:00
NovaRain
803eeb4d27
Fixed crash on game save (due to commit 0409eb67)
2024-06-09 06:27:02 +08:00
NovaRain
2714b3bfc8
Expanded show/hide_iface_tag functions to work with tag value 0 (sneak)
...
Updated documents.
2024-06-07 08:08:13 +08:00
NovaRain
0409eb67e4
Minor code edits: replace some push/pop in ASM with pushadc/popadc pair
2024-06-06 21:56:45 +08:00
NovaRain
ea74ff7d0c
Added ItemMoveSkipDragKey from 4.x
2024-06-06 21:50:48 +08:00
NovaRain
e05010c752
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:48:49 +08:00
NovaRain
9f8a5b4766
Fixed possible crash in BoxBarCount
2024-06-03 09:29:05 +08:00
NovaRain
6a773780a7
Backported the per-line msg fallback from 4.x
...
Renamed PartyMemberNonRandomLevelUp for clarity.
2024-06-03 09:23:21 +08:00
NovaRain
e2ad532607
Added a new attrType value to get_window_attribute
...
Added PAUSEWIN (Ctrl+P) to LoadGameHook game modes.
Fixed crash in interface_art_draw (when drawing beyond window bounds).
Fixed assert fail when calling sfall_func7+
Edits to documents.
2024-06-02 09:12:56 +08:00
NovaRain
181560265f
Fixed NPCAutoLevel and set_npc_level opcode
...
- Now properly doesn't shift first level up too early and doesn't set "early" flag
- Fixed using set_npc_level without disabling engine leveling logic
- Renamed to PartyMemberNoEarlyLevelUpPatch to match behavior
2024-06-02 08:43:38 +08:00
NovaRain
ca42b01193
Added new arguments to HOOK_ENCOUNTER
...
* to determine which encounter is being loaded, not just map ID.
Updated the document and header files.
2024-05-31 15:11:40 +08:00
NovaRain
73ac86d493
Updated healing skills example mod
...
(fix inaccurate behavior and refactoring)
2024-05-28 21:44:33 +08:00
NovaRain
7dc499eb24
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:30:52 +08:00
NovaRain
944a1be064
Added 'DontMoveTop' flag to the interface bar
...
* to prevent the interface bar from obscuring the barter/trade interface
when using the hi-res patch.
2024-05-27 22:26:22 +08:00
NovaRain
bc882680e4
Added patch for healing time on worldmap and set_world_map_heal_time
...
* the time interval check is tied to real time clock, instead of game time.
2024-05-27 21:56:54 +08:00
NovaRain
cfcfa21afe
Reverted speed patch/keys behavior to pre-3.8.15
...
* 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:39:42 +08:00
NovaRain
0095ec212b
Added healing skills example mod from 4.x
2024-05-24 08:55:01 +08:00
NovaRain
83d8104ed8
Added "item" type to the party member protos patch
...
(for the car trunk)
2024-05-24 08:51:04 +08:00
NovaRain
c74ddc1cbc
Backported ItemCounterAutoCaps from 4.x
2024-05-23 20:17:49 +08:00
NovaRain
0746d6b483
Header lib: refactor inven_as_array and add proper jsdoc defs to all comments
...
- inven_as_array was allocating blocks of 100 items which was unnecessary
2024-05-20 20:20:56 +08:00
NovaRain
3c8ec03e30
Add useful comments to most header lib procs and macros
2024-05-19 07:27:43 +08:00
NovaRain
0b67cb4125
Fixed the missing hotkeys for additional elevators derived from the original elevator types
...
(ref. BGforgeNet/Fallout2_Restoration_Project#290 )
2024-05-18 15:17:22 +08:00
NovaRain
e84c5fdc1d
Added setting about Cautious Nature perk to perks.ini
2024-05-17 21:06:01 +08:00
NovaRain
a56162c949
Backported the options for internal debug window
2024-05-14 21:33:11 +08:00
NovaRain
272b082d72
Removed duplicate implementation in round() script function
...
* there's a lroundf implementation already in Tiles.cpp.
2024-05-12 13:56:05 +08:00
NovaRain
4f43a47a09
Sync ExtraArt module with 4.x
...
Removed duplicate FRMs from repo.
Rename all interface FRMs to lowercase.
Updated resource files.
2024-05-12 13:47:48 +08:00
NovaRain
9c97d0da44
Removed unnecessary error message when AutoSearchSFX is enabled
...
Removed leftover from devlog_f() in release builds.
2024-05-11 00:23:11 +08:00
NovaRain
c1b279f2fa
Implemented ExtraArt module from 4.x
...
Changed ASM code in BugFixes.cpp and Inventory.cpp to match 4.x
2024-05-11 00:19:17 +08:00
NovaRain
3ebc4326c5
New metarule to read art size + DrawImage refactoring
...
- Fix inconsistent and duplicate FRM-related struct definitions
- Clean up code, especially around using PCX files
- When FID is used, read FRM directly from ArtCache instead of from disk
- When path is used, cache loaded FRM/PCX files
- Add art_frame_data to read FRM/PCX size by FID/filename
Updated docs and sfall.h for art_frame_data script function
2024-05-08 09:02:31 +08:00
NovaRain
257a1f7b33
Tweaked the check for stretch to fit of AVI movies
2024-05-06 23:38:23 +08:00
NovaRain
a66db5a386
Backported ExpandWorldMap from 4.x
2024-05-06 08:42:02 +08:00
NovaRain
db547212e8
Fixed PlayIdleAnimOnReload causing critters to lose highlights in combat
...
* happens when the Target Highlight pref is set to "targeting only".
2024-05-02 09:45:38 +08:00
NovaRain
10ffa66256
Added a check for NPC being dead to NPCsTryToSpendExtraAP
2024-05-02 08:47:21 +08:00
NovaRain
9734d18d68
Added signal_close_game script function
...
Updated documents and version number.
2024-04-24 08:57:23 +08:00
NovaRain
e706fba989
Updated changelog
2024-04-19 08:42:19 +08:00
NovaRain
884c00ffeb
Reverted ScriptValue DataType from long to short (sync with 4.x)
...
Updated version number.
2024-04-18 22:23:39 +08:00
NovaRain
78ef06c8e6
Text edits to INI files
2024-04-18 20:48:58 +08:00
NovaRain
d75d46d281
Updated changelog
2024-04-04 22:51:14 +08:00
NovaRain
fc1d9dbfc2
Removed SpeedInterfaceCounterAnims=3 (now default behavior)
2024-04-01 17:21:34 +08:00
NovaRain
b50dcaa151
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:57:10 +08:00
NovaRain
53f427fcac
Minor code edits
2024-03-28 08:35:15 +08:00
NovaRain
818c2eb6b2
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:20:36 +08:00
NovaRain
ad2b9ab0fb
Added a new example mod gl_molotov
2024-03-26 12:15:15 +08:00
NovaRain
46349c5d69
Fixed add_extra_msg_file loading the same msg file more than once ( #467 )
...
Minor code edits.
Updated version number.
2024-03-22 12:09:14 +08:00
NovaRain
8a8455efea
Added a new example mod gl_static_books
2024-03-14 10:20:42 +08:00
NovaRain
6e7ba2f5b9
Restored support for pre-SSE processors
...
(revert commit c9712f7 )
* the codegen optimization from VS2010 isn't much (e.g. the number of
CMOVcc), so better to make 3.8.x focus on wider compatibility.
2024-03-14 10:17:43 +08:00
NovaRain
da08bdbf83
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:10:03 +08:00
NovaRain
dc97dad94c
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:41:09 +08:00
NovaRain
82cf074845
Updated npcarmor.ini based on new NPC armor mod
...
(ref. BGforgeNet/Fallout2_NPC_Armor@ca93bb6 )
2024-03-05 10:32:01 +08:00
NovaRain
8e95b2d8f6
Updated npcarmor.ini based on newer RPU (v27+)
2024-03-04 11:53:46 +08:00
NovaRain
81638168c2
Tweaked the log for loading global scripts
...
* it should be after the game scripts check.
2024-03-03 00:01:37 +08:00
NovaRain
56459ee5f0
Added additional check to AI weapon switching fix
2024-02-29 13:21:08 +08:00
NovaRain
35276dfe59
Added support for an external DirectDraw wrapper
2024-02-26 09:28:03 +08:00
NovaRain
0400671f38
Cosmetic edits: unified indentation of switch-case
2024-02-22 08:41:45 +08:00
NovaRain
30cb8b7ee9
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:56 +08:00
NovaRain
273c44e788
Fixed the game disappearing from the taskbar after using Alt+Tab
...
Code change to the input patch.
Updated version number.
2024-02-16 09:30:16 +08:00
NovaRain
4ef8986bda
Updated changelog
2024-02-12 20:45:37 +08:00
NovaRain
dbf5e36b86
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:57:22 +08:00
NovaRain
386d373376
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:20:41 +08:00
NovaRain
360037a2fd
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:45:05 +08:00
NovaRain
a3c8f0f609
Added missing level cap to XPTable (fixed a hang)
2024-01-15 14:30:27 +08:00
NovaRain
7dda156ee7
Fixed log entry for PatchFileXX options
...
(also allow using ".\\", as it cannot escape the game folder.)
2024-01-11 21:40:34 +08:00
NovaRain
31a5dbc61c
Updated version number and year
2024-01-02 10:31:08 +08:00
NovaRain
c476e54db0
Added reg_anim_animate_and_move script function
2023-12-27 13:21:40 +08:00
NovaRain
95dc75da38
Fixed right arm critical hit messages for some critter types
...
(BGforgeNet/Fallout2_Restoration_Project#256 )
2023-12-19 21:02:19 +08:00
NovaRain
e276c59447
Tweaked the condition check for instadeath fix
2023-12-15 20:45:30 +08:00
NovaRain
1c3e2f2eb1
Fixed 0 dmg instadeath crits with HOOK_COMBATDAMAGE
2023-12-15 09:18:26 +08:00
NovaRain
3dcc26a739
Fixed skipping to lv99 when leveling up from lv97
...
(mentioned in Per's guide)
Minor code edits.
2023-12-04 21:53:26 +08:00
NovaRain
8ef6a66134
Use proper size directives in ASM code
2023-12-02 18:32:19 +08:00
NovaRain
0bba6ccb54
Engine now uses 'English' as the fallback language for the credits
...
Updated version number.
2023-11-30 22:44:17 +08:00
NovaRain
8f846eda6e
Updated changelog for better clarity
2023-11-20 21:28:42 +08:00