NovaRain
e2b5a0652d
Enabled build workflow for master branch
2023-10-07 21:15:16 +08:00
NovaRain
c6635f65e5
Changed the "best armor" score calc to exclude EMP
...
(gameplay mod friendly)
2023-10-07 19:34:11 +08:00
NovaRain
daf9e57d36
Updated NPC combat control mod for player's Jinxed trait/perk
...
* controlled critters will now be "Jinxed" as well (closes #492 )
2023-10-05 09:24:34 +08:00
NovaRain
59f1ed0233
Removed AdditionalWeaponAnims from ddraw.ini (always enabled)
...
Updated version number.
2023-10-05 09:10:44 +08:00
NovaRain
7c8d2d6269
Merge branch 'develop'
2023-10-05 09:03:35 +08:00
NovaRain
75019a5546
Bump actions/checkout from 3 to 4
...
Set dependabot for the main branch
2023-10-02 08:49:15 +08:00
NovaRain
deee6fc521
Corrected the description of CALCAPCOST hook
2023-09-30 17:17:53 +08:00
NovaRain
5769843b89
Bump activesupport to 6.1.7.5 in /docs
2023-08-24 21:56:52 +08:00
NovaRain
7e2eaf0724
Fixed crash on startup on WinXP/2003
...
Moved the LoadLibrary call out of DllMain entry point.
Updated version number and changelog.
2023-08-24 21:27:54 +08:00
NovaRain
b6a4c8d476
Tried fixing in-page subcategory links
2023-08-22 15:28:24 +08:00
NovaRain
1524c7daa0
Fixed functions.yml
2023-08-22 10:10:41 +08:00
NovaRain
228f8966f2
Release 4.4
2023-08-22 08:54:41 +08:00
NovaRain
e923fa801b
Updated changelog and other documents
2023-08-21 14:23:59 +08:00
NovaRain
16dacee0e0
Fixed UpdateHPStat() for not properly capping HP
...
* when a critter has modified base value of max HP in its proto.
2023-08-09 10:29:22 +08:00
NovaRain
61f3a2ac13
Fixed the backward compatibility of get_npc_level
...
(broken in commit 438bc6f )
2023-08-04 09:13:55 +08:00
NovaRain
aca6c92d86
Reordered the engine perk entries in perks.ini
...
(sorted by their perk IDs)
2023-07-31 20:52:43 +08:00
NovaRain
c95d872f77
Added build instructions to readme
2023-07-26 15:08:41 +08:00
NovaRain
cb1a3dd764
Reverted the ASM change for StealCheckHook in commit 53c294c
2023-07-23 07:42:16 +08:00
NovaRain
53c294cf98
Edited ASM code and documents for HOOK_STEAL
2023-07-22 20:46:26 +08:00
NovaRain
0e8b6efe49
Re-added the check for valid objs to get/set_object_data
...
* disabled in combat for the combat data.
2023-07-19 20:56:12 +08:00
NovaRain
6d66bfffb0
Edited function and sslc docs
2023-07-17 20:53:50 +08:00
NovaRain
6eeb674641
Minor code edits to BugFixes.cpp
...
Minor edits to some comments.
2023-07-14 09:46:02 +08:00
NovaRain
b94993d756
Minor edits to error msg for some script functions
...
Edits to function notes.
2023-07-11 11:19:29 +08:00
NovaRain
ddb3cf9b6e
Added upper/lower limits to the hit chance value
...
Edited hookscript docs.
2023-07-09 15:22:56 +08:00
NovaRain
321f8e1ab2
Changed string_pos to return -1 on arg error
...
Added a check to PartyControl::OrderAttackPatch().
Updated function documents.
2023-07-05 22:14:04 +08:00
NovaRain
9f6ca9d55d
Updated some documents
2023-07-03 15:39:56 +08:00
NovaRain
f42b232e19
Moved sfall-mod.ini into mods\ folder
...
Packed item highlighting and NPC combat control mods into sfall.dat.
2023-07-02 20:40:35 +08:00
NovaRain
0926ace899
Use explicit GetFileAttributesA function
2023-07-02 08:28:15 +08:00
NovaRain
b2023b7e51
Removed capping of console window position and size
...
* for multi-monitor setup, leaving only minimum size of 640x480.
2023-06-29 21:32:32 +08:00
NovaRain
1f962458cd
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.
Edits to ddraw.ini and function docs.
2023-06-27 21:19:36 +08:00
NovaRain
ece95a95e9
Updated docs for improved string_format
...
Edited error messages for a few functions.
ConsoleWindow: disallowed negative window position.
2023-06-25 16:16:23 +08:00
NovaRain
d7a974c50b
Fixed the display after switching back in NPC combat control mod
...
* player's active "sneak" notification box wasn't shown when switching
back after the combat.
Replaced numbers with defines in item highlighting mod.
2023-06-24 14:17:38 +08:00
NovaRain
3b29088818
Edited the log messages in LoadOrder.cpp
...
Cleaned up some module headers.
Updated version number in documents.
Updated changelog in sslc document, and removed the mention about
empty statements (it never worked).
2023-06-21 22:21:12 +08:00
NovaRain
b619ea3fba
Updated function docs for get_ini_config
2023-06-19 12:15:17 +08:00
NovaRain
ae7921fe26
Some format/textual edits to code
...
* line indents.
* remove trailing spaces.
* use nullptr instead of NULL for pointers.
Edited the error messages of get_ini_config.
2023-06-19 12:14:31 +08:00
NovaRain
97c2b111ff
Updated the description of ConsoleWindow
...
Simplified ASM code in Premade.cpp a bit.
2023-06-17 21:40:11 +08:00
NovaRain
f9dc7a3e25
Added code page setting for the console window
2023-06-15 23:27:07 +08:00
NovaRain
23d1e3b9c8
Updated the description in [ExtraPatches] for mods_order.txt
...
Tweaked the error log entry for mods_order.txt.
Removed unnecessary Inject_SwitchHandHook (unused since 4.2.1)
2023-06-15 13:38:04 +08:00
NovaRain
7baa6de014
Reduced buffer flush in Logging.cpp
...
Edited some description in ddraw.ini.
2023-06-15 13:24:02 +08:00
NovaRain
7939924257
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.
2023-06-14 09:26:28 +08:00
NovaRain
46a80fdb6a
Added get_tile_fid and macros to function notes
...
Some misc edits to documents.
2023-06-13 12:32:49 +08:00
NovaRain
492e31410c
Fixed the mode 2 of get_tile_fid
...
Minor code/comment/format edits.
2023-06-13 10:15:02 +08:00
NovaRain
ab0c373a9b
Minor edits to code and documents
...
Commented out unused combat related functions.
2023-06-09 11:20:47 +08:00
NovaRain
b317ed71ce
Added options to override the names of sound files for game modes
...
Remove the worldmap/credits music override from Fallout1Behavior.
(was added in commit 00b85be )
Minor edits to ddraw.ini.
2023-06-05 11:37:58 +08:00
NovaRain
9197966993
Some grammar correction in function document
2023-06-05 10:54:36 +08:00
NovaRain
3d88304777
Added a new example mod gl_rest_encounter
...
Added a burst control example script.
2023-06-02 15:14:25 +08:00
NovaRain
4e37fb0228
Fixed crash when using NumbersInDialogue
...
(revert commit a4d6687 )
Added more accurate description for div function in DamageMod.cpp.
2023-06-01 15:56:43 +08:00
NovaRain
0de7614c53
Minor edits to ddraw.ini and define_extra.h
2023-05-29 15:21:21 +08:00
NovaRain
19db722948
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:56:39 +08:00
NovaRain
c2dde7485a
Added back postbuild.cmd for github action
2023-05-19 10:35:59 +08:00
NovaRain
c73f311b22
Randomized one extra bullet for side groups in burst attacks
...
* idea from phobos2077.
Added minimum value check to multipliers.
2023-05-19 09:45:15 +08:00
NovaRain
000816acb5
Merge branch 'scriptable-burst' into develop
2023-05-19 08:27:46 +08:00
NovaRain
37e7af2a17
Added documentation for set_spray_settings
2023-05-18 22:52:00 +08:00
NovaRain
befea69909
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:01:49 +08:00
NovaRain
c9034f917b
Added "set_spray_settings" function for scriptable burst ( #36 )
...
* Current implementation works similar to metarule2_explosions.
documentation will come later.
2023-05-17 00:14:44 +08:00
NovaRain
5b9e90100d
Changed AttackSubType enum "GUNS" to "RANGED"
...
* to be in line with define_extra.h, the naming is from RE/CE.
Minor textual edits to code.
2023-05-15 12:06:53 +08:00
NovaRain
00b85bec49
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:18:51 +08:00
NovaRain
571955fbcb
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:45:57 +08:00
NovaRain
f4e3049a0f
Code edits to PartyControl.cpp
...
* use roll_random function from the engine instead of making a new one.
Updated version number.
2023-04-19 10:41:20 +08:00
NovaRain
184af43928
Attempt for reproducible builds
...
* ducible.exe is built with v140_xp toolset and /arch:SSE.
2023-04-17 10:06:46 +08:00
NovaRain
32e9642f90
Replaced deprecated set-output command in action
...
Removed Debug Directory "coffgrp" from PE header of release builds.
2023-04-14 14:04:41 +08:00
NovaRain
a4d6687aab
Minor code edits to MiscPatches.cpp
2023-04-12 10:02:26 +08:00
NovaRain
99de222605
Release 4.3.8
2023-03-31 22:10:41 +08:00
NovaRain
29ad2bf3b8
Recompressed sfall resource files
2023-03-31 21:54:55 +08:00
NovaRain
4fc282fa61
Minor edit to the changelog
2023-03-29 14:31:50 +08:00
NovaRain
5b4e165368
Fixed assorted typos in documents
...
Added an example ini to Ammo INI Loader mod.
Updated the changelog.
2023-03-27 20:30:36 +08:00
NovaRain
b69e4e0eeb
Fixed being able to call multiple exit msg boxes with Alt+F4
2023-03-16 10:44:58 +08:00
NovaRain
254473cf1c
Added support for closing the game by Alt+F4 ( #457 )
2023-03-15 12:09:52 +08:00
NovaRain
c4efe78661
Updated readme and added changelog ( #451 )
2023-03-13 14:22:35 +08:00
NovaRain
656b122f3e
Removed deprecated "register" keyword
...
Minor edits to documents.
2023-03-10 21:01:21 +08:00
NovaRain
30802e8e21
Changed the copyright text format in the credits
2023-03-06 22:41:37 +08:00
NovaRain
56150d572a
Renamed some object flags
2023-03-05 10:18:59 +08:00
NovaRain
a75886a020
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:13:48 +08:00
NovaRain
64dc30d922
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:29:17 +08:00
NovaRain
a6a2285ffe
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:05:25 +08:00
NovaRain
381032a246
Removed redundant "Done" strings from sfall log
...
* only when there are alternative states or for graphics/sound/scripting
2023-02-10 08:42:02 +08:00
NovaRain
b6ee7bebf2
Tweaked how disabled unsafe opcodes work
...
* now disabled opcodes will just do nothing instead of causing the
script terminated.
2023-02-09 15:04:41 +08:00
NovaRain
dd73cbea9c
Removed StackEmptyWeapons from ddraw.ini (always enabled)
2023-02-02 12:38:33 +08:00
NovaRain
d3960cbebb
Bump activesupport to 6.1.7.1 in /docs (again)
2023-01-25 18:25:55 +08:00
NovaRain
e954b34676
Try to bump activesupport to 6.1.7.1 in /docs
2023-01-22 09:13:55 +08:00
NovaRain
5c5df4ef64
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:31:35 +08:00
NovaRain
ad137896c9
Increased the upper limit of ProcessorIdle
2023-01-07 23:06:07 +08:00
NovaRain
9bdd633fcd
Cosmetic edits: updated/unified the copyright header years
2022-12-31 10:13:41 +08:00
NovaRain
48e2a63cdf
Edits to sfall_ver_* script functions
...
* they take no arguments and only return constants, simpler structure
in ASM is enough.
2022-12-26 08:43:40 +08:00
NovaRain
33e6cb0cb8
Fixed broken read_string script function
...
* actually it has never worked.
2022-12-22 09:34:52 +08:00
NovaRain
52e796815a
Fixed a crash bug in FullItemDescInBarter
...
* when weapon/ammo has no description, it'd trigger UB from strncpy_s.
2022-12-17 10:35:39 +08:00
NovaRain
05f2fb4001
Minor edits to Functions_def.h
2022-12-03 13:18:06 +08:00
NovaRain
024a13c6a8
Minor edits to code and documents
2022-12-01 08:40:39 +08:00
NovaRain
9ecd598544
Fixed args for HOOK_RESTTIMER
2022-11-26 09:58:13 +08:00
NovaRain
8521c1772b
Minor edits to a few ASM hacks
...
(Changed 2-bytes null jcc to just 2 nop)
2022-11-16 12:19:04 +08:00
NovaRain
f7d94e16c9
Tweaked HOOK_INVENTORYMOVE for dropping caps
...
* before the amount was set in the dropped object only after the hook.
Edits to hook script documents.
2022-10-29 11:32:25 +08:00
NovaRain
3b8d2a4527
Edited the format for window title
...
Reorganized RMOBJ_* defines in define_extra.h.
2022-10-27 17:20:41 +08:00
NovaRain
db7419a2f7
Some format edits to documents
...
Updated version number.
2022-10-25 21:23:21 +08:00
NovaRain
6181140954
Minor edit to hook script document
2022-10-18 09:07:31 +08:00
NovaRain
007fa7314b
Minor edit to hookscripts.md
2022-10-18 08:58:51 +08:00
NovaRain
87f5a5f081
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:15 +08:00
NovaRain
5d5da0a471
Code correction to LoadOrder.cpp
...
Updated version number.
2022-09-28 10:17:11 +08:00
NovaRain
bd15cf2b9e
Fixed the order of autoloaded dat files on FAT file system
2022-09-27 16:14:38 +08:00
NovaRain
ea2a4bfdfa
Edited [ExtraPatches] description in ddraw.ini
2022-09-22 10:49:16 +08:00
NovaRain
c4b55734d1
Release 4.3.7
2022-08-27 21:15:14 +08:00