diff --git a/int2ssl.sln b/int2ssl.sln index 2404b31..79d0196 100644 --- a/int2ssl.sln +++ b/int2ssl.sln @@ -1,21 +1,18 @@  Microsoft Visual Studio Solution File, Format Version 11.00 -# Visual Studio 2010 +# Visual C++ Express 2010 Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "int2ssl", "int2ssl.vcxproj", "{111A0D20-3404-449D-A984-73C3D9A001E1}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Win32 = Debug|Win32 Release|Win32 = Release|Win32 - Win2K|Win32 = Win2K|Win32 EndGlobalSection GlobalSection(ProjectConfigurationPlatforms) = postSolution {111A0D20-3404-449D-A984-73C3D9A001E1}.Debug|Win32.ActiveCfg = Debug|Win32 {111A0D20-3404-449D-A984-73C3D9A001E1}.Debug|Win32.Build.0 = Debug|Win32 {111A0D20-3404-449D-A984-73C3D9A001E1}.Release|Win32.ActiveCfg = Release|Win32 {111A0D20-3404-449D-A984-73C3D9A001E1}.Release|Win32.Build.0 = Release|Win32 - {111A0D20-3404-449D-A984-73C3D9A001E1}.Win2K|Win32.ActiveCfg = Win2K|Win32 - {111A0D20-3404-449D-A984-73C3D9A001E1}.Win2K|Win32.Build.0 = Win2K|Win32 EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE diff --git a/int2ssl.vcxproj b/int2ssl.vcxproj index b9ffdb5..77b5ede 100644 --- a/int2ssl.vcxproj +++ b/int2ssl.vcxproj @@ -9,10 +9,6 @@ Release Win32 - - Win2K - Win32 - {111A0D20-3404-449D-A984-73C3D9A001E1} @@ -32,13 +28,6 @@ MultiByte v100 - - Application - false - true - MultiByte - v100 - @@ -49,9 +38,6 @@ - - - Debug\ @@ -63,19 +49,11 @@ Release\ - - Win2K\ - Release\ false false - - Win2K\ - false - false - Level3 @@ -122,35 +100,7 @@ MachineX86 false kernel32.lib - - - - - Level3 - Full - true - true - ProgramDatabase - true - WIN32;NDEBUG;_CONSOLE;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions) - true - MultiThreaded - AnySuitable - Speed - true - false - - - false - true - true - $(TargetPath) - Console - UseLinkTimeCodeGeneration - MachineX86 - false - kernel32.lib - 5.0 + 5.00 @@ -185,7 +135,6 @@ true - true diff --git a/sfall opcode list.txt b/sfall opcode list.txt index 6b34f70..eda1205 100644 --- a/sfall opcode list.txt +++ b/sfall opcode list.txt @@ -1,24 +1,26 @@ +^ - These functions require AllowUnsafeScripting to be enabled in ddraw.ini + 0x8156 - int read_byte(int address) 0x8157 - int read_short(int address) 0x8158 - int read_int(int address) 0x8159 - string read_string(int address) -*0x81cf - void write_byte(int address, int value) -*0x81d0 - void write_short(int address, int value) -*0x81d1 - void write_int(int address, int value) -*0x821b - void write_string(int address, string value) +^ 0x81cf - void write_byte(int address, int value) +^ 0x81d0 - void write_short(int address, int value) +^ 0x81d1 - void write_int(int address, int value) +^ 0x821b - void write_string(int address, string value) -*0x81d2 - void call_offset_v0(int address) -*0x81d3 - void call_offset_v1(int address, int arg1) -*0x81d4 - void call_offset_v2(int address, int arg1, int arg2) -*0x81d5 - void call_offset_v3(int address, int arg1, int arg2, int arg3) -*0x81d6 - void call_offset_v4(int address, int arg1, int arg2, int arg3, int arg4) -*0x81d7 - int call_offset_r0(int address) -*0x81d8 - int call_offset_r1(int address, int arg1) -*0x81d9 - int call_offset_r2(int address, int arg1, int arg2) -*0x81da - int call_offset_r3(int address, int arg1, int arg2, int arg3) -*0x81db - int call_offset_r4(int address, int arg1, int arg2, int arg3, int arg4) +^ 0x81d2 - void call_offset_v0(int address) +^ 0x81d3 - void call_offset_v1(int address, int arg1) +^ 0x81d4 - void call_offset_v2(int address, int arg1, int arg2) +^ 0x81d5 - void call_offset_v3(int address, int arg1, int arg2, int arg3) +^ 0x81d6 - void call_offset_v4(int address, int arg1, int arg2, int arg3, int arg4) +^ 0x81d7 - int call_offset_r0(int address) +^ 0x81d8 - int call_offset_r1(int address, int arg1) +^ 0x81d9 - int call_offset_r2(int address, int arg1, int arg2) +^ 0x81da - int call_offset_r3(int address, int arg1, int arg2, int arg3) +^ 0x81db - int call_offset_r4(int address, int arg1, int arg2, int arg3, int arg4) 0x815a - void set_pc_base_stat(int StatID, int value) 0x815b - void set_pc_extra_stat(int StatID, int value) @@ -192,7 +194,7 @@ 0x8225 - void remove_trait(int traitID) 0x81cb - void set_pyromaniac_mod(int bonus) -0x81cc - void apply_heaveho_fix +0x81cc - void apply_heaveho_fix() 0x81cd - void set_swiftlearner_mod(int bonus) 0x81ce - void set_hp_per_level_mod(int mod) @@ -292,12 +294,12 @@ 0x8226 - int get_light_level() -0x8227 - void refresh_pc_art +0x8227 - void refresh_pc_art() -0x8228 - int get_attack_type +0x8228 - int get_attack_type() -0x822b - int play_sfall_sound(string file, int loop) -0x822c - void stop_sfall_sound(int ptr) +0x822b - int play_sfall_sound(string file, int mode) +0x822c - void stop_sfall_sound(int soundID) 0x8235 - array string_split(string string, string split) 0x8237 - int atoi(string string) @@ -321,9 +323,9 @@ 0x8249 - object get_last_attacker(object critter) 0x824a - void block_combat(int enable) -0x824b - int tile_under_cursor -0x824c - int gdialog_get_barter_mod -0x824d - void set_inven_ap_cost +0x824b - int tile_under_cursor() +0x824c - int gdialog_get_barter_mod() +0x824d - void set_inven_ap_cost() 0x825c - void reg_anim_combat_check(int enable) 0x825a - void reg_anim_destroy(object object) @@ -338,7 +340,7 @@ 0x8262 - void register_hook_proc(int hook, procedure proc) 0x826b - string message_str_game(int fileId, int messageId) -0x826c - int sneak_success +0x826c - int sneak_success() 0x826d - int tile_light(int elevation, int tileNum) 0x826e - object obj_blocking_line(object objFrom, int tileTo, int blockingType) 0x826f - object obj_blocking_tile(int tileNum, int elevation, int blockingType) @@ -362,6 +364,5 @@ 0x827f - div operator (unsigned integer division) - -* These functions require AllowUnsafeScripting to be enabled in ddraw.ini - +0x8280 - any sfall_func7(string funcName, arg1, arg2, arg3, arg4, arg5, arg6, arg7) +0x8281 - any sfall_func8(string funcName, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8)