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