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