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
v3.8.38
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