NovaRain
af2fdb5153
Updated changelog
2024-02-12 20:45:09 +08:00
NovaRain
22fbac8b9f
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:51:05 +08:00
8bd0861b01
Bump nokogiri from 1.14.3 to 1.16.2 in /docs ( #503 )
...
Bumps [nokogiri](https://github.com/sparklemotion/nokogiri ) from 1.14.3 to 1.16.2.
- [Release notes](https://github.com/sparklemotion/nokogiri/releases )
- [Changelog](https://github.com/sparklemotion/nokogiri/blob/main/CHANGELOG.md )
- [Commits](https://github.com/sparklemotion/nokogiri/compare/v1.14.3...v1.16.2 )
---
updated-dependencies:
- dependency-name: nokogiri
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-06 12:45:53 +08:00
NovaRain
b8fe8cb4e3
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:19:23 +08:00
NovaRain
4f786f3302
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:40:59 +08:00
NovaRain
ff650d8007
Added missing level cap to XPTable (fixed a hang)
2024-01-15 14:29:47 +08:00
NovaRain
9e4ac57775
Fixed log entry for PatchFileXX options
...
(also allow using ".\\", as it cannot escape the game folder.)
2024-01-11 21:38:58 +08:00
NovaRain
bfbbc339d0
Updated version number and year
2024-01-02 10:28:17 +08:00
5ff5bc647e
Bump actions/upload-artifact from 3 to 4 ( #500 )
...
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact ) from 3 to 4.
- [Release notes](https://github.com/actions/upload-artifact/releases )
- [Commits](https://github.com/actions/upload-artifact/compare/v3...v4 )
---
updated-dependencies:
- dependency-name: actions/upload-artifact
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-02 00:26:35 +08:00
89ffc619d3
Bump actions/setup-python from 4 to 5 ( #499 )
...
Bumps [actions/setup-python](https://github.com/actions/setup-python ) from 4 to 5.
- [Release notes](https://github.com/actions/setup-python/releases )
- [Commits](https://github.com/actions/setup-python/compare/v4...v5 )
---
updated-dependencies:
- dependency-name: actions/setup-python
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-02 00:26:26 +08:00
NovaRain
ea9a701f51
Fixed functions.yml
2023-12-27 13:25:19 +08:00
NovaRain
7e47607781
Added reg_anim_animate_and_move script function ( closes #497 )
2023-12-27 13:18:52 +08:00
NovaRain
cfcc66ad1a
Fixed right arm critical hit messages for some critter types
...
(BGforgeNet/Fallout2_Restoration_Project#256 )
2023-12-19 21:01:36 +08:00
NovaRain
ff5c9c9cfc
Tweaked the condition check for instadeath fix
2023-12-15 20:44:29 +08:00
NovaRain
dcbe6c9c7e
Fixed 0 dmg instadeath crits with HOOK_COMBATDAMAGE
2023-12-15 09:17:19 +08:00
NovaRain
96bfe13939
Fixed skipping to lv99 when leveling up from lv97
...
(mentioned in Per's guide)
Minor code edits.
2023-12-04 21:52:03 +08:00
NovaRain
b5a9679c6c
Use proper size directives in ASM code
2023-12-02 18:22:16 +08:00
NovaRain
71e43cb890
Engine now uses 'English' as the fallback language for the credits
...
Updated version number.
2023-11-30 22:42:22 +08:00
NovaRain
4bc981dbc1
Updated changelog for better clarity
2023-11-20 21:28:06 +08:00
NovaRain
34a81e4f54
Updated changelog
2023-11-20 10:19:04 +08:00
NovaRain
584e026624
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:48:36 +08:00
NovaRain
1cca798b80
Tweaked the position of the ammo bar
...
Tweaked the alternative ammo bar to exactly match Mash's.
2023-10-30 21:31:21 +08:00
NovaRain
47d9bb1627
[HRP] Fixed the clickability issue of the file list in the char screen
2023-10-28 23:43:58 +08:00
NovaRain
2b8b797920
Fixed incorrect data for saved arrays
...
Updated version number.
2023-10-27 22:41:58 +08:00
NovaRain
b1ce08a78f
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:13:37 +08:00
NovaRain
143ec750cf
Updated documents (mainly array functions)
2023-10-16 11:32:52 +08:00
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
1b3530e702
Bump actions/checkout from 3 to 4 ( #493 )
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/v3...v4 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-01 21:04:56 +08:00
NovaRain
deee6fc521
Corrected the description of CALCAPCOST hook
2023-09-30 17:17:53 +08:00
brussell1 and GitHub
e703a82c8b
Fixed German translation ( #491 )
2023-08-26 01:39:08 +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
b4fe9b3e57
Bump commonmarker from 0.23.9 to 0.23.10 in /docs ( #490 )
...
Bumps [commonmarker](https://github.com/gjtorikian/commonmarker ) from 0.23.9 to 0.23.10.
- [Release notes](https://github.com/gjtorikian/commonmarker/releases )
- [Changelog](https://github.com/gjtorikian/commonmarker/blob/v0.23.10/CHANGELOG.md )
- [Commits](https://github.com/gjtorikian/commonmarker/compare/v0.23.9...v0.23.10 )
---
updated-dependencies:
- dependency-name: commonmarker
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-09 08:24:32 +08:00
phobos2077
553c7cc195
Renamed string_pos back to string_find to make meaning more obvious
2023-08-07 20:01:21 +02: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
phobos2077
5d7015bbb5
Headers update
...
- Synced a small number of defines from RPU headers
- Removed duplicate defines from define_lite
2023-07-30 22:24:44 +02:00
phobos2077
f0ec82923d
EnginePerks: fixes
...
- Remove duplicate Salesman tweak
- Decoupled hacks for multi-perk-level support for Salesman and Demolition Expert from the bonus value change
- Renamed settings for consistency ("<PerkName>Bonus" when it has only one effect)
2023-07-30 22:00:04 +02:00
phobos2077
cd5c803386
EnginePerks: rewritten and expanded
...
- Got rid of unused and repeated code
- Added all perk skill bonuses
2023-07-30 19:58:34 +02:00
NovaRain
c95d872f77
Added build instructions to readme
2023-07-26 15:08:41 +08:00
phobos2077
5c3c1ca4db
Header fixes
...
- Fix conflict with RPU command_extra.h
- Fix undefined debug_array_str error
2023-07-24 00:56:01 +02:00
NovaRain
cb1a3dd764
Reverted the ASM change for StealCheckHook in commit 53c294c
2023-07-23 07:42:16 +08:00
phobos2077
4c441d5852
Fix incorrect int->float conversion in op_sub ( closes #488 )
2023-07-22 21:22:27 +02:00
NovaRain
53c294cf98
Edited ASM code and documents for HOOK_STEAL
2023-07-22 20:46:26 +08:00
phobos2077
5394352bf0
HOOK_STEAL: add ret0 value 2 to fail "silently"
2023-07-22 13:43:23 +02:00
phobos2077
f267224428
HOOK_STEAL: return value improvements
...
- Allow to use vanilla handler but only override experience in case of success
- Treat both return values less than -1 the same as -1
2023-07-22 10:43:18 +02:00
phobos2077
b189fe9252
HOOK_STEAL: ret1 to override experience for successful stealing
2023-07-22 04:21:05 +02:00
phobos2077
b2c9b1cc23
HOOK_STEAL: add arg4 - quantity of items stolen
2023-07-22 03:29:31 +02: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
phobos2077
a2ea1910f5
Minor header and readme edits
2023-07-10 23:56:58 +02: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
phobos2077
66559812bd
Updated headers
...
- Add a bunch of array-related procs to unlock basic functional programming
- Fix error with FUNC_SELECTOR_7
2023-07-05 02:31:47 +02:00
phobos2077
f968dea5e7
string_pos: use negative pos value how it works in substr
2023-07-05 01:47:47 +02:00
phobos2077
664fb84dc5
string_find renamed to string_pos + header update
...
- Renamed get_clamped to math_clamp for consistency (libs should use namespace prefixes)
- Nuked above/below macros and renamed unsigned_comp to insigned_int_compare, because it doesn't work with floats
- Replaced sprintf2 and string_pos with macros (due to new metarules)
- Add a few entries to functions.yml
2023-07-04 21:06:35 +02:00
phobos2077
74ef65335d
Add string_find metarule
...
- lib.inven.h: Updated remove_items_pid to return actually removed quantity
2023-07-04 20:19:38 +02: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
phobos2077
0bb5941c98
IniReader: Remove bufSize argument when it's not used ( closes #485 )
...
- Fix return value of getString with buffer argument
- Increase max line length to 2048
2023-06-27 00:14:00 +02:00
phobos2077
3e4e9ff4e6
Console window improvements
...
- Retain maximized/minimized state
- Save normal position when closing in maximized/minized 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-26 23:31:06 +02: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
phobos2077
5f38744a2e
De-shittify string_format ( closes #482 )
2023-06-25 00:24:24 +02:00
phobos2077
c0aac45b0c
ConsoleWindow: attempt to fix position jumping
2023-06-24 13:12:38 +02: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
phobos2077 and NovaRain
3f8d322697
Fix container highlight condition
2023-06-24 07:59:16 +08:00
phobos2077 and NovaRain
50b51fc1a3
Highlighting mod update
...
- Optional highlighting of critters, using the same colors and rules as in the combat mode
- Holding highlight key will update outlines based on current positions
- Enable LOS check by default for more interesting looting
2023-06-24 07:59:16 +08:00
phobos2077
e1aebb21e4
op_create_spatial: fix spatial object having no scriptIndex upon creation
2023-06-24 01:58:17 +02:00
phobos2077
a5075734cc
ConsoleWindow: prevent user from messing up window position & size
2023-06-24 01:57:27 +02:00
phobos2077
4adb6dffe2
get_ini_config - reset array cache to prevent wrong arrays being returned!
2023-06-21 23:32:33 +02: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
phobos2077
3a3760704c
Load order: more informative logging
2023-06-20 20:44:57 +02: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 and GitHub
14f6de0329
Merge pull request #481 from sfall-team/feature/fo-ini-reader
...
INI Config reader:
- Replaced GetPrivateProfile* functions for reading ini with vanilla-based INI reader.
- Changed IniReader classes to read INI files once using new Config class and cache results until GameReset (going to main menu).
- Added metarule to read entire INI file in one operation and return as two-dimensional map array.
- Increased limits for INI strings to 1021.
2023-06-19 11:22:27 +08:00
phobos2077
e33a025c62
get_ini_config: sanitize and validate INI path
2023-06-18 15:01:25 +02:00
phobos2077
20088ffcb1
Save window positions in OnBeforeGameClose
...
- This way we can guarantee sfall has not started to "destruct" yet, so we don't have to rely on the order of destructor calls
2023-06-18 00:41:45 +02:00
phobos2077
cec091bda2
IniReader: Remove ini file from cache when it's changed by SetString
...
- Had to reorganize some code to make this work. Changed how some singletons are created to guarantee destructor calls in correct order (IniReader is constructed first and destructed last, after every other module).
2023-06-17 23:33:37 +02:00
NovaRain
97c2b111ff
Updated the description of ConsoleWindow
...
Simplified ASM code in Premade.cpp a bit.
2023-06-17 21:40:11 +08:00
Vlad and GitHub
1e4bbaedbd
Merge branch 'develop' into feature/fo-ini-reader
2023-06-16 18:13:12 +02:00
NovaRain and GitHub
fce35c7e14
Merge pull request #480 from sfall-team/feature/debug-log-overflow-fix
...
Fixed buffer overflow when DebugMode is enabled and printing messages longer than 259 via script.
2023-06-16 23:37:59 +08:00
phobos2077
4d19fa2d60
Use single function for all string-to-integer conversions for consistent behavior
...
- Reading INI from within sfall as well as get_ini_setting opcode
- calling atoi opcode
- Support auto-detecting 0x, 0 and 0b for hex, octal and binary representations respectively
2023-06-16 16:06:24 +02:00
phobos2077
0a6a604abc
Add support for using 0b prefix in INI files to denote binary base (consistent with GetPrivateProfile*)
2023-06-16 15:10:25 +02:00
phobos2077
2cef5310e2
Rewrite console writing
...
- Separate debug_msg and display_msg as separate Source
- Merge writing to one function with proper filtering
2023-06-16 14:57:41 +02:00
phobos2077
fe7aa9ae04
Removed unused code
2023-06-16 02:16:25 +02:00
phobos2077
b36771da48
Increase maximum size of one INI line to 1023 and fix potential crash in IniReader::getString()
...
- Now can read strings up to 1021 from INI files using all available functions (get_ini_string, get_ini_section, get_ini_config)
2023-06-16 00:53:03 +02:00
phobos2077
ad6491d61e
Increase array string limit to 1024 bytes
...
- Because it is now safe to log longer stuff
2023-06-16 00:16:36 +02:00
phobos2077
4de5de6a0c
Restore code page option from NovaRain
2023-06-16 00:02:55 +02:00
phobos2077
347b4a3ecb
Fix buffer overflow when DebugMode is enabled and printing messages longer than 259 via script
...
- Refactoring: moved ConsoleWindow into separate file
2023-06-15 23:57:41 +02:00
phobos2077
0b161c7374
Rename metarule for consistency with other ini-related functions, add to functions.yml
2023-06-15 21:48:06 +02:00
phobos2077
7bbc15ab0b
Made Config queries case-insensitive for both section names and keys to match GetPrivateProfile* behavior
2023-06-15 21:01:24 +02:00
phobos2077
ac02971d61
get_ini_section(s): switched to using Config class
...
- Load configs via IniReader to take advantage of it's cache
2023-06-15 19:28:52 +02:00
phobos2077
e4ea3645d6
Add config_load metarule to efficiently load INI into array and also load INI from DAT
...
- Refactoring: moved all ini-related handlers into new cpp
- Moved modified_ini opcode to C++
2023-06-15 19:01:07 +02:00
NovaRain
f9dc7a3e25
Added code page setting for the console window
2023-06-15 23:27:07 +08:00
phobos2077
3f7ce8c412
Custom Config parser based on Vanilla & Fallout CE
2023-06-15 15:30:46 +02:00
phobos2077
6d3afd4e7d
Attempt to fix config reader memory allocation issues (unsuccessful)
2023-06-15 15:30:46 +02:00
phobos2077
2fcf81cb78
Read all ini's using built-in FO config parser
2023-06-15 15:30:46 +02:00
phobos2077
b8c52304eb
Add precise time measurements for: Sfall Init, Game Init, New Game start and Save game load.
2023-06-15 15:30:24 +02: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 and GitHub
7bf562338c
Merge pull request #477 from sfall-team/feature/console-window-v2
...
Console Window output (closes #474 )
2023-06-15 13:14:46 +08:00
phobos2077
5f38a934ca
Console improvements
...
- Save & restore window position
- Fix display_msg not mirrored to console
- Fix log prefixes showing up mid line
2023-06-14 21:34:57 +02:00
phobos2077
3c40518e87
Make sfall logs a little prettier
2023-06-14 20:01:13 +02: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
phobos2077
dc665cb741
Debugging.ConsoleWindow option
2023-06-13 23:09:21 +02:00
phobos2077
d7127a4deb
Fix crash in debug mode due to __stdcall not being explicitly specified for C++ function ( closes #476 )
2023-06-13 19:45:11 +02: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
phobos2077
f5e7235a80
get_tile_fid: take FRM Limit patch into account by extending FRM mask from 12 to 14 bits
2023-06-13 01:10:23 +02:00
phobos2077
0fef6f1f8c
mods_order: remove comments before other checks, to prevent valid paths being ignored
2023-06-12 19:55:33 +02:00
phobos2077
4b9008d53c
get_tile_fid correct for backwards compatibility and flexibility
...
- Allow to pass elevation using the free bits of the tileNum value to access elevations 1 and 2 (instead of defaulting to dude_elevation, which is not how it worked before)
- Access roof FID and raw data using mode flags in the top 4 bits
2023-06-12 18:26:28 +02:00
phobos2077
0d960ca326
Fix get_tile_fid function to work on elevations 1 and 2
...
- Since it has no second argument, assume dude elevation
- Rewrite into new opcode system
2023-06-12 16:44:07 +02:00
Vlad and GitHub
c95d074f44
Merge pull request #470 from sfall-team/feature/load_order
...
load_order.txt per #469
2023-06-12 14:47:27 +02:00
Vlad and GitHub
4b88bfad10
Merge pull request #473 from sfall-team/hook_return_string_v2
...
Allow passing string directly to set_sfall_return in HOOK_DESCRIPTIONOBJ (v2)
2023-06-12 14:46:59 +02:00
phobos2077
94388d3470
LoadOrder update
...
- Rename to "mods_order.txt"
- Create "mods" folder if it doesn't exist before creating an empty mods_order.txt
- Trim space and tab characters
- Allow comments after file names with ; or # (INI-style)
2023-06-12 11:59:10 +02:00
phobos2077
208cacc4dd
load_order.txt per #469
2023-06-12 11:59:10 +02:00
phobos2077
f222348b25
Update docs, remove deprecated macro
2023-06-12 11:55:06 +02:00
phobos2077
49cf0e6726
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-12 11:52:12 +02:00
phobos2077
d107edbb23
invenWieldFunc fix for putting non-armor, non-weapon items into hand slot
2023-06-11 20:12:11 +02:00
phobos2077
e9f8984819
Script Headers: fix remove_items_pid function and fix naming
...
- It didn't take different stacks of items into account as well as cases where one item is in the backback and other in the slot and you need to remove both
2023-06-11 14:07:44 +02:00
NovaRain
ab0c373a9b
Minor edits to code and documents
...
Commented out unused combat related functions.
2023-06-09 11:20:47 +08:00
phobos2077
1c34f85789
Add get_combat_free_move for better mod compatibility
2023-06-08 21:36:09 +02: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
phobos2077
21fe99a297
Docs: Clarification about get_ini_* function return values
...
- Also updated lib.strings.h
2023-06-04 20:32:43 +02:00
phobos2077
ac1abf71f8
Corrected hook documentation
2023-06-04 12:02:11 +02:00
phobos2077
bfc9fd4d88
Add set_combat_free_move metarule and 2 arguments to STDPROCEDURE to make it more useful
2023-06-04 11:59:13 +02:00
phobos2077
f755e0a1dc
Header update
2023-06-04 11:59:13 +02: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
phobos2077
d5268f3fbc
Small update to headers
2023-05-25 02:37:51 +02: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
phobos2077
a3cfc481a5
Remove postbuild.cmd from git
2023-05-16 18:50:13 +02: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
phobos2077
427a978bb4
Implemented YAAM damage formula in script
2023-05-14 23:31:40 +02:00
phobos2077
e6e941e14c
Updated gl_compute_damage example script to work as 1:1 reflection of vanilla damage formula
...
- In hope that this will make it easier for someone to write his own damage formula
2023-05-14 22:50:33 +02:00
phobos2077
493003af54
Updated some defines
...
- ATKMODE defines removed to avoid confusion - these are really two 4-bit fields, not bit flags!
2023-05-14 01:44:15 +02:00
phobos2077
1683678657
Revert adding RMOBJ to avoid duplication from devine_extra.h
2023-05-08 10:38:35 +02:00
phobos2077
a05207cc83
Add some missing script defines
2023-05-08 02:53:31 +02: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
59310dec6d
Bump nokogiri from 1.13.10 to 1.14.3 in /docs ( #462 )
...
Bumps [nokogiri](https://github.com/sparklemotion/nokogiri ) from 1.13.10 to 1.14.3.
- [Release notes](https://github.com/sparklemotion/nokogiri/releases )
- [Changelog](https://github.com/sparklemotion/nokogiri/blob/main/CHANGELOG.md )
- [Commits](https://github.com/sparklemotion/nokogiri/compare/v1.13.10...v1.14.3 )
---
updated-dependencies:
- dependency-name: nokogiri
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-12 14:29:01 +08:00
55c5c815f8
Bump commonmarker from 0.23.7 to 0.23.9 in /docs ( #461 )
...
Bumps [commonmarker](https://github.com/gjtorikian/commonmarker ) from 0.23.7 to 0.23.9.
- [Release notes](https://github.com/gjtorikian/commonmarker/releases )
- [Changelog](https://github.com/gjtorikian/commonmarker/blob/main/CHANGELOG.md )
- [Commits](https://github.com/gjtorikian/commonmarker/compare/v0.23.7...v0.23.9 )
---
updated-dependencies:
- dependency-name: commonmarker
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-12 14:28:50 +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 and GitHub
43a261bd27
Bump activesupport to 6.1.7.3 in /docs
2023-03-20 10:04:46 +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
a93eee9849
Bump commonmarker from 0.23.6 to 0.23.7 in /docs ( #454 )
...
Bumps [commonmarker](https://github.com/gjtorikian/commonmarker ) from 0.23.6 to 0.23.7.
- [Release notes](https://github.com/gjtorikian/commonmarker/releases )
- [Changelog](https://github.com/gjtorikian/commonmarker/blob/main/CHANGELOG.md )
- [Commits](https://github.com/gjtorikian/commonmarker/compare/v0.23.6...v0.23.7 )
---
updated-dependencies:
- dependency-name: commonmarker
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-25 18:23:49 +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
6c7bbb5a58
Bump nokogiri from 1.13.9 to 1.13.10 in /docs ( #449 )
...
Bumps [nokogiri](https://github.com/sparklemotion/nokogiri ) from 1.13.9 to 1.13.10.
- [Release notes](https://github.com/sparklemotion/nokogiri/releases )
- [Changelog](https://github.com/sparklemotion/nokogiri/blob/main/CHANGELOG.md )
- [Commits](https://github.com/sparklemotion/nokogiri/compare/v1.13.9...v1.13.10 )
---
updated-dependencies:
- dependency-name: nokogiri
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-08 12:17:40 +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
e93ca6fcab
Bump nokogiri from 1.13.6 to 1.13.9 in /docs ( #447 )
...
Bumps [nokogiri](https://github.com/sparklemotion/nokogiri ) from 1.13.6 to 1.13.9.
- [Release notes](https://github.com/sparklemotion/nokogiri/releases )
- [Changelog](https://github.com/sparklemotion/nokogiri/blob/main/CHANGELOG.md )
- [Commits](https://github.com/sparklemotion/nokogiri/compare/v1.13.6...v1.13.9 )
---
updated-dependencies:
- dependency-name: nokogiri
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-21 11:12:22 +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
8ad4f86e1d
Bump commonmarker from 0.23.4 to 0.23.6 in /docs ( #444 )
...
Bumps [commonmarker](https://github.com/gjtorikian/commonmarker ) from 0.23.4 to 0.23.6.
- [Release notes](https://github.com/gjtorikian/commonmarker/releases )
- [Changelog](https://github.com/gjtorikian/commonmarker/blob/main/CHANGELOG.md )
- [Commits](https://github.com/gjtorikian/commonmarker/compare/v0.23.4...v0.23.6 )
---
updated-dependencies:
- dependency-name: commonmarker
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-22 10:46:18 +08:00