Commit Graph
100 Commits
Author SHA1 Message Date
NovaRain a9f03544d5 Fixed movie scale pitch size for CPU palette conversion 2022-01-20 10:29:00 +08:00
NovaRain 03676d09ee Fixed the music not playing after loading a saved game (#422)
* if the save is on the same map, and while in the game.
2022-01-20 07:11:51 +08:00
NovaRain e17ad5d11b Minor code edits 2022-01-19 09:41:37 +08:00
NovaRain b66cc42fbc [HRP] Added missing movie scaling implementation for GPUBlt=2
Reverted the previous commit.
2022-01-18 08:52:00 +08:00
NovaRain 6cf41401aa Disabled compiling HLSL shader files at build-time
* use existed files in the HLSL folder instead.
2022-01-17 21:25:25 +08:00
NovaRain 45e2037082 Added HLSL source files and compiled shader files
* this should remove the hidden dependency on d3dcompiler_xx.dll.
2022-01-17 21:14:01 +08:00
NovaRain fc5863ac46 Added a new warning message on shader effects to Graphics.cpp 2022-01-17 12:12:08 +08:00
NovaRain 0a5ec8c70f Added a redraw timer to the debug editor
* redraws the background game screen when moving the editor window.
* works for sfall DX9 mode.
2022-01-17 09:51:24 +08:00
NovaRain 937cff235e Updated the year for version info 2022-01-17 08:53:48 +08:00
NovaRain 6bf967e877 Code correction to DebugEditor.cpp 2022-01-15 11:59:13 +08:00
NovaRain f839c8374a Increased the width of the mouse drop area for inv on the barter screen
Removed HRP's BARTER_PC_INV_DROP_FIX.
2022-01-15 09:56:55 +08:00
NovaRain 3301ace580 [HRP] Fixed interface position for smaller resolution (640x480)
[HRP] Fixed main menu position when MAIN_MENU_SIZE=0
2022-01-15 08:57:51 +08:00
NovaRain 247d4fae6c Edits to the arrays document 2022-01-13 21:29:24 +08:00
NovaRain f30558b091 Fixed a bug in 4.3.1 that caused AI to be unable to use some weapons
Code edits regarding AIpref in Enums.h.

Added GamePids.h (derived from ItemPid.h in mapper scripts)
2022-01-13 10:14:25 +08:00
NovaRain 7c0adc558a Updated documents for the removal of ArraysBehavior option
Some other minor edits to documents.
2022-01-12 09:40:18 +08:00
NovaRain 5493ed38d3 Redid the idle implementation for ProcessorIdle
[HRP] Added support for CPU_USAGE_FIX option.
[HRP] Code changes to DirectDraw.cpp for DD7 performance.
2022-01-11 10:03:11 +08:00
NovaRain 16ad57806f Removed ArraysBehavior and RemoveWindowRounding from ddraw.ini
* both are now always enabled
2022-01-07 06:46:28 +08:00
NovaRain adadf608e7 Changed the "Radiated" on the char screen to be highlighted in gray
* when the player still has an impending radiation effect

[HRP] Fixed the clickability issue for SCALE_BUTTONS_AND_TEXT_MENU.

Moved some code related to HRP.
Unified the naming style for color variables.
2022-01-06 14:19:05 +08:00
NovaRain 6faf71da66 Code edits to Graphics.cpp for device lost state 2022-01-04 07:03:50 +08:00
NovaRain 40fa4a1336 Fixed black screen after restoring DX9 device 2022-01-03 23:58:17 +08:00
NovaRain 8427ad657a Fixed Tilemap::make_path_func and DrawAlternateAmmoMetre functions 2022-01-03 07:07:08 +08:00
NovaRain 5fbbeeb328 [HRP] Code correction 2021-12-29 07:06:56 +08:00
NovaRain a30f640eb9 [HRP] Added support for reading .rix images larger than 640x480 2021-12-29 06:20:20 +08:00
NovaRain 921db36478 Improved the message box for CRC mismatch
Changed SkipCompatModeCheck to not require sfall debugging mode.
Minor code edits.
2021-12-28 12:44:20 +08:00
NovaRain 74455db5a9 Removed SkipSizeCheck from ddraw.ini
* the executable file size check is also removed (mostly).
2021-12-27 10:15:41 +08:00
NovaRain 437e6bfaea Code correction/edits to the previous commit
Added a debug message for the open file limit being exceeded.
2021-12-26 11:33:15 +08:00
NovaRain eb0bd4dfd0 Fixed the broken fix for addicted party members
(BGforgeNet/Fallout2_Restoration_Project#131, #420)

Improved the duplicate path removal in LoadOrder.cpp.
Code edits to the fix in previous commit for system compatibility.
2021-12-25 20:40:09 +08:00
NovaRain b0cc4352f7 Added additional fixes to FadeBackgroundMusic
* fixes not closing sound files after fading, which led to unable to
load the game anymore due to the the open files limit.

Code edits to CRC.cpp for displayed messages.
2021-12-24 13:47:22 +08:00
NovaRain df15a147d9 Renamed ShowMapGridKey to MapGridToggleKey 2021-12-21 09:47:59 +08:00
NovaRain 680284d785 Fixed crashes in HRP code
Reverted the version string on the main menu.
2021-12-20 12:16:18 +08:00
NovaRain 3cc98fc15d Added a debug option to toggle the hex grid
Added HiResMode option to ddraw.ini, along with some edits.
Fixed db_init function wrapper.
Some edits to HRP code.
2021-12-20 12:00:45 +08:00
NovaRain 317c462918 Edited action.yml for additional library 2021-12-19 09:06:20 +08:00
NovaRain c7e46a6b84 Merge branch 'HRP-integration' into develop
# Conflicts:
#	sfall/Game/GUI/Text.cpp
#	sfall/Modules/Interface.cpp
2021-12-19 09:01:48 +08:00
NovaRain 92a24a6112 Code cleanup and edits before merging 2021-12-19 08:42:36 +08:00
NovaRain da5286eaa9 Code cleanup and correction 2021-12-19 08:40:12 +08:00
NovaRain 3022e96809 Merge branch 'develop' into HRP-integration 2021-12-18 12:58:03 +08:00
NovaRain 6ff73a513e Fixed the load order of f2_res.dat & sfall.dat
Changed the default graphics mode back to 0 (now DD7).
2021-12-18 11:39:05 +08:00
NovaRain 53be017f0b Added fixed call point for sfall initialization 2021-12-17 09:56:52 +08:00
NovaRain 095dfae544 Fixed broken object descriptions for Chinese version
Minor code edits.
2021-12-16 12:38:14 +08:00
NovaRain 3145d4e5dc Added missing functions (was causing errors)
Added an improvement to prevent the player from running outside the
cropped part of the map.

Added an improvement for the list of action icons when enabling
IFACE_BAR_MODE (the list is no longer created under the interface).
2021-12-16 12:28:26 +08:00
NovaRain 5a18570bd9 Code changes to Graphics.cpp & main.cpp
* from HRP test branch
2021-12-12 10:28:35 +08:00
NovaRain fb8ca5317f Added SCALE_2X option, and minor fixes 2021-12-12 09:26:23 +08:00
NovaRain bc8665b131 Added a limit on path nodes for NPCs to NumPathNodes option 2021-12-11 10:36:26 +08:00
NovaRain fee4720ef5 Added ALTERNATE_AMMO_METRE and NumPathNodes options 2021-12-11 09:19:00 +08:00
NovaRain 7553b7bfc0 Fixed a crash bug in FadeBackgroundMusic
(when trying to mute the master audio volume in the preferences screen)

Minor code edits.
2021-12-10 09:58:22 +08:00
NovaRain 26b3fac1e0 Code fixes/edits to the previous commit 2021-12-10 09:12:44 +08:00
NovaRain 0ba69166b9 Added FADE_TIME_RECALCULATE_ON_FADE and EXTRA_WIN_MSG_CHECKS options 2021-12-09 09:47:59 +08:00
NovaRain d94e68ba73 Finished the code for DirectDraw graphics mode 2021-12-08 12:59:02 +08:00
NovaRain 69cd1461f1 Updated the code for DirectDraw graphics mode 2021-12-07 08:43:02 +08:00
NovaRain 6ca5644e99 (WIP) Added DirectDraw graphics mode for built-in HRP
Moved some code from Graphics.cpp to WinProc.cpp
2021-12-05 09:29:48 +08:00
NovaRain 70da19e49b Added code for game movies and edited other code 2021-12-02 12:26:23 +08:00
NovaRain aa6f1cabec Edit to the previous commit 2021-11-28 19:02:24 +08:00
NovaRain 0a42db619d Added a tweak to allow printing new floating messages when their limit is exceeded (#388)
Fixed incorrect value of the limit number of floating messages.
2021-11-28 12:35:14 +08:00
NovaRain ccaacd72e4 Updated code for deactivating the external HRP 2021-11-28 09:31:13 +08:00
NovaRain 6f08a50f9a Removed UseCommandLine from ddraw.ini (always enabled)
Updated version number.
2021-11-27 06:42:19 +08:00
NovaRain 98cc168288 Added CreditsScreen.cpp/h 2021-11-26 09:32:55 +08:00
NovaRain 81912b47ed Added optimization for the save/load game screens
Edited the description of args for HOOK_TOHIT.
2021-11-23 20:43:19 +08:00
NovaRain 5acdf37c80 Added DeathScreen.cpp/h and SlidesScreen.cpp/h
Added optimization for the save/load game screens.
2021-11-23 10:04:05 +08:00
NovaRain f76c0dfe91 Added HelpScreen.cpp/h and Worldmap.cpp/h 2021-11-20 08:45:09 +08:00
NovaRain ba7773223a Added Character, LoadSave, and MiscInterface files 2021-11-19 08:54:42 +08:00
NovaRain 809cba44e8 Minor code edits to Graphics.cpp from HRP branch 2021-11-17 10:05:33 +08:00
NovaRain 1c3f3dbbd5 Changed the namespace for HRP modules
Moved some functions to the HRP namespace.
2021-11-17 10:03:45 +08:00
NovaRain 5265dd8ded Updated code 2021-11-17 06:42:12 +08:00
NovaRain 7e65aa2c64 Fixed the redrawing of windows with "DontMoveTop" flag
* if one is not topmost, it's not redrawn after calling show function.
2021-11-16 15:03:41 +08:00
NovaRain be4978324c Fixed minor bugs in HeroAppearance & CritterStats
Fixed incorrect display of name and damage values for unarmed attacks
in some cases.

Minor code edits.
2021-11-15 10:55:52 +08:00
NovaRain 1834fa3d18 Updated code for the interface bar 2021-11-15 09:02:23 +08:00
NovaRain ae05feee8c Updated code for the interface bar (WIP) 2021-11-14 09:36:29 +08:00
NovaRain e7add0d1b4 Added inventory code 2021-11-12 00:48:06 +08:00
NovaRain 5a61bb8fc3 Added code for Dialog/Barter interface
Added support for Continuum's dialog graphic.
2021-11-10 10:43:15 +08:00
NovaRain 32924db37c Reverted Worldmap.cpp changes in commit c19137b 2021-11-10 08:45:12 +08:00
NovaRain cd3c220ef8 Changed the option name of grave containers fix
Edited the code of tile_num function wrapper.
Reorganized the options in ddraw.ini.
Updated web document.
2021-11-09 10:01:17 +08:00
NovaRain 09813aeb86 Code edits to ScriptExtender.cpp/SpeedPatch.cpp
Minor edits to some files.
2021-11-08 13:45:35 +08:00
NovaRain f75214056e Updated map view code 2021-11-08 10:24:59 +08:00
NovaRain d4f011913c Changed the fix in commit 583105a to an option (#412) 2021-11-06 22:44:14 +08:00
NovaRain a543cd934c Updated the code for map edge clipping 2021-11-06 01:16:04 +08:00
NovaRain eb7aca6595 Added map edge clipping (partial) 2021-11-04 06:57:46 +08:00
NovaRain 49cfe39038 Updated code in EdgeBorder/ViewMap. 2021-11-03 09:02:37 +08:00
NovaRain 163b9ed5d3 Simplified the calculation loop in Glovz's formula
Changed the title bar text for DX9 windowed mode.
2021-11-02 09:39:47 +08:00
NovaRain 3846ec9b9d Updated/Corrected code
Added InterfaceBar.cpp/h.
2021-11-02 09:15:11 +08:00
NovaRain e35745353c Improvements for the windowed game mode
Some changes in the implementation of HRP code.
2021-10-31 09:57:18 +08:00
NovaRain d7647bca18 Optimized the calculation loop in YAAM code 2021-10-30 09:16:39 +08:00
NovaRain 53278a090b Some edits to YAAM code
Changed OverrideArtCacheSize to set the art cache size to 261.
Fixed typo in ddraw.ini.
2021-10-27 22:02:09 +08:00
NovaRain a533943200 Cosmetic edit: alignment of GPL text in some files 2021-10-27 22:01:15 +08:00
NovaRain 4385807cd3 Added code for the previous commit 2021-10-27 10:03:42 +08:00
NovaRain 17c73a81da Added ViewMap.cpp/h and EdgeBorder.cpp/h 2021-10-26 09:02:32 +08:00
NovaRain f2bc04001e Changed the description of CheckWeaponAmmoCost in ddraw.ini
Replaced <br> html tag with backslash in markdown documents.
(CommonMark spec)
2021-10-25 10:18:16 +08:00
NovaRain f1c087b3a3 Improved the division function in previous commit
Rewrote the text hook for main_menu_create_ in C++ (from HRP branch)
Updated version number.
2021-10-25 09:52:18 +08:00
NovaRain 3dea47c467 Rewrote Glovz's damage formula code in C++ (#355) 2021-10-24 11:12:56 +08:00
NovaRain c5075aa478 Finished the implementation of the main menu
* requires testing and correction of minor inaccuracies.
2021-10-23 07:34:39 +08:00
NovaRain 8d58e6e3bb Misc code edits 2021-10-22 00:23:58 +08:00
NovaRain be4c73fd50 Continue implementing the main menu section
Misc code edits.
2021-10-22 00:19:36 +08:00
NovaRain a19baedb96 [HRP] Implementation: MAINMENU, STATIC_SCREENS 2021-10-18 21:24:41 +08:00
NovaRain 43a8e84dee Updated define_extra.h 2021-10-16 07:24:58 +08:00
NovaRain 6c6f0be11b Updated web document 2021-10-15 10:51:44 +08:00
NovaRain f48fce3274 Fixed a rounding error in Glovz's damage formula
Minor edit to gl_partycontrol script.
Updated Russian and Germen translations.
2021-10-15 10:06:02 +08:00
NovaRain b475bf91fb Updated Polish translation
Added char* variant functions to Logging.cpp.
2021-10-14 09:25:15 +08:00
NovaRain ecd574063a Minor code edits, now sfall will always create sfall-log.txt
* still won't write any unless debug options are enabled in ddraw.ini.
2021-10-13 13:47:22 +08:00
NovaRain 101238e125 Improved the party control and fixed mod related bugs
Updated gl_partycontrol script.
2021-10-13 13:01:24 +08:00
NovaRain 2e97fe38ff Fixed JetWithdrawal in Drugs.ini conflict with fix in commit dfd810c
Simplified the code in the previous commit.
2021-10-10 07:19:46 +08:00
NovaRain 583105a76a Fixed the execution of use_p_proc handler for grave type containers
* "grave type" is a container with only two frames (open/closed)
* in vanilla code, using a grave type container in the open state does
not execute use_p_proc in its script like other containers do.
2021-10-08 10:46:57 +08:00