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
NovaRain
572cbd059f
Updated changelog
2023-11-20 10:20:02 +08:00
NovaRain
f02ba1993b
Fixed create_object_sid when passing 0 as the script index number
...
* would result in a crash. Now it allows creating an object with no
script (different from -1, which just doesn't touch default script).
2023-11-14 21:49:36 +08:00
NovaRain
f800b7bb33
Tweaked the position of the ammo bar
2023-10-30 21:33:04 +08:00
NovaRain
de3d6256e3
Fixed incorrect data for saved arrays
...
Updated version number.
2023-10-27 22:43:23 +08:00
NovaRain
ae0f3d6fdc
Fixed crash when calling start_gdialog outside talk_p_proc
...
(the fix was embedded in StartGDialogFix, now it works regardless of
the option.)
2023-10-19 15:18:17 +08:00
NovaRain
f46ffb4ea5
Updated documents (mainly array functions)
2023-10-16 11:34:45 +08:00
NovaRain
c7ecf1c070
Changed the "best armor" score calc to exclude EMP
...
(gameplay mod friendly)
2023-10-07 19:45:19 +08:00
NovaRain
8c277730bf
Updated NPC combat control mod for player's Jinxed trait/perk
...
* controlled critters will now be "Jinxed" as well
2023-10-05 09:26:35 +08:00
NovaRain
898e7bb4e0
Removed AdditionalWeaponAnims from ddraw.ini (always enabled)
...
Updated version number.
2023-10-05 09:11:17 +08:00
NovaRain
3e955572be
Corrected the description of CALCAPCOST hook
2023-09-30 17:18:51 +08:00
NovaRain
7fc5dc47b4
Fixed German translation
2023-08-26 01:41:58 +08:00
NovaRain
71e3ee4801
Improved compatibility with pre-SP4 Win2000
...
Moved the LoadLibrary call out of DllMain entry point.
Updated version number and changelog.
2023-08-24 21:42:27 +08:00
NovaRain
59eacce6be
Updated changelog and other documents
2023-08-21 14:24:44 +08:00
NovaRain
ff53d2515d
Fixed UpdateHPStat() for not properly capping HP
...
* when a critter has modified base value of max HP in its proto.
2023-08-09 10:30:58 +08:00
NovaRain
8fd5182bb5
Renamed "string_pos" function to "string_find"
2023-08-09 08:57:03 +08:00
NovaRain
2677d9faa7
Fixed the backward compatibility of get_npc_level
...
(broken in commit 347dc85 )
2023-08-04 09:15:01 +08:00
NovaRain
9fe3ed5d98
Headers update
...
- Synced a small number of defines from RPU headers
- Removed duplicate defines from define_lite
2023-07-31 20:55:34 +08:00
NovaRain
e6610c4bbe
Expanded the engine perk options in perks.ini
2023-07-31 20:54:54 +08:00
NovaRain
31630f6627
Added build instructions to readme
2023-07-27 08:24:47 +08:00
NovaRain
489f62f5cb
Header fixes
...
- Fix conflict with RPU command_extra.h
- Fix undefined debug_array_str error
2023-07-24 08:36:28 +08:00
NovaRain
1f802cab6f
Fixed incorrect int->float conversion in op_sub
...
Fixed ASM code in StealCheckHook from previous commit.
2023-07-23 08:21:37 +08:00
NovaRain
788593cdcc
Backported the improvements of HOOK_STEAL
...
Edits to hookscripts.md and ddraw.ini.
2023-07-22 21:06:38 +08:00
NovaRain
680310f702
Re-added the check for valid objs to get/set_object_data
...
* disabled in combat for the combat data.
2023-07-19 20:56:31 +08:00
NovaRain
4f36136a39
Edited function and sslc docs
2023-07-17 20:54:57 +08:00
NovaRain
48355fa637
Minor code edits to BugFixes.cpp
...
Minor edits to some comments.
2023-07-14 09:46:53 +08:00
NovaRain
6af62af27d
Backported "get_object_ai_data" script function
...
Updated headers and documents.
Edited error messages for some script functions.
2023-07-11 11:20:56 +08:00
NovaRain
bd76a3ded7
Added upper/lower limits to the hit chance value
...
Edited hookscript docs.
2023-07-09 15:24:46 +08:00
NovaRain
3a08488895
Added "string_pos" function from 4.x
...
Added a check to PartyControl::OrderAttackPatch().
Updated function documents.
Updated scripting headers.
2023-07-05 22:20:14 +08:00
NovaRain
2941157174
Added NPC combat control mod to example mods
...
Updated item highlighting mod and NPC armor mod.
2023-07-03 15:35:03 +08:00
NovaRain
2148650313
Use explicit GetFileAttributesA function
2023-07-02 08:29:30 +08:00
NovaRain
6dee4e1183
Removed capping of console window position and size
...
* for multi-monitor setup, leaving only minimum size of 640x480.
2023-06-29 21:34:41 +08:00
NovaRain
b2e60ba62e
Backported IniConfigFolder option
...
* using C-string instead of std::string.
2023-06-28 08:52:28 +08:00
NovaRain
a71c2c901a
Removed unused bufSize argument from IniReader
...
Fixed return value of getString with buffer argument.
Increased max line length to 2048.
Added file check for books/drugs/enginetweaks ini files.
Fixed possible array index out of bound error in BarBoxes.
Added trimming to custom unarmed attack names.
2023-06-27 21:40:55 +08:00
NovaRain
4f3c1a60b4
Console window improvements
...
- Retain maximized/minimized state
- Save normal position when closing in maximized/minimized state
- Allow to move window in negative x direction
- Disable close button
- Save position if game was closed by pressing Alt+F4 in console window
2023-06-27 21:21:13 +08:00
NovaRain
9674c16928
Fixed position jumping for console window
...
Improved "string_format" script function.
Edited error messages for a few functions.
Updated documents.
2023-06-25 16:30:46 +08:00
NovaRain
0c035a05df
op_create_spatial: fix spatial object having no scriptIndex upon creation
...
ConsoleWindow: prevent user from messing up window position & size
2023-06-24 09:07:10 +08:00
NovaRain
51cd2eab69
Unified the name of "GameRest" function in modules
2023-06-22 11:51:14 +08:00
NovaRain
323631835b
Added arrary cache reset to get_ini_config
...
* prevent returning wrong arrays (left from previous session).
Removed "tr1" namespace (no needed for VS2010 and later).
Minor code edits.
2023-06-22 09:04:22 +08:00
NovaRain
135c26ab70
Load order: more informative logging
...
Code fixes to PartyControl.cpp and ConsoleWindow.cpp.
Updated version number in documents.
Updated changelog in sslc document, and removed the mention about
empty statements (it never worked).
2023-06-21 22:39:59 +08:00
NovaRain
34092900a6
Backported the module manager from 4.x
2023-06-20 11:16:30 +08:00
NovaRain
c8fe92ef7d
Updated document and sfall.h for get_ini_config
2023-06-19 22:18:01 +08:00
NovaRain
b578aecc59
Backported INI parser from 4.x (part 2)
...
Added Config.cpp/h (core parser based on vanilla & Fallout CE).
Implemented the parser to IniReader.
Added "get_ini_config" function.
2023-06-19 22:15:37 +08:00
NovaRain
b57a87f98f
Backported INI parser from 4.x (part 1)
...
* Some misc code changes first.
* Changed saving game/console window positions in OnBeforeGameClose.
* Simplified arrays code a bit.
* Added binary string support to atoi.
2023-06-19 21:58:45 +08:00
NovaRain
2156f82184
Backported the buffer overflow fix for debug log from 4.x
...
Simplified ASM code in Premade.cpp a bit.
2023-06-17 22:01:36 +08:00
NovaRain
be6947e3d2
Added code page setting for the console window
2023-06-15 23:28:04 +08:00
NovaRain
f0784e2987
Updated the description in [ExtraPatches] for mods_order.txt
...
Tweaked the error log entry for mods_order.txt.
Minor code edits.
2023-06-15 13:40:12 +08:00
NovaRain
1a6a9e5ec1
Backported ConsoleWindow option from 4.x
2023-06-15 13:27:56 +08:00
NovaRain
0be6011c19
Removed debug message about missing critter art from displaying in-game
...
* to prevent unnecessary annoyance to generic players.
Added a safeguard to get_tile_fid.
Fixed crash in debug build due to stdcall not being specified.
2023-06-14 09:48:51 +08:00
NovaRain
6f45d45fcd
Updated documents for hook/function changes
2023-06-13 12:33:28 +08:00
NovaRain
f413bb8b9a
Backported the new mods_order.txt mechanism
2023-06-13 12:12:07 +08:00
NovaRain
e3907c3647
Allow passing string directly to set_sfall_return in HOOK_DESCRIPTIONOBJ
...
- HookScripts: track return types in addition to values
- Set allowNonIntReturn in hook code to allow non-int return values to be accepted
- Moved get_sfall_arg and set_sfall_return opcodes to the new table
2023-06-13 12:07:04 +08:00
NovaRain
007386caec
Backported get_tile_fid improvements from 4.x
2023-06-13 12:05:00 +08:00
NovaRain
c593269ee7
Fixed get_tile_fid function to work on elevation 1 and 2
...
* it now follows dude elevation.
2023-06-12 23:20:49 +08:00
NovaRain
1976461b72
Fixed invWieldFunc for non-weapon/armor items
...
Fixed lib.inven.h header from develop branch.
2023-06-12 22:50:21 +08:00
NovaRain
9fa123d15f
Added get_combat_free_move metarule
...
Updated documents and headers.
Added PartyOrderToAttack to ddraw.ini.
2023-06-09 11:19:45 +08:00
NovaRain
3b6435d8a4
Backported HOOK_COMBATTURN from 4.2
...
* using pre-4.2.8 codebase
Replaced ControlCombat option with PartyOrderToAttack.
Updated documents.
2023-06-07 21:48:54 +08:00
NovaRain
7322634780
Backported three game hooks from 4.x:
...
* ROLLCHECK, BESTWEAPON, CANUSEWEAPON
Updated documents.
2023-06-06 21:46:03 +08:00
NovaRain
7f0398c618
Added options to override the names of sound files for game modes
...
Remove the worldmap/credits music override from Fallout1Behavior.
(was added in commit 41a1fea )
Minor edits to ddraw.ini.
2023-06-05 11:46:07 +08:00
NovaRain
4e3f065453
Updated headers and function document from 4.x
2023-06-05 11:03:51 +08:00
NovaRain
378bc8a126
Added set_combat_free_move metarule and 2 args to HOOK_STDPROCEDURE
...
Added a missing hack from 4.x to PartyControl.cpp.
2023-06-05 10:42:02 +08:00
NovaRain
e92c994744
Added a new example mod gl_rest_encounter
...
Added a burst control example script.
2023-06-02 15:15:01 +08:00
NovaRain
a1d0e59287
Fixed crash when using NumbersInDialogue
...
(revert commit 576bea2 )
2023-06-01 15:58:23 +08:00
NovaRain
40f2050f8c
Minor edits to ddraw.ini and define_extra.h
2023-05-29 15:22:45 +08:00
NovaRain
c33c200b51
Sync header changes with develop branch
2023-05-25 09:37:54 +08:00
NovaRain
26693fd0ed
Decoupled hook type 2 of HOOK_AMMOCOST from CheckWeaponAmmoCost
...
Edits to documents to reflect the hook change.
Changed CheckWeaponAmmoCost to be enabled by default.
Updated version number.
2023-05-20 10:59:26 +08:00
NovaRain
033c8bf8ef
Randomized one extra bullet for side groups in burst attacks
...
* idea from phobos2077.
Added minimum value check to multipliers.
2023-05-19 09:54:49 +08:00
NovaRain
ddf2854938
Added "set_spray_settings" function for scriptable burst
...
Added documentation for set_spray_settings.
Remove postbuild.cmd from git.
2023-05-19 09:51:58 +08:00
NovaRain
637de0e07d
Fixed "divided by zero" error when returning 0 in AMMOCOST hook
...
* with CheckWeaponAmmoCost=1.
Added a value check to the return value of AMMOCOST hook.
Updated hookscripts.md to reflect this change.
2023-05-18 10:02:07 +08:00
NovaRain
ff1c87f0c5
Updated gl_compute_damage example script from 4.x
...
* with script-based YAAM implementation.
Sync header changes with develop branch.
Changed AttackSubType enum "GUNS" to "RANGED".
(to be in line with define_extra.h, the naming is from RE/CE.)
2023-05-15 12:16:23 +08:00
NovaRain
66c0ed8cb2
Updated some defines
...
- ATKMODE defines removed to avoid confusion - these are really two 4-bit fields, not bit flags!
2023-05-14 08:24:02 +08:00
NovaRain
f3bbfbfa28
Sync header changes with develop branch
2023-05-08 17:30:09 +08:00
NovaRain
41a1fead58
Expanded the functionality of Fallout1Behavior
...
* change the world map music and the credits music to match FO1 files.
Increased the maximum value of the combat speed slider.
Some minor code edits.
2023-04-30 09:21:53 +08:00
NovaRain
a0cf633899
Tweaked set_pc/critter_base/extra_stat script functions
...
* before they didn't update derived stats when setting SPECIAL, for
the player it requires accessing the char screen to update.
Replaced some proto_ptr() usages with GetProto().
2023-04-22 23:46:16 +08:00
NovaRain
a09611edc6
Backported the "order to attack" function from 4.x
...
Updated translation ini files.
Updated version number.
2023-04-19 10:35:59 +08:00
NovaRain
291370a96c
Attempt for reproducible builds
...
* ducible.exe is built with v140_xp toolset and /arch:SSE.
Code edits to Interface.cpp.
* to avoid error C3068 for Debug config in VS2010.
2023-04-17 10:09:21 +08:00
NovaRain
576bea2aa9
Minor code edits to MiscPatches.cpp
2023-04-12 10:04:43 +08:00
NovaRain
765b19e045
Minor edit to the changelog
2023-03-29 14:32:33 +08:00
NovaRain
f4fe4211e1
Fixed assorted typos in documents
...
Added an example ini to Ammo INI Loader mod.
Updated the changelog.
2023-03-27 20:35:24 +08:00
NovaRain
0c3d6004a7
Added support for closing the game by Alt+F4
...
Moved some code from Graphics.cpp to new WinProc files.
Patched dead code in memory in DamageMod.cpp.
2023-03-16 10:55:05 +08:00
NovaRain
f6675cf241
Updated readme and added changelog ( #451 )
2023-03-13 14:23:10 +08:00
NovaRain
736c2cb6fe
Backported "item_make_explosive" script function
...
Updated documents for the function.
Removed deprecated "register" keyword.
2023-03-10 21:08:05 +08:00
NovaRain
13445a1b83
Changed the copyright text format in the credits
2023-03-06 22:42:14 +08:00
NovaRain
4417947c56
Moved some code to the new submodule files
...
Fixed a crash bug with setting the DAM_BACKWASH flag for the attacker.
(from 6e10f62 )
2023-03-06 22:28:39 +08:00
NovaRain
6903d59e6d
Renamed some object flags
2023-03-05 10:21:17 +08:00
NovaRain
5e3e37f74c
Added a tweak to the ammo info for Glovz's/YAAM
...
* to display correct ammo stats based on the formulas w/o editing
proto.msg manually.
Updated translation ini files.
Set the maximum number of screenshots to 10k (was 100k)
* 100k is impractical because the max files per directory on FAT32 is
65535 (only if all files are in 8.3 format) when the game came out.
2023-03-01 09:18:28 +08:00
NovaRain
e090fd833b
Removed CreditsAtBottom from ddraw.ini
...
* sfall built-in credits will be shown at the beginning when from the
main menu and at the end during the ending.
2023-02-26 23:31:48 +08:00
NovaRain
1ab8407407
Fixed incorrect death endings being shown
...
* can happen in vanilla FO2 when the player is lv10 or higher,
with a low chance.
2023-02-15 21:06:45 +08:00
NovaRain
a4558993e0
Removed redundant "Done" strings from sfall log
...
* only when there are alternative states or for graphics/sound/scripting
2023-02-10 08:54:52 +08:00
NovaRain
f1131b87c6
Tweaked how disabled unsafe opcodes work
...
* now disabled opcodes will just do nothing instead of causing the
script terminated.
2023-02-09 15:06:19 +08:00
NovaRain
465bc649be
Removed StackEmptyWeapons from ddraw.ini (always enabled)
2023-02-02 12:39:06 +08:00
NovaRain
9db5f45545
Added a tweak to allow premade characters to have less than two traits
...
Fixed the player's traits not being displayed in certain unusual cases.
(with save editing or hex-edited GCD file)
2023-01-10 10:33:00 +08:00
NovaRain
fb4770edc4
Increased the upper limit of ProcessorIdle
2023-01-07 23:07:31 +08:00
NovaRain
921f14f43f
Cosmetic edits: updated/unified the copyright header years
2022-12-31 10:14:38 +08:00
NovaRain
d013d59afd
Edits to sfall_ver_* script functions
...
* they take no arguments and only return constants, simpler structure
in ASM is enough.
2022-12-26 08:50:56 +08:00
NovaRain
2828e08f68
Fixed broken read_string script function
...
* actually it has never worked.
2022-12-22 09:37:19 +08:00
NovaRain
0b08035b97
Fixed a crash bug in FullItemDescInBarter
...
* when weapon/ammo has no description, it'd trigger UB from strncpy_s.
2022-12-17 10:36:25 +08:00
NovaRain
62b0955807
Changed all fastcall wrappers to stdcall
2022-12-03 13:19:54 +08:00
NovaRain
67b46cd4a6
Backported three more hooks from 4.1:
...
* USESKILLON, ONEXPLOSION, SETLIGHTING.
Backported PartyMemberSkillFix option from 4.1.
Updated documents.
2022-12-01 08:41:05 +08:00
NovaRain
bb13e3f219
Backported 5 game hooks from 4.1/4.2:
...
* SNEAK, STDPROCEDURE, STDPROCEDURE_END, TARGETOBJECT, ENCOUNTER.
Updated documents and example mods.
2022-11-29 14:27:10 +08:00
NovaRain
7ecdfe362f
Backported three game hooks from 4.1:
...
* USEANIMOBJ, EXPLOSIVETIMER, DESCRIPTIONOBJ
Updated documents and example mods
2022-11-27 09:27:46 +08:00
NovaRain
4f34217625
Backported game hooks from 4.0.x
...
* COMBATTURN is not implemented.
Updated documents.
2022-11-26 09:57:01 +08:00
NovaRain
f4666dad18
Minor edits to a few ASM hacks
...
(Changed 2-bytes null jcc to just 2 nop)
2022-11-16 12:19:22 +08:00
NovaRain
536e3b2741
Tweaked HOOK_INVENTORYMOVE for dropping caps
...
* before the amount was set in the dropped object only after the hook.
Edits to hookscripts.md.
2022-10-29 11:33:42 +08:00
NovaRain
f4c72a4e6e
Edited the format for window title
...
Reorganized RMOBJ_* defines in define_extra.h.
2022-10-27 17:21:57 +08:00
NovaRain
db40eae68f
Some format edits to documents
...
Updated version number.
2022-10-25 21:25:48 +08:00
NovaRain
f1626e846a
Changed the check for unavailable hooks
...
* easier to backport more discontinuous hooks if needed.
2022-10-19 10:59:17 +08:00
NovaRain
5429217c0a
Minor edit to hookscripts.md
2022-10-18 08:59:14 +08:00
NovaRain
59aee239fe
Fixed incorrect critter names for corpses
...
* happens when multiple critters based on the same proto with
different scripts attached are killed.
Tweaked the fix for create_object_sid function.
2022-10-09 23:25:51 +08:00
NovaRain
d429af8011
Code correction to LoadOrder.cpp
...
Updated version number.
2022-09-28 10:18:19 +08:00
NovaRain
ba186590bc
Backported [ExtraPatches] section from 4.x
...
* in pre-4.1.9 configuration, without .dat autoloading.
2022-09-22 10:50:10 +08:00
NovaRain
f94cadf767
Backported rest related script functions from 4.x
...
* set_rest_heal_time, set_rest_mode, get/set_can_rest_on_map
2022-09-20 09:14:08 +08:00
NovaRain
aea263eddd
Backported "dialog_message" script function
...
Updated documents for the function.
2022-08-19 09:12:48 +08:00
NovaRain
b7fc0fb1d7
Fixed HOOK_REMOVEINVENOBJ to match RMOBJ_* defines
...
Edits to define_extra.h for RMOBJ_* defines
2022-08-14 11:04:46 +08:00
NovaRain
b8c3f89279
Expanded set_pipboy_available function for mode 2
2022-08-11 21:27:19 +08:00
NovaRain
82eb78e185
Code edits to SpeedInventoryPCRotation
...
Updated version number.
2022-08-09 21:34:12 +08:00
NovaRain
d8fafa85a9
Added support for editor.msg to message_str_game
...
Edits to header files.
2022-08-09 08:14:04 +08:00
NovaRain
a121d09704
Corrected the language path for loading art files
2022-08-08 22:09:11 +08:00
NovaRain
b0fa170ffd
Combined AllowDShowSound=2 with mode 1
...
Removed MoreTiles from ddraw.ini (always enabled)
Minor edits to documents.
2022-08-08 09:10:53 +08:00
NovaRain
c9712f75ee
Dropped support for old pre-SSE processors
...
Changed buf_to_buf function to SSE implementation.
* affected old processors:
Intel - Pentium II, older Celeron (Covington/Mendocino)
AMD - older K7 (Athlon Classic/Thunderbird)
2022-07-30 00:45:42 +08:00
NovaRain
7f426608d2
Corrected comments in Functions.cpp
2022-07-27 22:12:39 +08:00
NovaRain
81af621b3c
Changed the default number of sound buffers
...
Updated version number.
2022-07-26 08:28:59 +08:00
NovaRain
0ed00a0a41
Minor edits to sslc document
2022-07-22 22:23:27 +08:00
NovaRain
89eff96b69
Switch default Cat Jules appearance to leather jacket
...
* The original default/naked appearance (`nmprmb`) in RP only has very limited weapon anims.
2022-07-18 16:21:03 +08:00
NovaRain
e24e616d5c
Correction to previous commit
2022-07-07 08:28:37 +08:00
NovaRain
08d2ffe26d
Fixed NPC stuck in a loop of reloading the solar scorcher
...
(happens when out of ammo and it's dark.)
2022-07-06 20:06:59 +08:00
NovaRain
225fa9cc57
Edits to document about set_self function
...
Updated version number.
2022-07-02 20:04:35 +08:00
NovaRain
511d594e7d
Fixed float_msg script function
...
* didn't set purple/black text color correctly (was always grey)
2022-06-30 21:54:56 +08:00
NovaRain
0e0d884a97
Changed the mode 1 of NPC combat control
...
* now requires sfall debugging mode to control all critters.
2022-06-24 09:39:31 +08:00
NovaRain
2950140e3a
Added a warning pop-up for the open file limit
2022-06-17 22:48:43 +08:00
NovaRain
e70005dbd5
Added "get_terrain_name" script function
...
Updated documents for the function.
Minor edits to other code.
2022-06-14 21:09:31 +08:00
NovaRain
5ac91aec79
Minor edits to Perks.ini (120 CPL) and ddraw.ini
2022-06-10 09:04:49 +08:00
NovaRain
2578963f7d
Added ladder climbing action to UseWalkDistance
...
Added notes to MainMenuFontColour description in ddraw.ini.
Updated version number.
2022-06-07 10:25:38 +08:00
NovaRain
ce82348a15
Simplified the code for ControlCombatPIDList
2022-06-03 12:30:22 +08:00
NovaRain
74f3036b57
Minor code edits
...
* read FastShotFix setting only once.
2022-06-02 14:23:04 +08:00
NovaRain
7666b4e08f
Replaced item_w_curr_ammo_ engine function
...
* a simplified one, without calling proto_ptr_ unnecessarily.
Related code edits to Combat.cpp & Inventory.cpp.
2022-06-01 12:53:30 +08:00
NovaRain
b10fb8c162
Added a function to EngineUtils.cpp
...
Minor edits to ddraw.ini.
2022-05-28 21:41:49 +08:00
NovaRain
e3628232c5
Tweaked how the graphics mode setting is read
...
Changed all checks with Graphics::mode in the same way as 4.x.
Added a couple of notes to ddraw.ini.
Minor code edits.
2022-05-27 13:18:29 +08:00
NovaRain
205602d85d
Updated compiled HLSL shaders
...
* using the compiler from DXSDK June 2010.
Minor edits to documents.
2022-05-25 21:59:00 +08:00
NovaRain
89f454e825
Removed ComputeSprayMod from ddraw.ini
...
Updated version number.
2022-05-25 21:41:31 +08:00
NovaRain
977eae4c24
Fixed being able to push knocked down team members in combat
2022-05-23 12:02:11 +08:00
NovaRain
3cb013dfa3
Simplified the fix in commit e7e6175
2022-05-22 14:47:19 +08:00
NovaRain
c0bee95aa4
Code edits to the previous commit
2022-05-20 15:33:47 +08:00
NovaRain
8ce87a3088
Changed Stats::UpdateHPStat() to update the current HP as well
2022-05-11 21:56:19 +08:00
NovaRain
5aadf41668
Fixed crash when the player equips an "overloaded" weapon
...
Fixed a bug in ReloadWeaponKey that could cause a hang.
(only triggerable due to the crash fix for overloaded weapons)
2022-05-05 10:41:44 +08:00
NovaRain
7d71917f7a
Removed DivisionOperatorFix from ddraw.ini (always enabled)
2022-04-29 08:10:45 +08:00
NovaRain
9454ad75a3
Backported FO1 worldmap sfx addition from 4.x ( #373 )
...
Added some function offsets from 4.x.
2022-04-21 19:55:19 +08:00
NovaRain
4c7cfb11b6
Corrected placeholders for obsolete opcodes
...
Minor edit to documents.
Updated version number.
2022-04-20 09:51:54 +08:00
NovaRain
4460325f70
Minor edit to Credits.cpp
2022-04-11 09:57:17 +08:00
NovaRain
c427604d8d
Edited code comment in the previous commit
...
Code format edits to BugFixes.cpp.
2022-04-07 20:45:05 +08:00
NovaRain
e7e6175084
Fixed item planting for non-biped critters with the "barter" flag set
...
(BGforgeNet/Fallout2_Unofficial_Patch#95 )
Updated version number.
2022-04-04 21:34:01 +08:00
NovaRain
73e1faae92
Removed commented code in the previous commit
...
Edits to documents and README.md.
2022-03-28 14:57:37 +08:00
NovaRain
bdb95c80ec
Edits to hookscripts.md
...
Corrected a typo in arrays.md.
Removed redundant compiler txt files.
2022-03-21 22:51:57 +08:00
NovaRain
a9a5627b83
Removed FadeBackgroundMusic option (cur. disabled)
...
* because the fix code doesn't work on all supported systems.
2022-03-21 08:45:38 +08:00
NovaRain
e566db91bb
Updated Ammo INI Loader example script mod
...
Updated version number.
2022-03-15 13:02:33 +08:00
NovaRain
8d6e6874ee
Added .gitattributes with ssl syntax highlighting
...
Minor code edits to the built-in item highlighting function.
2022-03-11 20:32:55 +08:00
NovaRain
7cc25efb01
Code edits converge with 4.x
2022-02-20 08:56:43 +08:00
NovaRain
b1323fc07a
Code edits to Graphics.cpp & Logging.cpp
...
Minor edits to other code/documents.
Updated version number.
2022-02-17 10:26:42 +08:00
NovaRain
5fcf4aae50
Reverted the palette update method for DX9 mode to pre-3.8.31
...
* moving the processing to GPU (commit 932a9f3 )
Improved the functionality of AllowDShowMovies:
now can take screenshots and press any key to skip AVI movies.
Code edits to Logging.cpp.
2022-02-14 12:49:10 +08:00
NovaRain
42afaa46ed
Fixed the game printing an incorrect item name in some cases
...
Minor fixes in Graphics.cpp and InputFuncs.cpp.
2022-02-13 07:46:55 +08:00
NovaRain
8b858b6cb9
Reverted the limit on hit chance (commit 024e8b1)
...
* reason: the text length is depend on the frm.
2022-02-13 07:40:33 +08:00
NovaRain
e8c952d082
Code correction on DX9 initialization
...
Some minor code edits.
2022-02-12 11:02:58 +08:00
NovaRain
024e8b1777
Added minimum and maximum limits to the hit chance
...
* to prevent display glitches (BGforgeNet/Fallout2_Unofficial_Patch#85 )
Lowered the max number of PNG screenshots to 10K.
2022-02-11 15:07:20 +08:00
NovaRain
6b14d4f86e
Fixed the screenshot for sfall DX9 mode
...
* Now the screenshots are saved in PNG format.
[TEST] Changed the DirectX 9 device creation mode.
2022-02-10 13:39:31 +08:00
NovaRain
6e10f624a3
Backported the code injection system for game hooks from 4.1
...
Split HookScripts.cpp/h to multiple sets in HookScripts\ as 4.x.
Reverted tile_num to stdcall (commit a5f57d4 )
2022-02-08 22:30:06 +08:00
NovaRain
bc380b978d
Fixed the copyright line in the credits
...
Code edits to main.cpp and Graphics.cpp to converge with 4.x.
2022-02-01 09:40:33 +08:00
NovaRain
d2b3529ed0
Fixed the music not playing after loading a saved game ( #422 )
...
* if the save is on the same map, and while in the game.
2022-01-20 07:13:50 +08:00
NovaRain
f77cd85f95
Minor code edits
2022-01-19 09:43:05 +08:00
NovaRain
39c5ab3674
Removed unused code in Graphics.cpp
2022-01-18 10:16:53 +08:00
NovaRain
7d75023b81
Added HLSL source files and compiled shader files
...
* this should remove the hidden dependency on d3dcompiler_xx.dll.
2022-01-18 09:05:40 +08:00
NovaRain
bd629b5460
Added a new warning message on shader effects to Graphics.cpp
2022-01-17 12:50:19 +08:00
NovaRain
5b180286d1
Added a redraw timer to the debug editor
...
* redraws the background game screen when moving the editor window.
* works for sfall DX9 mode.
2022-01-17 09:52:29 +08:00
NovaRain
814c280432
Updated the year for version info
...
Added GamePids.h from develop branch.
2022-01-17 08:55:21 +08:00
NovaRain
c5f52105ec
Code correction to DebugEditor.cpp
2022-01-15 12:00:01 +08:00
NovaRain
18cc3f7aa9
Increased the width of the mouse drop area for inv on the barter screen
2022-01-15 09:57:28 +08:00
NovaRain
fda97ffefb
Edits to the arrays document
2022-01-13 21:31:33 +08:00
NovaRain
00508adfb1
Fixed a bug in 3.8.31 that caused AI to be unable to use some weapons
...
Code edits regarding AIpref in Enums.h.
2022-01-13 10:26:36 +08:00
NovaRain
e906be67ab
Updated documents for the removal of ArraysBehavior option
...
Some other minor edits to documents.
2022-01-12 09:43:04 +08:00
NovaRain
abe2430495
Fixed crash in the previous commit
2022-01-11 11:54:47 +08:00
NovaRain
de51b6838b
Redid the idle implementation for ProcessorIdle
...
Renamed RunGlobalScripts# functions to the same as 4.x.
2022-01-11 10:03:35 +08:00
NovaRain
52126bf62d
Removed ArraysBehavior and RemoveWindowRounding from ddraw.ini
...
* both are now always enabled
2022-01-07 06:47:49 +08:00
NovaRain
be7c1210a0
Changed the "Radiated" on the char screen to be highlighted in gray
...
* when the player still has an impending radiation effect
Unified the naming style for color variables.
2022-01-06 14:19:47 +08:00
NovaRain
08a96bc27e
Code edits to Graphics.cpp for device lost state
2022-01-04 07:04:13 +08:00
NovaRain
f94085be93
Fixed black screen after restoring DX9 device
...
Minor code edits.
2022-01-03 23:59:27 +08:00
NovaRain
89a49b4f32
Improved the message box for CRC mismatch
...
Changed SkipCompatModeCheck to not require sfall debugging mode.
Minor code edits.
2021-12-28 12:48:41 +08:00
NovaRain
cf5952c031
Removed SkipSizeCheck from ddraw.ini
...
* the executable file size check is also removed (mostly).
2021-12-27 10:18:14 +08:00
NovaRain
ac058ee4d7
Code correction/edits to the previous commit
...
Added a debug message for the open file limit being exceeded.
2021-12-26 11:43:51 +08:00
NovaRain
b31f29a324
Fixed the broken fix for addicted party members
...
(BGforgeNet/Fallout2_Restoration_Project#131, #420 )
Improved the duplicate path removal in LoadOrder.cpp.
Backported additional fixes to FadeBackgroundMusic from 4.x.
2021-12-25 21:25:24 +08:00
NovaRain
750d88ea9a
Code edits to CRC.cpp for displayed messages
...
Code edits to ScriptExtender.cpp for duplicate code.
2021-12-24 14:35:29 +08:00
NovaRain
68389d9474
Added MapGridToggleKey debug option from 4.x
...
Fixed db_init function wrapper.
Minor edits to ddraw.ini.
2021-12-21 09:51:09 +08:00
NovaRain
97f3d3eb5f
Code cleanup and edits according to dev branch
2021-12-19 08:45:26 +08:00
NovaRain
b187c8359b
Changed the load order of sfall.dat to after patchXXX.dat
...
Code edits to Interface.cpp due to the previous commit.
2021-12-18 21:37:48 +08:00
NovaRain
93f6131592
Added fixed call point for sfall initialization
2021-12-17 09:57:41 +08:00
NovaRain
5a9edb9723
Minor code edits to Graphics.cpp
2021-12-16 12:40:46 +08:00
NovaRain
d14e7ccd9f
Code changes to Graphics.cpp & main.cpp
...
* from HRP test branch
2021-12-12 10:31:51 +08:00
NovaRain
c5baecfdad
Fixed a crash bug in FadeBackgroundMusic
...
(when trying to mute the master audio volume in the preferences screen)
Minor code edits.
2021-12-10 10:01:31 +08:00
NovaRain
c1dc31a919
Added a tweak to allow printing new floating messages when their limit is exceeded ( #388 )
...
Fixed incorrect value of the limit number of floating messages.
2021-11-28 12:40:42 +08:00
NovaRain
8e3e49b281
Removed UseCommandLine from ddraw.ini (always enabled)
...
Updated version number.
2021-11-27 06:44:06 +08:00
NovaRain
44411309f8
Removed unnecessary stdcall modifier as in 4.x
2021-11-25 09:22:27 +08:00
NovaRain
a35a4e034b
Added optimization for the save/load game screens
...
Edited the description of args for HOOK_TOHIT.
2021-11-23 20:44:00 +08:00
NovaRain
21c85b298b
Refactored ScriptExtender and all function code
...
* in the same way as 4.x, to improve the error handling.
2021-11-22 22:05:09 +08:00
NovaRain
5151ea312a
Code edits to the previous commit
2021-11-20 20:47:25 +08:00
NovaRain
def3e52302
Added centering screen on the controlled critter
2021-11-19 09:48:04 +08:00
NovaRain
06f35e10fb
Minor code edits to Graphics.cpp from HRP branch
2021-11-17 10:07:00 +08:00
NovaRain
588abd2a4b
Added class to HookScripts module
2021-11-16 21:00:51 +08:00
NovaRain
c6813bdd74
Fixed the redrawing of windows with "DontMoveTop" flag
...
* if one is not topmost, it's not redrawn after calling show function.
2021-11-16 15:04:18 +08:00
NovaRain
53c0517268
Added class to most of modules
...
Added missing ReplacementFuncs.h.
2021-11-15 22:03:40 +08:00
NovaRain
81f112063e
Fixed a minor bug in HeroAppearance.cpp
...
Fixed incorrect display of name and damage values for unarmed attacks
in some cases.
2021-11-15 10:57:45 +08:00
NovaRain
87eeeeaa95
Reverted make_pair changes in commit 5c1ccca
2021-11-10 08:43:30 +08:00
NovaRain
a5f57d400b
Changed the option name of grave containers fix
...
Edited the code of tile_num function wrapper.
Reorganized the options in ddraw.ini.
2021-11-09 10:06:13 +08:00
NovaRain
df983e0d25
Optimized the calculation loop in Glovz's ASM code
...
Renamed enums in Interface.cpp
2021-11-08 14:13:09 +08:00
NovaRain
c9c9d1f35f
Code edits to ScriptExtender.cpp/SpeedPatch.cpp
...
Minor edits to some files.
2021-11-08 13:48:52 +08:00
NovaRain
5e8269d171
Changed the fix in commit 93c6cf5 to an option
...
Changed the title bar text for DX9 windowed mode.
Renamed some enums in Movies/QuestList/Sound.cpp.
2021-11-06 23:42:01 +08:00
NovaRain
e510f30120
Optimized the calculation loop in YAAM's ASM code
...
Minor edits to Glovz's formula code.
2021-10-31 20:17:26 +08:00
NovaRain
326610e66d
Separated MainLoopHook.cpp/h from ScriptExtender
2021-10-30 23:21:13 +08:00
NovaRain
c8de86d58f
Improved the ASM code of Glovz's formula and YAAM
...
Changed OverrideArtCacheSize to set the art cache size to 261.
Fixed typo in ddraw.ini.
2021-10-27 22:05:29 +08:00
NovaRain
29e52703f4
Renamed some enums to be the same as 4.x
2021-10-26 20:50:33 +08:00
NovaRain
a4ae8d47f0
Rewrote the text hook for main_menu_create_ in C++
...
Changed the description of CheckWeaponAmmoCost in ddraw.ini.
Replaced <br> html tag with backslash in markdown documents.
(CommonMark spec)
Updated version number.
2021-10-25 10:59:22 +08:00
NovaRain
80c9dd533f
Finished implementing fo namespace.
...
Renamed some structs to converge with 4.x.
Splitted ReplacementFuncs.cpp/h to multiple sets in Game\ as 4.x.
Added sfall/game namespaces (except for ScriptExtender).
2021-10-21 11:38:07 +08:00
NovaRain
338a45cf5e
Added fo::funcoffs/func/util/ptr/var namespaces
2021-10-19 14:20:47 +08:00
NovaRain
8c697054c0
Re-organized project structure to 4.x-like
...
Separated ScriptShaders.cpp/h from Graphics.cpp/h.
2021-10-18 21:49:58 +08:00
NovaRain
e9662f49dd
Updated define_extra.h
2021-10-16 07:25:26 +08:00
NovaRain
eecf763ab7
Forgot to commit main.cpp in 1209b7e
2021-10-15 12:30:48 +08:00
NovaRain
b9b7e24c1a
Fixed a rounding error in Glovz's damage formula
...
Updated Russian and Germen translations.
2021-10-15 10:24:08 +08:00
NovaRain
09fe57a099
Updated translation ini files
2021-10-14 09:31:58 +08:00
NovaRain
1209b7efc1
Code edits converge with 4.x
...
* improved the behavior of SpeedInterfaceCounterAnims=3.
* now sfall will always create sfall-log.txt, still won't write any
unless debug options are enabled in ddraw.ini.
2021-10-13 14:12:23 +08:00
NovaRain
4bcf96dfe8
Simplified the code in the previous commit
2021-10-10 10:28:41 +08:00
NovaRain
93c6cf5222
Fixed the execution of use_p_proc handler for grave type containers
...
* "grave type" is a container with only two frames (open/closed)
* in vanilla code, using a grave type container in the open state does
not execute use_p_proc in its script like other containers do.
2021-10-08 11:06:57 +08:00
NovaRain
0ab0a592b4
Reverted the previous commit and added "obj_is_openable" function
...
* the previous commit conflicts with BIS document.
2021-10-08 09:41:25 +08:00
NovaRain
dfcc698c7a
Fixed the return value of obj_is_open function
...
* for containers with only one frame (e.g. shelves)
Minor edits to the previous commit.
2021-10-07 13:46:30 +08:00
NovaRain
4137e6e977
Added loading sfall.dat resource file
...
* localized sfall_XX.dat is also supported.
Minor code refactoring in ScriptExtender.cpp.
Minor edit to sfall function notes.
2021-10-06 21:28:12 +08:00
NovaRain
5c1cccae8f
Backported "set_scr_name" script function from 4.x
...
Updated documents for the function.
Changed some make_pair to bare pair for map insertion.
2021-10-05 22:04:12 +08:00
NovaRain
e3cb0bbaf5
Fixed crash at the end of DS sound playback
...
* revert to the previous implementation.
2021-10-05 13:42:52 +08:00
NovaRain
9db8736033
Code corrections converge with 4.x
2021-10-04 13:06:13 +08:00
NovaRain
932a9f37a3
Improved the rendering performance of DX9 modes
...
Code edits and preparation.
2021-10-01 12:28:33 +08:00
NovaRain
95a10758ae
Added the ability to set custom names for unarmed attacks
...
Updated Translations.ini template.
Commented out empty exit function in some modules.
2021-09-27 10:38:00 +08:00
NovaRain
b6f559755f
Minor code edits to the previous commit
2021-09-26 07:35:55 +08:00
NovaRain
759ef35432
Added the display of actual damage for unarmed attacks in inven
2021-09-25 20:19:48 +08:00
NovaRain
334957d458
Backported Unarmed module and UnarmedFile option from 4.x
2021-09-23 10:43:38 +08:00
NovaRain
76e78fb2be
Minor edits to code and project file
2021-09-22 11:20:10 +08:00
NovaRain
1ee2e5eeda
Added a tweak to keep the selected attack mode for unarmed attacks
...
* was reset when the inventory is closed or the combat ends.
2021-09-20 11:20:14 +08:00
NovaRain
b7ef4a6aed
Added Polish translation (from JaidenIsPink)
2021-09-17 21:57:19 +08:00
NovaRain
73e17ddbef
Some code edits and preparation
2021-09-17 10:55:54 +08:00
NovaRain
4ed512855e
Added a fix to display the color index 255 of the palette correctly
...
* in DX9 mode when using the hi-res patch
Some minor code corrections.
2021-09-12 14:41:08 +08:00
NovaRain
95a03d7429
Code corrections
2021-09-07 06:38:42 +08:00
NovaRain
7d7cb9d84e
Added missing sounds for the buttons on the world map interface ( #373 )
...
Changed the game speed tweak to be active only during the game.
2021-09-06 10:57:10 +08:00
NovaRain
d498c86d65
Fixed key repeat delay/rate for game speed tweak ( #406 )
...
Removed AffectPlayback option.
2021-09-06 08:12:58 +08:00
NovaRain
806cc765bb
Added an additional '"Can't Use" flag to misc flags in item objects
...
* it makes the weapon object unusable in combat.
Updated gl_npcarmor script.
Edits to header files and hookscripts.md.
2021-09-03 21:30:12 +08:00
NovaRain
edc2755ef6
Fixed the Jet addiction was not removed when using the antidote ( #405 )
...
(BGforgeNet/Fallout2_Restoration_Project#118 )
2021-08-29 10:27:52 +08:00
NovaRain
8ab0e57e58
Replaced *(TYPE*)FO_VAR with new inline functions
2021-08-27 22:26:50 +08:00
NovaRain
cb73f4da47
Moved some patches/functions between Interface.cpp and MiscPatches.cpp
...
* And Graphics.cpp and InputFuncs.cpp.
Tweaked the buffer flush (actually print to file) rate in Console.cpp.
2021-08-27 21:11:13 +08:00
NovaRain
be9aeae57a
Code edits to Console.cpp
2021-08-25 12:42:23 +08:00
NovaRain
0d0f105ff2
Added support for the newline character '\n' in pro_*.msg files ( #401 )
...
(from Crafty)
2021-08-25 09:54:28 +08:00
NovaRain
fc1e4e2ac4
Some code edits
2021-08-24 14:22:47 +08:00
NovaRain
4f9fec281e
Changed SingleCore to set CPU affinity to the second core if available
...
Added missing code changes from the previous commit.
2021-08-23 16:15:15 +08:00
NovaRain
c7e29b5d01
Replaced HRP addresses with the define values
...
Refactored get_attack_type opcode.
2021-08-23 15:10:27 +08:00
NovaRain
c0737d9bea
Fully implemented the new ai_check_drugs function
...
Added an additional 'Healing Item' flag to ext flags for item protos.
Added new EngineTweaks files and TweaksFile option.
Internal fix for HOOK_REMOVEINVENOBJ.
2021-08-23 10:15:51 +08:00
NovaRain
42d79aec0b
Fixed ai_check_drugs for AIDrugUsePerfFix=1 (unimpl.)
2021-08-21 07:53:41 +08:00
NovaRain
90a7b20f9d
Fixed a crash when opening a file whose name contains the '%' char
...
Code edits to ai_check_drugs implementation to converge with 4.x
2021-08-19 13:41:28 +08:00
NovaRain
9091690fdd
[Untested] Added a fixed implementation of ai_check_drugs_ function
...
* which has all fixes/hook built-in.
2021-08-17 12:36:49 +08:00
NovaRain
a4b7ac76a0
Added FadeBackgroundMusic option
2021-08-13 20:13:36 +08:00
NovaRain
6b34303268
Code edits to ExtraSaveSlots.cpp
...
* the page numbering is now 0-indexed, to better align with the macros.
Re-numbered save slot control metarules.
2021-08-13 10:58:55 +08:00
NovaRain
cc29d548fe
Changed the implementation of AutoQuickSave
...
* now it sets the number of pages used for quick saving.
Added related macros for controlling the save slot with scripts.
2021-08-12 15:24:13 +08:00
NovaRain
25b8933d7b
Improved the page control for ExtraSaveSlots
...
Minor edits to ddraw.ini.
2021-08-11 14:11:59 +08:00
NovaRain
e3b524dd3c
Added AutoSearchSFX option for automatic search of SFX files
...
Excluded ANIM_walk from the debug log about missing critter art files.
2021-08-08 22:42:56 +08:00
NovaRain
077774fad0
Minor edits to the previous commit
2021-08-06 00:55:28 +08:00
NovaRain
7f8356a5c1
Fixed the main menu music stopped when entering load game screen
...
Added the ability to continuously play the music when moving to another
map that uses the same music.
Updated version number.
2021-08-05 14:18:20 +08:00
NovaRain
cabb98949e
Removed the extra AP check when AI reloads a weapon
...
(reloading is possible if there are not enough action points.)
2021-08-01 07:13:46 +08:00
NovaRain
8b0913c36b
Updated the documents in the previous commit
2021-07-07 09:28:53 +08:00
NovaRain
3bac160395
Added markdown version of compiler documents
2021-07-05 10:02:58 +08:00
NovaRain
fa694be6ac
Added Brazilian Portuguese translation
...
(from Felipefpl)
2021-06-28 12:17:18 +08:00