NovaRain
58532fd902
Fixed duplicate critters being added to the target list for AI
...
Edited hookscripts.txt to mention the fix.
Some code correction.
2020-01-09 11:41:50 +08:00
NovaRain
aafc030f8e
Code refactoring in main.cpp (from MiscPatches in 4.x)
...
Updated compiler document.
2020-01-08 16:59:07 +08:00
NovaRain
c652982a06
Added sslc documents to repo
2020-01-06 14:14:22 +08:00
NovaRain
85a5ee2a52
Some edits to hookscripts.txt & function notes.txt
2019-12-24 00:57:16 +08:00
NovaRain
a9ad1a62eb
Tweaked the path to load global shaders in the previous commit
...
* although 3.8 doesn't have the path issue as 4.x due to the lack of
loading custom .dat, it's better to unify the path in this case.
Refactored the code for DataLoadOrderPatch in the same way as 4.x.
2019-12-15 10:31:50 +08:00
NovaRain
3b82232b46
Edited the description of the functions in the previous commit
...
Rewrote ASM code for tile_under_cursor script function.
2019-12-14 00:35:05 +08:00
NovaRain
5e704d206f
Added "objects_in_radius" and "tile_by_position" script functions
2019-12-13 10:56:15 +08:00
NovaRain
b4dac84ddd
Rewrote some script functions in ObjectsOps in C++
...
* remove_script, set/get_script, set_critter_burst_disable.
Changed the return value of get_script to 0 for unscripted objects.
2019-12-09 11:07:40 +08:00
NovaRain
7016690f99
Added "string_format" script function
...
Rewrote ASM code of opcode handlers in MemoryOp.hpp.
2019-12-03 10:52:56 +08:00
NovaRain
66c237d297
Refactored the code for "substr" script function
...
* fixed the crashing bug and added a new behavior.
Changed the error message due to missing critter frame (again):
* replaced the interruption with printing the error message to in-game
message window.
2019-11-29 12:13:36 +08:00
NovaRain
bbe9a2d26d
Added "get_text_width" and "string_compare" script functions
...
Rewrote set_dm/df_model, set_movie_path functions with WRAP_OPCODE.
2019-11-23 20:32:57 +08:00
NovaRain
7bcb76e70c
Restored and fixed RemoveWindowRounding option
...
Reorganized ddraw.ini a bit.
2019-11-21 00:58:41 +08:00
NovaRain
3348d8b716
Backported "draw_image" and "draw_image_scaled" functions from 4.1
2019-11-19 20:51:22 +08:00
NovaRain
04ebbaa182
Added three new script window functions:
...
"show_window", "hide_window", "set_window_flag"
Updated documents.
2019-11-17 08:40:18 +08:00
NovaRain
3c5dc6853a
Added "get_sfall_arg_at" script function
...
Improved the functionality of "inventory_redraw" function.
2019-11-16 22:54:09 +08:00
NovaRain
a70a776e46
Tweaked/fixed reg_anim_callback function
2019-11-15 10:01:39 +08:00
NovaRain
83c3d6b1a8
Added "reg_anim_callback" script function(opcode)
...
Updated documents.
2019-11-14 13:02:10 +08:00
NovaRain
6a566087ca
Implemented executing timed_event_p_proc in sfall global scripts
...
Added "add_g_timer_event" and "remove_timer_event" script functions
for timed_event_p_proc in global scripts.
Fixed the check on the 'hidden' flag for previous commit.
2019-11-11 10:01:38 +08:00
NovaRain
29da6d7071
Minor edits to FalloutStructs.h
...
Removed unnecessary AfterAttackCleanup on reset in LoadGameHook.cpp.
Fixed Debug build configuration in project file.
2019-11-05 09:27:41 +08:00
NovaRain
ec4a58e19e
Updated define_extra.h
...
Added define of OBJ_DATA_SCRIPT_INDEX to define_extra.h.
Moved Stats related reset code from ScriptExtender.cpp to Stats.cpp.
2019-11-04 21:28:06 +08:00
NovaRain
ee711d8f81
Added "get_inven_ap_cost" script function
2019-11-02 10:26:28 +08:00
NovaRain
d26a06872a
Backported the advanced BarBoxes features from 4.x:
...
* Added BoxBarCount option.
* Added "set_iface_tag_text" and "add_iface_tag" script functions.
* Now number of simultaneously displayed boxes depends on game res.
* Updated documents.
2019-11-01 21:14:03 +08:00
NovaRain
3ef6056a77
Added "add_trait" script function
...
Replaced some C-style casting with pre-defined ptr_* variables.
2019-10-20 19:31:08 +08:00
NovaRain
c98af496b3
Added command_lite.h header file to modderspack
2019-10-11 00:53:22 +08:00
NovaRain
37acec7115
Added "unwield_slot" script function
...
Re-fixed obj_art_fid for player's FID (commit 36523d8 )
2019-10-08 10:56:49 +08:00