NovaRain
84204d97d8
Simplified the code in HeroAppearance.cpp
2020-02-03 11:23:20 +08:00
NovaRain
3b85596ca1
Renamed all Op.hpp to Ops.hpp
2020-02-02 21:54:10 +08:00
NovaRain
21bf1056ac
Added DivisionOperatorFix option for signed integer division ( #278 )
...
* it changes the behavior of vanilla division operator to use signed
integer division. Before it used signed division for floats but
unsigned for integers.
Added a new "div" operator for unsigned integer division.
Moved mathematical script functions from ScriptUtils.hpp to new MathOps.
Added include guard to sfall.h and main.h in modders pack.
2020-02-02 21:49:54 +08:00
NovaRain
1354467059
Fixed the barter button on the dialog window (from rotators repo)
...
* when first entering the dialog, it didn't animate on click.
2020-02-02 15:44:47 +08:00
NovaRain
8d720185a7
Reverted part of changes in previous commit
2020-02-02 13:50:01 +08:00
NovaRain
87864d9ef6
Fixed palette in DX9 mode
2020-02-01 14:08:46 +08:00
NovaRain
0d5c88fded
Implemented the optimization for receiving/passing script args from 4.x
...
* combined related engine interpreter functions into a single function
for aligning the compiled ASM code better.
Minor edits to dinput.cpp.
2020-01-31 20:29:29 +08:00
NovaRain
555b3a9504
Fixed the timer event execution in global scripts
2020-01-31 01:41:25 +08:00
NovaRain
f8cd74cc49
Minor changes to some other code and documents.
2020-01-31 01:23:32 +08:00
NovaRain
408661f42b
Rewrote and rename "dialog_box" to "message_box"
...
Added support for '\n' control character to create_message_window.
Fix the playback of the speech sound file for the death screen.
2020-01-28 13:14:58 +08:00
NovaRain
893847cc6a
Added "dialog_box" script function
...
Added a new attrType value to "get_window_attribute" function.
Tweaked the arg type check for "force_encounter_with_flags" function.
2020-01-27 20:52:01 +08:00
NovaRain
6b1fffded1
Fixed the timing of setting some game mode flags
...
* now WORLDMAP, PIPBOY, INVENTORY, INTFACEUSE, and INTFACELOOT are
toggled after creating/before deleting their corresponding interface
windows.
Fixed the array out of bounds bug in Skills.cpp.
2020-01-27 10:42:51 +08:00
NovaRain
3b2e23fda6
Backported FO1 worldmap features from 4.x
...
* WorldMapTravelMarkers, WorldMapTerrainInfo options.
* set_terrain_name, set_town_title script functions.
2020-01-26 09:26:41 +08:00
NovaRain
c9b1a1b583
Edited FalloutEngine using 4.x's EngineUtils & Variables_def as ref
2020-01-25 18:01:55 +08:00
NovaRain
d13cd9267d
Reordered ResetState() sequence in LoadGameHook.cpp
...
* in the same order as 4.x modules.
Merged and renamed some "reset" functions.
2020-01-24 22:38:55 +08:00
NovaRain
5a638f48ff
Added some engine variables to pointer defines.
...
Removed redundant PlayAcm() from HeroAppearance.cpp.
2020-01-24 10:03:39 +08:00
NovaRain
df1d147a4f
Removed TownMapHotkeysFix from ddraw.ini (always enabled)
...
Also move its code from Worldmap.cpp to BugFixes.cpp.
2020-01-23 23:34:21 +08:00
NovaRain
e733954e65
Removed DisplaySecondWeaponRange from ddraw.ini (always enabled)
...
Minor edits to some code and documents.
2020-01-23 20:35:18 +08:00
NovaRain
36b3b6a2c7
Added "get_window_attribute" script function ( #276 )
2020-01-22 21:23:12 +08:00
NovaRain
ceba5d1da2
Added a flashing icon to the Horrigan encounter
...
Minor edits to some code and documents.
2020-01-22 10:27:11 +08:00
NovaRain
d6486008f4
Expanded the functionality of Fallout1Behavior
...
* calling endgame_movie now plays Movie11 or Movie12 depending on
the player's gender before the credits.
Added new flags to force_encounter_with_flags function.
2020-01-21 21:40:36 +08:00
NovaRain
9f140cf3ca
Added a blinking icon to force_encounter/with_flags functions
...
* currently an icon is always shown for scripted force encounters.
2020-01-20 11:51:17 +08:00
NovaRain
f2670deb6f
Minor edits to Console.cpp and Logging.cpp
...
Added procedure and macros for unsigned integer comparison to lib.math.h.
2020-01-19 12:20:18 +08:00
NovaRain
6e6e01ea7f
Simplified the code of string_to_case function
...
Minor edits to some code and documents.
2020-01-17 21:56:12 +08:00
NovaRain
dccd735454
Improved the avi playback function
2020-01-17 21:48:54 +08:00