diff --git a/release/map/war3map.j b/release/map/war3map.j index d17ba64..ef2c233 100644 --- a/release/map/war3map.j +++ b/release/map/war3map.j @@ -85,22 +85,22 @@ constant boolean LIBRARY_LoPUtils=true //globals from MultiPatrol: constant boolean LIBRARY_MultiPatrol=true // Maximum number of patrol points a single unit can have. -constant integer MultiPatrol___MAX_POINTS= 128 +constant integer MultiPatrol__MAX_POINTS= 128 // Determines how close a unit must get to a patrol point before moving onto the next. -constant real MultiPatrol___RANGE= 32. +constant real MultiPatrol__RANGE= 32. // Determines the minimum distance between two consecutive patrol points. -constant real MultiPatrol___MINIMUM_DISTANCE= 100. +constant real MultiPatrol__MINIMUM_DISTANCE= 100. constant integer MultiPatrol_ERROR_OVERFLOW= 2 constant integer MultiPatrol_ERROR_NULL_POINTER= 3 constant integer MultiPatrol_ERROR_TOO_CLOSE= 1 constant integer MultiPatrol_ERROR_NONE= 0 -hashtable MultiPatrol___data= InitHashtable() -boolean MultiPatrol___orderBool= false -rect MultiPatrol___ptrlRect +hashtable MultiPatrol__data= InitHashtable() +boolean MultiPatrol__orderBool= false +rect MultiPatrol__ptrlRect -constant integer MultiPatrol___INDEX_DISPLAY= 9999 +constant integer MultiPatrol__INDEX_DISPLAY= 9999 //endglobals from MultiPatrol //globals from POWER: constant boolean LIBRARY_POWER=true @@ -116,25 +116,25 @@ constant boolean LIBRARY_Rawcode2String=true //endglobals from Rawcode2String //globals from Table: constant boolean LIBRARY_Table=true -integer Table___less= 0 -integer Table___more= 8190 +integer Table__less= 0 +integer Table__more= 8190 //Configure it if you use more than 8190 "key" variables in your map (this will never happen though). -hashtable Table___ht= InitHashtable() -constant integer Table___sizeK=4 -constant integer Table___listK=6 +hashtable Table__ht= InitHashtable() +constant integer Table__sizeK=5 +constant integer Table__listK=6 //endglobals from Table //globals from ThirdPersonCamera: constant boolean LIBRARY_ThirdPersonCamera=true -hashtable ThirdPersonCamera__data= InitHashtable() +hashtable ThirdPersonCamera___data= InitHashtable() -trigger ThirdPersonCamera__triggerMouse -trigger ThirdPersonCamera__triggerLeft -trigger ThirdPersonCamera__triggerRight -trigger ThirdPersonCamera__triggerEsc -trigger ThirdPersonCamera__triggerCleanup +trigger ThirdPersonCamera___triggerMouse +trigger ThirdPersonCamera___triggerLeft +trigger ThirdPersonCamera___triggerRight +trigger ThirdPersonCamera___triggerEsc +trigger ThirdPersonCamera___triggerCleanup -unit array ThirdPersonCamera__focusUnits +unit array ThirdPersonCamera___focusUnits //endglobals from ThirdPersonCamera //globals from TreeSystemCreateTrees: constant boolean LIBRARY_TreeSystemCreateTrees=true @@ -152,7 +152,7 @@ constant boolean AnyTileDefinition__ENABLE_ID_FUNCTIONS= true //endglobals from AnyTileDefinition //globals from ConstTable: constant boolean LIBRARY_ConstTable=true -hashtable ConstTable___ht= InitHashtable() +hashtable ConstTable__ht= InitHashtable() //endglobals from ConstTable //globals from DummyRecycler: constant boolean LIBRARY_DummyRecycler=true @@ -212,9 +212,9 @@ constant real DummyRecycler__FACING_OFFSET= 180.0 / DummyRecycler__ANGLES_COUNT //endglobals from DummyRecycler //globals from Lists: constant boolean LIBRARY_Lists=true -constant integer Lists_RECYCLE_KEY=8 +constant integer Lists_RECYCLE_KEY=7 constant boolean Lists_ENABLE_GUI= false -hashtable Lists___hashTable= InitHashtable() +hashtable Lists__hashTable= InitHashtable() //endglobals from Lists //globals from MoveSpeedBonus: constant boolean LIBRARY_MoveSpeedBonus=true @@ -232,8 +232,8 @@ constant boolean MoveSpeedBonus_INIT_HASHTABLE= false // Automatically clean up unit data by removing any data when a unit is created that has an ID that was previously used // If you disable this, then you must call GMSS_ClearData whenever a unit enters the game or is removed from it constant boolean MoveSpeedBonus_AUTO_CLEANUP= false -integer MoveSpeedBonus__data -hashtable MoveSpeedBonus__hashTable= null +integer MoveSpeedBonus___data +hashtable MoveSpeedBonus___hashTable= null //endglobals from MoveSpeedBonus //globals from StructureTileDefinition: constant boolean LIBRARY_StructureTileDefinition=true @@ -300,9 +300,9 @@ constant real CombatTag_SPELL_BLUE= 100.00 constant real CombatTag_HEAL_RED= 0. constant real CombatTag_HEAL_GREEN= 0. constant real CombatTag_HEAL_BLUE= 0. -constant integer CombatTag_PHYS_DAMAGE=10 -constant integer CombatTag_SPELL_DAMAGE=12 -constant integer CombatTag_HEALING=14 +constant integer CombatTag_PHYS_DAMAGE=8 +constant integer CombatTag_SPELL_DAMAGE=9 +constant integer CombatTag_HEALING=10 //endglobals from CombatTag //globals from FilterTransformations: constant boolean LIBRARY_FilterTransformations=true @@ -324,7 +324,7 @@ constant boolean LIBRARY_LoPPlayers=true //endglobals from LoPPlayers //globals from LoPTip: constant boolean LIBRARY_LoPTip=true -constant integer LoPTip___PERIODIC_TIPS=16 +constant integer LoPTip__PERIODIC_TIPS=11 boolean LoPTip_enabled= true //endglobals from LoPTip //globals from MultiBoard: @@ -386,10 +386,10 @@ constant boolean UnitVisualModsDefaults_COLOR= true //endglobals from UnitVisualModsDefaults //globals from UserDefinedRects: constant boolean LIBRARY_UserDefinedRects=true -hashtable UserDefinedRects___hashTable= InitHashtable() -weathereffect array UserDefinedRects___weatherEffects -constant integer UserDefinedRects___RECYCLE_KEY=18 -integer array UserDefinedRects___instances +hashtable UserDefinedRects__hashTable= InitHashtable() +weathereffect array UserDefinedRects__weatherEffects +constant integer UserDefinedRects__RECYCLE_KEY=12 +integer array UserDefinedRects__instances //endglobals from UserDefinedRects //globals from LoPHeader: constant boolean LIBRARY_LoPHeader=true @@ -1255,51 +1255,51 @@ trigger l__library_init //JASSHelper struct globals: constant integer si__Iterator=1 -constant integer si__Table___dex=2 -constant integer si__Table___handles=3 -constant integer si__Table___agents=4 -constant integer si__Table___reals=5 -constant integer si__Table___booleans=6 -constant integer si__Table___strings=7 -constant integer si__Table___integers=8 -constant integer si__Table___players=9 -constant integer si__Table___widgets=10 -constant integer si__Table___destructables=11 -constant integer si__Table___items=12 -constant integer si__Table___units=13 -constant integer si__Table___abilitys=14 -constant integer si__Table___timers=15 -constant integer si__Table___triggers=16 -constant integer si__Table___triggerconditions=17 -constant integer si__Table___triggeractions=18 -constant integer si__Table___events=19 -constant integer si__Table___forces=20 -constant integer si__Table___groups=21 -constant integer si__Table___locations=22 -constant integer si__Table___rects=23 -constant integer si__Table___boolexprs=24 -constant integer si__Table___sounds=25 -constant integer si__Table___effects=26 -constant integer si__Table___unitpools=27 -constant integer si__Table___itempools=28 -constant integer si__Table___quests=29 -constant integer si__Table___questitems=30 -constant integer si__Table___defeatconditions=31 -constant integer si__Table___timerdialogs=32 -constant integer si__Table___leaderboards=33 -constant integer si__Table___multiboards=34 -constant integer si__Table___multiboarditems=35 -constant integer si__Table___trackables=36 -constant integer si__Table___dialogs=37 -constant integer si__Table___buttons=38 -constant integer si__Table___texttags=39 -constant integer si__Table___lightnings=40 -constant integer si__Table___images=41 -constant integer si__Table___ubersplats=42 -constant integer si__Table___regions=43 -constant integer si__Table___fogstates=44 -constant integer si__Table___fogmodifiers=45 -constant integer si__Table___hashtables=46 +constant integer si__Table__dex=2 +constant integer si__Table__handles=3 +constant integer si__Table__agents=4 +constant integer si__Table__reals=5 +constant integer si__Table__booleans=6 +constant integer si__Table__strings=7 +constant integer si__Table__integers=8 +constant integer si__Table__players=9 +constant integer si__Table__widgets=10 +constant integer si__Table__destructables=11 +constant integer si__Table__items=12 +constant integer si__Table__units=13 +constant integer si__Table__abilitys=14 +constant integer si__Table__timers=15 +constant integer si__Table__triggers=16 +constant integer si__Table__triggerconditions=17 +constant integer si__Table__triggeractions=18 +constant integer si__Table__events=19 +constant integer si__Table__forces=20 +constant integer si__Table__groups=21 +constant integer si__Table__locations=22 +constant integer si__Table__rects=23 +constant integer si__Table__boolexprs=24 +constant integer si__Table__sounds=25 +constant integer si__Table__effects=26 +constant integer si__Table__unitpools=27 +constant integer si__Table__itempools=28 +constant integer si__Table__quests=29 +constant integer si__Table__questitems=30 +constant integer si__Table__defeatconditions=31 +constant integer si__Table__timerdialogs=32 +constant integer si__Table__leaderboards=33 +constant integer si__Table__multiboards=34 +constant integer si__Table__multiboarditems=35 +constant integer si__Table__trackables=36 +constant integer si__Table__dialogs=37 +constant integer si__Table__buttons=38 +constant integer si__Table__texttags=39 +constant integer si__Table__lightnings=40 +constant integer si__Table__images=41 +constant integer si__Table__ubersplats=42 +constant integer si__Table__regions=43 +constant integer si__Table__fogstates=44 +constant integer si__Table__fogmodifiers=45 +constant integer si__Table__hashtables=46 constant integer si__Table=47 constant integer si__TableArray=48 integer s__TableArray_tempTable @@ -1315,190 +1315,190 @@ integer s__WorldBounds_centerY rect s__WorldBounds_world region s__WorldBounds_worldRegion constant integer si__AnyTileDefinition__Globals=51 -constant integer s__AnyTileDefinition__Globals_totalX_impl=20 -constant integer s__AnyTileDefinition__Globals_totalY_impl=22 -constant integer si__ConstTable___handles=52 -constant integer si__ConstTable___agents=53 -constant integer si__ConstTable___reals=54 -constant integer si__ConstTable___booleans=55 -constant integer si__ConstTable___strings=56 -constant integer si__ConstTable___integers=57 -constant integer si__ConstTable___players=58 -constant integer si__ConstTable___widgets=59 -constant integer si__ConstTable___destructables=60 -constant integer si__ConstTable___items=61 -constant integer si__ConstTable___units=62 -constant integer si__ConstTable___abilitys=63 -constant integer si__ConstTable___timers=64 -constant integer si__ConstTable___triggers=65 -constant integer si__ConstTable___triggerconditions=66 -constant integer si__ConstTable___triggeractions=67 -constant integer si__ConstTable___events=68 -constant integer si__ConstTable___forces=69 -constant integer si__ConstTable___groups=70 -constant integer si__ConstTable___locations=71 -constant integer si__ConstTable___rects=72 -constant integer si__ConstTable___boolexprs=73 -constant integer si__ConstTable___sounds=74 -constant integer si__ConstTable___effects=75 -constant integer si__ConstTable___unitpools=76 -constant integer si__ConstTable___itempools=77 -constant integer si__ConstTable___quests=78 -constant integer si__ConstTable___questitems=79 -constant integer si__ConstTable___defeatconditions=80 -constant integer si__ConstTable___timerdialogs=81 -constant integer si__ConstTable___leaderboards=82 -constant integer si__ConstTable___multiboards=83 -constant integer si__ConstTable___multiboarditems=84 -constant integer si__ConstTable___trackables=85 -constant integer si__ConstTable___dialogs=86 -constant integer si__ConstTable___buttons=87 -constant integer si__ConstTable___texttags=88 -constant integer si__ConstTable___lightnings=89 -constant integer si__ConstTable___images=90 -constant integer si__ConstTable___ubersplats=91 -constant integer si__ConstTable___regions=92 -constant integer si__ConstTable___fogstates=93 -constant integer si__ConstTable___fogmodifiers=94 -constant integer si__ConstTable___hashtables=95 +constant integer s__AnyTileDefinition__Globals_totalX_impl=13 +constant integer s__AnyTileDefinition__Globals_totalY_impl=14 +constant integer si__ConstTable__handles=52 +constant integer si__ConstTable__agents=53 +constant integer si__ConstTable__reals=54 +constant integer si__ConstTable__booleans=55 +constant integer si__ConstTable__strings=56 +constant integer si__ConstTable__integers=57 +constant integer si__ConstTable__players=58 +constant integer si__ConstTable__widgets=59 +constant integer si__ConstTable__destructables=60 +constant integer si__ConstTable__items=61 +constant integer si__ConstTable__units=62 +constant integer si__ConstTable__abilitys=63 +constant integer si__ConstTable__timers=64 +constant integer si__ConstTable__triggers=65 +constant integer si__ConstTable__triggerconditions=66 +constant integer si__ConstTable__triggeractions=67 +constant integer si__ConstTable__events=68 +constant integer si__ConstTable__forces=69 +constant integer si__ConstTable__groups=70 +constant integer si__ConstTable__locations=71 +constant integer si__ConstTable__rects=72 +constant integer si__ConstTable__boolexprs=73 +constant integer si__ConstTable__sounds=74 +constant integer si__ConstTable__effects=75 +constant integer si__ConstTable__unitpools=76 +constant integer si__ConstTable__itempools=77 +constant integer si__ConstTable__quests=78 +constant integer si__ConstTable__questitems=79 +constant integer si__ConstTable__defeatconditions=80 +constant integer si__ConstTable__timerdialogs=81 +constant integer si__ConstTable__leaderboards=82 +constant integer si__ConstTable__multiboards=83 +constant integer si__ConstTable__multiboarditems=84 +constant integer si__ConstTable__trackables=85 +constant integer si__ConstTable__dialogs=86 +constant integer si__ConstTable__buttons=87 +constant integer si__ConstTable__texttags=88 +constant integer si__ConstTable__lightnings=89 +constant integer si__ConstTable__images=90 +constant integer si__ConstTable__ubersplats=91 +constant integer si__ConstTable__regions=92 +constant integer si__ConstTable__fogstates=93 +constant integer si__ConstTable__fogmodifiers=94 +constant integer si__ConstTable__hashtables=95 constant integer si__ConstTable=96 constant integer si__ConstHashTable=97 constant integer si__DummyRecycler__S=98 integer s__DummyRecycler__S_tb constant integer si__TileDefinition__TileDefinition=99 -constant integer si__ArgumentStack__table=100 +constant integer si__ArgumentStack___table=100 constant integer si__Args=101 -constant integer s__Args_real_impl=24 -constant integer s__Args_integer_impl=26 -constant integer s__Args_boolean_impl=28 -constant integer s__Args_string_impl=30 -constant integer s__Args_player_impl=32 -constant integer s__Args_widget_impl=34 -constant integer s__Args_destructable_impl=36 -constant integer s__Args_item_impl=38 -constant integer s__Args_unit_impl=40 -constant integer s__Args_ability_impl=42 -constant integer s__Args_timer_impl=44 -constant integer s__Args_trigger_impl=46 -constant integer s__Args_triggercondition_impl=48 -constant integer s__Args_event_impl=50 -constant integer s__Args_force_impl=52 -constant integer s__Args_group_impl=54 -constant integer s__Args_location_impl=56 -constant integer s__Args_rect_impl=58 -constant integer s__Args_boolexpr_impl=60 -constant integer s__Args_sound_impl=62 -constant integer s__Args_effect_impl=64 -constant integer s__Args_quest_impl=66 -constant integer s__Args_questitem_impl=68 -constant integer s__Args_defeatcondition_impl=70 -constant integer s__Args_timerdialog_impl=72 -constant integer s__Args_leaderboard_impl=74 -constant integer s__Args_multiboard_impl=76 -constant integer s__Args_multiboarditem_impl=78 -constant integer s__Args_trackable_impl=80 -constant integer s__Args_dialog_impl=82 -constant integer s__Args_button_impl=84 -constant integer s__Args_region_impl=86 -constant integer s__Args_fogmodifier_impl=88 -constant integer s__Args_hashtable_impl=90 -constant integer s__Args_triggeraction_impl=92 -constant integer s__Args_unitpool_impl=94 -constant integer s__Args_itempool_impl=96 -constant integer s__Args_texttag_impl=98 -constant integer s__Args_lightning_impl=100 -constant integer s__Args_image_impl=102 -constant integer s__Args_ubersplat_impl=104 -constant integer s__Args_fogstate_impl=106 +constant integer s__Args_real_impl=15 +constant integer s__Args_integer_impl=16 +constant integer s__Args_boolean_impl=17 +constant integer s__Args_string_impl=18 +constant integer s__Args_player_impl=19 +constant integer s__Args_widget_impl=20 +constant integer s__Args_destructable_impl=21 +constant integer s__Args_item_impl=22 +constant integer s__Args_unit_impl=23 +constant integer s__Args_ability_impl=24 +constant integer s__Args_timer_impl=25 +constant integer s__Args_trigger_impl=26 +constant integer s__Args_triggercondition_impl=27 +constant integer s__Args_event_impl=28 +constant integer s__Args_force_impl=29 +constant integer s__Args_group_impl=30 +constant integer s__Args_location_impl=31 +constant integer s__Args_rect_impl=32 +constant integer s__Args_boolexpr_impl=33 +constant integer s__Args_sound_impl=34 +constant integer s__Args_effect_impl=35 +constant integer s__Args_quest_impl=36 +constant integer s__Args_questitem_impl=37 +constant integer s__Args_defeatcondition_impl=38 +constant integer s__Args_timerdialog_impl=39 +constant integer s__Args_leaderboard_impl=40 +constant integer s__Args_multiboard_impl=41 +constant integer s__Args_multiboarditem_impl=42 +constant integer s__Args_trackable_impl=43 +constant integer s__Args_dialog_impl=44 +constant integer s__Args_button_impl=45 +constant integer s__Args_region_impl=46 +constant integer s__Args_fogmodifier_impl=47 +constant integer s__Args_hashtable_impl=48 +constant integer s__Args_triggeraction_impl=49 +constant integer s__Args_unitpool_impl=50 +constant integer s__Args_itempool_impl=51 +constant integer s__Args_texttag_impl=52 +constant integer s__Args_lightning_impl=53 +constant integer s__Args_image_impl=54 +constant integer s__Args_ubersplat_impl=55 +constant integer s__Args_fogstate_impl=56 constant integer si__LinkedHashSet=102 integer s__LinkedHashSet_enumElement= 0 integer s__LinkedHashSet_enumSet= 0 constant integer si__TableStruct=103 constant integer si__BoolExprEvaluator=104 -constant integer s__BoolExprEvaluator_tab_impl=108 -constant integer s__BoolExprEvaluator_trigger_impl=110 -constant integer si__CombatTag__CombatTag=105 -constant integer s__CombatTag__CombatTag_timerData_impl=112 +constant integer s__BoolExprEvaluator_tab_impl=57 +constant integer s__BoolExprEvaluator_trigger_impl=58 +constant integer si__CombatTag___CombatTag=105 +constant integer s__CombatTag___CombatTag_timerData_impl=59 constant integer si__Order=106 -constant integer s__Order_morphOrders_impl=114 -constant integer s__Order_generalOrders_impl=116 -constant integer s__Order_necroticOrders_impl=118 +constant integer s__Order_morphOrders_impl=60 +constant integer s__Order_generalOrders_impl=61 +constant integer s__Order_necroticOrders_impl=62 constant integer si__ArrayList=107 integer s__ArrayList_EnumList= 0 integer s__ArrayList_EnumIndex= 0 integer s__ArrayList_EnumValue= 0 constant integer si__LoP_DecoBuilders=108 integer array s__LoP_DecoBuilders_rawcodes -constant integer s__LoP_DecoBuilders_static_members_key=120 -constant integer s__LoP_DecoBuilders_SpecialDecoLastIndex_impl=122 -constant integer s__LoP_DecoBuilders_BasicDecoFirstIndex_impl=124 -constant integer s__LoP_DecoBuilders_BasicDecoLastIndex_impl=126 -constant integer s__LoP_DecoBuilders_AdvDecoFirstIndex_impl=128 -constant integer s__LoP_DecoBuilders_AdvDecoLastIndex_impl=130 -constant integer s__LoP_DecoBuilders_DecoLastIndex_impl=132 +constant integer s__LoP_DecoBuilders_static_members_key=63 +constant integer s__LoP_DecoBuilders_SpecialDecoLastIndex_impl=64 +constant integer s__LoP_DecoBuilders_BasicDecoFirstIndex_impl=65 +constant integer s__LoP_DecoBuilders_BasicDecoLastIndex_impl=66 +constant integer s__LoP_DecoBuilders_AdvDecoFirstIndex_impl=67 +constant integer s__LoP_DecoBuilders_AdvDecoLastIndex_impl=68 +constant integer s__LoP_DecoBuilders_DecoLastIndex_impl=69 constant integer si__LoPInitPlayerCircles_Globals=109 -constant integer s__LoPInitPlayerCircles_Globals_regionTable_impl=134 +constant integer s__LoPInitPlayerCircles_Globals_regionTable_impl=70 constant integer si__LoP_PlayerData=110 playercolor array s__LoP_PlayerData_playerColors -constant integer s__LoP_PlayerData_rotationStep_impl=136 -constant integer s__LoP_PlayerData_commandsEnabled_internal_impl=138 +constant integer s__LoP_PlayerData_rotationStep_impl=71 +constant integer s__LoP_PlayerData_commandsEnabled_internal_impl=72 constant integer si__LoP_TipCategory=111 -constant integer s__LoP_TipCategory_tips_impl=140 -constant integer s__LoP_TipCategory_currentIndex_impl=142 +constant integer s__LoP_TipCategory_tips_impl=73 +constant integer s__LoP_TipCategory_currentIndex_impl=74 constant integer si__LoP_Tip=112 -constant integer s__LoP_Tip_category_impl=144 -constant integer s__LoP_Tip_message_impl=146 -constant integer si__LoPTip___InitStruct=113 +constant integer s__LoP_Tip_category_impl=75 +constant integer s__LoP_Tip_message_impl=76 +constant integer si__LoPTip__InitStruct=113 constant integer si__MultiBoard=114 -constant integer s__MultiBoard_items_impl=148 -constant integer s__MultiBoard_cols_impl=150 -constant integer s__MultiBoard_rows_impl=152 -constant integer s__MultiBoard_multiboard_impl=154 +constant integer s__MultiBoard_items_impl=77 +constant integer s__MultiBoard_cols_impl=78 +constant integer s__MultiBoard_rows_impl=79 +constant integer s__MultiBoard_multiboard_impl=80 constant integer si__TerrainFog=115 constant integer s__TerrainFog_LINEAR= 0 constant integer s__TerrainFog_EXPONENTIAL= 1 constant integer s__TerrainFog_EXPONENTIAL2= 2 -constant integer s__TerrainFog_style_impl=156 -constant integer s__TerrainFog_zStart_impl=158 -constant integer s__TerrainFog_zEnd_impl=160 -constant integer s__TerrainFog_density_impl=162 -constant integer s__TerrainFog_red_impl=164 -constant integer s__TerrainFog_green_impl=166 -constant integer s__TerrainFog_blue_impl=168 +constant integer s__TerrainFog_style_impl=81 +constant integer s__TerrainFog_zStart_impl=82 +constant integer s__TerrainFog_zEnd_impl=83 +constant integer s__TerrainFog_density_impl=84 +constant integer s__TerrainFog_red_impl=85 +constant integer s__TerrainFog_green_impl=86 +constant integer s__TerrainFog_blue_impl=87 constant integer si__RectEnvironment=116 -constant integer s__RectEnvironment_fog_impl=170 +constant integer s__RectEnvironment_fog_impl=88 constant integer si__TerrainType2Id=117 -constant integer s__TerrainType2Id_data_impl=172 -constant integer si__TerrainTools__InitStruct=118 -constant integer si__ToggleAura__Globals=119 -constant integer s__ToggleAura__Globals_tab_impl=174 +constant integer s__TerrainType2Id_data_impl=89 +constant integer si__TerrainTools___InitStruct=118 +constant integer si__ToggleAura___Globals=119 +constant integer s__ToggleAura___Globals_tab_impl=90 constant integer si__AutoRectEnvironment__Globals=120 -constant integer s__AutoRectEnvironment__Globals_static_members_key=176 -constant integer s__AutoRectEnvironment__Globals_lastCameraX_impl=178 -constant integer s__AutoRectEnvironment__Globals_lastCameraY_impl=180 -constant integer s__AutoRectEnvironment__Globals_rectWasMoved_impl=182 -constant integer s__AutoRectEnvironment__Globals_lastCameraRect_impl=184 -constant integer s__AutoRectEnvironment__Globals_id2_impl=186 +constant integer s__AutoRectEnvironment__Globals_static_members_key=91 +constant integer s__AutoRectEnvironment__Globals_lastCameraX_impl=92 +constant integer s__AutoRectEnvironment__Globals_lastCameraY_impl=93 +constant integer s__AutoRectEnvironment__Globals_rectWasMoved_impl=94 +constant integer s__AutoRectEnvironment__Globals_lastCameraRect_impl=95 +constant integer s__AutoRectEnvironment__Globals_id2_impl=96 constant integer si__AutoRectEnvironment__AutoRectBlock=121 constant integer s__AutoRectEnvironment__AutoRectBlock_BLOCK_SIZE= 2048 -constant integer s__AutoRectEnvironment__AutoRectBlock_rects_impl=188 +constant integer s__AutoRectEnvironment__AutoRectBlock_rects_impl=97 constant integer si__AutoRectEnvironment__InitStruct=122 constant integer si__GameTime=123 integer s__GameTime_a -constant integer s__GameTime_static_members_key=190 -constant integer s__GameTime_hours_impl=192 -constant integer s__GameTime_minutes_impl=194 -constant integer s__GameTime_seconds_impl=196 -constant integer s__GameTime_timer_impl=198 -constant integer s__GameTime_multiboard_impl=200 +constant integer s__GameTime_static_members_key=98 +constant integer s__GameTime_hours_impl=99 +constant integer s__GameTime_minutes_impl=100 +constant integer s__GameTime_seconds_impl=101 +constant integer s__GameTime_timer_impl=102 +constant integer s__GameTime_multiboard_impl=103 constant integer si__LoP_Command=124 -constant integer s__LoP_Command_boolexpr_impl=202 -constant integer s__LoP_Command_string_impl=204 -constant integer s__LoP_Command_accessLevel_impl=206 +constant integer s__LoP_Command_boolexpr_impl=104 +constant integer s__LoP_Command_string_impl=105 +constant integer s__LoP_Command_accessLevel_impl=106 constant integer si__LoPCommands_Globals=125 -constant integer s__LoPCommands_Globals_static_members_key=208 -constant integer s__LoPCommands_Globals_trigger_impl=210 -constant integer s__LoPCommands_Globals_evaluator_impl=212 +constant integer s__LoPCommands_Globals_static_members_key=107 +constant integer s__LoPCommands_Globals_trigger_impl=108 +constant integer s__LoPCommands_Globals_evaluator_impl=109 constant integer si__SpecialEffect_hT_reals=126 constant integer si__SpecialEffect_hT_booleans=127 constant integer si__SpecialEffect_hT_strings=128 @@ -1546,67 +1546,67 @@ constant integer si__SpecialEffect_hT_hashtables=169 constant integer si__SpecialEffect_hT_Child=170 constant integer si__SpecialEffect_hT=171 constant integer si__SpecialEffect=172 -constant integer s__SpecialEffect_x_INDEX=214 -constant integer s__SpecialEffect_y_INDEX=216 -constant integer s__SpecialEffect_height_INDEX=218 -constant integer s__SpecialEffect_scale_INDEX=220 +constant integer s__SpecialEffect_x_INDEX=110 +constant integer s__SpecialEffect_y_INDEX=111 +constant integer s__SpecialEffect_height_INDEX=112 +constant integer s__SpecialEffect_scale_INDEX=113 constant real s__SpecialEffect_scale_DEFAULT= 1. -constant integer s__SpecialEffect_roll_INDEX=222 -constant integer s__SpecialEffect_yaw_INDEX=224 -constant integer s__SpecialEffect_pitch_INDEX=226 -constant integer s__SpecialEffect_red_INDEX=228 +constant integer s__SpecialEffect_roll_INDEX=114 +constant integer s__SpecialEffect_yaw_INDEX=115 +constant integer s__SpecialEffect_pitch_INDEX=116 +constant integer s__SpecialEffect_red_INDEX=117 constant integer s__SpecialEffect_red_DEFAULT= 255 -constant integer s__SpecialEffect_green_INDEX=230 +constant integer s__SpecialEffect_green_INDEX=118 constant integer s__SpecialEffect_green_DEFAULT= 255 -constant integer s__SpecialEffect_blue_INDEX=232 +constant integer s__SpecialEffect_blue_INDEX=119 constant integer s__SpecialEffect_blue_DEFAULT= 255 -constant integer s__SpecialEffect_alpha_INDEX=234 +constant integer s__SpecialEffect_alpha_INDEX=120 constant integer s__SpecialEffect_alpha_DEFAULT= 255 constant integer si__UnitEvents=173 -constant integer s__UnitEvents_onDeath_impl_impl=236 -constant integer s__UnitEvents_onRemove_impl_impl=238 -constant integer s__UnitEvents_removeOnDeath_impl=240 -constant integer si__UserDefinedRects___Indices=174 +constant integer s__UnitEvents_onDeath_impl_impl=121 +constant integer s__UnitEvents_onRemove_impl_impl=122 +constant integer s__UnitEvents_removeOnDeath_impl=123 +constant integer si__UserDefinedRects__Indices=174 constant integer si__PlayerSpecialEffect=175 -constant integer s__PlayerSpecialEffect_x_INDEX=242 -constant integer s__PlayerSpecialEffect_y_INDEX=244 -constant integer s__PlayerSpecialEffect_height_INDEX=246 -constant integer s__PlayerSpecialEffect_scale_INDEX=248 +constant integer s__PlayerSpecialEffect_x_INDEX=124 +constant integer s__PlayerSpecialEffect_y_INDEX=125 +constant integer s__PlayerSpecialEffect_height_INDEX=126 +constant integer s__PlayerSpecialEffect_scale_INDEX=127 constant real s__PlayerSpecialEffect_scale_DEFAULT= 1. -constant integer s__PlayerSpecialEffect_roll_INDEX=250 -constant integer s__PlayerSpecialEffect_yaw_INDEX=252 -constant integer s__PlayerSpecialEffect_pitch_INDEX=254 -constant integer s__PlayerSpecialEffect_red_INDEX=256 +constant integer s__PlayerSpecialEffect_roll_INDEX=128 +constant integer s__PlayerSpecialEffect_yaw_INDEX=129 +constant integer s__PlayerSpecialEffect_pitch_INDEX=130 +constant integer s__PlayerSpecialEffect_red_INDEX=131 constant integer s__PlayerSpecialEffect_red_DEFAULT= 255 -constant integer s__PlayerSpecialEffect_green_INDEX=258 +constant integer s__PlayerSpecialEffect_green_INDEX=132 constant integer s__PlayerSpecialEffect_green_DEFAULT= 255 -constant integer s__PlayerSpecialEffect_blue_INDEX=260 +constant integer s__PlayerSpecialEffect_blue_INDEX=133 constant integer s__PlayerSpecialEffect_blue_DEFAULT= 255 -constant integer s__PlayerSpecialEffect_alpha_INDEX=262 +constant integer s__PlayerSpecialEffect_alpha_INDEX=134 constant integer s__PlayerSpecialEffect_alpha_DEFAULT= 255 -constant integer s__PlayerSpecialEffect_Owner_INDEX=264 +constant integer s__PlayerSpecialEffect_Owner_INDEX=135 constant integer si__RectGenerator__FogStyle=176 -constant integer s__RectGenerator__FogStyle_strings_impl=266 -constant integer s__RectGenerator__FogStyle_linkedListNext_impl=268 -constant integer s__RectGenerator__FogStyle_linkedListPrev_impl=270 +constant integer s__RectGenerator__FogStyle_strings_impl=136 +constant integer s__RectGenerator__FogStyle_linkedListNext_impl=137 +constant integer s__RectGenerator__FogStyle_linkedListPrev_impl=138 constant integer si__UnitSpecialEffect=177 -constant integer s__UnitSpecialEffect_x_INDEX=272 -constant integer s__UnitSpecialEffect_y_INDEX=274 -constant integer s__UnitSpecialEffect_height_INDEX=276 -constant integer s__UnitSpecialEffect_scale_INDEX=278 +constant integer s__UnitSpecialEffect_x_INDEX=139 +constant integer s__UnitSpecialEffect_y_INDEX=140 +constant integer s__UnitSpecialEffect_height_INDEX=141 +constant integer s__UnitSpecialEffect_scale_INDEX=142 constant real s__UnitSpecialEffect_scale_DEFAULT= 1. -constant integer s__UnitSpecialEffect_roll_INDEX=280 -constant integer s__UnitSpecialEffect_yaw_INDEX=282 -constant integer s__UnitSpecialEffect_pitch_INDEX=284 -constant integer s__UnitSpecialEffect_red_INDEX=286 +constant integer s__UnitSpecialEffect_roll_INDEX=143 +constant integer s__UnitSpecialEffect_yaw_INDEX=144 +constant integer s__UnitSpecialEffect_pitch_INDEX=145 +constant integer s__UnitSpecialEffect_red_INDEX=146 constant integer s__UnitSpecialEffect_red_DEFAULT= 255 -constant integer s__UnitSpecialEffect_green_INDEX=288 +constant integer s__UnitSpecialEffect_green_INDEX=147 constant integer s__UnitSpecialEffect_green_DEFAULT= 255 -constant integer s__UnitSpecialEffect_blue_INDEX=290 +constant integer s__UnitSpecialEffect_blue_INDEX=148 constant integer s__UnitSpecialEffect_blue_DEFAULT= 255 -constant integer s__UnitSpecialEffect_alpha_INDEX=292 +constant integer s__UnitSpecialEffect_alpha_INDEX=149 constant integer s__UnitSpecialEffect_alpha_DEFAULT= 255 -constant integer s__UnitSpecialEffect_unitType_INDEX=294 +constant integer s__UnitSpecialEffect_unitType_INDEX=150 constant integer si__UnitVisualMods__data_reals=178 constant integer si__UnitVisualMods__data_booleans=179 constant integer si__UnitVisualMods__data_strings=180 @@ -1656,39 +1656,39 @@ constant integer si__UnitVisualMods__data=223 constant integer si__UnitVisualMods__UnitVisualsRaw=224 constant integer si__UnitVisuals=225 constant integer si__UnitVisualMods__TimerData=226 -constant integer s__UnitVisualMods__TimerData_unit_impl=296 +constant integer s__UnitVisualMods__TimerData_unit_impl=151 constant integer si__UnitVisualMods__InitStruct=227 -constant integer si__LoPWidgets___Globals=228 -constant integer s__LoPWidgets___Globals_destructablesTab_impl=298 +constant integer si__LoPWidgets__Globals=228 +constant integer s__LoPWidgets__Globals_destructablesTab_impl=152 constant integer si__LoP_UnitData=229 -constant integer s__LoP_UnitData_isHeroic_impl=300 +constant integer s__LoP_UnitData_isHeroic_impl=153 constant integer si__LoPHeroicUnit_Globals=230 -constant integer s__LoPHeroicUnit_Globals_static_members_key=302 -constant integer s__LoPHeroicUnit_Globals_dummy_impl=304 -constant integer si__Mimic__UnitData=231 -constant integer s__Mimic__UnitData_original_impl=306 +constant integer s__LoPHeroicUnit_Globals_static_members_key=154 +constant integer s__LoPHeroicUnit_Globals_dummy_impl=155 +constant integer si__Mimic___UnitData=231 +constant integer s__Mimic___UnitData_original_impl=156 constant integer si__CameraValues=232 -constant integer s__CameraValues_static_members_key=308 -constant integer s__CameraValues_zoom_impl=310 -constant integer s__CameraValues_rotate_impl=312 -constant integer s__CameraValues_roll_impl=314 -constant integer s__CameraValues_pitch_impl=316 -constant integer s__CameraValues_timer_impl=318 -constant integer si__CommandsSetLimits___StringConvert=233 -constant integer s__CommandsSetLimits___StringConvert_data_impl=320 -constant integer si__TreeSystemChooseTree___Globals=234 -constant integer s__TreeSystemChooseTree___Globals_timerData_impl=322 -constant integer si__SpatialDistortion__TimerData=235 -constant integer s__SpatialDistortion__TimerData_caster_impl=324 -constant integer s__SpatialDistortion__TimerData_counter_impl=326 -constant integer s__SpatialDistortion__TimerData_x_impl=328 -constant integer s__SpatialDistortion__TimerData_y_impl=330 -constant integer si__WillOfTheTribunal__CasterData=236 -constant integer s__WillOfTheTribunal__CasterData_timer_impl=332 +constant integer s__CameraValues_static_members_key=157 +constant integer s__CameraValues_zoom_impl=158 +constant integer s__CameraValues_rotate_impl=159 +constant integer s__CameraValues_roll_impl=160 +constant integer s__CameraValues_pitch_impl=161 +constant integer s__CameraValues_timer_impl=162 +constant integer si__CommandsSetLimits__StringConvert=233 +constant integer s__CommandsSetLimits__StringConvert_data_impl=163 +constant integer si__TreeSystemChooseTree__Globals=234 +constant integer s__TreeSystemChooseTree__Globals_timerData_impl=164 +constant integer si__SpatialDistortion___TimerData=235 +constant integer s__SpatialDistortion___TimerData_caster_impl=165 +constant integer s__SpatialDistortion___TimerData_counter_impl=166 +constant integer s__SpatialDistortion___TimerData_x_impl=167 +constant integer s__SpatialDistortion___TimerData_y_impl=168 +constant integer si__WillOfTheTribunal___CasterData=236 +constant integer s__WillOfTheTribunal___CasterData_timer_impl=169 constant integer si__CometSpell___TimerData=237 -constant integer s__CometSpell___TimerData_caster_impl=334 -constant integer s__CometSpell___TimerData_x_impl=336 -constant integer s__CometSpell___TimerData_y_impl=338 +constant integer s__CometSpell___TimerData_caster_impl=170 +constant integer s__CometSpell___TimerData_x_impl=171 +constant integer s__CometSpell___TimerData_y_impl=172 trigger st__ConstTable__getindex trigger st__ConstTable__setindex trigger st__ConstTable_has @@ -1727,12 +1727,12 @@ endfunction //Generated method caller for ConstTable._getindex function sc__ConstTable__getindex takes integer this,integer key returns integer - return LoadInteger(ConstTable___ht, this, key) //return this.integer[key] + return LoadInteger(ConstTable__ht, this, key) //return this.integer[key] endfunction //Generated method caller for ConstTable._setindex function sc__ConstTable__setindex takes integer this,integer key,integer tb returns nothing - call SaveInteger(ConstTable___ht, this, key, tb) //set this.integer[key] = tb + call SaveInteger(ConstTable__ht, this, key, tb) //set this.integer[key] = tb endfunction //Generated method caller for ConstTable.has @@ -2718,23 +2718,23 @@ endfunction //================================================================================================== // Constants -constant function MultiPatrol___Patrol_MinDistance takes nothing returns real +constant function MultiPatrol__Patrol_MinDistance takes nothing returns real return 100. endfunction -constant function MultiPatrol___Patrol_POINT_CURRENT takes nothing returns integer +constant function MultiPatrol__Patrol_POINT_CURRENT takes nothing returns integer return 9996 endfunction -constant function MultiPatrol___Patrol_POINT_TOTAL takes nothing returns integer +constant function MultiPatrol__Patrol_POINT_TOTAL takes nothing returns integer return 9997 endfunction -constant function MultiPatrol___Patrol_REGION takes nothing returns integer +constant function MultiPatrol__Patrol_REGION takes nothing returns integer return 9998 endfunction -constant function MultiPatrol___Patrol_TRIGGER takes nothing returns integer +constant function MultiPatrol__Patrol_TRIGGER takes nothing returns integer return 9999 endfunction //================================================================================================== @@ -2744,108 +2744,108 @@ endfunction //===================== // Points function Patrol_GetPointX takes integer unitHandleId,integer pointNumber returns real - return LoadReal(MultiPatrol___data, unitHandleId, pointNumber) + return LoadReal(MultiPatrol__data, unitHandleId, pointNumber) endfunction function Patrol_GetPointY takes integer unitHandleId,integer pointNumber returns real - return LoadReal(MultiPatrol___data, unitHandleId, - pointNumber) + return LoadReal(MultiPatrol__data, unitHandleId, - pointNumber) endfunction function Patrol_SetPointX takes integer unitHandleId,integer pointNumber,real newX returns nothing - call SaveReal(MultiPatrol___data, unitHandleId, pointNumber, newX) + call SaveReal(MultiPatrol__data, unitHandleId, pointNumber, newX) endfunction function Patrol_SetPointY takes integer unitHandleId,integer pointNumber,real newY returns nothing - call SaveReal(MultiPatrol___data, unitHandleId, - pointNumber, newY) + call SaveReal(MultiPatrol__data, unitHandleId, - pointNumber, newY) endfunction //===================== // Current Point and Total Points function Patrol_GetCurrentPatrolPoint takes integer unitHandleId returns integer - return LoadInteger(MultiPatrol___data, - unitHandleId, (9996)) // INLINED!! + return LoadInteger(MultiPatrol__data, - unitHandleId, (9996)) // INLINED!! endfunction function Patrol_GetTotalPatrolPoints takes integer unitHandleId returns integer - return LoadInteger(MultiPatrol___data, - unitHandleId, (9997)) // INLINED!! + return LoadInteger(MultiPatrol__data, - unitHandleId, (9997)) // INLINED!! endfunction function Patrol_SetCurrentPatrolPoint takes integer unitHandleId,integer pointNumber returns nothing - call SaveInteger(MultiPatrol___data, - unitHandleId, (9996), pointNumber) // INLINED!! + call SaveInteger(MultiPatrol__data, - unitHandleId, (9996), pointNumber) // INLINED!! endfunction function Patrol_SetTotalPatrolPoints takes integer unitHandleId,integer newTotal returns nothing - call SaveInteger(MultiPatrol___data, - unitHandleId, (9997), newTotal) // INLINED!! + call SaveInteger(MultiPatrol__data, - unitHandleId, (9997), newTotal) // INLINED!! endfunction //===================== // Region and Trigger -function MultiPatrol___Patrol_GetRegion takes integer unitHandleId returns region - return LoadRegionHandle(MultiPatrol___data, - unitHandleId, (9998)) // INLINED!! +function MultiPatrol__Patrol_GetRegion takes integer unitHandleId returns region + return LoadRegionHandle(MultiPatrol__data, - unitHandleId, (9998)) // INLINED!! endfunction -function MultiPatrol___Patrol_GetTrigger takes integer unitHandleId returns trigger - return LoadTriggerHandle(MultiPatrol___data, - unitHandleId, (9999)) // INLINED!! +function MultiPatrol__Patrol_GetTrigger takes integer unitHandleId returns trigger + return LoadTriggerHandle(MultiPatrol__data, - unitHandleId, (9999)) // INLINED!! endfunction -function MultiPatrol___Patrol_SetRegion takes integer unitHandleId,region newRegion returns nothing - call SaveRegionHandle(MultiPatrol___data, - unitHandleId, (9998), newRegion) // INLINED!! +function MultiPatrol__Patrol_SetRegion takes integer unitHandleId,region newRegion returns nothing + call SaveRegionHandle(MultiPatrol__data, - unitHandleId, (9998), newRegion) // INLINED!! endfunction -function MultiPatrol___Patrol_SetTrigger takes integer unitHandleId,trigger newTrigger returns nothing - call SaveTriggerHandle(MultiPatrol___data, - unitHandleId, (9999), newTrigger) // INLINED!! +function MultiPatrol__Patrol_SetTrigger takes integer unitHandleId,trigger newTrigger returns nothing + call SaveTriggerHandle(MultiPatrol__data, - unitHandleId, (9999), newTrigger) // INLINED!! endfunction //===================== // Text Tags and Special Effects for displaying patrol points -function MultiPatrol___Patrol_SetPointEffect takes integer uId,integer point,effect spEffect returns nothing - call SaveEffectHandle(MultiPatrol___data, uId, MultiPatrol___INDEX_DISPLAY + point, spEffect) +function MultiPatrol__Patrol_SetPointEffect takes integer uId,integer point,effect spEffect returns nothing + call SaveEffectHandle(MultiPatrol__data, uId, MultiPatrol__INDEX_DISPLAY + point, spEffect) endfunction -function MultiPatrol___Patrol_SetPointTag takes integer uId,integer point,texttag tag returns nothing - call SaveTextTagHandle(MultiPatrol___data, uId, - MultiPatrol___INDEX_DISPLAY - point, tag) +function MultiPatrol__Patrol_SetPointTag takes integer uId,integer point,texttag tag returns nothing + call SaveTextTagHandle(MultiPatrol__data, uId, - MultiPatrol__INDEX_DISPLAY - point, tag) endfunction -function MultiPatrol___Patrol_GetPointEffect takes integer uId,integer point returns effect - return LoadEffectHandle(MultiPatrol___data, uId, MultiPatrol___INDEX_DISPLAY + point) +function MultiPatrol__Patrol_GetPointEffect takes integer uId,integer point returns effect + return LoadEffectHandle(MultiPatrol__data, uId, MultiPatrol__INDEX_DISPLAY + point) endfunction -function MultiPatrol___Patrol_GetPointTag takes integer uId,integer point returns texttag - return LoadTextTagHandle(MultiPatrol___data, uId, - MultiPatrol___INDEX_DISPLAY - point) +function MultiPatrol__Patrol_GetPointTag takes integer uId,integer point returns texttag + return LoadTextTagHandle(MultiPatrol__data, uId, - MultiPatrol__INDEX_DISPLAY - point) endfunction -function MultiPatrol___Patrol_RemovePointEffect takes integer uId,integer point returns nothing - call RemoveSavedHandle(MultiPatrol___data, uId, MultiPatrol___INDEX_DISPLAY + point) +function MultiPatrol__Patrol_RemovePointEffect takes integer uId,integer point returns nothing + call RemoveSavedHandle(MultiPatrol__data, uId, MultiPatrol__INDEX_DISPLAY + point) endfunction -function MultiPatrol___Patrol_RemovePointTag takes integer uId,integer point returns nothing - call RemoveSavedHandle(MultiPatrol___data, uId, - MultiPatrol___INDEX_DISPLAY - point) +function MultiPatrol__Patrol_RemovePointTag takes integer uId,integer point returns nothing + call RemoveSavedHandle(MultiPatrol__data, uId, - MultiPatrol__INDEX_DISPLAY - point) endfunction //================================================================================================== // Uitilities -function MultiPatrol___Patrol_Distance takes real x,real y returns real +function MultiPatrol__Patrol_Distance takes real x,real y returns real return SquareRoot(Pow(x, 2) + Pow(y, 2)) endfunction //================================================================================================== -function MultiPatrol___Patrol_PointReached takes nothing returns boolean +function MultiPatrol__Patrol_PointReached takes nothing returns boolean local unit trigU= GetTriggerUnit() local integer u_handle= GetHandleId(trigU) - local integer currentPtrl= (LoadInteger(MultiPatrol___data, - (u_handle), (9996))) // INLINED!! + local integer currentPtrl= (LoadInteger(MultiPatrol__data, - (u_handle), (9996))) // INLINED!! local region ptrlReg= GetTriggeringRegion() local real oldX local real oldY local real newX local real newY - if trigU != LoadUnitHandle(MultiPatrol___data, GetHandleId(GetTriggeringTrigger()), 0) then + if trigU != LoadUnitHandle(MultiPatrol__data, GetHandleId(GetTriggeringTrigger()), 0) then set trigU=null set ptrlReg=null return false endif // - call MoveRectTo(MultiPatrol___ptrlRect, (LoadReal(MultiPatrol___data, (u_handle ), ( currentPtrl))), (LoadReal(MultiPatrol___data, (u_handle ), - ( currentPtrl)))) // INLINED!! - call RegionClearRect(ptrlReg, MultiPatrol___ptrlRect) + call MoveRectTo(MultiPatrol__ptrlRect, (LoadReal(MultiPatrol__data, (u_handle ), ( currentPtrl))), (LoadReal(MultiPatrol__data, (u_handle ), - ( currentPtrl)))) // INLINED!! + call RegionClearRect(ptrlReg, MultiPatrol__ptrlRect) // - if currentPtrl == (LoadInteger(MultiPatrol___data, - (u_handle), (9997))) then // INLINED!! + if currentPtrl == (LoadInteger(MultiPatrol__data, - (u_handle), (9997))) then // INLINED!! set currentPtrl=1 else set currentPtrl=currentPtrl + 1 @@ -2853,23 +2853,23 @@ function MultiPatrol___Patrol_PointReached takes nothing returns boolean set oldX=GetUnitX(trigU) set oldY=GetUnitY(trigU) - set newX=(LoadReal(MultiPatrol___data, (u_handle ), ( currentPtrl))) // INLINED!! - set newY=(LoadReal(MultiPatrol___data, (u_handle ), - ( currentPtrl))) // INLINED!! + set newX=(LoadReal(MultiPatrol__data, (u_handle ), ( currentPtrl))) // INLINED!! + set newY=(LoadReal(MultiPatrol__data, (u_handle ), - ( currentPtrl))) // INLINED!! //TODO:System can still bug even if it's not the first point, if a unit is blocking the path - if (SquareRoot(Pow(((newX - oldX )*1.0), 2) + Pow((( newY - oldY)*1.0), 2))) <= MultiPatrol___MINIMUM_DISTANCE then // INLINED!! + if (SquareRoot(Pow(((newX - oldX )*1.0), 2) + Pow((( newY - oldY)*1.0), 2))) <= MultiPatrol__MINIMUM_DISTANCE then // INLINED!! set currentPtrl=currentPtrl + 1 endif - call SaveInteger(MultiPatrol___data, - (u_handle ), (9996), ( currentPtrl)) // INLINED!! + call SaveInteger(MultiPatrol__data, - (u_handle ), (9996), ( currentPtrl)) // INLINED!! // - call MoveRectTo(MultiPatrol___ptrlRect, (LoadReal(MultiPatrol___data, (u_handle ), ( currentPtrl))), (LoadReal(MultiPatrol___data, (u_handle ), - ( currentPtrl)))) // INLINED!! - call RegionAddRect(ptrlReg, MultiPatrol___ptrlRect) + call MoveRectTo(MultiPatrol__ptrlRect, (LoadReal(MultiPatrol__data, (u_handle ), ( currentPtrl))), (LoadReal(MultiPatrol__data, (u_handle ), - ( currentPtrl)))) // INLINED!! + call RegionAddRect(ptrlReg, MultiPatrol__ptrlRect) // - set MultiPatrol___orderBool=true - if IssuePointOrder(trigU, "patrol", (LoadReal(MultiPatrol___data, (u_handle ), ( currentPtrl))), (LoadReal(MultiPatrol___data, (u_handle ), - ( currentPtrl)))) then // INLINED!! + set MultiPatrol__orderBool=true + if IssuePointOrder(trigU, "patrol", (LoadReal(MultiPatrol__data, (u_handle ), ( currentPtrl))), (LoadReal(MultiPatrol__data, (u_handle ), - ( currentPtrl)))) then // INLINED!! else - set MultiPatrol___orderBool=false + set MultiPatrol__orderBool=false endif set trigU=null @@ -2884,42 +2884,42 @@ endfunction //=================== function Patrol_UnitIdHasPatrolPoints takes integer unitHandleId returns boolean - return (LoadInteger(MultiPatrol___data, - (unitHandleId), (9996))) != 0 // INLINED!! + return (LoadInteger(MultiPatrol__data, - (unitHandleId), (9996))) != 0 // INLINED!! endfunction function Patrol_UnitHasPatrolPoints takes unit whichUnit returns boolean - return ((LoadInteger(MultiPatrol___data, - ((GetHandleId(whichUnit))), (9996))) != 0) // INLINED!! + return ((LoadInteger(MultiPatrol__data, - ((GetHandleId(whichUnit))), (9996))) != 0) // INLINED!! endfunction function Patrol_DestroyIdPoints takes integer u_handle returns nothing - local integer pnts_number= (LoadInteger(MultiPatrol___data, - (u_handle), (9997))) // INLINED!! + local integer pnts_number= (LoadInteger(MultiPatrol__data, - (u_handle), (9997))) // INLINED!! local integer i= 1 loop - exitwhen i > pnts_number or (LoadEffectHandle(MultiPatrol___data, (u_handle ), MultiPatrol___INDEX_DISPLAY + ( i))) == null // INLINED!! - call BlzSetSpecialEffectAlpha((LoadEffectHandle(MultiPatrol___data, (u_handle ), MultiPatrol___INDEX_DISPLAY + ( i))), 0) // INLINED!! - call DestroyEffect((LoadEffectHandle(MultiPatrol___data, (u_handle ), MultiPatrol___INDEX_DISPLAY + ( i)))) // INLINED!! - call DestroyTextTag((LoadTextTagHandle(MultiPatrol___data, (u_handle ), - MultiPatrol___INDEX_DISPLAY - ( i)))) // INLINED!! - call RemoveSavedHandle(MultiPatrol___data, (u_handle ), MultiPatrol___INDEX_DISPLAY + ( i)) // INLINED!! - call RemoveSavedHandle(MultiPatrol___data, (u_handle ), - MultiPatrol___INDEX_DISPLAY - ( i)) // INLINED!! + exitwhen i > pnts_number or (LoadEffectHandle(MultiPatrol__data, (u_handle ), MultiPatrol__INDEX_DISPLAY + ( i))) == null // INLINED!! + call BlzSetSpecialEffectAlpha((LoadEffectHandle(MultiPatrol__data, (u_handle ), MultiPatrol__INDEX_DISPLAY + ( i))), 0) // INLINED!! + call DestroyEffect((LoadEffectHandle(MultiPatrol__data, (u_handle ), MultiPatrol__INDEX_DISPLAY + ( i)))) // INLINED!! + call DestroyTextTag((LoadTextTagHandle(MultiPatrol__data, (u_handle ), - MultiPatrol__INDEX_DISPLAY - ( i)))) // INLINED!! + call RemoveSavedHandle(MultiPatrol__data, (u_handle ), MultiPatrol__INDEX_DISPLAY + ( i)) // INLINED!! + call RemoveSavedHandle(MultiPatrol__data, (u_handle ), - MultiPatrol__INDEX_DISPLAY - ( i)) // INLINED!! set i=i + 1 endloop endfunction function Patrol_ClearUnitIdData takes integer unitHandleId returns nothing - local trigger patrolTrig= (LoadTriggerHandle(MultiPatrol___data, - (unitHandleId), (9999))) // INLINED!! + local trigger patrolTrig= (LoadTriggerHandle(MultiPatrol__data, - (unitHandleId), (9999))) // INLINED!! if patrolTrig != null then call Patrol_DestroyIdPoints(unitHandleId) - call RemoveRegion((LoadRegionHandle(MultiPatrol___data, - (unitHandleId), (9998)))) // INLINED!! + call RemoveRegion((LoadRegionHandle(MultiPatrol__data, - (unitHandleId), (9998)))) // INLINED!! - call FlushChildHashtable(MultiPatrol___data, GetHandleId(patrolTrig)) + call FlushChildHashtable(MultiPatrol__data, GetHandleId(patrolTrig)) call DestroyTrigger(patrolTrig) - call FlushChildHashtable(MultiPatrol___data, unitHandleId) // Clear patrol points - call FlushChildHashtable(MultiPatrol___data, - unitHandleId) // Clear other stuff + call FlushChildHashtable(MultiPatrol__data, unitHandleId) // Clear patrol points + call FlushChildHashtable(MultiPatrol__data, - unitHandleId) // Clear other stuff set patrolTrig=null endif @@ -2935,8 +2935,8 @@ function Patrol_IsValidPatrolOrder takes integer orderId returns boolean endif // Handle recursion - if MultiPatrol___orderBool then - set MultiPatrol___orderBool=false + if MultiPatrol__orderBool then + set MultiPatrol__orderBool=false return false endif @@ -2945,7 +2945,7 @@ endfunction function Patrol_DisplayPoints takes unit whichUnit returns nothing local integer u_handle= GetHandleId(whichUnit) - local integer pnts_number= (LoadInteger(MultiPatrol___data, - (u_handle), (9997))) // INLINED!! + local integer pnts_number= (LoadInteger(MultiPatrol__data, - (u_handle), (9997))) // INLINED!! local integer i= 1 local real x local real y @@ -2954,16 +2954,16 @@ function Patrol_DisplayPoints takes unit whichUnit returns nothing loop exitwhen i > pnts_number - if (LoadEffectHandle(MultiPatrol___data, (u_handle ), MultiPatrol___INDEX_DISPLAY + ( i))) == null then // INLINED!! - set x=(LoadReal(MultiPatrol___data, (u_handle ), ( i))) // INLINED!! - set y=(LoadReal(MultiPatrol___data, (u_handle ), - ( i))) // INLINED!! + if (LoadEffectHandle(MultiPatrol__data, (u_handle ), MultiPatrol__INDEX_DISPLAY + ( i))) == null then // INLINED!! + set x=(LoadReal(MultiPatrol__data, (u_handle ), ( i))) // INLINED!! + set y=(LoadReal(MultiPatrol__data, (u_handle ), - ( i))) // INLINED!! set tag=CreateTextTag() set spEffect=AddSpecialEffect("UI\\Feedback\\RallyPoint\\RallyPoint.mdl", x, y) call SetTextTagText(tag, I2S(i), 0.023) call SetTextTagPos(tag, x - 32, y, 0) - call SaveEffectHandle(MultiPatrol___data, (u_handle ), MultiPatrol___INDEX_DISPLAY + ( i ), ( spEffect)) // INLINED!! - call SaveTextTagHandle(MultiPatrol___data, (u_handle ), - MultiPatrol___INDEX_DISPLAY - ( i ), ( tag)) // INLINED!! + call SaveEffectHandle(MultiPatrol__data, (u_handle ), MultiPatrol__INDEX_DISPLAY + ( i ), ( spEffect)) // INLINED!! + call SaveTextTagHandle(MultiPatrol__data, (u_handle ), - MultiPatrol__INDEX_DISPLAY - ( i ), ( tag)) // INLINED!! if GetLocalPlayer() != GetOwningPlayer(whichUnit) then call SetTextTagVisibility(tag, false) call BlzSetSpecialEffectAlpha(spEffect, 0) @@ -2984,22 +2984,22 @@ endfunction function Patrol_ResumePatrol takes unit whichUnit returns nothing local integer u_handle= GetHandleId(whichUnit) - local integer currentPtrl= (LoadInteger(MultiPatrol___data, - (u_handle), (9996))) // INLINED!! - local real patrolX= (LoadReal(MultiPatrol___data, (u_handle ), ( currentPtrl))) // INLINED!! - local real patrolY= (LoadReal(MultiPatrol___data, (u_handle ), - ( currentPtrl))) // INLINED!! + local integer currentPtrl= (LoadInteger(MultiPatrol__data, - (u_handle), (9996))) // INLINED!! + local real patrolX= (LoadReal(MultiPatrol__data, (u_handle ), ( currentPtrl))) // INLINED!! + local real patrolY= (LoadReal(MultiPatrol__data, (u_handle ), - ( currentPtrl))) // INLINED!! - if not ((LoadInteger(MultiPatrol___data, - ((u_handle)), (9996))) != 0) then //currentPtrl == 0 then // INLINED!! + if not ((LoadInteger(MultiPatrol__data, - ((u_handle)), (9996))) != 0) then //currentPtrl == 0 then // INLINED!! return endif - set MultiPatrol___orderBool=true - if (SquareRoot(Pow(((patrolX - GetUnitX(whichUnit) )*1.0), 2) + Pow((( patrolY - GetUnitY(whichUnit))*1.0), 2))) > MultiPatrol___MINIMUM_DISTANCE then // INLINED!! + set MultiPatrol__orderBool=true + if (SquareRoot(Pow(((patrolX - GetUnitX(whichUnit) )*1.0), 2) + Pow((( patrolY - GetUnitY(whichUnit))*1.0), 2))) > MultiPatrol__MINIMUM_DISTANCE then // INLINED!! if not IssuePointOrder(whichUnit, "patrol", patrolX, patrolY) then - set MultiPatrol___orderBool=false + set MultiPatrol__orderBool=false endif else if not IssuePointOrder(whichUnit, "move", patrolX, patrolY) then - set MultiPatrol___orderBool=false + set MultiPatrol__orderBool=false endif endif endfunction @@ -3009,25 +3009,25 @@ function Patrol_Create takes unit whichUnit,real x0,real y0,real x,real y return local trigger dynTrig local region ptrlReg - if (SquareRoot(Pow(((x - x0 )*1.0), 2) + Pow((( y - y0)*1.0), 2))) > MultiPatrol___MINIMUM_DISTANCE then // INLINED!! + if (SquareRoot(Pow(((x - x0 )*1.0), 2) + Pow((( y - y0)*1.0), 2))) > MultiPatrol__MINIMUM_DISTANCE then // INLINED!! set dynTrig=CreateTrigger() set ptrlReg=CreateRegion() - call SaveInteger(MultiPatrol___data, - (u_handle ), (9997), ( 2)) // INLINED!! - call SaveInteger(MultiPatrol___data, - (u_handle ), (9996), ( 2)) // INLINED!! - call SaveReal(MultiPatrol___data, (u_handle ), ( 1 ), (( x0)*1.0)) // INLINED!! - call SaveReal(MultiPatrol___data, (u_handle ), - ( 1 ), (( y0)*1.0)) // INLINED!! - call SaveReal(MultiPatrol___data, (u_handle ), ( 2 ), (( x)*1.0)) // INLINED!! - call SaveReal(MultiPatrol___data, (u_handle ), - ( 2 ), (( y)*1.0)) // INLINED!! - call SaveTriggerHandle(MultiPatrol___data, - (u_handle ), (9999), ( dynTrig)) // INLINED!! - call SaveRegionHandle(MultiPatrol___data, - (u_handle ), (9998), ( ptrlReg)) // INLINED!! + call SaveInteger(MultiPatrol__data, - (u_handle ), (9997), ( 2)) // INLINED!! + call SaveInteger(MultiPatrol__data, - (u_handle ), (9996), ( 2)) // INLINED!! + call SaveReal(MultiPatrol__data, (u_handle ), ( 1 ), (( x0)*1.0)) // INLINED!! + call SaveReal(MultiPatrol__data, (u_handle ), - ( 1 ), (( y0)*1.0)) // INLINED!! + call SaveReal(MultiPatrol__data, (u_handle ), ( 2 ), (( x)*1.0)) // INLINED!! + call SaveReal(MultiPatrol__data, (u_handle ), - ( 2 ), (( y)*1.0)) // INLINED!! + call SaveTriggerHandle(MultiPatrol__data, - (u_handle ), (9999), ( dynTrig)) // INLINED!! + call SaveRegionHandle(MultiPatrol__data, - (u_handle ), (9998), ( ptrlReg)) // INLINED!! - call MoveRectTo(MultiPatrol___ptrlRect, x, y) - call RegionAddRect(ptrlReg, MultiPatrol___ptrlRect) + call MoveRectTo(MultiPatrol__ptrlRect, x, y) + call RegionAddRect(ptrlReg, MultiPatrol__ptrlRect) call TriggerRegisterEnterRegion(dynTrig, ptrlReg, null) - call TriggerAddCondition(dynTrig, Condition(function MultiPatrol___Patrol_PointReached)) - call SaveUnitHandle(MultiPatrol___data, GetHandleId(dynTrig), 0, whichUnit) + call TriggerAddCondition(dynTrig, Condition(function MultiPatrol__Patrol_PointReached)) + call SaveUnitHandle(MultiPatrol__data, GetHandleId(dynTrig), 0, whichUnit) set dynTrig=null set ptrlReg=null @@ -3039,22 +3039,22 @@ endfunction function Patrol_AddPoint takes unit whichUnit,real newX,real newY returns integer local integer u_handle= GetHandleId(whichUnit) - local integer pnts_number= (LoadInteger(MultiPatrol___data, - (u_handle), (9997))) // INLINED!! + local integer pnts_number= (LoadInteger(MultiPatrol__data, - (u_handle), (9997))) // INLINED!! local real oldX local real oldY - if pnts_number > MultiPatrol___MAX_POINTS then + if pnts_number > MultiPatrol__MAX_POINTS then return MultiPatrol_ERROR_OVERFLOW elseif pnts_number > 0 then - set oldX=(LoadReal(MultiPatrol___data, (u_handle ), ( pnts_number))) // INLINED!! - set oldY=(LoadReal(MultiPatrol___data, (u_handle ), - ( pnts_number))) // INLINED!! + set oldX=(LoadReal(MultiPatrol__data, (u_handle ), ( pnts_number))) // INLINED!! + set oldY=(LoadReal(MultiPatrol__data, (u_handle ), - ( pnts_number))) // INLINED!! - if (SquareRoot(Pow(((newX - oldX )*1.0), 2) + Pow((( newY - oldY)*1.0), 2))) > MultiPatrol___MINIMUM_DISTANCE then // INLINED!! + if (SquareRoot(Pow(((newX - oldX )*1.0), 2) + Pow((( newY - oldY)*1.0), 2))) > MultiPatrol__MINIMUM_DISTANCE then // INLINED!! set pnts_number=pnts_number + 1 - call SaveInteger(MultiPatrol___data, - (u_handle ), (9997), ( pnts_number)) // INLINED!! - call SaveReal(MultiPatrol___data, (u_handle ), ( pnts_number ), (( newX)*1.0)) // INLINED!! - call SaveReal(MultiPatrol___data, (u_handle ), - ( pnts_number ), (( newY)*1.0)) // INLINED!! + call SaveInteger(MultiPatrol__data, - (u_handle ), (9997), ( pnts_number)) // INLINED!! + call SaveReal(MultiPatrol__data, (u_handle ), ( pnts_number ), (( newX)*1.0)) // INLINED!! + call SaveReal(MultiPatrol__data, (u_handle ), - ( pnts_number ), (( newY)*1.0)) // INLINED!! else return MultiPatrol_ERROR_TOO_CLOSE endif @@ -3083,8 +3083,8 @@ endfunction // ------------------------ // ||END OF PATROL SYSTEM || // -function MultiPatrol___onInit takes nothing returns nothing - set MultiPatrol___ptrlRect=Rect(0, 0, MultiPatrol___RANGE, MultiPatrol___RANGE) +function MultiPatrol__onInit takes nothing returns nothing + set MultiPatrol__ptrlRect=Rect(0, 0, MultiPatrol__RANGE, MultiPatrol__RANGE) endfunction @@ -3310,22 +3310,22 @@ endfunction //library Table: - function s__Table___dex__get_size takes nothing returns integer - return Table___sizeK + function s__Table__dex__get_size takes nothing returns integer + return Table__sizeK endfunction - function s__Table___dex__get_list takes nothing returns integer - return Table___listK + function s__Table__dex__get_list takes nothing returns integer + return Table__listK endfunction - function s__Table___handles_has takes integer this,integer key returns boolean - return HaveSavedHandle(Table___ht, this, key) + function s__Table__handles_has takes integer this,integer key returns boolean + return HaveSavedHandle(Table__ht, this, key) endfunction - function s__Table___handles_remove takes integer this,integer key returns nothing - call RemoveSavedHandle(Table___ht, this, key) + function s__Table__handles_remove takes integer this,integer key returns nothing + call RemoveSavedHandle(Table__ht, this, key) endfunction - function s__Table___agents__setindex takes integer this,integer key,agent value returns nothing - call SaveAgentHandle(Table___ht, this, key, value) + function s__Table__agents__setindex takes integer this,integer key,agent value returns nothing + call SaveAgentHandle(Table__ht, this, key, value) endfunction @@ -3334,763 +3334,763 @@ endfunction //Don't be intimidated by the number of macros - Vexorian's map optimizer is //supposed to kill functions which inline (all of these functions inline). //textmacro instance: NEW_ARRAY_BASIC("Real", "Real", "real") - function s__Table___reals__getindex takes integer this,integer key returns real - return LoadReal(Table___ht, this, key) + function s__Table__reals__getindex takes integer this,integer key returns real + return LoadReal(Table__ht, this, key) endfunction - function s__Table___reals__setindex takes integer this,integer key,real value returns nothing - call SaveReal(Table___ht, this, key, value) + function s__Table__reals__setindex takes integer this,integer key,real value returns nothing + call SaveReal(Table__ht, this, key, value) endfunction - function s__Table___reals_has takes integer this,integer key returns boolean - return HaveSavedReal(Table___ht, this, key) + function s__Table__reals_has takes integer this,integer key returns boolean + return HaveSavedReal(Table__ht, this, key) endfunction - function s__Table___reals_remove takes integer this,integer key returns nothing - call RemoveSavedReal(Table___ht, this, key) + function s__Table__reals_remove takes integer this,integer key returns nothing + call RemoveSavedReal(Table__ht, this, key) endfunction //end of: NEW_ARRAY_BASIC("Real", "Real", "real") //textmacro instance: NEW_ARRAY_BASIC("Boolean", "Boolean", "boolean") - function s__Table___booleans__getindex takes integer this,integer key returns boolean - return LoadBoolean(Table___ht, this, key) + function s__Table__booleans__getindex takes integer this,integer key returns boolean + return LoadBoolean(Table__ht, this, key) endfunction - function s__Table___booleans__setindex takes integer this,integer key,boolean value returns nothing - call SaveBoolean(Table___ht, this, key, value) + function s__Table__booleans__setindex takes integer this,integer key,boolean value returns nothing + call SaveBoolean(Table__ht, this, key, value) endfunction - function s__Table___booleans_has takes integer this,integer key returns boolean - return HaveSavedBoolean(Table___ht, this, key) + function s__Table__booleans_has takes integer this,integer key returns boolean + return HaveSavedBoolean(Table__ht, this, key) endfunction - function s__Table___booleans_remove takes integer this,integer key returns nothing - call RemoveSavedBoolean(Table___ht, this, key) + function s__Table__booleans_remove takes integer this,integer key returns nothing + call RemoveSavedBoolean(Table__ht, this, key) endfunction //end of: NEW_ARRAY_BASIC("Boolean", "Boolean", "boolean") //textmacro instance: NEW_ARRAY_BASIC("String", "Str", "string") - function s__Table___strings__getindex takes integer this,integer key returns string - return LoadStr(Table___ht, this, key) + function s__Table__strings__getindex takes integer this,integer key returns string + return LoadStr(Table__ht, this, key) endfunction - function s__Table___strings__setindex takes integer this,integer key,string value returns nothing - call SaveStr(Table___ht, this, key, value) + function s__Table__strings__setindex takes integer this,integer key,string value returns nothing + call SaveStr(Table__ht, this, key, value) endfunction - function s__Table___strings_has takes integer this,integer key returns boolean - return HaveSavedString(Table___ht, this, key) + function s__Table__strings_has takes integer this,integer key returns boolean + return HaveSavedString(Table__ht, this, key) endfunction - function s__Table___strings_remove takes integer this,integer key returns nothing - call RemoveSavedString(Table___ht, this, key) + function s__Table__strings_remove takes integer this,integer key returns nothing + call RemoveSavedString(Table__ht, this, key) endfunction //end of: NEW_ARRAY_BASIC("String", "Str", "string") //New textmacro to allow table.integer[] syntax for compatibility with textmacros that might desire it. //textmacro instance: NEW_ARRAY_BASIC("Integer", "Integer", "integer") - function s__Table___integers__getindex takes integer this,integer key returns integer - return LoadInteger(Table___ht, this, key) + function s__Table__integers__getindex takes integer this,integer key returns integer + return LoadInteger(Table__ht, this, key) endfunction - function s__Table___integers__setindex takes integer this,integer key,integer value returns nothing - call SaveInteger(Table___ht, this, key, value) + function s__Table__integers__setindex takes integer this,integer key,integer value returns nothing + call SaveInteger(Table__ht, this, key, value) endfunction - function s__Table___integers_has takes integer this,integer key returns boolean - return HaveSavedInteger(Table___ht, this, key) + function s__Table__integers_has takes integer this,integer key returns boolean + return HaveSavedInteger(Table__ht, this, key) endfunction - function s__Table___integers_remove takes integer this,integer key returns nothing - call RemoveSavedInteger(Table___ht, this, key) + function s__Table__integers_remove takes integer this,integer key returns nothing + call RemoveSavedInteger(Table__ht, this, key) endfunction //end of: NEW_ARRAY_BASIC("Integer", "Integer", "integer") //textmacro instance: NEW_ARRAY("Player", "player") - function s__Table___players__getindex takes integer this,integer key returns player - return LoadPlayerHandle(Table___ht, this, key) + function s__Table__players__getindex takes integer this,integer key returns player + return LoadPlayerHandle(Table__ht, this, key) endfunction - function s__Table___players__setindex takes integer this,integer key,player value returns nothing - call SavePlayerHandle(Table___ht, this, key, value) + function s__Table__players__setindex takes integer this,integer key,player value returns nothing + call SavePlayerHandle(Table__ht, this, key, value) endfunction - function s__Table___players_has takes integer this,integer key returns boolean - return HaveSavedHandle(Table___ht, this, key) + function s__Table__players_has takes integer this,integer key returns boolean + return HaveSavedHandle(Table__ht, this, key) endfunction - function s__Table___players_remove takes integer this,integer key returns nothing - call RemoveSavedHandle(Table___ht, this, key) + function s__Table__players_remove takes integer this,integer key returns nothing + call RemoveSavedHandle(Table__ht, this, key) endfunction //end of: NEW_ARRAY("Player", "player") //textmacro instance: NEW_ARRAY("Widget", "widget") - function s__Table___widgets__getindex takes integer this,integer key returns widget - return LoadWidgetHandle(Table___ht, this, key) + function s__Table__widgets__getindex takes integer this,integer key returns widget + return LoadWidgetHandle(Table__ht, this, key) endfunction - function s__Table___widgets__setindex takes integer this,integer key,widget value returns nothing - call SaveWidgetHandle(Table___ht, this, key, value) + function s__Table__widgets__setindex takes integer this,integer key,widget value returns nothing + call SaveWidgetHandle(Table__ht, this, key, value) endfunction - function s__Table___widgets_has takes integer this,integer key returns boolean - return HaveSavedHandle(Table___ht, this, key) + function s__Table__widgets_has takes integer this,integer key returns boolean + return HaveSavedHandle(Table__ht, this, key) endfunction - function s__Table___widgets_remove takes integer this,integer key returns nothing - call RemoveSavedHandle(Table___ht, this, key) + function s__Table__widgets_remove takes integer this,integer key returns nothing + call RemoveSavedHandle(Table__ht, this, key) endfunction //end of: NEW_ARRAY("Widget", "widget") //textmacro instance: NEW_ARRAY("Destructable", "destructable") - function s__Table___destructables__getindex takes integer this,integer key returns destructable - return LoadDestructableHandle(Table___ht, this, key) + function s__Table__destructables__getindex takes integer this,integer key returns destructable + return LoadDestructableHandle(Table__ht, this, key) endfunction - function s__Table___destructables__setindex takes integer this,integer key,destructable value returns nothing - call SaveDestructableHandle(Table___ht, this, key, value) + function s__Table__destructables__setindex takes integer this,integer key,destructable value returns nothing + call SaveDestructableHandle(Table__ht, this, key, value) endfunction - function s__Table___destructables_has takes integer this,integer key returns boolean - return HaveSavedHandle(Table___ht, this, key) + function s__Table__destructables_has takes integer this,integer key returns boolean + return HaveSavedHandle(Table__ht, this, key) endfunction - function s__Table___destructables_remove takes integer this,integer key returns nothing - call RemoveSavedHandle(Table___ht, this, key) + function s__Table__destructables_remove takes integer this,integer key returns nothing + call RemoveSavedHandle(Table__ht, this, key) endfunction //end of: NEW_ARRAY("Destructable", "destructable") //textmacro instance: NEW_ARRAY("Item", "item") - function s__Table___items__getindex takes integer this,integer key returns item - return LoadItemHandle(Table___ht, this, key) + function s__Table__items__getindex takes integer this,integer key returns item + return LoadItemHandle(Table__ht, this, key) endfunction - function s__Table___items__setindex takes integer this,integer key,item value returns nothing - call SaveItemHandle(Table___ht, this, key, value) + function s__Table__items__setindex takes integer this,integer key,item value returns nothing + call SaveItemHandle(Table__ht, this, key, value) endfunction - function s__Table___items_has takes integer this,integer key returns boolean - return HaveSavedHandle(Table___ht, this, key) + function s__Table__items_has takes integer this,integer key returns boolean + return HaveSavedHandle(Table__ht, this, key) endfunction - function s__Table___items_remove takes integer this,integer key returns nothing - call RemoveSavedHandle(Table___ht, this, key) + function s__Table__items_remove takes integer this,integer key returns nothing + call RemoveSavedHandle(Table__ht, this, key) endfunction //end of: NEW_ARRAY("Item", "item") //textmacro instance: NEW_ARRAY("Unit", "unit") - function s__Table___units__getindex takes integer this,integer key returns unit - return LoadUnitHandle(Table___ht, this, key) + function s__Table__units__getindex takes integer this,integer key returns unit + return LoadUnitHandle(Table__ht, this, key) endfunction - function s__Table___units__setindex takes integer this,integer key,unit value returns nothing - call SaveUnitHandle(Table___ht, this, key, value) + function s__Table__units__setindex takes integer this,integer key,unit value returns nothing + call SaveUnitHandle(Table__ht, this, key, value) endfunction - function s__Table___units_has takes integer this,integer key returns boolean - return HaveSavedHandle(Table___ht, this, key) + function s__Table__units_has takes integer this,integer key returns boolean + return HaveSavedHandle(Table__ht, this, key) endfunction - function s__Table___units_remove takes integer this,integer key returns nothing - call RemoveSavedHandle(Table___ht, this, key) + function s__Table__units_remove takes integer this,integer key returns nothing + call RemoveSavedHandle(Table__ht, this, key) endfunction //end of: NEW_ARRAY("Unit", "unit") //textmacro instance: NEW_ARRAY("Ability", "ability") - function s__Table___abilitys__getindex takes integer this,integer key returns ability - return LoadAbilityHandle(Table___ht, this, key) + function s__Table__abilitys__getindex takes integer this,integer key returns ability + return LoadAbilityHandle(Table__ht, this, key) endfunction - function s__Table___abilitys__setindex takes integer this,integer key,ability value returns nothing - call SaveAbilityHandle(Table___ht, this, key, value) + function s__Table__abilitys__setindex takes integer this,integer key,ability value returns nothing + call SaveAbilityHandle(Table__ht, this, key, value) endfunction - function s__Table___abilitys_has takes integer this,integer key returns boolean - return HaveSavedHandle(Table___ht, this, key) + function s__Table__abilitys_has takes integer this,integer key returns boolean + return HaveSavedHandle(Table__ht, this, key) endfunction - function s__Table___abilitys_remove takes integer this,integer key returns nothing - call RemoveSavedHandle(Table___ht, this, key) + function s__Table__abilitys_remove takes integer this,integer key returns nothing + call RemoveSavedHandle(Table__ht, this, key) endfunction //end of: NEW_ARRAY("Ability", "ability") //textmacro instance: NEW_ARRAY("Timer", "timer") - function s__Table___timers__getindex takes integer this,integer key returns timer - return LoadTimerHandle(Table___ht, this, key) + function s__Table__timers__getindex takes integer this,integer key returns timer + return LoadTimerHandle(Table__ht, this, key) endfunction - function s__Table___timers__setindex takes integer this,integer key,timer value returns nothing - call SaveTimerHandle(Table___ht, this, key, value) + function s__Table__timers__setindex takes integer this,integer key,timer value returns nothing + call SaveTimerHandle(Table__ht, this, key, value) endfunction - function s__Table___timers_has takes integer this,integer key returns boolean - return HaveSavedHandle(Table___ht, this, key) + function s__Table__timers_has takes integer this,integer key returns boolean + return HaveSavedHandle(Table__ht, this, key) endfunction - function s__Table___timers_remove takes integer this,integer key returns nothing - call RemoveSavedHandle(Table___ht, this, key) + function s__Table__timers_remove takes integer this,integer key returns nothing + call RemoveSavedHandle(Table__ht, this, key) endfunction //end of: NEW_ARRAY("Timer", "timer") //textmacro instance: NEW_ARRAY("Trigger", "trigger") - function s__Table___triggers__getindex takes integer this,integer key returns trigger - return LoadTriggerHandle(Table___ht, this, key) + function s__Table__triggers__getindex takes integer this,integer key returns trigger + return LoadTriggerHandle(Table__ht, this, key) endfunction - function s__Table___triggers__setindex takes integer this,integer key,trigger value returns nothing - call SaveTriggerHandle(Table___ht, this, key, value) + function s__Table__triggers__setindex takes integer this,integer key,trigger value returns nothing + call SaveTriggerHandle(Table__ht, this, key, value) endfunction - function s__Table___triggers_has takes integer this,integer key returns boolean - return HaveSavedHandle(Table___ht, this, key) + function s__Table__triggers_has takes integer this,integer key returns boolean + return HaveSavedHandle(Table__ht, this, key) endfunction - function s__Table___triggers_remove takes integer this,integer key returns nothing - call RemoveSavedHandle(Table___ht, this, key) + function s__Table__triggers_remove takes integer this,integer key returns nothing + call RemoveSavedHandle(Table__ht, this, key) endfunction //end of: NEW_ARRAY("Trigger", "trigger") //textmacro instance: NEW_ARRAY("TriggerCondition", "triggercondition") - function s__Table___triggerconditions__getindex takes integer this,integer key returns triggercondition - return LoadTriggerConditionHandle(Table___ht, this, key) + function s__Table__triggerconditions__getindex takes integer this,integer key returns triggercondition + return LoadTriggerConditionHandle(Table__ht, this, key) endfunction - function s__Table___triggerconditions__setindex takes integer this,integer key,triggercondition value returns nothing - call SaveTriggerConditionHandle(Table___ht, this, key, value) + function s__Table__triggerconditions__setindex takes integer this,integer key,triggercondition value returns nothing + call SaveTriggerConditionHandle(Table__ht, this, key, value) endfunction - function s__Table___triggerconditions_has takes integer this,integer key returns boolean - return HaveSavedHandle(Table___ht, this, key) + function s__Table__triggerconditions_has takes integer this,integer key returns boolean + return HaveSavedHandle(Table__ht, this, key) endfunction - function s__Table___triggerconditions_remove takes integer this,integer key returns nothing - call RemoveSavedHandle(Table___ht, this, key) + function s__Table__triggerconditions_remove takes integer this,integer key returns nothing + call RemoveSavedHandle(Table__ht, this, key) endfunction //end of: NEW_ARRAY("TriggerCondition", "triggercondition") //textmacro instance: NEW_ARRAY("TriggerAction", "triggeraction") - function s__Table___triggeractions__getindex takes integer this,integer key returns triggeraction - return LoadTriggerActionHandle(Table___ht, this, key) + function s__Table__triggeractions__getindex takes integer this,integer key returns triggeraction + return LoadTriggerActionHandle(Table__ht, this, key) endfunction - function s__Table___triggeractions__setindex takes integer this,integer key,triggeraction value returns nothing - call SaveTriggerActionHandle(Table___ht, this, key, value) + function s__Table__triggeractions__setindex takes integer this,integer key,triggeraction value returns nothing + call SaveTriggerActionHandle(Table__ht, this, key, value) endfunction - function s__Table___triggeractions_has takes integer this,integer key returns boolean - return HaveSavedHandle(Table___ht, this, key) + function s__Table__triggeractions_has takes integer this,integer key returns boolean + return HaveSavedHandle(Table__ht, this, key) endfunction - function s__Table___triggeractions_remove takes integer this,integer key returns nothing - call RemoveSavedHandle(Table___ht, this, key) + function s__Table__triggeractions_remove takes integer this,integer key returns nothing + call RemoveSavedHandle(Table__ht, this, key) endfunction //end of: NEW_ARRAY("TriggerAction", "triggeraction") //textmacro instance: NEW_ARRAY("TriggerEvent", "event") - function s__Table___events__getindex takes integer this,integer key returns event - return LoadTriggerEventHandle(Table___ht, this, key) + function s__Table__events__getindex takes integer this,integer key returns event + return LoadTriggerEventHandle(Table__ht, this, key) endfunction - function s__Table___events__setindex takes integer this,integer key,event value returns nothing - call SaveTriggerEventHandle(Table___ht, this, key, value) + function s__Table__events__setindex takes integer this,integer key,event value returns nothing + call SaveTriggerEventHandle(Table__ht, this, key, value) endfunction - function s__Table___events_has takes integer this,integer key returns boolean - return HaveSavedHandle(Table___ht, this, key) + function s__Table__events_has takes integer this,integer key returns boolean + return HaveSavedHandle(Table__ht, this, key) endfunction - function s__Table___events_remove takes integer this,integer key returns nothing - call RemoveSavedHandle(Table___ht, this, key) + function s__Table__events_remove takes integer this,integer key returns nothing + call RemoveSavedHandle(Table__ht, this, key) endfunction //end of: NEW_ARRAY("TriggerEvent", "event") //textmacro instance: NEW_ARRAY("Force", "force") - function s__Table___forces__getindex takes integer this,integer key returns force - return LoadForceHandle(Table___ht, this, key) + function s__Table__forces__getindex takes integer this,integer key returns force + return LoadForceHandle(Table__ht, this, key) endfunction - function s__Table___forces__setindex takes integer this,integer key,force value returns nothing - call SaveForceHandle(Table___ht, this, key, value) + function s__Table__forces__setindex takes integer this,integer key,force value returns nothing + call SaveForceHandle(Table__ht, this, key, value) endfunction - function s__Table___forces_has takes integer this,integer key returns boolean - return HaveSavedHandle(Table___ht, this, key) + function s__Table__forces_has takes integer this,integer key returns boolean + return HaveSavedHandle(Table__ht, this, key) endfunction - function s__Table___forces_remove takes integer this,integer key returns nothing - call RemoveSavedHandle(Table___ht, this, key) + function s__Table__forces_remove takes integer this,integer key returns nothing + call RemoveSavedHandle(Table__ht, this, key) endfunction //end of: NEW_ARRAY("Force", "force") //textmacro instance: NEW_ARRAY("Group", "group") - function s__Table___groups__getindex takes integer this,integer key returns group - return LoadGroupHandle(Table___ht, this, key) + function s__Table__groups__getindex takes integer this,integer key returns group + return LoadGroupHandle(Table__ht, this, key) endfunction - function s__Table___groups__setindex takes integer this,integer key,group value returns nothing - call SaveGroupHandle(Table___ht, this, key, value) + function s__Table__groups__setindex takes integer this,integer key,group value returns nothing + call SaveGroupHandle(Table__ht, this, key, value) endfunction - function s__Table___groups_has takes integer this,integer key returns boolean - return HaveSavedHandle(Table___ht, this, key) + function s__Table__groups_has takes integer this,integer key returns boolean + return HaveSavedHandle(Table__ht, this, key) endfunction - function s__Table___groups_remove takes integer this,integer key returns nothing - call RemoveSavedHandle(Table___ht, this, key) + function s__Table__groups_remove takes integer this,integer key returns nothing + call RemoveSavedHandle(Table__ht, this, key) endfunction //end of: NEW_ARRAY("Group", "group") //textmacro instance: NEW_ARRAY("Location", "location") - function s__Table___locations__getindex takes integer this,integer key returns location - return LoadLocationHandle(Table___ht, this, key) + function s__Table__locations__getindex takes integer this,integer key returns location + return LoadLocationHandle(Table__ht, this, key) endfunction - function s__Table___locations__setindex takes integer this,integer key,location value returns nothing - call SaveLocationHandle(Table___ht, this, key, value) + function s__Table__locations__setindex takes integer this,integer key,location value returns nothing + call SaveLocationHandle(Table__ht, this, key, value) endfunction - function s__Table___locations_has takes integer this,integer key returns boolean - return HaveSavedHandle(Table___ht, this, key) + function s__Table__locations_has takes integer this,integer key returns boolean + return HaveSavedHandle(Table__ht, this, key) endfunction - function s__Table___locations_remove takes integer this,integer key returns nothing - call RemoveSavedHandle(Table___ht, this, key) + function s__Table__locations_remove takes integer this,integer key returns nothing + call RemoveSavedHandle(Table__ht, this, key) endfunction //end of: NEW_ARRAY("Location", "location") //textmacro instance: NEW_ARRAY("Rect", "rect") - function s__Table___rects__getindex takes integer this,integer key returns rect - return LoadRectHandle(Table___ht, this, key) + function s__Table__rects__getindex takes integer this,integer key returns rect + return LoadRectHandle(Table__ht, this, key) endfunction - function s__Table___rects__setindex takes integer this,integer key,rect value returns nothing - call SaveRectHandle(Table___ht, this, key, value) + function s__Table__rects__setindex takes integer this,integer key,rect value returns nothing + call SaveRectHandle(Table__ht, this, key, value) endfunction - function s__Table___rects_has takes integer this,integer key returns boolean - return HaveSavedHandle(Table___ht, this, key) + function s__Table__rects_has takes integer this,integer key returns boolean + return HaveSavedHandle(Table__ht, this, key) endfunction - function s__Table___rects_remove takes integer this,integer key returns nothing - call RemoveSavedHandle(Table___ht, this, key) + function s__Table__rects_remove takes integer this,integer key returns nothing + call RemoveSavedHandle(Table__ht, this, key) endfunction //end of: NEW_ARRAY("Rect", "rect") //textmacro instance: NEW_ARRAY("BooleanExpr", "boolexpr") - function s__Table___boolexprs__getindex takes integer this,integer key returns boolexpr - return LoadBooleanExprHandle(Table___ht, this, key) + function s__Table__boolexprs__getindex takes integer this,integer key returns boolexpr + return LoadBooleanExprHandle(Table__ht, this, key) endfunction - function s__Table___boolexprs__setindex takes integer this,integer key,boolexpr value returns nothing - call SaveBooleanExprHandle(Table___ht, this, key, value) + function s__Table__boolexprs__setindex takes integer this,integer key,boolexpr value returns nothing + call SaveBooleanExprHandle(Table__ht, this, key, value) endfunction - function s__Table___boolexprs_has takes integer this,integer key returns boolean - return HaveSavedHandle(Table___ht, this, key) + function s__Table__boolexprs_has takes integer this,integer key returns boolean + return HaveSavedHandle(Table__ht, this, key) endfunction - function s__Table___boolexprs_remove takes integer this,integer key returns nothing - call RemoveSavedHandle(Table___ht, this, key) + function s__Table__boolexprs_remove takes integer this,integer key returns nothing + call RemoveSavedHandle(Table__ht, this, key) endfunction //end of: NEW_ARRAY("BooleanExpr", "boolexpr") //textmacro instance: NEW_ARRAY("Sound", "sound") - function s__Table___sounds__getindex takes integer this,integer key returns sound - return LoadSoundHandle(Table___ht, this, key) + function s__Table__sounds__getindex takes integer this,integer key returns sound + return LoadSoundHandle(Table__ht, this, key) endfunction - function s__Table___sounds__setindex takes integer this,integer key,sound value returns nothing - call SaveSoundHandle(Table___ht, this, key, value) + function s__Table__sounds__setindex takes integer this,integer key,sound value returns nothing + call SaveSoundHandle(Table__ht, this, key, value) endfunction - function s__Table___sounds_has takes integer this,integer key returns boolean - return HaveSavedHandle(Table___ht, this, key) + function s__Table__sounds_has takes integer this,integer key returns boolean + return HaveSavedHandle(Table__ht, this, key) endfunction - function s__Table___sounds_remove takes integer this,integer key returns nothing - call RemoveSavedHandle(Table___ht, this, key) + function s__Table__sounds_remove takes integer this,integer key returns nothing + call RemoveSavedHandle(Table__ht, this, key) endfunction //end of: NEW_ARRAY("Sound", "sound") //textmacro instance: NEW_ARRAY("Effect", "effect") - function s__Table___effects__getindex takes integer this,integer key returns effect - return LoadEffectHandle(Table___ht, this, key) + function s__Table__effects__getindex takes integer this,integer key returns effect + return LoadEffectHandle(Table__ht, this, key) endfunction - function s__Table___effects__setindex takes integer this,integer key,effect value returns nothing - call SaveEffectHandle(Table___ht, this, key, value) + function s__Table__effects__setindex takes integer this,integer key,effect value returns nothing + call SaveEffectHandle(Table__ht, this, key, value) endfunction - function s__Table___effects_has takes integer this,integer key returns boolean - return HaveSavedHandle(Table___ht, this, key) + function s__Table__effects_has takes integer this,integer key returns boolean + return HaveSavedHandle(Table__ht, this, key) endfunction - function s__Table___effects_remove takes integer this,integer key returns nothing - call RemoveSavedHandle(Table___ht, this, key) + function s__Table__effects_remove takes integer this,integer key returns nothing + call RemoveSavedHandle(Table__ht, this, key) endfunction //end of: NEW_ARRAY("Effect", "effect") //textmacro instance: NEW_ARRAY("UnitPool", "unitpool") - function s__Table___unitpools__getindex takes integer this,integer key returns unitpool - return LoadUnitPoolHandle(Table___ht, this, key) + function s__Table__unitpools__getindex takes integer this,integer key returns unitpool + return LoadUnitPoolHandle(Table__ht, this, key) endfunction - function s__Table___unitpools__setindex takes integer this,integer key,unitpool value returns nothing - call SaveUnitPoolHandle(Table___ht, this, key, value) + function s__Table__unitpools__setindex takes integer this,integer key,unitpool value returns nothing + call SaveUnitPoolHandle(Table__ht, this, key, value) endfunction - function s__Table___unitpools_has takes integer this,integer key returns boolean - return HaveSavedHandle(Table___ht, this, key) + function s__Table__unitpools_has takes integer this,integer key returns boolean + return HaveSavedHandle(Table__ht, this, key) endfunction - function s__Table___unitpools_remove takes integer this,integer key returns nothing - call RemoveSavedHandle(Table___ht, this, key) + function s__Table__unitpools_remove takes integer this,integer key returns nothing + call RemoveSavedHandle(Table__ht, this, key) endfunction //end of: NEW_ARRAY("UnitPool", "unitpool") //textmacro instance: NEW_ARRAY("ItemPool", "itempool") - function s__Table___itempools__getindex takes integer this,integer key returns itempool - return LoadItemPoolHandle(Table___ht, this, key) + function s__Table__itempools__getindex takes integer this,integer key returns itempool + return LoadItemPoolHandle(Table__ht, this, key) endfunction - function s__Table___itempools__setindex takes integer this,integer key,itempool value returns nothing - call SaveItemPoolHandle(Table___ht, this, key, value) + function s__Table__itempools__setindex takes integer this,integer key,itempool value returns nothing + call SaveItemPoolHandle(Table__ht, this, key, value) endfunction - function s__Table___itempools_has takes integer this,integer key returns boolean - return HaveSavedHandle(Table___ht, this, key) + function s__Table__itempools_has takes integer this,integer key returns boolean + return HaveSavedHandle(Table__ht, this, key) endfunction - function s__Table___itempools_remove takes integer this,integer key returns nothing - call RemoveSavedHandle(Table___ht, this, key) + function s__Table__itempools_remove takes integer this,integer key returns nothing + call RemoveSavedHandle(Table__ht, this, key) endfunction //end of: NEW_ARRAY("ItemPool", "itempool") //textmacro instance: NEW_ARRAY("Quest", "quest") - function s__Table___quests__getindex takes integer this,integer key returns quest - return LoadQuestHandle(Table___ht, this, key) + function s__Table__quests__getindex takes integer this,integer key returns quest + return LoadQuestHandle(Table__ht, this, key) endfunction - function s__Table___quests__setindex takes integer this,integer key,quest value returns nothing - call SaveQuestHandle(Table___ht, this, key, value) + function s__Table__quests__setindex takes integer this,integer key,quest value returns nothing + call SaveQuestHandle(Table__ht, this, key, value) endfunction - function s__Table___quests_has takes integer this,integer key returns boolean - return HaveSavedHandle(Table___ht, this, key) + function s__Table__quests_has takes integer this,integer key returns boolean + return HaveSavedHandle(Table__ht, this, key) endfunction - function s__Table___quests_remove takes integer this,integer key returns nothing - call RemoveSavedHandle(Table___ht, this, key) + function s__Table__quests_remove takes integer this,integer key returns nothing + call RemoveSavedHandle(Table__ht, this, key) endfunction //end of: NEW_ARRAY("Quest", "quest") //textmacro instance: NEW_ARRAY("QuestItem", "questitem") - function s__Table___questitems__getindex takes integer this,integer key returns questitem - return LoadQuestItemHandle(Table___ht, this, key) + function s__Table__questitems__getindex takes integer this,integer key returns questitem + return LoadQuestItemHandle(Table__ht, this, key) endfunction - function s__Table___questitems__setindex takes integer this,integer key,questitem value returns nothing - call SaveQuestItemHandle(Table___ht, this, key, value) + function s__Table__questitems__setindex takes integer this,integer key,questitem value returns nothing + call SaveQuestItemHandle(Table__ht, this, key, value) endfunction - function s__Table___questitems_has takes integer this,integer key returns boolean - return HaveSavedHandle(Table___ht, this, key) + function s__Table__questitems_has takes integer this,integer key returns boolean + return HaveSavedHandle(Table__ht, this, key) endfunction - function s__Table___questitems_remove takes integer this,integer key returns nothing - call RemoveSavedHandle(Table___ht, this, key) + function s__Table__questitems_remove takes integer this,integer key returns nothing + call RemoveSavedHandle(Table__ht, this, key) endfunction //end of: NEW_ARRAY("QuestItem", "questitem") //textmacro instance: NEW_ARRAY("DefeatCondition", "defeatcondition") - function s__Table___defeatconditions__getindex takes integer this,integer key returns defeatcondition - return LoadDefeatConditionHandle(Table___ht, this, key) + function s__Table__defeatconditions__getindex takes integer this,integer key returns defeatcondition + return LoadDefeatConditionHandle(Table__ht, this, key) endfunction - function s__Table___defeatconditions__setindex takes integer this,integer key,defeatcondition value returns nothing - call SaveDefeatConditionHandle(Table___ht, this, key, value) + function s__Table__defeatconditions__setindex takes integer this,integer key,defeatcondition value returns nothing + call SaveDefeatConditionHandle(Table__ht, this, key, value) endfunction - function s__Table___defeatconditions_has takes integer this,integer key returns boolean - return HaveSavedHandle(Table___ht, this, key) + function s__Table__defeatconditions_has takes integer this,integer key returns boolean + return HaveSavedHandle(Table__ht, this, key) endfunction - function s__Table___defeatconditions_remove takes integer this,integer key returns nothing - call RemoveSavedHandle(Table___ht, this, key) + function s__Table__defeatconditions_remove takes integer this,integer key returns nothing + call RemoveSavedHandle(Table__ht, this, key) endfunction //end of: NEW_ARRAY("DefeatCondition", "defeatcondition") //textmacro instance: NEW_ARRAY("TimerDialog", "timerdialog") - function s__Table___timerdialogs__getindex takes integer this,integer key returns timerdialog - return LoadTimerDialogHandle(Table___ht, this, key) + function s__Table__timerdialogs__getindex takes integer this,integer key returns timerdialog + return LoadTimerDialogHandle(Table__ht, this, key) endfunction - function s__Table___timerdialogs__setindex takes integer this,integer key,timerdialog value returns nothing - call SaveTimerDialogHandle(Table___ht, this, key, value) + function s__Table__timerdialogs__setindex takes integer this,integer key,timerdialog value returns nothing + call SaveTimerDialogHandle(Table__ht, this, key, value) endfunction - function s__Table___timerdialogs_has takes integer this,integer key returns boolean - return HaveSavedHandle(Table___ht, this, key) + function s__Table__timerdialogs_has takes integer this,integer key returns boolean + return HaveSavedHandle(Table__ht, this, key) endfunction - function s__Table___timerdialogs_remove takes integer this,integer key returns nothing - call RemoveSavedHandle(Table___ht, this, key) + function s__Table__timerdialogs_remove takes integer this,integer key returns nothing + call RemoveSavedHandle(Table__ht, this, key) endfunction //end of: NEW_ARRAY("TimerDialog", "timerdialog") //textmacro instance: NEW_ARRAY("Leaderboard", "leaderboard") - function s__Table___leaderboards__getindex takes integer this,integer key returns leaderboard - return LoadLeaderboardHandle(Table___ht, this, key) + function s__Table__leaderboards__getindex takes integer this,integer key returns leaderboard + return LoadLeaderboardHandle(Table__ht, this, key) endfunction - function s__Table___leaderboards__setindex takes integer this,integer key,leaderboard value returns nothing - call SaveLeaderboardHandle(Table___ht, this, key, value) + function s__Table__leaderboards__setindex takes integer this,integer key,leaderboard value returns nothing + call SaveLeaderboardHandle(Table__ht, this, key, value) endfunction - function s__Table___leaderboards_has takes integer this,integer key returns boolean - return HaveSavedHandle(Table___ht, this, key) + function s__Table__leaderboards_has takes integer this,integer key returns boolean + return HaveSavedHandle(Table__ht, this, key) endfunction - function s__Table___leaderboards_remove takes integer this,integer key returns nothing - call RemoveSavedHandle(Table___ht, this, key) + function s__Table__leaderboards_remove takes integer this,integer key returns nothing + call RemoveSavedHandle(Table__ht, this, key) endfunction //end of: NEW_ARRAY("Leaderboard", "leaderboard") //textmacro instance: NEW_ARRAY("Multiboard", "multiboard") - function s__Table___multiboards__getindex takes integer this,integer key returns multiboard - return LoadMultiboardHandle(Table___ht, this, key) + function s__Table__multiboards__getindex takes integer this,integer key returns multiboard + return LoadMultiboardHandle(Table__ht, this, key) endfunction - function s__Table___multiboards__setindex takes integer this,integer key,multiboard value returns nothing - call SaveMultiboardHandle(Table___ht, this, key, value) + function s__Table__multiboards__setindex takes integer this,integer key,multiboard value returns nothing + call SaveMultiboardHandle(Table__ht, this, key, value) endfunction - function s__Table___multiboards_has takes integer this,integer key returns boolean - return HaveSavedHandle(Table___ht, this, key) + function s__Table__multiboards_has takes integer this,integer key returns boolean + return HaveSavedHandle(Table__ht, this, key) endfunction - function s__Table___multiboards_remove takes integer this,integer key returns nothing - call RemoveSavedHandle(Table___ht, this, key) + function s__Table__multiboards_remove takes integer this,integer key returns nothing + call RemoveSavedHandle(Table__ht, this, key) endfunction //end of: NEW_ARRAY("Multiboard", "multiboard") //textmacro instance: NEW_ARRAY("MultiboardItem", "multiboarditem") - function s__Table___multiboarditems__getindex takes integer this,integer key returns multiboarditem - return LoadMultiboardItemHandle(Table___ht, this, key) + function s__Table__multiboarditems__getindex takes integer this,integer key returns multiboarditem + return LoadMultiboardItemHandle(Table__ht, this, key) endfunction - function s__Table___multiboarditems__setindex takes integer this,integer key,multiboarditem value returns nothing - call SaveMultiboardItemHandle(Table___ht, this, key, value) + function s__Table__multiboarditems__setindex takes integer this,integer key,multiboarditem value returns nothing + call SaveMultiboardItemHandle(Table__ht, this, key, value) endfunction - function s__Table___multiboarditems_has takes integer this,integer key returns boolean - return HaveSavedHandle(Table___ht, this, key) + function s__Table__multiboarditems_has takes integer this,integer key returns boolean + return HaveSavedHandle(Table__ht, this, key) endfunction - function s__Table___multiboarditems_remove takes integer this,integer key returns nothing - call RemoveSavedHandle(Table___ht, this, key) + function s__Table__multiboarditems_remove takes integer this,integer key returns nothing + call RemoveSavedHandle(Table__ht, this, key) endfunction //end of: NEW_ARRAY("MultiboardItem", "multiboarditem") //textmacro instance: NEW_ARRAY("Trackable", "trackable") - function s__Table___trackables__getindex takes integer this,integer key returns trackable - return LoadTrackableHandle(Table___ht, this, key) + function s__Table__trackables__getindex takes integer this,integer key returns trackable + return LoadTrackableHandle(Table__ht, this, key) endfunction - function s__Table___trackables__setindex takes integer this,integer key,trackable value returns nothing - call SaveTrackableHandle(Table___ht, this, key, value) + function s__Table__trackables__setindex takes integer this,integer key,trackable value returns nothing + call SaveTrackableHandle(Table__ht, this, key, value) endfunction - function s__Table___trackables_has takes integer this,integer key returns boolean - return HaveSavedHandle(Table___ht, this, key) + function s__Table__trackables_has takes integer this,integer key returns boolean + return HaveSavedHandle(Table__ht, this, key) endfunction - function s__Table___trackables_remove takes integer this,integer key returns nothing - call RemoveSavedHandle(Table___ht, this, key) + function s__Table__trackables_remove takes integer this,integer key returns nothing + call RemoveSavedHandle(Table__ht, this, key) endfunction //end of: NEW_ARRAY("Trackable", "trackable") //textmacro instance: NEW_ARRAY("Dialog", "dialog") - function s__Table___dialogs__getindex takes integer this,integer key returns dialog - return LoadDialogHandle(Table___ht, this, key) + function s__Table__dialogs__getindex takes integer this,integer key returns dialog + return LoadDialogHandle(Table__ht, this, key) endfunction - function s__Table___dialogs__setindex takes integer this,integer key,dialog value returns nothing - call SaveDialogHandle(Table___ht, this, key, value) + function s__Table__dialogs__setindex takes integer this,integer key,dialog value returns nothing + call SaveDialogHandle(Table__ht, this, key, value) endfunction - function s__Table___dialogs_has takes integer this,integer key returns boolean - return HaveSavedHandle(Table___ht, this, key) + function s__Table__dialogs_has takes integer this,integer key returns boolean + return HaveSavedHandle(Table__ht, this, key) endfunction - function s__Table___dialogs_remove takes integer this,integer key returns nothing - call RemoveSavedHandle(Table___ht, this, key) + function s__Table__dialogs_remove takes integer this,integer key returns nothing + call RemoveSavedHandle(Table__ht, this, key) endfunction //end of: NEW_ARRAY("Dialog", "dialog") //textmacro instance: NEW_ARRAY("Button", "button") - function s__Table___buttons__getindex takes integer this,integer key returns button - return LoadButtonHandle(Table___ht, this, key) + function s__Table__buttons__getindex takes integer this,integer key returns button + return LoadButtonHandle(Table__ht, this, key) endfunction - function s__Table___buttons__setindex takes integer this,integer key,button value returns nothing - call SaveButtonHandle(Table___ht, this, key, value) + function s__Table__buttons__setindex takes integer this,integer key,button value returns nothing + call SaveButtonHandle(Table__ht, this, key, value) endfunction - function s__Table___buttons_has takes integer this,integer key returns boolean - return HaveSavedHandle(Table___ht, this, key) + function s__Table__buttons_has takes integer this,integer key returns boolean + return HaveSavedHandle(Table__ht, this, key) endfunction - function s__Table___buttons_remove takes integer this,integer key returns nothing - call RemoveSavedHandle(Table___ht, this, key) + function s__Table__buttons_remove takes integer this,integer key returns nothing + call RemoveSavedHandle(Table__ht, this, key) endfunction //end of: NEW_ARRAY("Button", "button") //textmacro instance: NEW_ARRAY("TextTag", "texttag") - function s__Table___texttags__getindex takes integer this,integer key returns texttag - return LoadTextTagHandle(Table___ht, this, key) + function s__Table__texttags__getindex takes integer this,integer key returns texttag + return LoadTextTagHandle(Table__ht, this, key) endfunction - function s__Table___texttags__setindex takes integer this,integer key,texttag value returns nothing - call SaveTextTagHandle(Table___ht, this, key, value) + function s__Table__texttags__setindex takes integer this,integer key,texttag value returns nothing + call SaveTextTagHandle(Table__ht, this, key, value) endfunction - function s__Table___texttags_has takes integer this,integer key returns boolean - return HaveSavedHandle(Table___ht, this, key) + function s__Table__texttags_has takes integer this,integer key returns boolean + return HaveSavedHandle(Table__ht, this, key) endfunction - function s__Table___texttags_remove takes integer this,integer key returns nothing - call RemoveSavedHandle(Table___ht, this, key) + function s__Table__texttags_remove takes integer this,integer key returns nothing + call RemoveSavedHandle(Table__ht, this, key) endfunction //end of: NEW_ARRAY("TextTag", "texttag") //textmacro instance: NEW_ARRAY("Lightning", "lightning") - function s__Table___lightnings__getindex takes integer this,integer key returns lightning - return LoadLightningHandle(Table___ht, this, key) + function s__Table__lightnings__getindex takes integer this,integer key returns lightning + return LoadLightningHandle(Table__ht, this, key) endfunction - function s__Table___lightnings__setindex takes integer this,integer key,lightning value returns nothing - call SaveLightningHandle(Table___ht, this, key, value) + function s__Table__lightnings__setindex takes integer this,integer key,lightning value returns nothing + call SaveLightningHandle(Table__ht, this, key, value) endfunction - function s__Table___lightnings_has takes integer this,integer key returns boolean - return HaveSavedHandle(Table___ht, this, key) + function s__Table__lightnings_has takes integer this,integer key returns boolean + return HaveSavedHandle(Table__ht, this, key) endfunction - function s__Table___lightnings_remove takes integer this,integer key returns nothing - call RemoveSavedHandle(Table___ht, this, key) + function s__Table__lightnings_remove takes integer this,integer key returns nothing + call RemoveSavedHandle(Table__ht, this, key) endfunction //end of: NEW_ARRAY("Lightning", "lightning") //textmacro instance: NEW_ARRAY("Image", "image") - function s__Table___images__getindex takes integer this,integer key returns image - return LoadImageHandle(Table___ht, this, key) + function s__Table__images__getindex takes integer this,integer key returns image + return LoadImageHandle(Table__ht, this, key) endfunction - function s__Table___images__setindex takes integer this,integer key,image value returns nothing - call SaveImageHandle(Table___ht, this, key, value) + function s__Table__images__setindex takes integer this,integer key,image value returns nothing + call SaveImageHandle(Table__ht, this, key, value) endfunction - function s__Table___images_has takes integer this,integer key returns boolean - return HaveSavedHandle(Table___ht, this, key) + function s__Table__images_has takes integer this,integer key returns boolean + return HaveSavedHandle(Table__ht, this, key) endfunction - function s__Table___images_remove takes integer this,integer key returns nothing - call RemoveSavedHandle(Table___ht, this, key) + function s__Table__images_remove takes integer this,integer key returns nothing + call RemoveSavedHandle(Table__ht, this, key) endfunction //end of: NEW_ARRAY("Image", "image") //textmacro instance: NEW_ARRAY("Ubersplat", "ubersplat") - function s__Table___ubersplats__getindex takes integer this,integer key returns ubersplat - return LoadUbersplatHandle(Table___ht, this, key) + function s__Table__ubersplats__getindex takes integer this,integer key returns ubersplat + return LoadUbersplatHandle(Table__ht, this, key) endfunction - function s__Table___ubersplats__setindex takes integer this,integer key,ubersplat value returns nothing - call SaveUbersplatHandle(Table___ht, this, key, value) + function s__Table__ubersplats__setindex takes integer this,integer key,ubersplat value returns nothing + call SaveUbersplatHandle(Table__ht, this, key, value) endfunction - function s__Table___ubersplats_has takes integer this,integer key returns boolean - return HaveSavedHandle(Table___ht, this, key) + function s__Table__ubersplats_has takes integer this,integer key returns boolean + return HaveSavedHandle(Table__ht, this, key) endfunction - function s__Table___ubersplats_remove takes integer this,integer key returns nothing - call RemoveSavedHandle(Table___ht, this, key) + function s__Table__ubersplats_remove takes integer this,integer key returns nothing + call RemoveSavedHandle(Table__ht, this, key) endfunction //end of: NEW_ARRAY("Ubersplat", "ubersplat") //textmacro instance: NEW_ARRAY("Region", "region") - function s__Table___regions__getindex takes integer this,integer key returns region - return LoadRegionHandle(Table___ht, this, key) + function s__Table__regions__getindex takes integer this,integer key returns region + return LoadRegionHandle(Table__ht, this, key) endfunction - function s__Table___regions__setindex takes integer this,integer key,region value returns nothing - call SaveRegionHandle(Table___ht, this, key, value) + function s__Table__regions__setindex takes integer this,integer key,region value returns nothing + call SaveRegionHandle(Table__ht, this, key, value) endfunction - function s__Table___regions_has takes integer this,integer key returns boolean - return HaveSavedHandle(Table___ht, this, key) + function s__Table__regions_has takes integer this,integer key returns boolean + return HaveSavedHandle(Table__ht, this, key) endfunction - function s__Table___regions_remove takes integer this,integer key returns nothing - call RemoveSavedHandle(Table___ht, this, key) + function s__Table__regions_remove takes integer this,integer key returns nothing + call RemoveSavedHandle(Table__ht, this, key) endfunction //end of: NEW_ARRAY("Region", "region") //textmacro instance: NEW_ARRAY("FogState", "fogstate") - function s__Table___fogstates__getindex takes integer this,integer key returns fogstate - return LoadFogStateHandle(Table___ht, this, key) + function s__Table__fogstates__getindex takes integer this,integer key returns fogstate + return LoadFogStateHandle(Table__ht, this, key) endfunction - function s__Table___fogstates__setindex takes integer this,integer key,fogstate value returns nothing - call SaveFogStateHandle(Table___ht, this, key, value) + function s__Table__fogstates__setindex takes integer this,integer key,fogstate value returns nothing + call SaveFogStateHandle(Table__ht, this, key, value) endfunction - function s__Table___fogstates_has takes integer this,integer key returns boolean - return HaveSavedHandle(Table___ht, this, key) + function s__Table__fogstates_has takes integer this,integer key returns boolean + return HaveSavedHandle(Table__ht, this, key) endfunction - function s__Table___fogstates_remove takes integer this,integer key returns nothing - call RemoveSavedHandle(Table___ht, this, key) + function s__Table__fogstates_remove takes integer this,integer key returns nothing + call RemoveSavedHandle(Table__ht, this, key) endfunction //end of: NEW_ARRAY("FogState", "fogstate") //textmacro instance: NEW_ARRAY("FogModifier", "fogmodifier") - function s__Table___fogmodifiers__getindex takes integer this,integer key returns fogmodifier - return LoadFogModifierHandle(Table___ht, this, key) + function s__Table__fogmodifiers__getindex takes integer this,integer key returns fogmodifier + return LoadFogModifierHandle(Table__ht, this, key) endfunction - function s__Table___fogmodifiers__setindex takes integer this,integer key,fogmodifier value returns nothing - call SaveFogModifierHandle(Table___ht, this, key, value) + function s__Table__fogmodifiers__setindex takes integer this,integer key,fogmodifier value returns nothing + call SaveFogModifierHandle(Table__ht, this, key, value) endfunction - function s__Table___fogmodifiers_has takes integer this,integer key returns boolean - return HaveSavedHandle(Table___ht, this, key) + function s__Table__fogmodifiers_has takes integer this,integer key returns boolean + return HaveSavedHandle(Table__ht, this, key) endfunction - function s__Table___fogmodifiers_remove takes integer this,integer key returns nothing - call RemoveSavedHandle(Table___ht, this, key) + function s__Table__fogmodifiers_remove takes integer this,integer key returns nothing + call RemoveSavedHandle(Table__ht, this, key) endfunction //end of: NEW_ARRAY("FogModifier", "fogmodifier") //textmacro instance: NEW_ARRAY("Hashtable", "hashtable") - function s__Table___hashtables__getindex takes integer this,integer key returns hashtable - return LoadHashtableHandle(Table___ht, this, key) + function s__Table__hashtables__getindex takes integer this,integer key returns hashtable + return LoadHashtableHandle(Table__ht, this, key) endfunction - function s__Table___hashtables__setindex takes integer this,integer key,hashtable value returns nothing - call SaveHashtableHandle(Table___ht, this, key, value) + function s__Table__hashtables__setindex takes integer this,integer key,hashtable value returns nothing + call SaveHashtableHandle(Table__ht, this, key, value) endfunction - function s__Table___hashtables_has takes integer this,integer key returns boolean - return HaveSavedHandle(Table___ht, this, key) + function s__Table__hashtables_has takes integer this,integer key returns boolean + return HaveSavedHandle(Table__ht, this, key) endfunction - function s__Table___hashtables_remove takes integer this,integer key returns nothing - call RemoveSavedHandle(Table___ht, this, key) + function s__Table__hashtables_remove takes integer this,integer key returns nothing + call RemoveSavedHandle(Table__ht, this, key) endfunction //end of: NEW_ARRAY("Hashtable", "hashtable") // Implement modules for intuitive syntax (tb.handle; tb.unit; etc.) -//Implemented from module Table___realm: +//Implemented from module Table__realm: function s__Table__get_real takes integer this returns integer return this endfunction -//Implemented from module Table___integerm: +//Implemented from module Table__integerm: function s__Table__get_integer takes integer this returns integer return this endfunction -//Implemented from module Table___booleanm: +//Implemented from module Table__booleanm: function s__Table__get_boolean takes integer this returns integer return this endfunction -//Implemented from module Table___stringm: +//Implemented from module Table__stringm: function s__Table__get_string takes integer this returns integer return this endfunction -//Implemented from module Table___playerm: +//Implemented from module Table__playerm: function s__Table__get_player takes integer this returns integer return this endfunction -//Implemented from module Table___widgetm: +//Implemented from module Table__widgetm: function s__Table__get_widget takes integer this returns integer return this endfunction -//Implemented from module Table___destructablem: +//Implemented from module Table__destructablem: function s__Table__get_destructable takes integer this returns integer return this endfunction -//Implemented from module Table___itemm: +//Implemented from module Table__itemm: function s__Table__get_item takes integer this returns integer return this endfunction -//Implemented from module Table___unitm: +//Implemented from module Table__unitm: function s__Table__get_unit takes integer this returns integer return this endfunction -//Implemented from module Table___abilitym: +//Implemented from module Table__abilitym: function s__Table__get_ability takes integer this returns integer return this endfunction -//Implemented from module Table___timerm: +//Implemented from module Table__timerm: function s__Table__get_timer takes integer this returns integer return this endfunction -//Implemented from module Table___triggerm: +//Implemented from module Table__triggerm: function s__Table__get_trigger takes integer this returns integer return this endfunction -//Implemented from module Table___triggerconditionm: +//Implemented from module Table__triggerconditionm: function s__Table__get_triggercondition takes integer this returns integer return this endfunction -//Implemented from module Table___triggeractionm: +//Implemented from module Table__triggeractionm: function s__Table__get_triggeraction takes integer this returns integer return this endfunction -//Implemented from module Table___eventm: +//Implemented from module Table__eventm: function s__Table__get_event takes integer this returns integer return this endfunction -//Implemented from module Table___forcem: +//Implemented from module Table__forcem: function s__Table__get_force takes integer this returns integer return this endfunction -//Implemented from module Table___groupm: +//Implemented from module Table__groupm: function s__Table__get_group takes integer this returns integer return this endfunction -//Implemented from module Table___locationm: +//Implemented from module Table__locationm: function s__Table__get_location takes integer this returns integer return this endfunction -//Implemented from module Table___rectm: +//Implemented from module Table__rectm: function s__Table__get_rect takes integer this returns integer return this endfunction -//Implemented from module Table___boolexprm: +//Implemented from module Table__boolexprm: function s__Table__get_boolexpr takes integer this returns integer return this endfunction -//Implemented from module Table___soundm: +//Implemented from module Table__soundm: function s__Table__get_sound takes integer this returns integer return this endfunction -//Implemented from module Table___effectm: +//Implemented from module Table__effectm: function s__Table__get_effect takes integer this returns integer return this endfunction -//Implemented from module Table___unitpoolm: +//Implemented from module Table__unitpoolm: function s__Table__get_unitpool takes integer this returns integer return this endfunction -//Implemented from module Table___itempoolm: +//Implemented from module Table__itempoolm: function s__Table__get_itempool takes integer this returns integer return this endfunction -//Implemented from module Table___questm: +//Implemented from module Table__questm: function s__Table__get_quest takes integer this returns integer return this endfunction -//Implemented from module Table___questitemm: +//Implemented from module Table__questitemm: function s__Table__get_questitem takes integer this returns integer return this endfunction -//Implemented from module Table___defeatconditionm: +//Implemented from module Table__defeatconditionm: function s__Table__get_defeatcondition takes integer this returns integer return this endfunction -//Implemented from module Table___timerdialogm: +//Implemented from module Table__timerdialogm: function s__Table__get_timerdialog takes integer this returns integer return this endfunction -//Implemented from module Table___leaderboardm: +//Implemented from module Table__leaderboardm: function s__Table__get_leaderboard takes integer this returns integer return this endfunction -//Implemented from module Table___multiboardm: +//Implemented from module Table__multiboardm: function s__Table__get_multiboard takes integer this returns integer return this endfunction -//Implemented from module Table___multiboarditemm: +//Implemented from module Table__multiboarditemm: function s__Table__get_multiboarditem takes integer this returns integer return this endfunction -//Implemented from module Table___trackablem: +//Implemented from module Table__trackablem: function s__Table__get_trackable takes integer this returns integer return this endfunction -//Implemented from module Table___dialogm: +//Implemented from module Table__dialogm: function s__Table__get_dialog takes integer this returns integer return this endfunction -//Implemented from module Table___buttonm: +//Implemented from module Table__buttonm: function s__Table__get_button takes integer this returns integer return this endfunction -//Implemented from module Table___texttagm: +//Implemented from module Table__texttagm: function s__Table__get_texttag takes integer this returns integer return this endfunction -//Implemented from module Table___lightningm: +//Implemented from module Table__lightningm: function s__Table__get_lightning takes integer this returns integer return this endfunction -//Implemented from module Table___imagem: +//Implemented from module Table__imagem: function s__Table__get_image takes integer this returns integer return this endfunction -//Implemented from module Table___ubersplatm: +//Implemented from module Table__ubersplatm: function s__Table__get_ubersplat takes integer this returns integer return this endfunction -//Implemented from module Table___regionm: +//Implemented from module Table__regionm: function s__Table__get_region takes integer this returns integer return this endfunction -//Implemented from module Table___fogstatem: +//Implemented from module Table__fogstatem: function s__Table__get_fogstate takes integer this returns integer return this endfunction -//Implemented from module Table___fogmodifierm: +//Implemented from module Table__fogmodifierm: function s__Table__get_fogmodifier takes integer this returns integer return this endfunction -//Implemented from module Table___hashtablem: +//Implemented from module Table__hashtablem: function s__Table__get_hashtable takes integer this returns integer return this endfunction @@ -4105,39 +4105,39 @@ endfunction //set this = tb[GetSpellAbilityId()] function s__Table__getindex takes integer this,integer key returns integer - return LoadInteger(Table___ht, this, key) //return this.integer[key] + return LoadInteger(Table__ht, this, key) //return this.integer[key] endfunction //set tb[389034] = 8192 function s__Table__setindex takes integer this,integer key,integer tb returns nothing - call SaveInteger(Table___ht, this, key, tb) //set this.integer[key] = tb + call SaveInteger(Table__ht, this, key, tb) //set this.integer[key] = tb endfunction //set b = tb.has(2493223) function s__Table_has takes integer this,integer key returns boolean - return HaveSavedInteger(Table___ht, this, key) //return this.integer.has(key) + return HaveSavedInteger(Table__ht, this, key) //return this.integer.has(key) endfunction //call tb.remove(294080) function s__Table_remove takes integer this,integer key returns nothing - call RemoveSavedInteger(Table___ht, this, key) //call this.integer.remove(key) + call RemoveSavedInteger(Table__ht, this, key) //call this.integer.remove(key) endfunction //Remove all data from a Table instance function s__Table_flush takes integer this returns nothing - call FlushChildHashtable(Table___ht, this) + call FlushChildHashtable(Table__ht, this) endfunction //local Table tb = Table.create() function s__Table_create takes nothing returns integer - local integer this= (LoadInteger(Table___ht, ((Table___listK)), (0))) // INLINED!! + local integer this= (LoadInteger(Table__ht, ((Table__listK)), (0))) // INLINED!! if this == 0 then - set this=Table___more + 1 - set Table___more=this + set this=Table__more + 1 + set Table__more=this else - call SaveInteger(Table___ht, ((Table___listK)), (0), ( (LoadInteger(Table___ht, ((Table___listK)), (this))))) // INLINED!! - call RemoveSavedInteger(Table___ht, ((Table___listK)), (this)) //Clear hashed memory // INLINED!! + call SaveInteger(Table__ht, ((Table__listK)), (0), ( (LoadInteger(Table__ht, ((Table__listK)), (this))))) // INLINED!! + call RemoveSavedInteger(Table__ht, ((Table__listK)), (this)) //Clear hashed memory // INLINED!! endif return this @@ -4149,10 +4149,10 @@ endfunction // function s__Table_destroy takes integer this returns nothing - call FlushChildHashtable(Table___ht, (this)) // INLINED!! + call FlushChildHashtable(Table__ht, (this)) // INLINED!! - call SaveInteger(Table___ht, ((Table___listK)), (this), ( (LoadInteger(Table___ht, ((Table___listK)), (0))))) // INLINED!! - call SaveInteger(Table___ht, ((Table___listK)), (0), ( this)) // INLINED!! + call SaveInteger(Table__ht, ((Table__listK)), (this), ( (LoadInteger(Table__ht, ((Table__listK)), (0))))) // INLINED!! + call SaveInteger(Table__ht, ((Table__listK)), (0), ( this)) // INLINED!! endfunction //ignored textmacro command: TABLE_BC_METHODS() @@ -4165,25 +4165,25 @@ endfunction // local TableArray ta = TableArray[array_size] // function s__TableArray__staticgetindex takes integer array_size returns integer - local integer tb= (LoadInteger(Table___ht, ((Table___sizeK)), (array_size))) // INLINED!! - local integer this= (LoadInteger(Table___ht, (tb), (0))) // INLINED!! + local integer tb= (LoadInteger(Table__ht, ((Table__sizeK)), (array_size))) // INLINED!! + local integer this= (LoadInteger(Table__ht, (tb), (0))) // INLINED!! if this == 0 then - set this=Table___less - array_size - set Table___less=this + set this=Table__less - array_size + set Table__less=this else - call SaveInteger(Table___ht, (tb), (0), ( (LoadInteger(Table___ht, (tb), (this))))) //Set the last destroyed to the last-last destroyed // INLINED!! - call RemoveSavedInteger(Table___ht, (tb), (this)) //Clear hashed memory // INLINED!! + call SaveInteger(Table__ht, (tb), (0), ( (LoadInteger(Table__ht, (tb), (this))))) //Set the last destroyed to the last-last destroyed // INLINED!! + call RemoveSavedInteger(Table__ht, (tb), (this)) //Clear hashed memory // INLINED!! endif - call SaveInteger(Table___ht, ((Table___sizeK)), (this), ( array_size)) //This remembers the array size // INLINED!! + call SaveInteger(Table__ht, ((Table__sizeK)), (this), ( array_size)) //This remembers the array size // INLINED!! return this endfunction //Returns the size of the TableArray function s__TableArray__get_size takes integer this returns integer - return (LoadInteger(Table___ht, ((Table___sizeK)), (this))) // INLINED!! + return (LoadInteger(Table__ht, ((Table__sizeK)), (this))) // INLINED!! endfunction //This magic method enables two-dimensional[array][syntax] for Tables, @@ -4215,19 +4215,19 @@ endfunction //need to (ie. if you were flushing all child-keys as you used them). // function s__TableArray_destroy takes integer this returns nothing - local integer tb= (LoadInteger(Table___ht, ((Table___sizeK)), ((LoadInteger(Table___ht, ((Table___sizeK)), ((this))))))) // INLINED!! + local integer tb= (LoadInteger(Table__ht, ((Table__sizeK)), ((LoadInteger(Table__ht, ((Table__sizeK)), ((this))))))) // INLINED!! if tb == 0 then //Create a Table to index recycled instances with their array size set tb=s__Table_create() - call SaveInteger(Table___ht, ((Table___sizeK)), ((LoadInteger(Table___ht, ((Table___sizeK)), ((this))))), ( tb)) // INLINED!! + call SaveInteger(Table__ht, ((Table__sizeK)), ((LoadInteger(Table__ht, ((Table__sizeK)), ((this))))), ( tb)) // INLINED!! endif - call RemoveSavedInteger(Table___ht, ((Table___sizeK)), (this)) //Clear the array size from hash memory // INLINED!! + call RemoveSavedInteger(Table__ht, ((Table__sizeK)), (this)) //Clear the array size from hash memory // INLINED!! - call SaveInteger(Table___ht, (tb), (this), ( (LoadInteger(Table___ht, (tb), (0))))) // INLINED!! - call SaveInteger(Table___ht, (tb), (0), ( this)) // INLINED!! + call SaveInteger(Table__ht, (tb), (this), ( (LoadInteger(Table__ht, (tb), (0))))) // INLINED!! + call SaveInteger(Table__ht, (tb), (0), ( this)) // INLINED!! endfunction @@ -4242,7 +4242,7 @@ endfunction set end=s__TableArray_tempEnd endif loop - call FlushChildHashtable(Table___ht, (tb)) // INLINED!! + call FlushChildHashtable(Table__ht, (tb)) // INLINED!! set tb=tb + 1 exitwhen tb == end endloop @@ -4253,7 +4253,7 @@ endfunction // function s__TableArray_flush takes integer this returns nothing set s__TableArray_tempTable=this - set s__TableArray_tempEnd=this + (LoadInteger(Table___ht, ((Table___sizeK)), ((this)))) // INLINED!! + set s__TableArray_tempEnd=this + (LoadInteger(Table__ht, ((Table__sizeK)), ((this)))) // INLINED!! call ForForce(bj_FORCE_PLAYER[0], function s__TableArray_clean) call s__TableArray_destroy(this) endfunction @@ -4266,10 +4266,10 @@ endfunction //Basically, it creates a Table in the place of the parent key if //it didn't already get created earlier. function s__HashTable__getindex takes integer this,integer index returns integer - local integer t= (LoadInteger(Table___ht, ((this)), (index))) // INLINED!! + local integer t= (LoadInteger(Table__ht, ((this)), (index))) // INLINED!! if t == 0 then set t=s__Table_create() - call SaveInteger(Table___ht, ((this)), (index), ( t)) //whoops! Forgot that line. I'm out of practice! // INLINED!! + call SaveInteger(Table__ht, ((this)), (index), ( t)) //whoops! Forgot that line. I'm out of practice! // INLINED!! endif return t endfunction @@ -4277,16 +4277,16 @@ endfunction //You need to call this on each parent key that you used if you //intend to destroy the HashTable or simply no longer need that key. function s__HashTable_remove takes integer this,integer index returns nothing - local integer t= (LoadInteger(Table___ht, ((this)), (index))) // INLINED!! + local integer t= (LoadInteger(Table__ht, ((this)), (index))) // INLINED!! if t != 0 then call s__Table_destroy(t) - call RemoveSavedInteger(Table___ht, ((this)), (index)) // INLINED!! + call RemoveSavedInteger(Table__ht, ((this)), (index)) // INLINED!! endif endfunction //Added in version 4.1 function s__HashTable_has takes integer this,integer index returns boolean - return (HaveSavedInteger(Table___ht, ((this)), (index))) // INLINED!! + return (HaveSavedInteger(Table__ht, ((this)), (index))) // INLINED!! endfunction //HashTables are just fancy Table indices. @@ -4422,49 +4422,49 @@ endfunction //=============== // Setters function Camera_SetDefaultRotator takes integer playerId,unit whichUnit returns nothing - set ThirdPersonCamera__focusUnits[playerId + 2 * bj_MAX_PLAYERS]=whichUnit + set ThirdPersonCamera___focusUnits[playerId + 2 * bj_MAX_PLAYERS]=whichUnit endfunction function Camera_SetRotator takes integer playerId,unit whichUnit returns nothing - set ThirdPersonCamera__focusUnits[playerId + bj_MAX_PLAYERS]=whichUnit + set ThirdPersonCamera___focusUnits[playerId + bj_MAX_PLAYERS]=whichUnit endfunction function Camera_SetTarget takes integer playerId,unit whichUnit returns nothing - set ThirdPersonCamera__focusUnits[playerId]=whichUnit + set ThirdPersonCamera___focusUnits[playerId]=whichUnit endfunction //=============== // Getters function Camera_GetDefaultRotator takes integer playerId returns unit - return ThirdPersonCamera__focusUnits[playerId + 2 * bj_MAX_PLAYERS] + return ThirdPersonCamera___focusUnits[playerId + 2 * bj_MAX_PLAYERS] endfunction function Camera_GetRotator takes integer playerId returns unit - return ThirdPersonCamera__focusUnits[playerId + bj_MAX_PLAYERS] + return ThirdPersonCamera___focusUnits[playerId + bj_MAX_PLAYERS] endfunction function Camera_GetTarget takes integer playerId returns unit - return ThirdPersonCamera__focusUnits[playerId] + return ThirdPersonCamera___focusUnits[playerId] endfunction //=========================================================================== // API //=============== function Camera_WasHelpSeen takes integer playerId returns boolean - return not HaveSavedBoolean(ThirdPersonCamera__data, playerId, - 1) + return not HaveSavedBoolean(ThirdPersonCamera___data, playerId, - 1) endfunction function Camera_SetHelpSeen takes integer playerId,boolean flag returns nothing if flag then - call RemoveSavedBoolean(ThirdPersonCamera__data, playerId, - 1) + call RemoveSavedBoolean(ThirdPersonCamera___data, playerId, - 1) else - call SaveBoolean(ThirdPersonCamera__data, playerId, - 1, true) + call SaveBoolean(ThirdPersonCamera___data, playerId, - 1, true) endif endfunction function Camera_SetFirstPerson takes player whichPlayer,unit whichUnit returns nothing local real sleepTime - if not (not HaveSavedBoolean(ThirdPersonCamera__data, (GetPlayerId(whichPlayer)), - 1)) then // INLINED!! + if not (not HaveSavedBoolean(ThirdPersonCamera___data, (GetPlayerId(whichPlayer)), - 1)) then // INLINED!! call DisplayTextToPlayer(whichPlayer, 0, 0, ("First Person Camera Enabled!\n\nTo leave this perspective, double-click the |c00ffff00Esc|r key.\nTo fix the camera to the unit's facing, click the |c00ffff00Esc|r key.\nTo allow the camera to move independently, click the |c00ffff00Esc|r key.\n\nYou can use the |c00ffff00left|r and |c00ffff00right|r arrow keys to move the camera.\nYou can find the commands for the camera by pressing |c00ffff00F9|r.")) // INLINED!! call Camera_SetHelpSeen(GetPlayerId(whichPlayer) , true) endif @@ -4486,12 +4486,12 @@ function Camera_SetFirstPerson takes player whichPlayer,unit whichUnit returns n endif endif - set ThirdPersonCamera__focusUnits[(GetPlayerId(whichPlayer) )]=( whichUnit) // INLINED!! - set ThirdPersonCamera__focusUnits[(GetPlayerId(whichPlayer) ) + bj_MAX_PLAYERS]=( (ThirdPersonCamera__focusUnits[(GetPlayerId(whichPlayer)) + 2 * bj_MAX_PLAYERS])) // INLINED!! + set ThirdPersonCamera___focusUnits[(GetPlayerId(whichPlayer) )]=( whichUnit) // INLINED!! + set ThirdPersonCamera___focusUnits[(GetPlayerId(whichPlayer) ) + bj_MAX_PLAYERS]=( (ThirdPersonCamera___focusUnits[(GetPlayerId(whichPlayer)) + 2 * bj_MAX_PLAYERS])) // INLINED!! endfunction function Camera_SetThirdPerson takes player whichPlayer returns nothing - set ThirdPersonCamera__focusUnits[(GetPlayerId(whichPlayer) )]=( null) // INLINED!! + set ThirdPersonCamera___focusUnits[(GetPlayerId(whichPlayer) )]=( null) // INLINED!! if GetLocalPlayer() == whichPlayer then call StopCamera() call ResetToGameCamera((1.0)) // INLINED!! @@ -4517,27 +4517,27 @@ function Camera_ClearPlayerData takes player whichPlayer returns nothing local integer playerId= GetPlayerId(whichPlayer) // Flushing this will also destroy timers for arrow keys - call FlushChildHashtable(ThirdPersonCamera__data, playerId) + call FlushChildHashtable(ThirdPersonCamera___data, playerId) // Remove useless unit and null everything to avoid handle reference leaks - call RemoveUnit((ThirdPersonCamera__focusUnits[(playerId) + 2 * bj_MAX_PLAYERS])) // INLINED!! - set ThirdPersonCamera__focusUnits[(playerId ) + 2 * bj_MAX_PLAYERS]=( null) // INLINED!! - set ThirdPersonCamera__focusUnits[(playerId ) + bj_MAX_PLAYERS]=( null) // INLINED!! - set ThirdPersonCamera__focusUnits[(playerId )]=( null) // INLINED!! + call RemoveUnit((ThirdPersonCamera___focusUnits[(playerId) + 2 * bj_MAX_PLAYERS])) // INLINED!! + set ThirdPersonCamera___focusUnits[(playerId ) + 2 * bj_MAX_PLAYERS]=( null) // INLINED!! + set ThirdPersonCamera___focusUnits[(playerId ) + bj_MAX_PLAYERS]=( null) // INLINED!! + set ThirdPersonCamera___focusUnits[(playerId )]=( null) // INLINED!! endfunction //=========================================================================== // Key Event Handling: Left and Right arrows //=============== // Utility function Camera_IsKeyPressed takes integer playerId,integer whichKey returns boolean - return HaveSavedBoolean(ThirdPersonCamera__data, playerId, whichKey) + return HaveSavedBoolean(ThirdPersonCamera___data, playerId, whichKey) endfunction function Camera_SetKeyPressed takes integer playerId,integer whichKey,boolean flag returns nothing if flag then - call SaveBoolean(ThirdPersonCamera__data, playerId, whichKey, true) + call SaveBoolean(ThirdPersonCamera___data, playerId, whichKey, true) else - call RemoveSavedBoolean(ThirdPersonCamera__data, playerId, whichKey) + call RemoveSavedBoolean(ThirdPersonCamera___data, playerId, whichKey) endif endfunction @@ -4546,14 +4546,14 @@ endfunction function Camera_TimerFunc2 takes nothing returns nothing local unit u local timer t= GetExpiredTimer() - local integer playerId= LoadInteger(ThirdPersonCamera__data, GetHandleId(t), 0) + local integer playerId= LoadInteger(ThirdPersonCamera___data, GetHandleId(t), 0) - if ( (HaveSavedBoolean(ThirdPersonCamera__data, (playerId ), ( (1)))) ) then // INLINED!! - set u=(ThirdPersonCamera__focusUnits[(playerId) + bj_MAX_PLAYERS]) // INLINED!! + if ( (HaveSavedBoolean(ThirdPersonCamera___data, (playerId ), ( (1)))) ) then // INLINED!! + set u=(ThirdPersonCamera___focusUnits[(playerId) + bj_MAX_PLAYERS]) // INLINED!! call SetUnitFacing(u, GetUnitFacing(u) + 10.) set u=null else - call FlushChildHashtable(ThirdPersonCamera__data, GetHandleId(t)) + call FlushChildHashtable(ThirdPersonCamera___data, GetHandleId(t)) call PauseTimer(t) call DestroyTimer(t) endif @@ -4563,14 +4563,14 @@ endfunction function Camera_TimerFunc_RightArrow takes nothing returns nothing local unit u local timer t= GetExpiredTimer() - local integer playerId= LoadInteger(ThirdPersonCamera__data, GetHandleId(t), 0) + local integer playerId= LoadInteger(ThirdPersonCamera___data, GetHandleId(t), 0) - if ( (HaveSavedBoolean(ThirdPersonCamera__data, (playerId ), ( (2)))) ) then // INLINED!! - set u=(ThirdPersonCamera__focusUnits[(playerId) + bj_MAX_PLAYERS]) // INLINED!! + if ( (HaveSavedBoolean(ThirdPersonCamera___data, (playerId ), ( (2)))) ) then // INLINED!! + set u=(ThirdPersonCamera___focusUnits[(playerId) + bj_MAX_PLAYERS]) // INLINED!! call SetUnitFacing(u, GetUnitFacing(u) - 10.) set u=null else - call FlushChildHashtable(ThirdPersonCamera__data, GetHandleId(t)) + call FlushChildHashtable(ThirdPersonCamera___data, GetHandleId(t)) call PauseTimer(t) call DestroyTimer(t) endif @@ -4582,18 +4582,18 @@ endfunction function SideArrowPress takes integer playerId,integer whichKey,code handlerFunc returns nothing local timer t - if (ThirdPersonCamera__focusUnits[(playerId)]) == null then // INLINED!! + if (ThirdPersonCamera___focusUnits[(playerId)]) == null then // INLINED!! return endif - if (HaveSavedBoolean(ThirdPersonCamera__data, (playerId ), ( whichKey))) then // INLINED!! + if (HaveSavedBoolean(ThirdPersonCamera___data, (playerId ), ( whichKey))) then // INLINED!! call Camera_SetKeyPressed(playerId , whichKey , false) else call Camera_SetKeyPressed(playerId , whichKey , true) set t=CreateTimer() call TimerStart(t, 0.03, true, handlerFunc) - call SaveInteger(ThirdPersonCamera__data, GetHandleId(t), 0, playerId) + call SaveInteger(ThirdPersonCamera___data, GetHandleId(t), 0, playerId) set t=null endif endfunction @@ -4610,35 +4610,35 @@ endfunction // Key Event Handling: Esc //=============== function Camera_GetEscClicks takes integer playerId returns integer - return LoadInteger(ThirdPersonCamera__data, playerId, (0)) // INLINED!! + return LoadInteger(ThirdPersonCamera___data, playerId, (0)) // INLINED!! endfunction function Camera_SetEscClicks takes integer playerId,integer value returns nothing - call SaveInteger(ThirdPersonCamera__data, playerId, (0), value) // INLINED!! + call SaveInteger(ThirdPersonCamera___data, playerId, (0), value) // INLINED!! endfunction function Camera_ResetEscClicks takes integer playerId returns nothing - call RemoveSavedInteger(ThirdPersonCamera__data, playerId, (0)) // INLINED!! + call RemoveSavedInteger(ThirdPersonCamera___data, playerId, (0)) // INLINED!! endfunction function Camera_Trig_Esc_Actions takes nothing returns nothing local player p= GetTriggerPlayer() local integer pId= GetPlayerId(p) - local integer count= (LoadInteger(ThirdPersonCamera__data, (pId), (0))) // INLINED!! + local integer count= (LoadInteger(ThirdPersonCamera___data, (pId), (0))) // INLINED!! if count == 0 then - if (ThirdPersonCamera__focusUnits[(pId) + bj_MAX_PLAYERS]) == (ThirdPersonCamera__focusUnits[(pId)]) then // INLINED!! - set ThirdPersonCamera__focusUnits[(pId ) + bj_MAX_PLAYERS]=( (ThirdPersonCamera__focusUnits[(pId) + 2 * bj_MAX_PLAYERS])) // INLINED!! + if (ThirdPersonCamera___focusUnits[(pId) + bj_MAX_PLAYERS]) == (ThirdPersonCamera___focusUnits[(pId)]) then // INLINED!! + set ThirdPersonCamera___focusUnits[(pId ) + bj_MAX_PLAYERS]=( (ThirdPersonCamera___focusUnits[(pId) + 2 * bj_MAX_PLAYERS])) // INLINED!! else - set ThirdPersonCamera__focusUnits[(pId ) + bj_MAX_PLAYERS]=( (ThirdPersonCamera__focusUnits[(pId)])) // INLINED!! + set ThirdPersonCamera___focusUnits[(pId ) + bj_MAX_PLAYERS]=( (ThirdPersonCamera___focusUnits[(pId)])) // INLINED!! endif - call SaveInteger(ThirdPersonCamera__data, (pId ), (0), ( count + 1)) // INLINED!! + call SaveInteger(ThirdPersonCamera___data, (pId ), (0), ( count + 1)) // INLINED!! call TriggerSleepAction(.4) - call RemoveSavedInteger(ThirdPersonCamera__data, (pId), (0)) // INLINED!! + call RemoveSavedInteger(ThirdPersonCamera___data, (pId), (0)) // INLINED!! elseif count == 1 then - call SaveInteger(ThirdPersonCamera__data, (pId ), (0), ( count + 1)) // INLINED!! - if (ThirdPersonCamera__focusUnits[(pId)]) != null then // INLINED!! + call SaveInteger(ThirdPersonCamera___data, (pId ), (0), ( count + 1)) // INLINED!! + if (ThirdPersonCamera___focusUnits[(pId)]) != null then // INLINED!! call Camera_SetThirdPerson(p) else call Camera_SetFirstPersonSelected(p) // There is a wait in this function @@ -4653,13 +4653,13 @@ endfunction // Returns the minimum angle between mouse and unit for camera to turn. // This is a per-player setting, since it may vary with screen resolution. function Camera_GetMinAngle takes integer playerId returns real - return LoadReal(ThirdPersonCamera__data, playerId, (3)) // INLINED!! + return LoadReal(ThirdPersonCamera___data, playerId, (3)) // INLINED!! endfunction // Sets the minimum angle between mouse and unit for camera to turn. // This is a per-player setting, since it may vary with screen resolution. function Camera_SetMinAngle takes integer playerId,real angle returns nothing - call SaveReal(ThirdPersonCamera__data, playerId, (3), angle) // INLINED!! + call SaveReal(ThirdPersonCamera___data, playerId, (3), angle) // INLINED!! endfunction function Camera_AngleToMouse takes unit u,integer playerId,real x,real y returns real @@ -4667,18 +4667,18 @@ function Camera_AngleToMouse takes unit u,integer playerId,real x,real y returns local real mouseY= BlzGetTriggerPlayerMouseY() local real newAngle= bj_RADTODEG * Atan2(mouseY - y, mouseX - x) local real difference - local real minAngle= (LoadReal(ThirdPersonCamera__data, (playerId), (3))) // INLINED!! + local real minAngle= (LoadReal(ThirdPersonCamera___data, (playerId), (3))) // INLINED!! if newAngle < 0 then set newAngle=360 + newAngle // Convert negative angles to positive, since GetUnitFacing always returns positives endif - set difference=newAngle - GetUnitFacing((ThirdPersonCamera__focusUnits[(playerId) + bj_MAX_PLAYERS])) // INLINED!! + set difference=newAngle - GetUnitFacing((ThirdPersonCamera___focusUnits[(playerId) + bj_MAX_PLAYERS])) // INLINED!! // If both mouseX and Y are 0, then the mouse is (probably) on the UI if ( difference > minAngle or difference < - minAngle ) and ( mouseX != 0 and mouseY != 0 ) then return newAngle else - return GetUnitFacing((ThirdPersonCamera__focusUnits[(playerId) + bj_MAX_PLAYERS])) // INLINED!! + return GetUnitFacing((ThirdPersonCamera___focusUnits[(playerId) + bj_MAX_PLAYERS])) // INLINED!! endif endfunction @@ -4686,10 +4686,10 @@ endfunction function Trig_CameraMouse_Actions takes nothing returns nothing local player trigPlayer= GetTriggerPlayer() local integer playerId= GetPlayerId(trigPlayer) - local unit u= (ThirdPersonCamera__focusUnits[(playerId)]) // INLINED!! + local unit u= (ThirdPersonCamera___focusUnits[(playerId)]) // INLINED!! if u != null then - call SetUnitFacing((ThirdPersonCamera__focusUnits[(playerId) + bj_MAX_PLAYERS]), Camera_AngleToMouse(u , playerId , GetUnitX(u) , GetUnitY(u))) // INLINED!! + call SetUnitFacing((ThirdPersonCamera___focusUnits[(playerId) + bj_MAX_PLAYERS]), Camera_AngleToMouse(u , playerId , GetUnitX(u) , GetUnitY(u))) // INLINED!! set u=null endif endfunction @@ -4706,13 +4706,13 @@ function Trig_Commands_First_Person_Actions takes nothing returns nothing elseif chatStr == ("-third person") then // INLINED!! call Camera_SetThirdPerson(p) elseif chatStr == ("-fixed camera") then // INLINED!! - set ThirdPersonCamera__focusUnits[(GetPlayerId(p) ) + bj_MAX_PLAYERS]=( (ThirdPersonCamera__focusUnits[(GetPlayerId(p))])) // INLINED!! + set ThirdPersonCamera___focusUnits[(GetPlayerId(p) ) + bj_MAX_PLAYERS]=( (ThirdPersonCamera___focusUnits[(GetPlayerId(p))])) // INLINED!! elseif chatStr == ("-free camera") then // INLINED!! - set ThirdPersonCamera__focusUnits[(GetPlayerId(p) ) + bj_MAX_PLAYERS]=( (ThirdPersonCamera__focusUnits[(GetPlayerId(p)) + 2 * bj_MAX_PLAYERS])) // INLINED!! + set ThirdPersonCamera___focusUnits[(GetPlayerId(p) ) + bj_MAX_PLAYERS]=( (ThirdPersonCamera___focusUnits[(GetPlayerId(p)) + 2 * bj_MAX_PLAYERS])) // INLINED!! elseif chatStr == ("-help camera") then // INLINED!! call DisplayTextToPlayer(p, 0, 0, ("First Person Camera Enabled!\n\nTo leave this perspective, double-click the |c00ffff00Esc|r key.\nTo fix the camera to the unit's facing, click the |c00ffff00Esc|r key.\nTo allow the camera to move independently, click the |c00ffff00Esc|r key.\n\nYou can use the |c00ffff00left|r and |c00ffff00right|r arrow keys to move the camera.\nYou can find the commands for the camera by pressing |c00ffff00F9|r.")) // INLINED!! else - call SaveReal(ThirdPersonCamera__data, (GetPlayerId(p) ), (3), (( S2R(SubString(chatStr, StringLength(GetEventPlayerChatStringMatched()), StringLength(chatStr))))*1.0)) // INLINED!! + call SaveReal(ThirdPersonCamera___data, (GetPlayerId(p) ), (3), (( S2R(SubString(chatStr, StringLength(GetEventPlayerChatStringMatched()), StringLength(chatStr))))*1.0)) // INLINED!! endif endfunction @@ -4725,11 +4725,11 @@ function Camera_TimerFunc takes nothing returns nothing local player localPlayer= GetLocalPlayer() local integer playerId= GetPlayerId(localPlayer) - if ThirdPersonCamera__focusUnits[playerId] != null then - call SetCameraField(CAMERA_FIELD_ROTATION, GetUnitFacing(ThirdPersonCamera__focusUnits[playerId + bj_MAX_PLAYERS]), 0) + if ThirdPersonCamera___focusUnits[playerId] != null then + call SetCameraField(CAMERA_FIELD_ROTATION, GetUnitFacing(ThirdPersonCamera___focusUnits[playerId + bj_MAX_PLAYERS]), 0) call SetCameraField(CAMERA_FIELD_ANGLE_OF_ATTACK, 350.00, 0) call SetCameraField(CAMERA_FIELD_TARGET_DISTANCE, 140.00, 0) - call SetCameraField(CAMERA_FIELD_ZOFFSET, ( GetUnitFlyHeight(ThirdPersonCamera__focusUnits[playerId]) + 125.00 ), 0.01) + call SetCameraField(CAMERA_FIELD_ZOFFSET, ( GetUnitFlyHeight(ThirdPersonCamera___focusUnits[playerId]) + 125.00 ), 0.01) endif endfunction @@ -4749,26 +4749,26 @@ function Camera_ForForce_Init takes nothing returns nothing call TriggerRegisterPlayerChatEvent(gg_trg_Camera_System, enumPlayer, ("-help camera"), true) // INLINED!! call TriggerRegisterPlayerChatEvent(gg_trg_Camera_System, enumPlayer, ("-sensitivity "), false) // INLINED!! endif - call TriggerRegisterPlayerMouseEventBJ(ThirdPersonCamera__triggerMouse, enumPlayer, bj_MOUSEEVENTTYPE_MOVE) + call TriggerRegisterPlayerMouseEventBJ(ThirdPersonCamera___triggerMouse, enumPlayer, bj_MOUSEEVENTTYPE_MOVE) - call TriggerRegisterPlayerEvent(ThirdPersonCamera__triggerLeft, enumPlayer, EVENT_PLAYER_ARROW_LEFT_DOWN) - call TriggerRegisterPlayerEvent(ThirdPersonCamera__triggerLeft, enumPlayer, EVENT_PLAYER_ARROW_LEFT_UP) + call TriggerRegisterPlayerEvent(ThirdPersonCamera___triggerLeft, enumPlayer, EVENT_PLAYER_ARROW_LEFT_DOWN) + call TriggerRegisterPlayerEvent(ThirdPersonCamera___triggerLeft, enumPlayer, EVENT_PLAYER_ARROW_LEFT_UP) - call TriggerRegisterPlayerEvent(ThirdPersonCamera__triggerRight, enumPlayer, EVENT_PLAYER_ARROW_RIGHT_DOWN) - call TriggerRegisterPlayerEvent(ThirdPersonCamera__triggerRight, enumPlayer, EVENT_PLAYER_ARROW_RIGHT_UP) + call TriggerRegisterPlayerEvent(ThirdPersonCamera___triggerRight, enumPlayer, EVENT_PLAYER_ARROW_RIGHT_DOWN) + call TriggerRegisterPlayerEvent(ThirdPersonCamera___triggerRight, enumPlayer, EVENT_PLAYER_ARROW_RIGHT_UP) - call TriggerRegisterPlayerEvent(ThirdPersonCamera__triggerEsc, enumPlayer, EVENT_PLAYER_END_CINEMATIC) + call TriggerRegisterPlayerEvent(ThirdPersonCamera___triggerEsc, enumPlayer, EVENT_PLAYER_END_CINEMATIC) - call TriggerRegisterPlayerEvent(ThirdPersonCamera__triggerCleanup, enumPlayer, EVENT_PLAYER_LEAVE) + call TriggerRegisterPlayerEvent(ThirdPersonCamera___triggerCleanup, enumPlayer, EVENT_PLAYER_LEAVE) set u=CreateUnit((Player(bj_PLAYER_NEUTRAL_EXTRA)), ('nvil'), (0.0), (0.0), bj_UNIT_FACING) // INLINED!! call UnitAddAbility(u, 'Aloc') call SetUnitInvulnerable(u, true) call ShowUnit(u, false) call SetUnitTurnSpeed(u, 3.) - set ThirdPersonCamera__focusUnits[(GetPlayerId(enumPlayer) ) + 2 * bj_MAX_PLAYERS]=( u) // INLINED!! - set ThirdPersonCamera__focusUnits[(GetPlayerId(enumPlayer) ) + bj_MAX_PLAYERS]=( u) // INLINED!! - call SaveReal(ThirdPersonCamera__data, (GetPlayerId(enumPlayer) ), (3), (( 39.0)*1.0)) // INLINED!! + set ThirdPersonCamera___focusUnits[(GetPlayerId(enumPlayer) ) + 2 * bj_MAX_PLAYERS]=( u) // INLINED!! + set ThirdPersonCamera___focusUnits[(GetPlayerId(enumPlayer) ) + bj_MAX_PLAYERS]=( u) // INLINED!! + call SaveReal(ThirdPersonCamera___data, (GetPlayerId(enumPlayer) ), (3), (( 39.0)*1.0)) // INLINED!! call Camera_SetHelpSeen(GetPlayerId(enumPlayer) , false) @@ -4784,34 +4784,34 @@ endfunction function InitTrig_Camera_System takes nothing returns nothing local timer t= CreateTimer() - set ThirdPersonCamera__triggerMouse=CreateTrigger() - set ThirdPersonCamera__triggerLeft=CreateTrigger() - set ThirdPersonCamera__triggerRight=CreateTrigger() - set ThirdPersonCamera__triggerEsc=CreateTrigger() - set ThirdPersonCamera__triggerCleanup=CreateTrigger() + set ThirdPersonCamera___triggerMouse=CreateTrigger() + set ThirdPersonCamera___triggerLeft=CreateTrigger() + set ThirdPersonCamera___triggerRight=CreateTrigger() + set ThirdPersonCamera___triggerEsc=CreateTrigger() + set ThirdPersonCamera___triggerCleanup=CreateTrigger() call TimerStart(t, 0.03, true, function Camera_TimerFunc) - set ThirdPersonCamera__data=InitHashtable() + set ThirdPersonCamera___data=InitHashtable() if ("-first person") != "" then // INLINED!! set gg_trg_Camera_System=CreateTrigger() call TriggerAddAction(gg_trg_Camera_System, function Trig_Commands_First_Person_Actions) endif - set ThirdPersonCamera__triggerLeft=CreateTrigger() - set ThirdPersonCamera__triggerRight=CreateTrigger() - call TriggerAddAction(ThirdPersonCamera__triggerLeft, function Camera_Trig_LeftArrow_Actions) - call TriggerAddAction(ThirdPersonCamera__triggerRight, function Camera_Trig_RightArrow_Actions) + set ThirdPersonCamera___triggerLeft=CreateTrigger() + set ThirdPersonCamera___triggerRight=CreateTrigger() + call TriggerAddAction(ThirdPersonCamera___triggerLeft, function Camera_Trig_LeftArrow_Actions) + call TriggerAddAction(ThirdPersonCamera___triggerRight, function Camera_Trig_RightArrow_Actions) - set ThirdPersonCamera__triggerEsc=CreateTrigger() - call TriggerAddAction(ThirdPersonCamera__triggerEsc, function Camera_Trig_Esc_Actions) + set ThirdPersonCamera___triggerEsc=CreateTrigger() + call TriggerAddAction(ThirdPersonCamera___triggerEsc, function Camera_Trig_Esc_Actions) - set ThirdPersonCamera__triggerMouse=CreateTrigger() - call TriggerAddAction(ThirdPersonCamera__triggerMouse, function Trig_CameraMouse_Actions) + set ThirdPersonCamera___triggerMouse=CreateTrigger() + call TriggerAddAction(ThirdPersonCamera___triggerMouse, function Trig_CameraMouse_Actions) - set ThirdPersonCamera__triggerCleanup=CreateTrigger() - call TriggerAddAction(ThirdPersonCamera__triggerCleanup, function Camera_Trig_PlayerLeaves) + set ThirdPersonCamera___triggerCleanup=CreateTrigger() + call TriggerAddAction(ThirdPersonCamera___triggerCleanup, function Camera_Trig_PlayerLeaves) call ForForce(GetPlayersAll(), function Camera_ForForce_Init) @@ -4926,25 +4926,25 @@ endfunction function GetCustomTileId takes integer tileSize,real x,real y returns integer local integer halfTileSize= tileSize / 2 - return ( ( R2I(x - s__WorldBounds_minX + halfTileSize) / tileSize ) * (LoadInteger(ConstTable___ht, ((s__AnyTileDefinition__Globals_totalX_impl)), (tileSize))) + R2I(y - s__WorldBounds_minY + halfTileSize) / tileSize ) // INLINED!! + return ( ( R2I(x - s__WorldBounds_minX + halfTileSize) / tileSize ) * (LoadInteger(ConstTable__ht, ((s__AnyTileDefinition__Globals_totalX_impl)), (tileSize))) + R2I(y - s__WorldBounds_minY + halfTileSize) / tileSize ) // INLINED!! endfunction function IsValidCustomTileId takes integer tileSize,integer id returns boolean - return ( id < 0 ) or ( id >= (LoadInteger(ConstTable___ht, ((s__AnyTileDefinition__Globals_totalX_impl)), (tileSize))) * (LoadInteger(ConstTable___ht, ((s__AnyTileDefinition__Globals_totalY_impl)), (tileSize))) ) // INLINED!! + return ( id < 0 ) or ( id >= (LoadInteger(ConstTable__ht, ((s__AnyTileDefinition__Globals_totalX_impl)), (tileSize))) * (LoadInteger(ConstTable__ht, ((s__AnyTileDefinition__Globals_totalY_impl)), (tileSize))) ) // INLINED!! endfunction function GetCustomTileCenterXById takes integer tileSize,integer id returns real - return I2R(s__WorldBounds_minX + ModuloInteger(id, (LoadInteger(ConstTable___ht, ((s__AnyTileDefinition__Globals_totalX_impl)), (tileSize)))) * tileSize) // INLINED!! + return I2R(s__WorldBounds_minX + ModuloInteger(id, (LoadInteger(ConstTable__ht, ((s__AnyTileDefinition__Globals_totalX_impl)), (tileSize)))) * tileSize) // INLINED!! endfunction function GetCustomTileCenterYById takes integer tileSize,integer id returns real - return I2R(s__WorldBounds_minY + id / (LoadInteger(ConstTable___ht, ((s__AnyTileDefinition__Globals_totalX_impl)), (tileSize))) * tileSize) // INLINED!! + return I2R(s__WorldBounds_minY + id / (LoadInteger(ConstTable__ht, ((s__AnyTileDefinition__Globals_totalX_impl)), (tileSize))) * tileSize) // INLINED!! endfunction function InitCustomTiles takes integer tileSize returns nothing if not sc__ConstTable_has((s__AnyTileDefinition__Globals_totalX_impl),tileSize) then // INLINED!! - call SaveInteger(ConstTable___ht, ((s__AnyTileDefinition__Globals_totalX_impl)), (tileSize), ( R2I(s__WorldBounds_maxX - s__WorldBounds_minX) / tileSize + 1)) // INLINED!! - call SaveInteger(ConstTable___ht, ((s__AnyTileDefinition__Globals_totalY_impl)), (tileSize), ( R2I(s__WorldBounds_maxY - s__WorldBounds_minY) / tileSize + 1)) // INLINED!! + call SaveInteger(ConstTable__ht, ((s__AnyTileDefinition__Globals_totalX_impl)), (tileSize), ( R2I(s__WorldBounds_maxX - s__WorldBounds_minX) / tileSize + 1)) // INLINED!! + call SaveInteger(ConstTable__ht, ((s__AnyTileDefinition__Globals_totalY_impl)), (tileSize), ( R2I(s__WorldBounds_maxY - s__WorldBounds_minY) / tileSize + 1)) // INLINED!! endif endfunction @@ -4955,778 +4955,778 @@ endfunction // By Guhun - function s__ConstTable___handles_has takes integer this,integer key returns boolean - return HaveSavedHandle(ConstTable___ht, this, key) + function s__ConstTable__handles_has takes integer this,integer key returns boolean + return HaveSavedHandle(ConstTable__ht, this, key) endfunction - function s__ConstTable___handles_remove takes integer this,integer key returns nothing - call RemoveSavedHandle(ConstTable___ht, this, key) + function s__ConstTable__handles_remove takes integer this,integer key returns nothing + call RemoveSavedHandle(ConstTable__ht, this, key) endfunction - function s__ConstTable___agents__setindex takes integer this,integer key,agent value returns nothing - call SaveAgentHandle(ConstTable___ht, this, key, value) + function s__ConstTable__agents__setindex takes integer this,integer key,agent value returns nothing + call SaveAgentHandle(ConstTable__ht, this, key, value) endfunction //Run these textmacros to include the entire hashtable API as wrappers. //Don't be intimidated by the number of macros - Vexorian's map optimizer is //supposed to kill functions which inline (all of these functions inline). //textmacro instance: NEW_ARRAY_BASIC("Real", "Real", "real") - function s__ConstTable___reals__getindex takes integer this,integer key returns real - return LoadReal(ConstTable___ht, this, key) + function s__ConstTable__reals__getindex takes integer this,integer key returns real + return LoadReal(ConstTable__ht, this, key) endfunction - function s__ConstTable___reals__setindex takes integer this,integer key,real value returns nothing - call SaveReal(ConstTable___ht, this, key, value) + function s__ConstTable__reals__setindex takes integer this,integer key,real value returns nothing + call SaveReal(ConstTable__ht, this, key, value) endfunction - function s__ConstTable___reals_has takes integer this,integer key returns boolean - return HaveSavedReal(ConstTable___ht, this, key) + function s__ConstTable__reals_has takes integer this,integer key returns boolean + return HaveSavedReal(ConstTable__ht, this, key) endfunction - function s__ConstTable___reals_remove takes integer this,integer key returns nothing - call RemoveSavedReal(ConstTable___ht, this, key) + function s__ConstTable__reals_remove takes integer this,integer key returns nothing + call RemoveSavedReal(ConstTable__ht, this, key) endfunction //end of: NEW_ARRAY_BASIC("Real", "Real", "real") //textmacro instance: NEW_ARRAY_BASIC("Boolean", "Boolean", "boolean") - function s__ConstTable___booleans__getindex takes integer this,integer key returns boolean - return LoadBoolean(ConstTable___ht, this, key) + function s__ConstTable__booleans__getindex takes integer this,integer key returns boolean + return LoadBoolean(ConstTable__ht, this, key) endfunction - function s__ConstTable___booleans__setindex takes integer this,integer key,boolean value returns nothing - call SaveBoolean(ConstTable___ht, this, key, value) + function s__ConstTable__booleans__setindex takes integer this,integer key,boolean value returns nothing + call SaveBoolean(ConstTable__ht, this, key, value) endfunction - function s__ConstTable___booleans_has takes integer this,integer key returns boolean - return HaveSavedBoolean(ConstTable___ht, this, key) + function s__ConstTable__booleans_has takes integer this,integer key returns boolean + return HaveSavedBoolean(ConstTable__ht, this, key) endfunction - function s__ConstTable___booleans_remove takes integer this,integer key returns nothing - call RemoveSavedBoolean(ConstTable___ht, this, key) + function s__ConstTable__booleans_remove takes integer this,integer key returns nothing + call RemoveSavedBoolean(ConstTable__ht, this, key) endfunction //end of: NEW_ARRAY_BASIC("Boolean", "Boolean", "boolean") //textmacro instance: NEW_ARRAY_BASIC("String", "Str", "string") - function s__ConstTable___strings__getindex takes integer this,integer key returns string - return LoadStr(ConstTable___ht, this, key) + function s__ConstTable__strings__getindex takes integer this,integer key returns string + return LoadStr(ConstTable__ht, this, key) endfunction - function s__ConstTable___strings__setindex takes integer this,integer key,string value returns nothing - call SaveStr(ConstTable___ht, this, key, value) + function s__ConstTable__strings__setindex takes integer this,integer key,string value returns nothing + call SaveStr(ConstTable__ht, this, key, value) endfunction - function s__ConstTable___strings_has takes integer this,integer key returns boolean - return HaveSavedString(ConstTable___ht, this, key) + function s__ConstTable__strings_has takes integer this,integer key returns boolean + return HaveSavedString(ConstTable__ht, this, key) endfunction - function s__ConstTable___strings_remove takes integer this,integer key returns nothing - call RemoveSavedString(ConstTable___ht, this, key) + function s__ConstTable__strings_remove takes integer this,integer key returns nothing + call RemoveSavedString(ConstTable__ht, this, key) endfunction //end of: NEW_ARRAY_BASIC("String", "Str", "string") //New textmacro to allow table.integer[] syntax for compatibility with textmacros that might desire it. //textmacro instance: NEW_ARRAY_BASIC("Integer", "Integer", "integer") - function s__ConstTable___integers__getindex takes integer this,integer key returns integer - return LoadInteger(ConstTable___ht, this, key) + function s__ConstTable__integers__getindex takes integer this,integer key returns integer + return LoadInteger(ConstTable__ht, this, key) endfunction - function s__ConstTable___integers__setindex takes integer this,integer key,integer value returns nothing - call SaveInteger(ConstTable___ht, this, key, value) + function s__ConstTable__integers__setindex takes integer this,integer key,integer value returns nothing + call SaveInteger(ConstTable__ht, this, key, value) endfunction - function s__ConstTable___integers_has takes integer this,integer key returns boolean - return HaveSavedInteger(ConstTable___ht, this, key) + function s__ConstTable__integers_has takes integer this,integer key returns boolean + return HaveSavedInteger(ConstTable__ht, this, key) endfunction - function s__ConstTable___integers_remove takes integer this,integer key returns nothing - call RemoveSavedInteger(ConstTable___ht, this, key) + function s__ConstTable__integers_remove takes integer this,integer key returns nothing + call RemoveSavedInteger(ConstTable__ht, this, key) endfunction //end of: NEW_ARRAY_BASIC("Integer", "Integer", "integer") //textmacro instance: NEW_ARRAY("Player", "player") - function s__ConstTable___players__getindex takes integer this,integer key returns player - return LoadPlayerHandle(ConstTable___ht, this, key) + function s__ConstTable__players__getindex takes integer this,integer key returns player + return LoadPlayerHandle(ConstTable__ht, this, key) endfunction - function s__ConstTable___players__setindex takes integer this,integer key,player value returns nothing - call SavePlayerHandle(ConstTable___ht, this, key, value) + function s__ConstTable__players__setindex takes integer this,integer key,player value returns nothing + call SavePlayerHandle(ConstTable__ht, this, key, value) endfunction - function s__ConstTable___players_has takes integer this,integer key returns boolean - return HaveSavedHandle(ConstTable___ht, this, key) + function s__ConstTable__players_has takes integer this,integer key returns boolean + return HaveSavedHandle(ConstTable__ht, this, key) endfunction - function s__ConstTable___players_remove takes integer this,integer key returns nothing - call RemoveSavedHandle(ConstTable___ht, this, key) + function s__ConstTable__players_remove takes integer this,integer key returns nothing + call RemoveSavedHandle(ConstTable__ht, this, key) endfunction //end of: NEW_ARRAY("Player", "player") //textmacro instance: NEW_ARRAY("Widget", "widget") - function s__ConstTable___widgets__getindex takes integer this,integer key returns widget - return LoadWidgetHandle(ConstTable___ht, this, key) + function s__ConstTable__widgets__getindex takes integer this,integer key returns widget + return LoadWidgetHandle(ConstTable__ht, this, key) endfunction - function s__ConstTable___widgets__setindex takes integer this,integer key,widget value returns nothing - call SaveWidgetHandle(ConstTable___ht, this, key, value) + function s__ConstTable__widgets__setindex takes integer this,integer key,widget value returns nothing + call SaveWidgetHandle(ConstTable__ht, this, key, value) endfunction - function s__ConstTable___widgets_has takes integer this,integer key returns boolean - return HaveSavedHandle(ConstTable___ht, this, key) + function s__ConstTable__widgets_has takes integer this,integer key returns boolean + return HaveSavedHandle(ConstTable__ht, this, key) endfunction - function s__ConstTable___widgets_remove takes integer this,integer key returns nothing - call RemoveSavedHandle(ConstTable___ht, this, key) + function s__ConstTable__widgets_remove takes integer this,integer key returns nothing + call RemoveSavedHandle(ConstTable__ht, this, key) endfunction //end of: NEW_ARRAY("Widget", "widget") //textmacro instance: NEW_ARRAY("Destructable", "destructable") - function s__ConstTable___destructables__getindex takes integer this,integer key returns destructable - return LoadDestructableHandle(ConstTable___ht, this, key) + function s__ConstTable__destructables__getindex takes integer this,integer key returns destructable + return LoadDestructableHandle(ConstTable__ht, this, key) endfunction - function s__ConstTable___destructables__setindex takes integer this,integer key,destructable value returns nothing - call SaveDestructableHandle(ConstTable___ht, this, key, value) + function s__ConstTable__destructables__setindex takes integer this,integer key,destructable value returns nothing + call SaveDestructableHandle(ConstTable__ht, this, key, value) endfunction - function s__ConstTable___destructables_has takes integer this,integer key returns boolean - return HaveSavedHandle(ConstTable___ht, this, key) + function s__ConstTable__destructables_has takes integer this,integer key returns boolean + return HaveSavedHandle(ConstTable__ht, this, key) endfunction - function s__ConstTable___destructables_remove takes integer this,integer key returns nothing - call RemoveSavedHandle(ConstTable___ht, this, key) + function s__ConstTable__destructables_remove takes integer this,integer key returns nothing + call RemoveSavedHandle(ConstTable__ht, this, key) endfunction //end of: NEW_ARRAY("Destructable", "destructable") //textmacro instance: NEW_ARRAY("Item", "item") - function s__ConstTable___items__getindex takes integer this,integer key returns item - return LoadItemHandle(ConstTable___ht, this, key) + function s__ConstTable__items__getindex takes integer this,integer key returns item + return LoadItemHandle(ConstTable__ht, this, key) endfunction - function s__ConstTable___items__setindex takes integer this,integer key,item value returns nothing - call SaveItemHandle(ConstTable___ht, this, key, value) + function s__ConstTable__items__setindex takes integer this,integer key,item value returns nothing + call SaveItemHandle(ConstTable__ht, this, key, value) endfunction - function s__ConstTable___items_has takes integer this,integer key returns boolean - return HaveSavedHandle(ConstTable___ht, this, key) + function s__ConstTable__items_has takes integer this,integer key returns boolean + return HaveSavedHandle(ConstTable__ht, this, key) endfunction - function s__ConstTable___items_remove takes integer this,integer key returns nothing - call RemoveSavedHandle(ConstTable___ht, this, key) + function s__ConstTable__items_remove takes integer this,integer key returns nothing + call RemoveSavedHandle(ConstTable__ht, this, key) endfunction //end of: NEW_ARRAY("Item", "item") //textmacro instance: NEW_ARRAY("Unit", "unit") - function s__ConstTable___units__getindex takes integer this,integer key returns unit - return LoadUnitHandle(ConstTable___ht, this, key) + function s__ConstTable__units__getindex takes integer this,integer key returns unit + return LoadUnitHandle(ConstTable__ht, this, key) endfunction - function s__ConstTable___units__setindex takes integer this,integer key,unit value returns nothing - call SaveUnitHandle(ConstTable___ht, this, key, value) + function s__ConstTable__units__setindex takes integer this,integer key,unit value returns nothing + call SaveUnitHandle(ConstTable__ht, this, key, value) endfunction - function s__ConstTable___units_has takes integer this,integer key returns boolean - return HaveSavedHandle(ConstTable___ht, this, key) + function s__ConstTable__units_has takes integer this,integer key returns boolean + return HaveSavedHandle(ConstTable__ht, this, key) endfunction - function s__ConstTable___units_remove takes integer this,integer key returns nothing - call RemoveSavedHandle(ConstTable___ht, this, key) + function s__ConstTable__units_remove takes integer this,integer key returns nothing + call RemoveSavedHandle(ConstTable__ht, this, key) endfunction //end of: NEW_ARRAY("Unit", "unit") //textmacro instance: NEW_ARRAY("Ability", "ability") - function s__ConstTable___abilitys__getindex takes integer this,integer key returns ability - return LoadAbilityHandle(ConstTable___ht, this, key) + function s__ConstTable__abilitys__getindex takes integer this,integer key returns ability + return LoadAbilityHandle(ConstTable__ht, this, key) endfunction - function s__ConstTable___abilitys__setindex takes integer this,integer key,ability value returns nothing - call SaveAbilityHandle(ConstTable___ht, this, key, value) + function s__ConstTable__abilitys__setindex takes integer this,integer key,ability value returns nothing + call SaveAbilityHandle(ConstTable__ht, this, key, value) endfunction - function s__ConstTable___abilitys_has takes integer this,integer key returns boolean - return HaveSavedHandle(ConstTable___ht, this, key) + function s__ConstTable__abilitys_has takes integer this,integer key returns boolean + return HaveSavedHandle(ConstTable__ht, this, key) endfunction - function s__ConstTable___abilitys_remove takes integer this,integer key returns nothing - call RemoveSavedHandle(ConstTable___ht, this, key) + function s__ConstTable__abilitys_remove takes integer this,integer key returns nothing + call RemoveSavedHandle(ConstTable__ht, this, key) endfunction //end of: NEW_ARRAY("Ability", "ability") //textmacro instance: NEW_ARRAY("Timer", "timer") - function s__ConstTable___timers__getindex takes integer this,integer key returns timer - return LoadTimerHandle(ConstTable___ht, this, key) + function s__ConstTable__timers__getindex takes integer this,integer key returns timer + return LoadTimerHandle(ConstTable__ht, this, key) endfunction - function s__ConstTable___timers__setindex takes integer this,integer key,timer value returns nothing - call SaveTimerHandle(ConstTable___ht, this, key, value) + function s__ConstTable__timers__setindex takes integer this,integer key,timer value returns nothing + call SaveTimerHandle(ConstTable__ht, this, key, value) endfunction - function s__ConstTable___timers_has takes integer this,integer key returns boolean - return HaveSavedHandle(ConstTable___ht, this, key) + function s__ConstTable__timers_has takes integer this,integer key returns boolean + return HaveSavedHandle(ConstTable__ht, this, key) endfunction - function s__ConstTable___timers_remove takes integer this,integer key returns nothing - call RemoveSavedHandle(ConstTable___ht, this, key) + function s__ConstTable__timers_remove takes integer this,integer key returns nothing + call RemoveSavedHandle(ConstTable__ht, this, key) endfunction //end of: NEW_ARRAY("Timer", "timer") //textmacro instance: NEW_ARRAY("Trigger", "trigger") - function s__ConstTable___triggers__getindex takes integer this,integer key returns trigger - return LoadTriggerHandle(ConstTable___ht, this, key) + function s__ConstTable__triggers__getindex takes integer this,integer key returns trigger + return LoadTriggerHandle(ConstTable__ht, this, key) endfunction - function s__ConstTable___triggers__setindex takes integer this,integer key,trigger value returns nothing - call SaveTriggerHandle(ConstTable___ht, this, key, value) + function s__ConstTable__triggers__setindex takes integer this,integer key,trigger value returns nothing + call SaveTriggerHandle(ConstTable__ht, this, key, value) endfunction - function s__ConstTable___triggers_has takes integer this,integer key returns boolean - return HaveSavedHandle(ConstTable___ht, this, key) + function s__ConstTable__triggers_has takes integer this,integer key returns boolean + return HaveSavedHandle(ConstTable__ht, this, key) endfunction - function s__ConstTable___triggers_remove takes integer this,integer key returns nothing - call RemoveSavedHandle(ConstTable___ht, this, key) + function s__ConstTable__triggers_remove takes integer this,integer key returns nothing + call RemoveSavedHandle(ConstTable__ht, this, key) endfunction //end of: NEW_ARRAY("Trigger", "trigger") //textmacro instance: NEW_ARRAY("TriggerCondition", "triggercondition") - function s__ConstTable___triggerconditions__getindex takes integer this,integer key returns triggercondition - return LoadTriggerConditionHandle(ConstTable___ht, this, key) + function s__ConstTable__triggerconditions__getindex takes integer this,integer key returns triggercondition + return LoadTriggerConditionHandle(ConstTable__ht, this, key) endfunction - function s__ConstTable___triggerconditions__setindex takes integer this,integer key,triggercondition value returns nothing - call SaveTriggerConditionHandle(ConstTable___ht, this, key, value) + function s__ConstTable__triggerconditions__setindex takes integer this,integer key,triggercondition value returns nothing + call SaveTriggerConditionHandle(ConstTable__ht, this, key, value) endfunction - function s__ConstTable___triggerconditions_has takes integer this,integer key returns boolean - return HaveSavedHandle(ConstTable___ht, this, key) + function s__ConstTable__triggerconditions_has takes integer this,integer key returns boolean + return HaveSavedHandle(ConstTable__ht, this, key) endfunction - function s__ConstTable___triggerconditions_remove takes integer this,integer key returns nothing - call RemoveSavedHandle(ConstTable___ht, this, key) + function s__ConstTable__triggerconditions_remove takes integer this,integer key returns nothing + call RemoveSavedHandle(ConstTable__ht, this, key) endfunction //end of: NEW_ARRAY("TriggerCondition", "triggercondition") //textmacro instance: NEW_ARRAY("TriggerAction", "triggeraction") - function s__ConstTable___triggeractions__getindex takes integer this,integer key returns triggeraction - return LoadTriggerActionHandle(ConstTable___ht, this, key) + function s__ConstTable__triggeractions__getindex takes integer this,integer key returns triggeraction + return LoadTriggerActionHandle(ConstTable__ht, this, key) endfunction - function s__ConstTable___triggeractions__setindex takes integer this,integer key,triggeraction value returns nothing - call SaveTriggerActionHandle(ConstTable___ht, this, key, value) + function s__ConstTable__triggeractions__setindex takes integer this,integer key,triggeraction value returns nothing + call SaveTriggerActionHandle(ConstTable__ht, this, key, value) endfunction - function s__ConstTable___triggeractions_has takes integer this,integer key returns boolean - return HaveSavedHandle(ConstTable___ht, this, key) + function s__ConstTable__triggeractions_has takes integer this,integer key returns boolean + return HaveSavedHandle(ConstTable__ht, this, key) endfunction - function s__ConstTable___triggeractions_remove takes integer this,integer key returns nothing - call RemoveSavedHandle(ConstTable___ht, this, key) + function s__ConstTable__triggeractions_remove takes integer this,integer key returns nothing + call RemoveSavedHandle(ConstTable__ht, this, key) endfunction //end of: NEW_ARRAY("TriggerAction", "triggeraction") //textmacro instance: NEW_ARRAY("TriggerEvent", "event") - function s__ConstTable___events__getindex takes integer this,integer key returns event - return LoadTriggerEventHandle(ConstTable___ht, this, key) + function s__ConstTable__events__getindex takes integer this,integer key returns event + return LoadTriggerEventHandle(ConstTable__ht, this, key) endfunction - function s__ConstTable___events__setindex takes integer this,integer key,event value returns nothing - call SaveTriggerEventHandle(ConstTable___ht, this, key, value) + function s__ConstTable__events__setindex takes integer this,integer key,event value returns nothing + call SaveTriggerEventHandle(ConstTable__ht, this, key, value) endfunction - function s__ConstTable___events_has takes integer this,integer key returns boolean - return HaveSavedHandle(ConstTable___ht, this, key) + function s__ConstTable__events_has takes integer this,integer key returns boolean + return HaveSavedHandle(ConstTable__ht, this, key) endfunction - function s__ConstTable___events_remove takes integer this,integer key returns nothing - call RemoveSavedHandle(ConstTable___ht, this, key) + function s__ConstTable__events_remove takes integer this,integer key returns nothing + call RemoveSavedHandle(ConstTable__ht, this, key) endfunction //end of: NEW_ARRAY("TriggerEvent", "event") //textmacro instance: NEW_ARRAY("Force", "force") - function s__ConstTable___forces__getindex takes integer this,integer key returns force - return LoadForceHandle(ConstTable___ht, this, key) + function s__ConstTable__forces__getindex takes integer this,integer key returns force + return LoadForceHandle(ConstTable__ht, this, key) endfunction - function s__ConstTable___forces__setindex takes integer this,integer key,force value returns nothing - call SaveForceHandle(ConstTable___ht, this, key, value) + function s__ConstTable__forces__setindex takes integer this,integer key,force value returns nothing + call SaveForceHandle(ConstTable__ht, this, key, value) endfunction - function s__ConstTable___forces_has takes integer this,integer key returns boolean - return HaveSavedHandle(ConstTable___ht, this, key) + function s__ConstTable__forces_has takes integer this,integer key returns boolean + return HaveSavedHandle(ConstTable__ht, this, key) endfunction - function s__ConstTable___forces_remove takes integer this,integer key returns nothing - call RemoveSavedHandle(ConstTable___ht, this, key) + function s__ConstTable__forces_remove takes integer this,integer key returns nothing + call RemoveSavedHandle(ConstTable__ht, this, key) endfunction //end of: NEW_ARRAY("Force", "force") //textmacro instance: NEW_ARRAY("Group", "group") - function s__ConstTable___groups__getindex takes integer this,integer key returns group - return LoadGroupHandle(ConstTable___ht, this, key) + function s__ConstTable__groups__getindex takes integer this,integer key returns group + return LoadGroupHandle(ConstTable__ht, this, key) endfunction - function s__ConstTable___groups__setindex takes integer this,integer key,group value returns nothing - call SaveGroupHandle(ConstTable___ht, this, key, value) + function s__ConstTable__groups__setindex takes integer this,integer key,group value returns nothing + call SaveGroupHandle(ConstTable__ht, this, key, value) endfunction - function s__ConstTable___groups_has takes integer this,integer key returns boolean - return HaveSavedHandle(ConstTable___ht, this, key) + function s__ConstTable__groups_has takes integer this,integer key returns boolean + return HaveSavedHandle(ConstTable__ht, this, key) endfunction - function s__ConstTable___groups_remove takes integer this,integer key returns nothing - call RemoveSavedHandle(ConstTable___ht, this, key) + function s__ConstTable__groups_remove takes integer this,integer key returns nothing + call RemoveSavedHandle(ConstTable__ht, this, key) endfunction //end of: NEW_ARRAY("Group", "group") //textmacro instance: NEW_ARRAY("Location", "location") - function s__ConstTable___locations__getindex takes integer this,integer key returns location - return LoadLocationHandle(ConstTable___ht, this, key) + function s__ConstTable__locations__getindex takes integer this,integer key returns location + return LoadLocationHandle(ConstTable__ht, this, key) endfunction - function s__ConstTable___locations__setindex takes integer this,integer key,location value returns nothing - call SaveLocationHandle(ConstTable___ht, this, key, value) + function s__ConstTable__locations__setindex takes integer this,integer key,location value returns nothing + call SaveLocationHandle(ConstTable__ht, this, key, value) endfunction - function s__ConstTable___locations_has takes integer this,integer key returns boolean - return HaveSavedHandle(ConstTable___ht, this, key) + function s__ConstTable__locations_has takes integer this,integer key returns boolean + return HaveSavedHandle(ConstTable__ht, this, key) endfunction - function s__ConstTable___locations_remove takes integer this,integer key returns nothing - call RemoveSavedHandle(ConstTable___ht, this, key) + function s__ConstTable__locations_remove takes integer this,integer key returns nothing + call RemoveSavedHandle(ConstTable__ht, this, key) endfunction //end of: NEW_ARRAY("Location", "location") //textmacro instance: NEW_ARRAY("Rect", "rect") - function s__ConstTable___rects__getindex takes integer this,integer key returns rect - return LoadRectHandle(ConstTable___ht, this, key) + function s__ConstTable__rects__getindex takes integer this,integer key returns rect + return LoadRectHandle(ConstTable__ht, this, key) endfunction - function s__ConstTable___rects__setindex takes integer this,integer key,rect value returns nothing - call SaveRectHandle(ConstTable___ht, this, key, value) + function s__ConstTable__rects__setindex takes integer this,integer key,rect value returns nothing + call SaveRectHandle(ConstTable__ht, this, key, value) endfunction - function s__ConstTable___rects_has takes integer this,integer key returns boolean - return HaveSavedHandle(ConstTable___ht, this, key) + function s__ConstTable__rects_has takes integer this,integer key returns boolean + return HaveSavedHandle(ConstTable__ht, this, key) endfunction - function s__ConstTable___rects_remove takes integer this,integer key returns nothing - call RemoveSavedHandle(ConstTable___ht, this, key) + function s__ConstTable__rects_remove takes integer this,integer key returns nothing + call RemoveSavedHandle(ConstTable__ht, this, key) endfunction //end of: NEW_ARRAY("Rect", "rect") //textmacro instance: NEW_ARRAY("BooleanExpr", "boolexpr") - function s__ConstTable___boolexprs__getindex takes integer this,integer key returns boolexpr - return LoadBooleanExprHandle(ConstTable___ht, this, key) + function s__ConstTable__boolexprs__getindex takes integer this,integer key returns boolexpr + return LoadBooleanExprHandle(ConstTable__ht, this, key) endfunction - function s__ConstTable___boolexprs__setindex takes integer this,integer key,boolexpr value returns nothing - call SaveBooleanExprHandle(ConstTable___ht, this, key, value) + function s__ConstTable__boolexprs__setindex takes integer this,integer key,boolexpr value returns nothing + call SaveBooleanExprHandle(ConstTable__ht, this, key, value) endfunction - function s__ConstTable___boolexprs_has takes integer this,integer key returns boolean - return HaveSavedHandle(ConstTable___ht, this, key) + function s__ConstTable__boolexprs_has takes integer this,integer key returns boolean + return HaveSavedHandle(ConstTable__ht, this, key) endfunction - function s__ConstTable___boolexprs_remove takes integer this,integer key returns nothing - call RemoveSavedHandle(ConstTable___ht, this, key) + function s__ConstTable__boolexprs_remove takes integer this,integer key returns nothing + call RemoveSavedHandle(ConstTable__ht, this, key) endfunction //end of: NEW_ARRAY("BooleanExpr", "boolexpr") //textmacro instance: NEW_ARRAY("Sound", "sound") - function s__ConstTable___sounds__getindex takes integer this,integer key returns sound - return LoadSoundHandle(ConstTable___ht, this, key) + function s__ConstTable__sounds__getindex takes integer this,integer key returns sound + return LoadSoundHandle(ConstTable__ht, this, key) endfunction - function s__ConstTable___sounds__setindex takes integer this,integer key,sound value returns nothing - call SaveSoundHandle(ConstTable___ht, this, key, value) + function s__ConstTable__sounds__setindex takes integer this,integer key,sound value returns nothing + call SaveSoundHandle(ConstTable__ht, this, key, value) endfunction - function s__ConstTable___sounds_has takes integer this,integer key returns boolean - return HaveSavedHandle(ConstTable___ht, this, key) + function s__ConstTable__sounds_has takes integer this,integer key returns boolean + return HaveSavedHandle(ConstTable__ht, this, key) endfunction - function s__ConstTable___sounds_remove takes integer this,integer key returns nothing - call RemoveSavedHandle(ConstTable___ht, this, key) + function s__ConstTable__sounds_remove takes integer this,integer key returns nothing + call RemoveSavedHandle(ConstTable__ht, this, key) endfunction //end of: NEW_ARRAY("Sound", "sound") //textmacro instance: NEW_ARRAY("Effect", "effect") - function s__ConstTable___effects__getindex takes integer this,integer key returns effect - return LoadEffectHandle(ConstTable___ht, this, key) + function s__ConstTable__effects__getindex takes integer this,integer key returns effect + return LoadEffectHandle(ConstTable__ht, this, key) endfunction - function s__ConstTable___effects__setindex takes integer this,integer key,effect value returns nothing - call SaveEffectHandle(ConstTable___ht, this, key, value) + function s__ConstTable__effects__setindex takes integer this,integer key,effect value returns nothing + call SaveEffectHandle(ConstTable__ht, this, key, value) endfunction - function s__ConstTable___effects_has takes integer this,integer key returns boolean - return HaveSavedHandle(ConstTable___ht, this, key) + function s__ConstTable__effects_has takes integer this,integer key returns boolean + return HaveSavedHandle(ConstTable__ht, this, key) endfunction - function s__ConstTable___effects_remove takes integer this,integer key returns nothing - call RemoveSavedHandle(ConstTable___ht, this, key) + function s__ConstTable__effects_remove takes integer this,integer key returns nothing + call RemoveSavedHandle(ConstTable__ht, this, key) endfunction //end of: NEW_ARRAY("Effect", "effect") //textmacro instance: NEW_ARRAY("UnitPool", "unitpool") - function s__ConstTable___unitpools__getindex takes integer this,integer key returns unitpool - return LoadUnitPoolHandle(ConstTable___ht, this, key) + function s__ConstTable__unitpools__getindex takes integer this,integer key returns unitpool + return LoadUnitPoolHandle(ConstTable__ht, this, key) endfunction - function s__ConstTable___unitpools__setindex takes integer this,integer key,unitpool value returns nothing - call SaveUnitPoolHandle(ConstTable___ht, this, key, value) + function s__ConstTable__unitpools__setindex takes integer this,integer key,unitpool value returns nothing + call SaveUnitPoolHandle(ConstTable__ht, this, key, value) endfunction - function s__ConstTable___unitpools_has takes integer this,integer key returns boolean - return HaveSavedHandle(ConstTable___ht, this, key) + function s__ConstTable__unitpools_has takes integer this,integer key returns boolean + return HaveSavedHandle(ConstTable__ht, this, key) endfunction - function s__ConstTable___unitpools_remove takes integer this,integer key returns nothing - call RemoveSavedHandle(ConstTable___ht, this, key) + function s__ConstTable__unitpools_remove takes integer this,integer key returns nothing + call RemoveSavedHandle(ConstTable__ht, this, key) endfunction //end of: NEW_ARRAY("UnitPool", "unitpool") //textmacro instance: NEW_ARRAY("ItemPool", "itempool") - function s__ConstTable___itempools__getindex takes integer this,integer key returns itempool - return LoadItemPoolHandle(ConstTable___ht, this, key) + function s__ConstTable__itempools__getindex takes integer this,integer key returns itempool + return LoadItemPoolHandle(ConstTable__ht, this, key) endfunction - function s__ConstTable___itempools__setindex takes integer this,integer key,itempool value returns nothing - call SaveItemPoolHandle(ConstTable___ht, this, key, value) + function s__ConstTable__itempools__setindex takes integer this,integer key,itempool value returns nothing + call SaveItemPoolHandle(ConstTable__ht, this, key, value) endfunction - function s__ConstTable___itempools_has takes integer this,integer key returns boolean - return HaveSavedHandle(ConstTable___ht, this, key) + function s__ConstTable__itempools_has takes integer this,integer key returns boolean + return HaveSavedHandle(ConstTable__ht, this, key) endfunction - function s__ConstTable___itempools_remove takes integer this,integer key returns nothing - call RemoveSavedHandle(ConstTable___ht, this, key) + function s__ConstTable__itempools_remove takes integer this,integer key returns nothing + call RemoveSavedHandle(ConstTable__ht, this, key) endfunction //end of: NEW_ARRAY("ItemPool", "itempool") //textmacro instance: NEW_ARRAY("Quest", "quest") - function s__ConstTable___quests__getindex takes integer this,integer key returns quest - return LoadQuestHandle(ConstTable___ht, this, key) + function s__ConstTable__quests__getindex takes integer this,integer key returns quest + return LoadQuestHandle(ConstTable__ht, this, key) endfunction - function s__ConstTable___quests__setindex takes integer this,integer key,quest value returns nothing - call SaveQuestHandle(ConstTable___ht, this, key, value) + function s__ConstTable__quests__setindex takes integer this,integer key,quest value returns nothing + call SaveQuestHandle(ConstTable__ht, this, key, value) endfunction - function s__ConstTable___quests_has takes integer this,integer key returns boolean - return HaveSavedHandle(ConstTable___ht, this, key) + function s__ConstTable__quests_has takes integer this,integer key returns boolean + return HaveSavedHandle(ConstTable__ht, this, key) endfunction - function s__ConstTable___quests_remove takes integer this,integer key returns nothing - call RemoveSavedHandle(ConstTable___ht, this, key) + function s__ConstTable__quests_remove takes integer this,integer key returns nothing + call RemoveSavedHandle(ConstTable__ht, this, key) endfunction //end of: NEW_ARRAY("Quest", "quest") //textmacro instance: NEW_ARRAY("QuestItem", "questitem") - function s__ConstTable___questitems__getindex takes integer this,integer key returns questitem - return LoadQuestItemHandle(ConstTable___ht, this, key) + function s__ConstTable__questitems__getindex takes integer this,integer key returns questitem + return LoadQuestItemHandle(ConstTable__ht, this, key) endfunction - function s__ConstTable___questitems__setindex takes integer this,integer key,questitem value returns nothing - call SaveQuestItemHandle(ConstTable___ht, this, key, value) + function s__ConstTable__questitems__setindex takes integer this,integer key,questitem value returns nothing + call SaveQuestItemHandle(ConstTable__ht, this, key, value) endfunction - function s__ConstTable___questitems_has takes integer this,integer key returns boolean - return HaveSavedHandle(ConstTable___ht, this, key) + function s__ConstTable__questitems_has takes integer this,integer key returns boolean + return HaveSavedHandle(ConstTable__ht, this, key) endfunction - function s__ConstTable___questitems_remove takes integer this,integer key returns nothing - call RemoveSavedHandle(ConstTable___ht, this, key) + function s__ConstTable__questitems_remove takes integer this,integer key returns nothing + call RemoveSavedHandle(ConstTable__ht, this, key) endfunction //end of: NEW_ARRAY("QuestItem", "questitem") //textmacro instance: NEW_ARRAY("DefeatCondition", "defeatcondition") - function s__ConstTable___defeatconditions__getindex takes integer this,integer key returns defeatcondition - return LoadDefeatConditionHandle(ConstTable___ht, this, key) + function s__ConstTable__defeatconditions__getindex takes integer this,integer key returns defeatcondition + return LoadDefeatConditionHandle(ConstTable__ht, this, key) endfunction - function s__ConstTable___defeatconditions__setindex takes integer this,integer key,defeatcondition value returns nothing - call SaveDefeatConditionHandle(ConstTable___ht, this, key, value) + function s__ConstTable__defeatconditions__setindex takes integer this,integer key,defeatcondition value returns nothing + call SaveDefeatConditionHandle(ConstTable__ht, this, key, value) endfunction - function s__ConstTable___defeatconditions_has takes integer this,integer key returns boolean - return HaveSavedHandle(ConstTable___ht, this, key) + function s__ConstTable__defeatconditions_has takes integer this,integer key returns boolean + return HaveSavedHandle(ConstTable__ht, this, key) endfunction - function s__ConstTable___defeatconditions_remove takes integer this,integer key returns nothing - call RemoveSavedHandle(ConstTable___ht, this, key) + function s__ConstTable__defeatconditions_remove takes integer this,integer key returns nothing + call RemoveSavedHandle(ConstTable__ht, this, key) endfunction //end of: NEW_ARRAY("DefeatCondition", "defeatcondition") //textmacro instance: NEW_ARRAY("TimerDialog", "timerdialog") - function s__ConstTable___timerdialogs__getindex takes integer this,integer key returns timerdialog - return LoadTimerDialogHandle(ConstTable___ht, this, key) + function s__ConstTable__timerdialogs__getindex takes integer this,integer key returns timerdialog + return LoadTimerDialogHandle(ConstTable__ht, this, key) endfunction - function s__ConstTable___timerdialogs__setindex takes integer this,integer key,timerdialog value returns nothing - call SaveTimerDialogHandle(ConstTable___ht, this, key, value) + function s__ConstTable__timerdialogs__setindex takes integer this,integer key,timerdialog value returns nothing + call SaveTimerDialogHandle(ConstTable__ht, this, key, value) endfunction - function s__ConstTable___timerdialogs_has takes integer this,integer key returns boolean - return HaveSavedHandle(ConstTable___ht, this, key) + function s__ConstTable__timerdialogs_has takes integer this,integer key returns boolean + return HaveSavedHandle(ConstTable__ht, this, key) endfunction - function s__ConstTable___timerdialogs_remove takes integer this,integer key returns nothing - call RemoveSavedHandle(ConstTable___ht, this, key) + function s__ConstTable__timerdialogs_remove takes integer this,integer key returns nothing + call RemoveSavedHandle(ConstTable__ht, this, key) endfunction //end of: NEW_ARRAY("TimerDialog", "timerdialog") //textmacro instance: NEW_ARRAY("Leaderboard", "leaderboard") - function s__ConstTable___leaderboards__getindex takes integer this,integer key returns leaderboard - return LoadLeaderboardHandle(ConstTable___ht, this, key) + function s__ConstTable__leaderboards__getindex takes integer this,integer key returns leaderboard + return LoadLeaderboardHandle(ConstTable__ht, this, key) endfunction - function s__ConstTable___leaderboards__setindex takes integer this,integer key,leaderboard value returns nothing - call SaveLeaderboardHandle(ConstTable___ht, this, key, value) + function s__ConstTable__leaderboards__setindex takes integer this,integer key,leaderboard value returns nothing + call SaveLeaderboardHandle(ConstTable__ht, this, key, value) endfunction - function s__ConstTable___leaderboards_has takes integer this,integer key returns boolean - return HaveSavedHandle(ConstTable___ht, this, key) + function s__ConstTable__leaderboards_has takes integer this,integer key returns boolean + return HaveSavedHandle(ConstTable__ht, this, key) endfunction - function s__ConstTable___leaderboards_remove takes integer this,integer key returns nothing - call RemoveSavedHandle(ConstTable___ht, this, key) + function s__ConstTable__leaderboards_remove takes integer this,integer key returns nothing + call RemoveSavedHandle(ConstTable__ht, this, key) endfunction //end of: NEW_ARRAY("Leaderboard", "leaderboard") //textmacro instance: NEW_ARRAY("Multiboard", "multiboard") - function s__ConstTable___multiboards__getindex takes integer this,integer key returns multiboard - return LoadMultiboardHandle(ConstTable___ht, this, key) + function s__ConstTable__multiboards__getindex takes integer this,integer key returns multiboard + return LoadMultiboardHandle(ConstTable__ht, this, key) endfunction - function s__ConstTable___multiboards__setindex takes integer this,integer key,multiboard value returns nothing - call SaveMultiboardHandle(ConstTable___ht, this, key, value) + function s__ConstTable__multiboards__setindex takes integer this,integer key,multiboard value returns nothing + call SaveMultiboardHandle(ConstTable__ht, this, key, value) endfunction - function s__ConstTable___multiboards_has takes integer this,integer key returns boolean - return HaveSavedHandle(ConstTable___ht, this, key) + function s__ConstTable__multiboards_has takes integer this,integer key returns boolean + return HaveSavedHandle(ConstTable__ht, this, key) endfunction - function s__ConstTable___multiboards_remove takes integer this,integer key returns nothing - call RemoveSavedHandle(ConstTable___ht, this, key) + function s__ConstTable__multiboards_remove takes integer this,integer key returns nothing + call RemoveSavedHandle(ConstTable__ht, this, key) endfunction //end of: NEW_ARRAY("Multiboard", "multiboard") //textmacro instance: NEW_ARRAY("MultiboardItem", "multiboarditem") - function s__ConstTable___multiboarditems__getindex takes integer this,integer key returns multiboarditem - return LoadMultiboardItemHandle(ConstTable___ht, this, key) + function s__ConstTable__multiboarditems__getindex takes integer this,integer key returns multiboarditem + return LoadMultiboardItemHandle(ConstTable__ht, this, key) endfunction - function s__ConstTable___multiboarditems__setindex takes integer this,integer key,multiboarditem value returns nothing - call SaveMultiboardItemHandle(ConstTable___ht, this, key, value) + function s__ConstTable__multiboarditems__setindex takes integer this,integer key,multiboarditem value returns nothing + call SaveMultiboardItemHandle(ConstTable__ht, this, key, value) endfunction - function s__ConstTable___multiboarditems_has takes integer this,integer key returns boolean - return HaveSavedHandle(ConstTable___ht, this, key) + function s__ConstTable__multiboarditems_has takes integer this,integer key returns boolean + return HaveSavedHandle(ConstTable__ht, this, key) endfunction - function s__ConstTable___multiboarditems_remove takes integer this,integer key returns nothing - call RemoveSavedHandle(ConstTable___ht, this, key) + function s__ConstTable__multiboarditems_remove takes integer this,integer key returns nothing + call RemoveSavedHandle(ConstTable__ht, this, key) endfunction //end of: NEW_ARRAY("MultiboardItem", "multiboarditem") //textmacro instance: NEW_ARRAY("Trackable", "trackable") - function s__ConstTable___trackables__getindex takes integer this,integer key returns trackable - return LoadTrackableHandle(ConstTable___ht, this, key) + function s__ConstTable__trackables__getindex takes integer this,integer key returns trackable + return LoadTrackableHandle(ConstTable__ht, this, key) endfunction - function s__ConstTable___trackables__setindex takes integer this,integer key,trackable value returns nothing - call SaveTrackableHandle(ConstTable___ht, this, key, value) + function s__ConstTable__trackables__setindex takes integer this,integer key,trackable value returns nothing + call SaveTrackableHandle(ConstTable__ht, this, key, value) endfunction - function s__ConstTable___trackables_has takes integer this,integer key returns boolean - return HaveSavedHandle(ConstTable___ht, this, key) + function s__ConstTable__trackables_has takes integer this,integer key returns boolean + return HaveSavedHandle(ConstTable__ht, this, key) endfunction - function s__ConstTable___trackables_remove takes integer this,integer key returns nothing - call RemoveSavedHandle(ConstTable___ht, this, key) + function s__ConstTable__trackables_remove takes integer this,integer key returns nothing + call RemoveSavedHandle(ConstTable__ht, this, key) endfunction //end of: NEW_ARRAY("Trackable", "trackable") //textmacro instance: NEW_ARRAY("Dialog", "dialog") - function s__ConstTable___dialogs__getindex takes integer this,integer key returns dialog - return LoadDialogHandle(ConstTable___ht, this, key) + function s__ConstTable__dialogs__getindex takes integer this,integer key returns dialog + return LoadDialogHandle(ConstTable__ht, this, key) endfunction - function s__ConstTable___dialogs__setindex takes integer this,integer key,dialog value returns nothing - call SaveDialogHandle(ConstTable___ht, this, key, value) + function s__ConstTable__dialogs__setindex takes integer this,integer key,dialog value returns nothing + call SaveDialogHandle(ConstTable__ht, this, key, value) endfunction - function s__ConstTable___dialogs_has takes integer this,integer key returns boolean - return HaveSavedHandle(ConstTable___ht, this, key) + function s__ConstTable__dialogs_has takes integer this,integer key returns boolean + return HaveSavedHandle(ConstTable__ht, this, key) endfunction - function s__ConstTable___dialogs_remove takes integer this,integer key returns nothing - call RemoveSavedHandle(ConstTable___ht, this, key) + function s__ConstTable__dialogs_remove takes integer this,integer key returns nothing + call RemoveSavedHandle(ConstTable__ht, this, key) endfunction //end of: NEW_ARRAY("Dialog", "dialog") //textmacro instance: NEW_ARRAY("Button", "button") - function s__ConstTable___buttons__getindex takes integer this,integer key returns button - return LoadButtonHandle(ConstTable___ht, this, key) + function s__ConstTable__buttons__getindex takes integer this,integer key returns button + return LoadButtonHandle(ConstTable__ht, this, key) endfunction - function s__ConstTable___buttons__setindex takes integer this,integer key,button value returns nothing - call SaveButtonHandle(ConstTable___ht, this, key, value) + function s__ConstTable__buttons__setindex takes integer this,integer key,button value returns nothing + call SaveButtonHandle(ConstTable__ht, this, key, value) endfunction - function s__ConstTable___buttons_has takes integer this,integer key returns boolean - return HaveSavedHandle(ConstTable___ht, this, key) + function s__ConstTable__buttons_has takes integer this,integer key returns boolean + return HaveSavedHandle(ConstTable__ht, this, key) endfunction - function s__ConstTable___buttons_remove takes integer this,integer key returns nothing - call RemoveSavedHandle(ConstTable___ht, this, key) + function s__ConstTable__buttons_remove takes integer this,integer key returns nothing + call RemoveSavedHandle(ConstTable__ht, this, key) endfunction //end of: NEW_ARRAY("Button", "button") //textmacro instance: NEW_ARRAY("TextTag", "texttag") - function s__ConstTable___texttags__getindex takes integer this,integer key returns texttag - return LoadTextTagHandle(ConstTable___ht, this, key) + function s__ConstTable__texttags__getindex takes integer this,integer key returns texttag + return LoadTextTagHandle(ConstTable__ht, this, key) endfunction - function s__ConstTable___texttags__setindex takes integer this,integer key,texttag value returns nothing - call SaveTextTagHandle(ConstTable___ht, this, key, value) + function s__ConstTable__texttags__setindex takes integer this,integer key,texttag value returns nothing + call SaveTextTagHandle(ConstTable__ht, this, key, value) endfunction - function s__ConstTable___texttags_has takes integer this,integer key returns boolean - return HaveSavedHandle(ConstTable___ht, this, key) + function s__ConstTable__texttags_has takes integer this,integer key returns boolean + return HaveSavedHandle(ConstTable__ht, this, key) endfunction - function s__ConstTable___texttags_remove takes integer this,integer key returns nothing - call RemoveSavedHandle(ConstTable___ht, this, key) + function s__ConstTable__texttags_remove takes integer this,integer key returns nothing + call RemoveSavedHandle(ConstTable__ht, this, key) endfunction //end of: NEW_ARRAY("TextTag", "texttag") //textmacro instance: NEW_ARRAY("Lightning", "lightning") - function s__ConstTable___lightnings__getindex takes integer this,integer key returns lightning - return LoadLightningHandle(ConstTable___ht, this, key) + function s__ConstTable__lightnings__getindex takes integer this,integer key returns lightning + return LoadLightningHandle(ConstTable__ht, this, key) endfunction - function s__ConstTable___lightnings__setindex takes integer this,integer key,lightning value returns nothing - call SaveLightningHandle(ConstTable___ht, this, key, value) + function s__ConstTable__lightnings__setindex takes integer this,integer key,lightning value returns nothing + call SaveLightningHandle(ConstTable__ht, this, key, value) endfunction - function s__ConstTable___lightnings_has takes integer this,integer key returns boolean - return HaveSavedHandle(ConstTable___ht, this, key) + function s__ConstTable__lightnings_has takes integer this,integer key returns boolean + return HaveSavedHandle(ConstTable__ht, this, key) endfunction - function s__ConstTable___lightnings_remove takes integer this,integer key returns nothing - call RemoveSavedHandle(ConstTable___ht, this, key) + function s__ConstTable__lightnings_remove takes integer this,integer key returns nothing + call RemoveSavedHandle(ConstTable__ht, this, key) endfunction //end of: NEW_ARRAY("Lightning", "lightning") //textmacro instance: NEW_ARRAY("Image", "image") - function s__ConstTable___images__getindex takes integer this,integer key returns image - return LoadImageHandle(ConstTable___ht, this, key) + function s__ConstTable__images__getindex takes integer this,integer key returns image + return LoadImageHandle(ConstTable__ht, this, key) endfunction - function s__ConstTable___images__setindex takes integer this,integer key,image value returns nothing - call SaveImageHandle(ConstTable___ht, this, key, value) + function s__ConstTable__images__setindex takes integer this,integer key,image value returns nothing + call SaveImageHandle(ConstTable__ht, this, key, value) endfunction - function s__ConstTable___images_has takes integer this,integer key returns boolean - return HaveSavedHandle(ConstTable___ht, this, key) + function s__ConstTable__images_has takes integer this,integer key returns boolean + return HaveSavedHandle(ConstTable__ht, this, key) endfunction - function s__ConstTable___images_remove takes integer this,integer key returns nothing - call RemoveSavedHandle(ConstTable___ht, this, key) + function s__ConstTable__images_remove takes integer this,integer key returns nothing + call RemoveSavedHandle(ConstTable__ht, this, key) endfunction //end of: NEW_ARRAY("Image", "image") //textmacro instance: NEW_ARRAY("Ubersplat", "ubersplat") - function s__ConstTable___ubersplats__getindex takes integer this,integer key returns ubersplat - return LoadUbersplatHandle(ConstTable___ht, this, key) + function s__ConstTable__ubersplats__getindex takes integer this,integer key returns ubersplat + return LoadUbersplatHandle(ConstTable__ht, this, key) endfunction - function s__ConstTable___ubersplats__setindex takes integer this,integer key,ubersplat value returns nothing - call SaveUbersplatHandle(ConstTable___ht, this, key, value) + function s__ConstTable__ubersplats__setindex takes integer this,integer key,ubersplat value returns nothing + call SaveUbersplatHandle(ConstTable__ht, this, key, value) endfunction - function s__ConstTable___ubersplats_has takes integer this,integer key returns boolean - return HaveSavedHandle(ConstTable___ht, this, key) + function s__ConstTable__ubersplats_has takes integer this,integer key returns boolean + return HaveSavedHandle(ConstTable__ht, this, key) endfunction - function s__ConstTable___ubersplats_remove takes integer this,integer key returns nothing - call RemoveSavedHandle(ConstTable___ht, this, key) + function s__ConstTable__ubersplats_remove takes integer this,integer key returns nothing + call RemoveSavedHandle(ConstTable__ht, this, key) endfunction //end of: NEW_ARRAY("Ubersplat", "ubersplat") //textmacro instance: NEW_ARRAY("Region", "region") - function s__ConstTable___regions__getindex takes integer this,integer key returns region - return LoadRegionHandle(ConstTable___ht, this, key) + function s__ConstTable__regions__getindex takes integer this,integer key returns region + return LoadRegionHandle(ConstTable__ht, this, key) endfunction - function s__ConstTable___regions__setindex takes integer this,integer key,region value returns nothing - call SaveRegionHandle(ConstTable___ht, this, key, value) + function s__ConstTable__regions__setindex takes integer this,integer key,region value returns nothing + call SaveRegionHandle(ConstTable__ht, this, key, value) endfunction - function s__ConstTable___regions_has takes integer this,integer key returns boolean - return HaveSavedHandle(ConstTable___ht, this, key) + function s__ConstTable__regions_has takes integer this,integer key returns boolean + return HaveSavedHandle(ConstTable__ht, this, key) endfunction - function s__ConstTable___regions_remove takes integer this,integer key returns nothing - call RemoveSavedHandle(ConstTable___ht, this, key) + function s__ConstTable__regions_remove takes integer this,integer key returns nothing + call RemoveSavedHandle(ConstTable__ht, this, key) endfunction //end of: NEW_ARRAY("Region", "region") //textmacro instance: NEW_ARRAY("FogState", "fogstate") - function s__ConstTable___fogstates__getindex takes integer this,integer key returns fogstate - return LoadFogStateHandle(ConstTable___ht, this, key) + function s__ConstTable__fogstates__getindex takes integer this,integer key returns fogstate + return LoadFogStateHandle(ConstTable__ht, this, key) endfunction - function s__ConstTable___fogstates__setindex takes integer this,integer key,fogstate value returns nothing - call SaveFogStateHandle(ConstTable___ht, this, key, value) + function s__ConstTable__fogstates__setindex takes integer this,integer key,fogstate value returns nothing + call SaveFogStateHandle(ConstTable__ht, this, key, value) endfunction - function s__ConstTable___fogstates_has takes integer this,integer key returns boolean - return HaveSavedHandle(ConstTable___ht, this, key) + function s__ConstTable__fogstates_has takes integer this,integer key returns boolean + return HaveSavedHandle(ConstTable__ht, this, key) endfunction - function s__ConstTable___fogstates_remove takes integer this,integer key returns nothing - call RemoveSavedHandle(ConstTable___ht, this, key) + function s__ConstTable__fogstates_remove takes integer this,integer key returns nothing + call RemoveSavedHandle(ConstTable__ht, this, key) endfunction //end of: NEW_ARRAY("FogState", "fogstate") //textmacro instance: NEW_ARRAY("FogModifier", "fogmodifier") - function s__ConstTable___fogmodifiers__getindex takes integer this,integer key returns fogmodifier - return LoadFogModifierHandle(ConstTable___ht, this, key) + function s__ConstTable__fogmodifiers__getindex takes integer this,integer key returns fogmodifier + return LoadFogModifierHandle(ConstTable__ht, this, key) endfunction - function s__ConstTable___fogmodifiers__setindex takes integer this,integer key,fogmodifier value returns nothing - call SaveFogModifierHandle(ConstTable___ht, this, key, value) + function s__ConstTable__fogmodifiers__setindex takes integer this,integer key,fogmodifier value returns nothing + call SaveFogModifierHandle(ConstTable__ht, this, key, value) endfunction - function s__ConstTable___fogmodifiers_has takes integer this,integer key returns boolean - return HaveSavedHandle(ConstTable___ht, this, key) + function s__ConstTable__fogmodifiers_has takes integer this,integer key returns boolean + return HaveSavedHandle(ConstTable__ht, this, key) endfunction - function s__ConstTable___fogmodifiers_remove takes integer this,integer key returns nothing - call RemoveSavedHandle(ConstTable___ht, this, key) + function s__ConstTable__fogmodifiers_remove takes integer this,integer key returns nothing + call RemoveSavedHandle(ConstTable__ht, this, key) endfunction //end of: NEW_ARRAY("FogModifier", "fogmodifier") //textmacro instance: NEW_ARRAY("Hashtable", "hashtable") - function s__ConstTable___hashtables__getindex takes integer this,integer key returns hashtable - return LoadHashtableHandle(ConstTable___ht, this, key) + function s__ConstTable__hashtables__getindex takes integer this,integer key returns hashtable + return LoadHashtableHandle(ConstTable__ht, this, key) endfunction - function s__ConstTable___hashtables__setindex takes integer this,integer key,hashtable value returns nothing - call SaveHashtableHandle(ConstTable___ht, this, key, value) + function s__ConstTable__hashtables__setindex takes integer this,integer key,hashtable value returns nothing + call SaveHashtableHandle(ConstTable__ht, this, key, value) endfunction - function s__ConstTable___hashtables_has takes integer this,integer key returns boolean - return HaveSavedHandle(ConstTable___ht, this, key) + function s__ConstTable__hashtables_has takes integer this,integer key returns boolean + return HaveSavedHandle(ConstTable__ht, this, key) endfunction - function s__ConstTable___hashtables_remove takes integer this,integer key returns nothing - call RemoveSavedHandle(ConstTable___ht, this, key) + function s__ConstTable__hashtables_remove takes integer this,integer key returns nothing + call RemoveSavedHandle(ConstTable__ht, this, key) endfunction //end of: NEW_ARRAY("Hashtable", "hashtable") // Implement modules for intuitive syntax (tb.handle; tb.unit; etc.) -//Implemented from module ConstTable___realm: +//Implemented from module ConstTable__realm: function s__ConstTable__get_real takes integer this returns integer return this endfunction -//Implemented from module ConstTable___integerm: +//Implemented from module ConstTable__integerm: function s__ConstTable__get_integer takes integer this returns integer return this endfunction -//Implemented from module ConstTable___booleanm: +//Implemented from module ConstTable__booleanm: function s__ConstTable__get_boolean takes integer this returns integer return this endfunction -//Implemented from module ConstTable___stringm: +//Implemented from module ConstTable__stringm: function s__ConstTable__get_string takes integer this returns integer return this endfunction -//Implemented from module ConstTable___playerm: +//Implemented from module ConstTable__playerm: function s__ConstTable__get_player takes integer this returns integer return this endfunction -//Implemented from module ConstTable___widgetm: +//Implemented from module ConstTable__widgetm: function s__ConstTable__get_widget takes integer this returns integer return this endfunction -//Implemented from module ConstTable___destructablem: +//Implemented from module ConstTable__destructablem: function s__ConstTable__get_destructable takes integer this returns integer return this endfunction -//Implemented from module ConstTable___itemm: +//Implemented from module ConstTable__itemm: function s__ConstTable__get_item takes integer this returns integer return this endfunction -//Implemented from module ConstTable___unitm: +//Implemented from module ConstTable__unitm: function s__ConstTable__get_unit takes integer this returns integer return this endfunction -//Implemented from module ConstTable___abilitym: +//Implemented from module ConstTable__abilitym: function s__ConstTable__get_ability takes integer this returns integer return this endfunction -//Implemented from module ConstTable___timerm: +//Implemented from module ConstTable__timerm: function s__ConstTable__get_timer takes integer this returns integer return this endfunction -//Implemented from module ConstTable___triggerm: +//Implemented from module ConstTable__triggerm: function s__ConstTable__get_trigger takes integer this returns integer return this endfunction -//Implemented from module ConstTable___triggerconditionm: +//Implemented from module ConstTable__triggerconditionm: function s__ConstTable__get_triggercondition takes integer this returns integer return this endfunction -//Implemented from module ConstTable___triggeractionm: +//Implemented from module ConstTable__triggeractionm: function s__ConstTable__get_triggeraction takes integer this returns integer return this endfunction -//Implemented from module ConstTable___eventm: +//Implemented from module ConstTable__eventm: function s__ConstTable__get_event takes integer this returns integer return this endfunction -//Implemented from module ConstTable___forcem: +//Implemented from module ConstTable__forcem: function s__ConstTable__get_force takes integer this returns integer return this endfunction -//Implemented from module ConstTable___groupm: +//Implemented from module ConstTable__groupm: function s__ConstTable__get_group takes integer this returns integer return this endfunction -//Implemented from module ConstTable___locationm: +//Implemented from module ConstTable__locationm: function s__ConstTable__get_location takes integer this returns integer return this endfunction -//Implemented from module ConstTable___rectm: +//Implemented from module ConstTable__rectm: function s__ConstTable__get_rect takes integer this returns integer return this endfunction -//Implemented from module ConstTable___boolexprm: +//Implemented from module ConstTable__boolexprm: function s__ConstTable__get_boolexpr takes integer this returns integer return this endfunction -//Implemented from module ConstTable___soundm: +//Implemented from module ConstTable__soundm: function s__ConstTable__get_sound takes integer this returns integer return this endfunction -//Implemented from module ConstTable___effectm: +//Implemented from module ConstTable__effectm: function s__ConstTable__get_effect takes integer this returns integer return this endfunction -//Implemented from module ConstTable___unitpoolm: +//Implemented from module ConstTable__unitpoolm: function s__ConstTable__get_unitpool takes integer this returns integer return this endfunction -//Implemented from module ConstTable___itempoolm: +//Implemented from module ConstTable__itempoolm: function s__ConstTable__get_itempool takes integer this returns integer return this endfunction -//Implemented from module ConstTable___questm: +//Implemented from module ConstTable__questm: function s__ConstTable__get_quest takes integer this returns integer return this endfunction -//Implemented from module ConstTable___questitemm: +//Implemented from module ConstTable__questitemm: function s__ConstTable__get_questitem takes integer this returns integer return this endfunction -//Implemented from module ConstTable___defeatconditionm: +//Implemented from module ConstTable__defeatconditionm: function s__ConstTable__get_defeatcondition takes integer this returns integer return this endfunction -//Implemented from module ConstTable___timerdialogm: +//Implemented from module ConstTable__timerdialogm: function s__ConstTable__get_timerdialog takes integer this returns integer return this endfunction -//Implemented from module ConstTable___leaderboardm: +//Implemented from module ConstTable__leaderboardm: function s__ConstTable__get_leaderboard takes integer this returns integer return this endfunction -//Implemented from module ConstTable___multiboardm: +//Implemented from module ConstTable__multiboardm: function s__ConstTable__get_multiboard takes integer this returns integer return this endfunction -//Implemented from module ConstTable___multiboarditemm: +//Implemented from module ConstTable__multiboarditemm: function s__ConstTable__get_multiboarditem takes integer this returns integer return this endfunction -//Implemented from module ConstTable___trackablem: +//Implemented from module ConstTable__trackablem: function s__ConstTable__get_trackable takes integer this returns integer return this endfunction -//Implemented from module ConstTable___dialogm: +//Implemented from module ConstTable__dialogm: function s__ConstTable__get_dialog takes integer this returns integer return this endfunction -//Implemented from module ConstTable___buttonm: +//Implemented from module ConstTable__buttonm: function s__ConstTable__get_button takes integer this returns integer return this endfunction -//Implemented from module ConstTable___texttagm: +//Implemented from module ConstTable__texttagm: function s__ConstTable__get_texttag takes integer this returns integer return this endfunction -//Implemented from module ConstTable___lightningm: +//Implemented from module ConstTable__lightningm: function s__ConstTable__get_lightning takes integer this returns integer return this endfunction -//Implemented from module ConstTable___imagem: +//Implemented from module ConstTable__imagem: function s__ConstTable__get_image takes integer this returns integer return this endfunction -//Implemented from module ConstTable___ubersplatm: +//Implemented from module ConstTable__ubersplatm: function s__ConstTable__get_ubersplat takes integer this returns integer return this endfunction -//Implemented from module ConstTable___regionm: +//Implemented from module ConstTable__regionm: function s__ConstTable__get_region takes integer this returns integer return this endfunction -//Implemented from module ConstTable___fogstatem: +//Implemented from module ConstTable__fogstatem: function s__ConstTable__get_fogstate takes integer this returns integer return this endfunction -//Implemented from module ConstTable___fogmodifierm: +//Implemented from module ConstTable__fogmodifierm: function s__ConstTable__get_fogmodifier takes integer this returns integer return this endfunction -//Implemented from module ConstTable___hashtablem: +//Implemented from module ConstTable__hashtablem: function s__ConstTable__get_hashtable takes integer this returns integer return this endfunction @@ -5740,23 +5740,23 @@ endfunction endfunction function s__ConstTable__getindex takes integer this,integer key returns integer - return LoadInteger(ConstTable___ht, this, key) //return this.integer[key] + return LoadInteger(ConstTable__ht, this, key) //return this.integer[key] endfunction function s__ConstTable__setindex takes integer this,integer key,integer tb returns nothing - call SaveInteger(ConstTable___ht, this, key, tb) //set this.integer[key] = tb + call SaveInteger(ConstTable__ht, this, key, tb) //set this.integer[key] = tb endfunction function s__ConstTable_has takes integer this,integer key returns boolean - return HaveSavedInteger(ConstTable___ht, this, key) //return this.integer.has(key) + return HaveSavedInteger(ConstTable__ht, this, key) //return this.integer.has(key) endfunction function s__ConstTable_remove takes integer this,integer key returns nothing - call RemoveSavedInteger(ConstTable___ht, this, key) //call this.integer.remove(key) + call RemoveSavedInteger(ConstTable__ht, this, key) //call this.integer.remove(key) endfunction function s__ConstTable_flush takes integer this returns nothing - call FlushChildHashtable(ConstTable___ht, this) + call FlushChildHashtable(ConstTable__ht, this) endfunction @@ -5764,10 +5764,10 @@ endfunction //Basically, it creates a Table in the place of the parent key if //it didn't already get created earlier. function s__ConstHashTable__getindex takes integer this,integer index returns integer - local integer t= (LoadInteger(ConstTable___ht, ((this)), (index))) // INLINED!! + local integer t= (LoadInteger(ConstTable__ht, ((this)), (index))) // INLINED!! if t == 0 then set t=s__Table_create() - call SaveInteger(ConstTable___ht, ((this)), (index), ( t)) // INLINED!! + call SaveInteger(ConstTable__ht, ((this)), (index), ( t)) // INLINED!! endif return t endfunction @@ -5775,10 +5775,10 @@ endfunction //You need to call this on each parent key that you used if you //intend to destroy the HashTable or simply no longer need that key. function s__ConstHashTable_remove takes integer this,integer index returns nothing - local integer t= (LoadInteger(ConstTable___ht, ((this)), (index))) // INLINED!! + local integer t= (LoadInteger(ConstTable__ht, ((this)), (index))) // INLINED!! if t != 0 then call s__Table_destroy(t) - call RemoveSavedInteger(ConstTable___ht, ((this)), (index)) // INLINED!! + call RemoveSavedInteger(ConstTable__ht, ((this)), (index)) // INLINED!! endif endfunction @@ -5788,7 +5788,7 @@ endfunction endfunction function s__ConstHashTable_has takes integer this,integer index returns boolean - return (HaveSavedInteger(ConstTable___ht, ((this)), (index))) // INLINED!! + return (HaveSavedInteger(ConstTable__ht, ((this)), (index))) // INLINED!! endfunction //library ConstTable ends @@ -5885,7 +5885,7 @@ endfunction call PauseUnit(DummyRecycler__dummy[this], true) - call SaveInteger(Table___ht, (s__DummyRecycler__S_tb), (GetHandleId(DummyRecycler__dummy[this])), ( this)) // INLINED!! + call SaveInteger(Table__ht, (s__DummyRecycler__S_tb), (GetHandleId(DummyRecycler__dummy[this])), ( this)) // INLINED!! @@ -5998,7 +5998,7 @@ endfunction set DummyRecycler__next[this]=- 1 set DummyRecycler__dummy[this]=bj_lastCreatedUnit - call SaveInteger(Table___ht, (s__DummyRecycler__S_tb), (GetHandleId(bj_lastCreatedUnit)), ( this)) // INLINED!! + call SaveInteger(Table__ht, (s__DummyRecycler__S_tb), (GetHandleId(bj_lastCreatedUnit)), ( this)) // INLINED!! @@ -6012,7 +6012,7 @@ endfunction function RecycleDummy takes unit u returns nothing - local integer this= (LoadInteger(Table___ht, (s__DummyRecycler__S_tb), (GetHandleId(u)))) // INLINED!! + local integer this= (LoadInteger(Table__ht, (s__DummyRecycler__S_tb), (GetHandleId(u)))) // INLINED!! @@ -6078,8 +6078,8 @@ endfunction local timer t= GetExpiredTimer() local integer id= GetHandleId(t) - call RecycleDummy((LoadUnitHandle(Table___ht, (((s__DummyRecycler__S_tb))), (id)))) // INLINED!! - call RemoveSavedHandle(Table___ht, (((s__DummyRecycler__S_tb))), (id)) // INLINED!! + call RecycleDummy((LoadUnitHandle(Table__ht, (((s__DummyRecycler__S_tb))), (id)))) // INLINED!! + call RemoveSavedHandle(Table__ht, (((s__DummyRecycler__S_tb))), (id)) // INLINED!! @@ -6091,7 +6091,7 @@ endfunction function DummyAddRecycleTimer takes unit u,real time returns nothing local timer t= CreateTimer() - call SaveUnitHandle(Table___ht, (((s__DummyRecycler__S_tb))), (GetHandleId(t)), ( u)) // INLINED!! + call SaveUnitHandle(Table__ht, (((s__DummyRecycler__S_tb))), (GetHandleId(t)), ( u)) // INLINED!! @@ -6119,7 +6119,7 @@ endfunction function Lists_GetHashtable takes nothing returns hashtable - return Lists___hashTable + return Lists__hashTable @@ -6199,7 +6199,7 @@ endfunction //Positive Unit Handle ID > Move Bonus //Negative Unit Handle ID > Move Multiplier -function MoveSpeedBonus__KEY takes nothing returns integer +function MoveSpeedBonus___KEY takes nothing returns integer @@ -6209,11 +6209,11 @@ function MoveSpeedBonus__KEY takes nothing returns integer endfunction -function MoveSpeedBonus__GetUnitId takes unit whichUnit returns integer +function MoveSpeedBonus___GetUnitId takes unit whichUnit returns integer return GetHandleId(whichUnit) endfunction -function MoveSpeedBonus__LoadMultiplier takes integer uId returns real +function MoveSpeedBonus___LoadMultiplier takes integer uId returns real @@ -6222,7 +6222,7 @@ function MoveSpeedBonus__LoadMultiplier takes integer uId returns real endfunction -function MoveSpeedBonus__LoadBonus takes integer uId returns real +function MoveSpeedBonus___LoadBonus takes integer uId returns real @@ -6230,7 +6230,7 @@ function MoveSpeedBonus__LoadBonus takes integer uId returns real endfunction -function MoveSpeedBonus__RemoveMultiplier takes integer uId returns nothing +function MoveSpeedBonus___RemoveMultiplier takes integer uId returns nothing @@ -6238,7 +6238,7 @@ function MoveSpeedBonus__RemoveMultiplier takes integer uId returns nothing endfunction -function MoveSpeedBonus__RemoveBonus takes integer uId returns nothing +function MoveSpeedBonus___RemoveBonus takes integer uId returns nothing @@ -6246,7 +6246,7 @@ function MoveSpeedBonus__RemoveBonus takes integer uId returns nothing endfunction -function MoveSpeedBonus__SaveMultiplier takes integer uId,real value returns nothing +function MoveSpeedBonus___SaveMultiplier takes integer uId,real value returns nothing @@ -6254,7 +6254,7 @@ function MoveSpeedBonus__SaveMultiplier takes integer uId,real value returns not endfunction -function MoveSpeedBonus__SaveBonus takes integer uId,real value returns nothing +function MoveSpeedBonus___SaveBonus takes integer uId,real value returns nothing @@ -6543,8 +6543,8 @@ endfunction -//Implemented from module ArgumentStack__Const: - function s__ArgumentStack__table_type takes integer i returns integer +//Implemented from module ArgumentStack___Const: + function s__ArgumentStack___table_type takes integer i returns integer return i endfunction @@ -6568,69 +6568,69 @@ endfunction function s__Args_setHandle takes integer tab,integer i,handle h returns nothing - local integer stack= (LoadInteger(ConstTable___ht, (((tab))), (i))) // INLINED!! + local integer stack= (LoadInteger(ConstTable__ht, (((tab))), (i))) // INLINED!! local integer current if stack == 0 then set stack=s__Table_create() - call SaveInteger(ConstTable___ht, (((tab))), (i), ( stack)) // INLINED!! - call SaveInteger(Table___ht, (stack), (- 1), ( 0)) // INLINED!! + call SaveInteger(ConstTable__ht, (((tab))), (i), ( stack)) // INLINED!! + call SaveInteger(Table__ht, (stack), (- 1), ( 0)) // INLINED!! set current=0 else - set current=(LoadInteger(Table___ht, (stack), (- 1))) + 1 // INLINED!! - call SaveInteger(Table___ht, (stack), (- 1), ( current)) // INLINED!! + set current=(LoadInteger(Table__ht, (stack), (- 1))) + 1 // INLINED!! + call SaveInteger(Table__ht, (stack), (- 1), ( current)) // INLINED!! endif - call SaveFogStateHandle(Table___ht, (((stack))), (current), ( ConvertFogState(GetHandleId(h)))) // INLINED!! + call SaveFogStateHandle(Table__ht, (((stack))), (current), ( ConvertFogState(GetHandleId(h)))) // INLINED!! endfunction function s__Args_setAgent takes integer tab,integer i,agent a returns nothing - local integer stack= (LoadInteger(ConstTable___ht, (((tab))), (i))) // INLINED!! + local integer stack= (LoadInteger(ConstTable__ht, (((tab))), (i))) // INLINED!! local integer current if stack == 0 then set stack=s__Table_create() - call SaveInteger(ConstTable___ht, (((tab))), (i), ( stack)) // INLINED!! - call SaveInteger(Table___ht, (stack), (- 1), ( 0)) // INLINED!! + call SaveInteger(ConstTable__ht, (((tab))), (i), ( stack)) // INLINED!! + call SaveInteger(Table__ht, (stack), (- 1), ( 0)) // INLINED!! set current=0 else - set current=(LoadInteger(Table___ht, (stack), (- 1))) + 1 // INLINED!! - call SaveInteger(Table___ht, (stack), (- 1), ( current)) // INLINED!! + set current=(LoadInteger(Table__ht, (stack), (- 1))) + 1 // INLINED!! + call SaveInteger(Table__ht, (stack), (- 1), ( current)) // INLINED!! endif - call SaveAgentHandle(Table___ht, (((stack))), (current), ( a)) // INLINED!! + call SaveAgentHandle(Table__ht, (((stack))), (current), ( a)) // INLINED!! endfunction function s__Args_freeHandle takes integer tab,integer i returns nothing - local integer stack= (LoadInteger(ConstTable___ht, (((tab))), (i))) // INLINED!! - local integer current= (LoadInteger(Table___ht, (stack), (- 1))) // INLINED!! - call RemoveSavedHandle(Table___ht, (((stack))), (current)) // INLINED!! - call SaveInteger(Table___ht, (stack), (- 1), ( current - 1)) // INLINED!! + local integer stack= (LoadInteger(ConstTable__ht, (((tab))), (i))) // INLINED!! + local integer current= (LoadInteger(Table__ht, (stack), (- 1))) // INLINED!! + call RemoveSavedHandle(Table__ht, (((stack))), (current)) // INLINED!! + call SaveInteger(Table__ht, (stack), (- 1), ( current - 1)) // INLINED!! endfunction //textmacro instance: ArgumentStack_Field("real","Real") function s__Args_setReal takes integer i,real value returns nothing - local integer stack= (LoadInteger(ConstTable___ht, (((s__Args_real_impl))), (i))) // INLINED!! + local integer stack= (LoadInteger(ConstTable__ht, (((s__Args_real_impl))), (i))) // INLINED!! local integer current if stack == 0 then set stack=s__Table_create() - call SaveInteger(ConstTable___ht, (((s__Args_real_impl))), (i), ( stack)) // INLINED!! - call SaveInteger(Table___ht, (stack), (- 1), ( 0)) // INLINED!! + call SaveInteger(ConstTable__ht, (((s__Args_real_impl))), (i), ( stack)) // INLINED!! + call SaveInteger(Table__ht, (stack), (- 1), ( 0)) // INLINED!! set current=0 else - set current=(LoadInteger(Table___ht, (stack), (- 1))) + 1 // INLINED!! - call SaveInteger(Table___ht, (stack), (- 1), ( current)) // INLINED!! + set current=(LoadInteger(Table__ht, (stack), (- 1))) + 1 // INLINED!! + call SaveInteger(Table__ht, (stack), (- 1), ( current)) // INLINED!! endif - call SaveReal(Table___ht, (((stack))), (current), (( value)*1.0)) // INLINED!! + call SaveReal(Table__ht, (((stack))), (current), (( value)*1.0)) // INLINED!! endfunction function s__Args_getReal takes integer i returns real - return (LoadReal(Table___ht, ((((LoadInteger(ConstTable___ht, (((s__Args_real_impl))), (i)))))), ((LoadInteger(Table___ht, ((LoadInteger(ConstTable___ht, (((s__Args_real_impl))), (i)))), (- 1)))))) // INLINED!! + return (LoadReal(Table__ht, ((((LoadInteger(ConstTable__ht, (((s__Args_real_impl))), (i)))))), ((LoadInteger(Table__ht, ((LoadInteger(ConstTable__ht, (((s__Args_real_impl))), (i)))), (- 1)))))) // INLINED!! endfunction function s__Args_freeReal takes integer i returns nothing - local integer stack= (LoadInteger(ConstTable___ht, (((s__Args_real_impl))), (i))) // INLINED!! - local integer current= (LoadInteger(Table___ht, (stack), (- 1))) // INLINED!! - call RemoveSavedReal(Table___ht, (((stack))), (current)) // INLINED!! - call SaveInteger(Table___ht, (stack), (- 1), ( current - 1)) // INLINED!! + local integer stack= (LoadInteger(ConstTable__ht, (((s__Args_real_impl))), (i))) // INLINED!! + local integer current= (LoadInteger(Table__ht, (stack), (- 1))) // INLINED!! + call RemoveSavedReal(Table__ht, (((stack))), (current)) // INLINED!! + call SaveInteger(Table__ht, (stack), (- 1), ( current - 1)) // INLINED!! endfunction // Methods that inline, for textmacros @@ -6646,41 +6646,41 @@ endfunction // Advanced methods function s__Args_realGetDepth takes integer i returns integer - return (LoadInteger(Table___ht, ((LoadInteger(ConstTable___ht, (((s__Args_real_impl))), (i)))), (- 1))) + 1 // INLINED!! + return (LoadInteger(Table__ht, ((LoadInteger(ConstTable__ht, (((s__Args_real_impl))), (i)))), (- 1))) + 1 // INLINED!! endfunction function s__Args_realDig takes integer i,integer depth returns real - return (LoadReal(Table___ht, ((((LoadInteger(ConstTable___ht, (((s__Args_real_impl))), (i)))))), ((LoadInteger(Table___ht, ((LoadInteger(ConstTable___ht, (((s__Args_real_impl))), (i)))), (- 1))) - depth))) // INLINED!! + return (LoadReal(Table__ht, ((((LoadInteger(ConstTable__ht, (((s__Args_real_impl))), (i)))))), ((LoadInteger(Table__ht, ((LoadInteger(ConstTable__ht, (((s__Args_real_impl))), (i)))), (- 1))) - depth))) // INLINED!! endfunction function s__Args_realDestroyStack takes integer whichStack returns nothing - call s__Table_destroy((LoadInteger(ConstTable___ht, (((s__Args_real_impl))), (whichStack)))) // INLINED!! + call s__Table_destroy((LoadInteger(ConstTable__ht, (((s__Args_real_impl))), (whichStack)))) // INLINED!! endfunction //end of: ArgumentStack_Field("real","Real") //textmacro instance: ArgumentStack_Field("integer","Integer") function s__Args_setInteger takes integer i,integer value returns nothing - local integer stack= (LoadInteger(ConstTable___ht, (((s__Args_integer_impl))), (i))) // INLINED!! + local integer stack= (LoadInteger(ConstTable__ht, (((s__Args_integer_impl))), (i))) // INLINED!! local integer current if stack == 0 then set stack=s__Table_create() - call SaveInteger(ConstTable___ht, (((s__Args_integer_impl))), (i), ( stack)) // INLINED!! - call SaveInteger(Table___ht, (stack), (- 1), ( 0)) // INLINED!! + call SaveInteger(ConstTable__ht, (((s__Args_integer_impl))), (i), ( stack)) // INLINED!! + call SaveInteger(Table__ht, (stack), (- 1), ( 0)) // INLINED!! set current=0 else - set current=(LoadInteger(Table___ht, (stack), (- 1))) + 1 // INLINED!! - call SaveInteger(Table___ht, (stack), (- 1), ( current)) // INLINED!! + set current=(LoadInteger(Table__ht, (stack), (- 1))) + 1 // INLINED!! + call SaveInteger(Table__ht, (stack), (- 1), ( current)) // INLINED!! endif - call SaveInteger(Table___ht, (((stack))), (current), ( value)) // INLINED!! + call SaveInteger(Table__ht, (((stack))), (current), ( value)) // INLINED!! endfunction function s__Args_getInteger takes integer i returns integer - return (LoadInteger(Table___ht, ((((LoadInteger(ConstTable___ht, (((s__Args_integer_impl))), (i)))))), ((LoadInteger(Table___ht, ((LoadInteger(ConstTable___ht, (((s__Args_integer_impl))), (i)))), (- 1)))))) // INLINED!! + return (LoadInteger(Table__ht, ((((LoadInteger(ConstTable__ht, (((s__Args_integer_impl))), (i)))))), ((LoadInteger(Table__ht, ((LoadInteger(ConstTable__ht, (((s__Args_integer_impl))), (i)))), (- 1)))))) // INLINED!! endfunction function s__Args_freeInteger takes integer i returns nothing - local integer stack= (LoadInteger(ConstTable___ht, (((s__Args_integer_impl))), (i))) // INLINED!! - local integer current= (LoadInteger(Table___ht, (stack), (- 1))) // INLINED!! - call RemoveSavedInteger(Table___ht, (((stack))), (current)) // INLINED!! - call SaveInteger(Table___ht, (stack), (- 1), ( current - 1)) // INLINED!! + local integer stack= (LoadInteger(ConstTable__ht, (((s__Args_integer_impl))), (i))) // INLINED!! + local integer current= (LoadInteger(Table__ht, (stack), (- 1))) // INLINED!! + call RemoveSavedInteger(Table__ht, (((stack))), (current)) // INLINED!! + call SaveInteger(Table__ht, (stack), (- 1), ( current - 1)) // INLINED!! endfunction // Methods that inline, for textmacros @@ -6696,41 +6696,41 @@ endfunction // Advanced methods function s__Args_integerGetDepth takes integer i returns integer - return (LoadInteger(Table___ht, ((LoadInteger(ConstTable___ht, (((s__Args_integer_impl))), (i)))), (- 1))) + 1 // INLINED!! + return (LoadInteger(Table__ht, ((LoadInteger(ConstTable__ht, (((s__Args_integer_impl))), (i)))), (- 1))) + 1 // INLINED!! endfunction function s__Args_integerDig takes integer i,integer depth returns integer - return (LoadInteger(Table___ht, ((((LoadInteger(ConstTable___ht, (((s__Args_integer_impl))), (i)))))), ((LoadInteger(Table___ht, ((LoadInteger(ConstTable___ht, (((s__Args_integer_impl))), (i)))), (- 1))) - depth))) // INLINED!! + return (LoadInteger(Table__ht, ((((LoadInteger(ConstTable__ht, (((s__Args_integer_impl))), (i)))))), ((LoadInteger(Table__ht, ((LoadInteger(ConstTable__ht, (((s__Args_integer_impl))), (i)))), (- 1))) - depth))) // INLINED!! endfunction function s__Args_integerDestroyStack takes integer whichStack returns nothing - call s__Table_destroy((LoadInteger(ConstTable___ht, (((s__Args_integer_impl))), (whichStack)))) // INLINED!! + call s__Table_destroy((LoadInteger(ConstTable__ht, (((s__Args_integer_impl))), (whichStack)))) // INLINED!! endfunction //end of: ArgumentStack_Field("integer","Integer") //textmacro instance: ArgumentStack_Field("boolean","Boolean") function s__Args_setBoolean takes integer i,boolean value returns nothing - local integer stack= (LoadInteger(ConstTable___ht, (((s__Args_boolean_impl))), (i))) // INLINED!! + local integer stack= (LoadInteger(ConstTable__ht, (((s__Args_boolean_impl))), (i))) // INLINED!! local integer current if stack == 0 then set stack=s__Table_create() - call SaveInteger(ConstTable___ht, (((s__Args_boolean_impl))), (i), ( stack)) // INLINED!! - call SaveInteger(Table___ht, (stack), (- 1), ( 0)) // INLINED!! + call SaveInteger(ConstTable__ht, (((s__Args_boolean_impl))), (i), ( stack)) // INLINED!! + call SaveInteger(Table__ht, (stack), (- 1), ( 0)) // INLINED!! set current=0 else - set current=(LoadInteger(Table___ht, (stack), (- 1))) + 1 // INLINED!! - call SaveInteger(Table___ht, (stack), (- 1), ( current)) // INLINED!! + set current=(LoadInteger(Table__ht, (stack), (- 1))) + 1 // INLINED!! + call SaveInteger(Table__ht, (stack), (- 1), ( current)) // INLINED!! endif - call SaveBoolean(Table___ht, (((stack))), (current), ( value)) // INLINED!! + call SaveBoolean(Table__ht, (((stack))), (current), ( value)) // INLINED!! endfunction function s__Args_getBoolean takes integer i returns boolean - return (LoadBoolean(Table___ht, ((((LoadInteger(ConstTable___ht, (((s__Args_boolean_impl))), (i)))))), ((LoadInteger(Table___ht, ((LoadInteger(ConstTable___ht, (((s__Args_boolean_impl))), (i)))), (- 1)))))) // INLINED!! + return (LoadBoolean(Table__ht, ((((LoadInteger(ConstTable__ht, (((s__Args_boolean_impl))), (i)))))), ((LoadInteger(Table__ht, ((LoadInteger(ConstTable__ht, (((s__Args_boolean_impl))), (i)))), (- 1)))))) // INLINED!! endfunction function s__Args_freeBoolean takes integer i returns nothing - local integer stack= (LoadInteger(ConstTable___ht, (((s__Args_boolean_impl))), (i))) // INLINED!! - local integer current= (LoadInteger(Table___ht, (stack), (- 1))) // INLINED!! - call RemoveSavedBoolean(Table___ht, (((stack))), (current)) // INLINED!! - call SaveInteger(Table___ht, (stack), (- 1), ( current - 1)) // INLINED!! + local integer stack= (LoadInteger(ConstTable__ht, (((s__Args_boolean_impl))), (i))) // INLINED!! + local integer current= (LoadInteger(Table__ht, (stack), (- 1))) // INLINED!! + call RemoveSavedBoolean(Table__ht, (((stack))), (current)) // INLINED!! + call SaveInteger(Table__ht, (stack), (- 1), ( current - 1)) // INLINED!! endfunction // Methods that inline, for textmacros @@ -6746,41 +6746,41 @@ endfunction // Advanced methods function s__Args_booleanGetDepth takes integer i returns integer - return (LoadInteger(Table___ht, ((LoadInteger(ConstTable___ht, (((s__Args_boolean_impl))), (i)))), (- 1))) + 1 // INLINED!! + return (LoadInteger(Table__ht, ((LoadInteger(ConstTable__ht, (((s__Args_boolean_impl))), (i)))), (- 1))) + 1 // INLINED!! endfunction function s__Args_booleanDig takes integer i,integer depth returns boolean - return (LoadBoolean(Table___ht, ((((LoadInteger(ConstTable___ht, (((s__Args_boolean_impl))), (i)))))), ((LoadInteger(Table___ht, ((LoadInteger(ConstTable___ht, (((s__Args_boolean_impl))), (i)))), (- 1))) - depth))) // INLINED!! + return (LoadBoolean(Table__ht, ((((LoadInteger(ConstTable__ht, (((s__Args_boolean_impl))), (i)))))), ((LoadInteger(Table__ht, ((LoadInteger(ConstTable__ht, (((s__Args_boolean_impl))), (i)))), (- 1))) - depth))) // INLINED!! endfunction function s__Args_booleanDestroyStack takes integer whichStack returns nothing - call s__Table_destroy((LoadInteger(ConstTable___ht, (((s__Args_boolean_impl))), (whichStack)))) // INLINED!! + call s__Table_destroy((LoadInteger(ConstTable__ht, (((s__Args_boolean_impl))), (whichStack)))) // INLINED!! endfunction //end of: ArgumentStack_Field("boolean","Boolean") //textmacro instance: ArgumentStack_Field("string","String") function s__Args_setString takes integer i,string value returns nothing - local integer stack= (LoadInteger(ConstTable___ht, (((s__Args_string_impl))), (i))) // INLINED!! + local integer stack= (LoadInteger(ConstTable__ht, (((s__Args_string_impl))), (i))) // INLINED!! local integer current if stack == 0 then set stack=s__Table_create() - call SaveInteger(ConstTable___ht, (((s__Args_string_impl))), (i), ( stack)) // INLINED!! - call SaveInteger(Table___ht, (stack), (- 1), ( 0)) // INLINED!! + call SaveInteger(ConstTable__ht, (((s__Args_string_impl))), (i), ( stack)) // INLINED!! + call SaveInteger(Table__ht, (stack), (- 1), ( 0)) // INLINED!! set current=0 else - set current=(LoadInteger(Table___ht, (stack), (- 1))) + 1 // INLINED!! - call SaveInteger(Table___ht, (stack), (- 1), ( current)) // INLINED!! + set current=(LoadInteger(Table__ht, (stack), (- 1))) + 1 // INLINED!! + call SaveInteger(Table__ht, (stack), (- 1), ( current)) // INLINED!! endif - call SaveStr(Table___ht, (((stack))), (current), ( value)) // INLINED!! + call SaveStr(Table__ht, (((stack))), (current), ( value)) // INLINED!! endfunction function s__Args_getString takes integer i returns string - return (LoadStr(Table___ht, ((((LoadInteger(ConstTable___ht, (((s__Args_string_impl))), (i)))))), ((LoadInteger(Table___ht, ((LoadInteger(ConstTable___ht, (((s__Args_string_impl))), (i)))), (- 1)))))) // INLINED!! + return (LoadStr(Table__ht, ((((LoadInteger(ConstTable__ht, (((s__Args_string_impl))), (i)))))), ((LoadInteger(Table__ht, ((LoadInteger(ConstTable__ht, (((s__Args_string_impl))), (i)))), (- 1)))))) // INLINED!! endfunction function s__Args_freeString takes integer i returns nothing - local integer stack= (LoadInteger(ConstTable___ht, (((s__Args_string_impl))), (i))) // INLINED!! - local integer current= (LoadInteger(Table___ht, (stack), (- 1))) // INLINED!! - call RemoveSavedString(Table___ht, (((stack))), (current)) // INLINED!! - call SaveInteger(Table___ht, (stack), (- 1), ( current - 1)) // INLINED!! + local integer stack= (LoadInteger(ConstTable__ht, (((s__Args_string_impl))), (i))) // INLINED!! + local integer current= (LoadInteger(Table__ht, (stack), (- 1))) // INLINED!! + call RemoveSavedString(Table__ht, (((stack))), (current)) // INLINED!! + call SaveInteger(Table__ht, (stack), (- 1), ( current - 1)) // INLINED!! endfunction // Methods that inline, for textmacros @@ -6796,15 +6796,15 @@ endfunction // Advanced methods function s__Args_stringGetDepth takes integer i returns integer - return (LoadInteger(Table___ht, ((LoadInteger(ConstTable___ht, (((s__Args_string_impl))), (i)))), (- 1))) + 1 // INLINED!! + return (LoadInteger(Table__ht, ((LoadInteger(ConstTable__ht, (((s__Args_string_impl))), (i)))), (- 1))) + 1 // INLINED!! endfunction function s__Args_stringDig takes integer i,integer depth returns string - return (LoadStr(Table___ht, ((((LoadInteger(ConstTable___ht, (((s__Args_string_impl))), (i)))))), ((LoadInteger(Table___ht, ((LoadInteger(ConstTable___ht, (((s__Args_string_impl))), (i)))), (- 1))) - depth))) // INLINED!! + return (LoadStr(Table__ht, ((((LoadInteger(ConstTable__ht, (((s__Args_string_impl))), (i)))))), ((LoadInteger(Table__ht, ((LoadInteger(ConstTable__ht, (((s__Args_string_impl))), (i)))), (- 1))) - depth))) // INLINED!! endfunction function s__Args_stringDestroyStack takes integer whichStack returns nothing - call s__Table_destroy((LoadInteger(ConstTable___ht, (((s__Args_string_impl))), (whichStack)))) // INLINED!! + call s__Table_destroy((LoadInteger(ConstTable__ht, (((s__Args_string_impl))), (whichStack)))) // INLINED!! endfunction //end of: ArgumentStack_Field("string","String") @@ -6813,7 +6813,7 @@ function s__Args_setPlayer takes integer i,player value returns nothing call s__Args_setAgent(s__Args_player_impl , i , value) endfunction function s__Args_getPlayer takes integer i returns player - return (LoadPlayerHandle(Table___ht, ((((LoadInteger(ConstTable___ht, (((s__Args_player_impl))), (i)))))), ((LoadInteger(Table___ht, ((LoadInteger(ConstTable___ht, (((s__Args_player_impl))), (i)))), (- 1)))))) // INLINED!! + return (LoadPlayerHandle(Table__ht, ((((LoadInteger(ConstTable__ht, (((s__Args_player_impl))), (i)))))), ((LoadInteger(Table__ht, ((LoadInteger(ConstTable__ht, (((s__Args_player_impl))), (i)))), (- 1)))))) // INLINED!! endfunction function s__Args_freePlayer takes integer i returns nothing call s__Args_freeHandle(s__Args_player_impl , i) @@ -6832,15 +6832,15 @@ endfunction // Advanced methods function s__Args_playerGetDepth takes integer i returns integer - return (LoadInteger(Table___ht, ((LoadInteger(ConstTable___ht, (((s__Args_player_impl))), (i)))), (- 1))) + 1 // INLINED!! + return (LoadInteger(Table__ht, ((LoadInteger(ConstTable__ht, (((s__Args_player_impl))), (i)))), (- 1))) + 1 // INLINED!! endfunction function s__Args_playerDig takes integer i,integer depth returns player - return (LoadPlayerHandle(Table___ht, ((((LoadInteger(ConstTable___ht, (((s__Args_player_impl))), (i)))))), ((LoadInteger(Table___ht, ((LoadInteger(ConstTable___ht, (((s__Args_player_impl))), (i)))), (- 1))) - depth))) // INLINED!! + return (LoadPlayerHandle(Table__ht, ((((LoadInteger(ConstTable__ht, (((s__Args_player_impl))), (i)))))), ((LoadInteger(Table__ht, ((LoadInteger(ConstTable__ht, (((s__Args_player_impl))), (i)))), (- 1))) - depth))) // INLINED!! endfunction function s__Args_playerDestroyStack takes integer whichStack returns nothing - call s__Table_destroy((LoadInteger(ConstTable___ht, (((s__Args_player_impl))), (whichStack)))) // INLINED!! + call s__Table_destroy((LoadInteger(ConstTable__ht, (((s__Args_player_impl))), (whichStack)))) // INLINED!! endfunction //end of: ArgumentStack_AgentField("player","Player") //textmacro instance: ArgumentStack_AgentField("widget","Widget") @@ -6848,7 +6848,7 @@ function s__Args_setWidget takes integer i,widget value returns nothing call s__Args_setAgent(s__Args_widget_impl , i , value) endfunction function s__Args_getWidget takes integer i returns widget - return (LoadWidgetHandle(Table___ht, ((((LoadInteger(ConstTable___ht, (((s__Args_widget_impl))), (i)))))), ((LoadInteger(Table___ht, ((LoadInteger(ConstTable___ht, (((s__Args_widget_impl))), (i)))), (- 1)))))) // INLINED!! + return (LoadWidgetHandle(Table__ht, ((((LoadInteger(ConstTable__ht, (((s__Args_widget_impl))), (i)))))), ((LoadInteger(Table__ht, ((LoadInteger(ConstTable__ht, (((s__Args_widget_impl))), (i)))), (- 1)))))) // INLINED!! endfunction function s__Args_freeWidget takes integer i returns nothing call s__Args_freeHandle(s__Args_widget_impl , i) @@ -6867,15 +6867,15 @@ endfunction // Advanced methods function s__Args_widgetGetDepth takes integer i returns integer - return (LoadInteger(Table___ht, ((LoadInteger(ConstTable___ht, (((s__Args_widget_impl))), (i)))), (- 1))) + 1 // INLINED!! + return (LoadInteger(Table__ht, ((LoadInteger(ConstTable__ht, (((s__Args_widget_impl))), (i)))), (- 1))) + 1 // INLINED!! endfunction function s__Args_widgetDig takes integer i,integer depth returns widget - return (LoadWidgetHandle(Table___ht, ((((LoadInteger(ConstTable___ht, (((s__Args_widget_impl))), (i)))))), ((LoadInteger(Table___ht, ((LoadInteger(ConstTable___ht, (((s__Args_widget_impl))), (i)))), (- 1))) - depth))) // INLINED!! + return (LoadWidgetHandle(Table__ht, ((((LoadInteger(ConstTable__ht, (((s__Args_widget_impl))), (i)))))), ((LoadInteger(Table__ht, ((LoadInteger(ConstTable__ht, (((s__Args_widget_impl))), (i)))), (- 1))) - depth))) // INLINED!! endfunction function s__Args_widgetDestroyStack takes integer whichStack returns nothing - call s__Table_destroy((LoadInteger(ConstTable___ht, (((s__Args_widget_impl))), (whichStack)))) // INLINED!! + call s__Table_destroy((LoadInteger(ConstTable__ht, (((s__Args_widget_impl))), (whichStack)))) // INLINED!! endfunction //end of: ArgumentStack_AgentField("widget","Widget") //textmacro instance: ArgumentStack_AgentField("destructable","Destructable") @@ -6883,7 +6883,7 @@ function s__Args_setDestructable takes integer i,destructable value returns noth call s__Args_setAgent(s__Args_destructable_impl , i , value) endfunction function s__Args_getDestructable takes integer i returns destructable - return (LoadDestructableHandle(Table___ht, ((((LoadInteger(ConstTable___ht, (((s__Args_destructable_impl))), (i)))))), ((LoadInteger(Table___ht, ((LoadInteger(ConstTable___ht, (((s__Args_destructable_impl))), (i)))), (- 1)))))) // INLINED!! + return (LoadDestructableHandle(Table__ht, ((((LoadInteger(ConstTable__ht, (((s__Args_destructable_impl))), (i)))))), ((LoadInteger(Table__ht, ((LoadInteger(ConstTable__ht, (((s__Args_destructable_impl))), (i)))), (- 1)))))) // INLINED!! endfunction function s__Args_freeDestructable takes integer i returns nothing call s__Args_freeHandle(s__Args_destructable_impl , i) @@ -6902,15 +6902,15 @@ endfunction // Advanced methods function s__Args_destructableGetDepth takes integer i returns integer - return (LoadInteger(Table___ht, ((LoadInteger(ConstTable___ht, (((s__Args_destructable_impl))), (i)))), (- 1))) + 1 // INLINED!! + return (LoadInteger(Table__ht, ((LoadInteger(ConstTable__ht, (((s__Args_destructable_impl))), (i)))), (- 1))) + 1 // INLINED!! endfunction function s__Args_destructableDig takes integer i,integer depth returns destructable - return (LoadDestructableHandle(Table___ht, ((((LoadInteger(ConstTable___ht, (((s__Args_destructable_impl))), (i)))))), ((LoadInteger(Table___ht, ((LoadInteger(ConstTable___ht, (((s__Args_destructable_impl))), (i)))), (- 1))) - depth))) // INLINED!! + return (LoadDestructableHandle(Table__ht, ((((LoadInteger(ConstTable__ht, (((s__Args_destructable_impl))), (i)))))), ((LoadInteger(Table__ht, ((LoadInteger(ConstTable__ht, (((s__Args_destructable_impl))), (i)))), (- 1))) - depth))) // INLINED!! endfunction function s__Args_destructableDestroyStack takes integer whichStack returns nothing - call s__Table_destroy((LoadInteger(ConstTable___ht, (((s__Args_destructable_impl))), (whichStack)))) // INLINED!! + call s__Table_destroy((LoadInteger(ConstTable__ht, (((s__Args_destructable_impl))), (whichStack)))) // INLINED!! endfunction //end of: ArgumentStack_AgentField("destructable","Destructable") //textmacro instance: ArgumentStack_AgentField("item","Item") @@ -6918,7 +6918,7 @@ function s__Args_setItem takes integer i,item value returns nothing call s__Args_setAgent(s__Args_item_impl , i , value) endfunction function s__Args_getItem takes integer i returns item - return (LoadItemHandle(Table___ht, ((((LoadInteger(ConstTable___ht, (((s__Args_item_impl))), (i)))))), ((LoadInteger(Table___ht, ((LoadInteger(ConstTable___ht, (((s__Args_item_impl))), (i)))), (- 1)))))) // INLINED!! + return (LoadItemHandle(Table__ht, ((((LoadInteger(ConstTable__ht, (((s__Args_item_impl))), (i)))))), ((LoadInteger(Table__ht, ((LoadInteger(ConstTable__ht, (((s__Args_item_impl))), (i)))), (- 1)))))) // INLINED!! endfunction function s__Args_freeItem takes integer i returns nothing call s__Args_freeHandle(s__Args_item_impl , i) @@ -6937,15 +6937,15 @@ endfunction // Advanced methods function s__Args_itemGetDepth takes integer i returns integer - return (LoadInteger(Table___ht, ((LoadInteger(ConstTable___ht, (((s__Args_item_impl))), (i)))), (- 1))) + 1 // INLINED!! + return (LoadInteger(Table__ht, ((LoadInteger(ConstTable__ht, (((s__Args_item_impl))), (i)))), (- 1))) + 1 // INLINED!! endfunction function s__Args_itemDig takes integer i,integer depth returns item - return (LoadItemHandle(Table___ht, ((((LoadInteger(ConstTable___ht, (((s__Args_item_impl))), (i)))))), ((LoadInteger(Table___ht, ((LoadInteger(ConstTable___ht, (((s__Args_item_impl))), (i)))), (- 1))) - depth))) // INLINED!! + return (LoadItemHandle(Table__ht, ((((LoadInteger(ConstTable__ht, (((s__Args_item_impl))), (i)))))), ((LoadInteger(Table__ht, ((LoadInteger(ConstTable__ht, (((s__Args_item_impl))), (i)))), (- 1))) - depth))) // INLINED!! endfunction function s__Args_itemDestroyStack takes integer whichStack returns nothing - call s__Table_destroy((LoadInteger(ConstTable___ht, (((s__Args_item_impl))), (whichStack)))) // INLINED!! + call s__Table_destroy((LoadInteger(ConstTable__ht, (((s__Args_item_impl))), (whichStack)))) // INLINED!! endfunction //end of: ArgumentStack_AgentField("item","Item") //textmacro instance: ArgumentStack_AgentField("unit","Unit") @@ -6953,7 +6953,7 @@ function s__Args_setUnit takes integer i,unit value returns nothing call s__Args_setAgent(s__Args_unit_impl , i , value) endfunction function s__Args_getUnit takes integer i returns unit - return (LoadUnitHandle(Table___ht, ((((LoadInteger(ConstTable___ht, (((s__Args_unit_impl))), (i)))))), ((LoadInteger(Table___ht, ((LoadInteger(ConstTable___ht, (((s__Args_unit_impl))), (i)))), (- 1)))))) // INLINED!! + return (LoadUnitHandle(Table__ht, ((((LoadInteger(ConstTable__ht, (((s__Args_unit_impl))), (i)))))), ((LoadInteger(Table__ht, ((LoadInteger(ConstTable__ht, (((s__Args_unit_impl))), (i)))), (- 1)))))) // INLINED!! endfunction function s__Args_freeUnit takes integer i returns nothing call s__Args_freeHandle(s__Args_unit_impl , i) @@ -6972,15 +6972,15 @@ endfunction // Advanced methods function s__Args_unitGetDepth takes integer i returns integer - return (LoadInteger(Table___ht, ((LoadInteger(ConstTable___ht, (((s__Args_unit_impl))), (i)))), (- 1))) + 1 // INLINED!! + return (LoadInteger(Table__ht, ((LoadInteger(ConstTable__ht, (((s__Args_unit_impl))), (i)))), (- 1))) + 1 // INLINED!! endfunction function s__Args_unitDig takes integer i,integer depth returns unit - return (LoadUnitHandle(Table___ht, ((((LoadInteger(ConstTable___ht, (((s__Args_unit_impl))), (i)))))), ((LoadInteger(Table___ht, ((LoadInteger(ConstTable___ht, (((s__Args_unit_impl))), (i)))), (- 1))) - depth))) // INLINED!! + return (LoadUnitHandle(Table__ht, ((((LoadInteger(ConstTable__ht, (((s__Args_unit_impl))), (i)))))), ((LoadInteger(Table__ht, ((LoadInteger(ConstTable__ht, (((s__Args_unit_impl))), (i)))), (- 1))) - depth))) // INLINED!! endfunction function s__Args_unitDestroyStack takes integer whichStack returns nothing - call s__Table_destroy((LoadInteger(ConstTable___ht, (((s__Args_unit_impl))), (whichStack)))) // INLINED!! + call s__Table_destroy((LoadInteger(ConstTable__ht, (((s__Args_unit_impl))), (whichStack)))) // INLINED!! endfunction //end of: ArgumentStack_AgentField("unit","Unit") //textmacro instance: ArgumentStack_AgentField("ability","Ability") @@ -6988,7 +6988,7 @@ function s__Args_setAbility takes integer i,ability value returns nothing call s__Args_setAgent(s__Args_ability_impl , i , value) endfunction function s__Args_getAbility takes integer i returns ability - return (LoadAbilityHandle(Table___ht, ((((LoadInteger(ConstTable___ht, (((s__Args_ability_impl))), (i)))))), ((LoadInteger(Table___ht, ((LoadInteger(ConstTable___ht, (((s__Args_ability_impl))), (i)))), (- 1)))))) // INLINED!! + return (LoadAbilityHandle(Table__ht, ((((LoadInteger(ConstTable__ht, (((s__Args_ability_impl))), (i)))))), ((LoadInteger(Table__ht, ((LoadInteger(ConstTable__ht, (((s__Args_ability_impl))), (i)))), (- 1)))))) // INLINED!! endfunction function s__Args_freeAbility takes integer i returns nothing call s__Args_freeHandle(s__Args_ability_impl , i) @@ -7007,15 +7007,15 @@ endfunction // Advanced methods function s__Args_abilityGetDepth takes integer i returns integer - return (LoadInteger(Table___ht, ((LoadInteger(ConstTable___ht, (((s__Args_ability_impl))), (i)))), (- 1))) + 1 // INLINED!! + return (LoadInteger(Table__ht, ((LoadInteger(ConstTable__ht, (((s__Args_ability_impl))), (i)))), (- 1))) + 1 // INLINED!! endfunction function s__Args_abilityDig takes integer i,integer depth returns ability - return (LoadAbilityHandle(Table___ht, ((((LoadInteger(ConstTable___ht, (((s__Args_ability_impl))), (i)))))), ((LoadInteger(Table___ht, ((LoadInteger(ConstTable___ht, (((s__Args_ability_impl))), (i)))), (- 1))) - depth))) // INLINED!! + return (LoadAbilityHandle(Table__ht, ((((LoadInteger(ConstTable__ht, (((s__Args_ability_impl))), (i)))))), ((LoadInteger(Table__ht, ((LoadInteger(ConstTable__ht, (((s__Args_ability_impl))), (i)))), (- 1))) - depth))) // INLINED!! endfunction function s__Args_abilityDestroyStack takes integer whichStack returns nothing - call s__Table_destroy((LoadInteger(ConstTable___ht, (((s__Args_ability_impl))), (whichStack)))) // INLINED!! + call s__Table_destroy((LoadInteger(ConstTable__ht, (((s__Args_ability_impl))), (whichStack)))) // INLINED!! endfunction //end of: ArgumentStack_AgentField("ability","Ability") //textmacro instance: ArgumentStack_AgentField("timer","Timer") @@ -7023,7 +7023,7 @@ function s__Args_setTimer takes integer i,timer value returns nothing call s__Args_setAgent(s__Args_timer_impl , i , value) endfunction function s__Args_getTimer takes integer i returns timer - return (LoadTimerHandle(Table___ht, ((((LoadInteger(ConstTable___ht, (((s__Args_timer_impl))), (i)))))), ((LoadInteger(Table___ht, ((LoadInteger(ConstTable___ht, (((s__Args_timer_impl))), (i)))), (- 1)))))) // INLINED!! + return (LoadTimerHandle(Table__ht, ((((LoadInteger(ConstTable__ht, (((s__Args_timer_impl))), (i)))))), ((LoadInteger(Table__ht, ((LoadInteger(ConstTable__ht, (((s__Args_timer_impl))), (i)))), (- 1)))))) // INLINED!! endfunction function s__Args_freeTimer takes integer i returns nothing call s__Args_freeHandle(s__Args_timer_impl , i) @@ -7042,15 +7042,15 @@ endfunction // Advanced methods function s__Args_timerGetDepth takes integer i returns integer - return (LoadInteger(Table___ht, ((LoadInteger(ConstTable___ht, (((s__Args_timer_impl))), (i)))), (- 1))) + 1 // INLINED!! + return (LoadInteger(Table__ht, ((LoadInteger(ConstTable__ht, (((s__Args_timer_impl))), (i)))), (- 1))) + 1 // INLINED!! endfunction function s__Args_timerDig takes integer i,integer depth returns timer - return (LoadTimerHandle(Table___ht, ((((LoadInteger(ConstTable___ht, (((s__Args_timer_impl))), (i)))))), ((LoadInteger(Table___ht, ((LoadInteger(ConstTable___ht, (((s__Args_timer_impl))), (i)))), (- 1))) - depth))) // INLINED!! + return (LoadTimerHandle(Table__ht, ((((LoadInteger(ConstTable__ht, (((s__Args_timer_impl))), (i)))))), ((LoadInteger(Table__ht, ((LoadInteger(ConstTable__ht, (((s__Args_timer_impl))), (i)))), (- 1))) - depth))) // INLINED!! endfunction function s__Args_timerDestroyStack takes integer whichStack returns nothing - call s__Table_destroy((LoadInteger(ConstTable___ht, (((s__Args_timer_impl))), (whichStack)))) // INLINED!! + call s__Table_destroy((LoadInteger(ConstTable__ht, (((s__Args_timer_impl))), (whichStack)))) // INLINED!! endfunction //end of: ArgumentStack_AgentField("timer","Timer") //textmacro instance: ArgumentStack_AgentField("trigger","Trigger") @@ -7058,7 +7058,7 @@ function s__Args_setTrigger takes integer i,trigger value returns nothing call s__Args_setAgent(s__Args_trigger_impl , i , value) endfunction function s__Args_getTrigger takes integer i returns trigger - return (LoadTriggerHandle(Table___ht, ((((LoadInteger(ConstTable___ht, (((s__Args_trigger_impl))), (i)))))), ((LoadInteger(Table___ht, ((LoadInteger(ConstTable___ht, (((s__Args_trigger_impl))), (i)))), (- 1)))))) // INLINED!! + return (LoadTriggerHandle(Table__ht, ((((LoadInteger(ConstTable__ht, (((s__Args_trigger_impl))), (i)))))), ((LoadInteger(Table__ht, ((LoadInteger(ConstTable__ht, (((s__Args_trigger_impl))), (i)))), (- 1)))))) // INLINED!! endfunction function s__Args_freeTrigger takes integer i returns nothing call s__Args_freeHandle(s__Args_trigger_impl , i) @@ -7077,15 +7077,15 @@ endfunction // Advanced methods function s__Args_triggerGetDepth takes integer i returns integer - return (LoadInteger(Table___ht, ((LoadInteger(ConstTable___ht, (((s__Args_trigger_impl))), (i)))), (- 1))) + 1 // INLINED!! + return (LoadInteger(Table__ht, ((LoadInteger(ConstTable__ht, (((s__Args_trigger_impl))), (i)))), (- 1))) + 1 // INLINED!! endfunction function s__Args_triggerDig takes integer i,integer depth returns trigger - return (LoadTriggerHandle(Table___ht, ((((LoadInteger(ConstTable___ht, (((s__Args_trigger_impl))), (i)))))), ((LoadInteger(Table___ht, ((LoadInteger(ConstTable___ht, (((s__Args_trigger_impl))), (i)))), (- 1))) - depth))) // INLINED!! + return (LoadTriggerHandle(Table__ht, ((((LoadInteger(ConstTable__ht, (((s__Args_trigger_impl))), (i)))))), ((LoadInteger(Table__ht, ((LoadInteger(ConstTable__ht, (((s__Args_trigger_impl))), (i)))), (- 1))) - depth))) // INLINED!! endfunction function s__Args_triggerDestroyStack takes integer whichStack returns nothing - call s__Table_destroy((LoadInteger(ConstTable___ht, (((s__Args_trigger_impl))), (whichStack)))) // INLINED!! + call s__Table_destroy((LoadInteger(ConstTable__ht, (((s__Args_trigger_impl))), (whichStack)))) // INLINED!! endfunction //end of: ArgumentStack_AgentField("trigger","Trigger") //textmacro instance: ArgumentStack_AgentField("triggercondition","Triggercondition") @@ -7093,7 +7093,7 @@ function s__Args_setTriggercondition takes integer i,triggercondition value retu call s__Args_setAgent(s__Args_triggercondition_impl , i , value) endfunction function s__Args_getTriggercondition takes integer i returns triggercondition - return (LoadTriggerConditionHandle(Table___ht, ((((LoadInteger(ConstTable___ht, (((s__Args_triggercondition_impl))), (i)))))), ((LoadInteger(Table___ht, ((LoadInteger(ConstTable___ht, (((s__Args_triggercondition_impl))), (i)))), (- 1)))))) // INLINED!! + return (LoadTriggerConditionHandle(Table__ht, ((((LoadInteger(ConstTable__ht, (((s__Args_triggercondition_impl))), (i)))))), ((LoadInteger(Table__ht, ((LoadInteger(ConstTable__ht, (((s__Args_triggercondition_impl))), (i)))), (- 1)))))) // INLINED!! endfunction function s__Args_freeTriggercondition takes integer i returns nothing call s__Args_freeHandle(s__Args_triggercondition_impl , i) @@ -7112,15 +7112,15 @@ endfunction // Advanced methods function s__Args_triggerconditionGetDepth takes integer i returns integer - return (LoadInteger(Table___ht, ((LoadInteger(ConstTable___ht, (((s__Args_triggercondition_impl))), (i)))), (- 1))) + 1 // INLINED!! + return (LoadInteger(Table__ht, ((LoadInteger(ConstTable__ht, (((s__Args_triggercondition_impl))), (i)))), (- 1))) + 1 // INLINED!! endfunction function s__Args_triggerconditionDig takes integer i,integer depth returns triggercondition - return (LoadTriggerConditionHandle(Table___ht, ((((LoadInteger(ConstTable___ht, (((s__Args_triggercondition_impl))), (i)))))), ((LoadInteger(Table___ht, ((LoadInteger(ConstTable___ht, (((s__Args_triggercondition_impl))), (i)))), (- 1))) - depth))) // INLINED!! + return (LoadTriggerConditionHandle(Table__ht, ((((LoadInteger(ConstTable__ht, (((s__Args_triggercondition_impl))), (i)))))), ((LoadInteger(Table__ht, ((LoadInteger(ConstTable__ht, (((s__Args_triggercondition_impl))), (i)))), (- 1))) - depth))) // INLINED!! endfunction function s__Args_triggerconditionDestroyStack takes integer whichStack returns nothing - call s__Table_destroy((LoadInteger(ConstTable___ht, (((s__Args_triggercondition_impl))), (whichStack)))) // INLINED!! + call s__Table_destroy((LoadInteger(ConstTable__ht, (((s__Args_triggercondition_impl))), (whichStack)))) // INLINED!! endfunction //end of: ArgumentStack_AgentField("triggercondition","Triggercondition") //textmacro instance: ArgumentStack_AgentField("event","Event") @@ -7128,7 +7128,7 @@ function s__Args_setEvent takes integer i,event value returns nothing call s__Args_setAgent(s__Args_event_impl , i , value) endfunction function s__Args_getEvent takes integer i returns event - return (LoadTriggerEventHandle(Table___ht, ((((LoadInteger(ConstTable___ht, (((s__Args_event_impl))), (i)))))), ((LoadInteger(Table___ht, ((LoadInteger(ConstTable___ht, (((s__Args_event_impl))), (i)))), (- 1)))))) // INLINED!! + return (LoadTriggerEventHandle(Table__ht, ((((LoadInteger(ConstTable__ht, (((s__Args_event_impl))), (i)))))), ((LoadInteger(Table__ht, ((LoadInteger(ConstTable__ht, (((s__Args_event_impl))), (i)))), (- 1)))))) // INLINED!! endfunction function s__Args_freeEvent takes integer i returns nothing call s__Args_freeHandle(s__Args_event_impl , i) @@ -7147,15 +7147,15 @@ endfunction // Advanced methods function s__Args_eventGetDepth takes integer i returns integer - return (LoadInteger(Table___ht, ((LoadInteger(ConstTable___ht, (((s__Args_event_impl))), (i)))), (- 1))) + 1 // INLINED!! + return (LoadInteger(Table__ht, ((LoadInteger(ConstTable__ht, (((s__Args_event_impl))), (i)))), (- 1))) + 1 // INLINED!! endfunction function s__Args_eventDig takes integer i,integer depth returns event - return (LoadTriggerEventHandle(Table___ht, ((((LoadInteger(ConstTable___ht, (((s__Args_event_impl))), (i)))))), ((LoadInteger(Table___ht, ((LoadInteger(ConstTable___ht, (((s__Args_event_impl))), (i)))), (- 1))) - depth))) // INLINED!! + return (LoadTriggerEventHandle(Table__ht, ((((LoadInteger(ConstTable__ht, (((s__Args_event_impl))), (i)))))), ((LoadInteger(Table__ht, ((LoadInteger(ConstTable__ht, (((s__Args_event_impl))), (i)))), (- 1))) - depth))) // INLINED!! endfunction function s__Args_eventDestroyStack takes integer whichStack returns nothing - call s__Table_destroy((LoadInteger(ConstTable___ht, (((s__Args_event_impl))), (whichStack)))) // INLINED!! + call s__Table_destroy((LoadInteger(ConstTable__ht, (((s__Args_event_impl))), (whichStack)))) // INLINED!! endfunction //end of: ArgumentStack_AgentField("event","Event") //textmacro instance: ArgumentStack_AgentField("force","Force") @@ -7163,7 +7163,7 @@ function s__Args_setForce takes integer i,force value returns nothing call s__Args_setAgent(s__Args_force_impl , i , value) endfunction function s__Args_getForce takes integer i returns force - return (LoadForceHandle(Table___ht, ((((LoadInteger(ConstTable___ht, (((s__Args_force_impl))), (i)))))), ((LoadInteger(Table___ht, ((LoadInteger(ConstTable___ht, (((s__Args_force_impl))), (i)))), (- 1)))))) // INLINED!! + return (LoadForceHandle(Table__ht, ((((LoadInteger(ConstTable__ht, (((s__Args_force_impl))), (i)))))), ((LoadInteger(Table__ht, ((LoadInteger(ConstTable__ht, (((s__Args_force_impl))), (i)))), (- 1)))))) // INLINED!! endfunction function s__Args_freeForce takes integer i returns nothing call s__Args_freeHandle(s__Args_force_impl , i) @@ -7182,15 +7182,15 @@ endfunction // Advanced methods function s__Args_forceGetDepth takes integer i returns integer - return (LoadInteger(Table___ht, ((LoadInteger(ConstTable___ht, (((s__Args_force_impl))), (i)))), (- 1))) + 1 // INLINED!! + return (LoadInteger(Table__ht, ((LoadInteger(ConstTable__ht, (((s__Args_force_impl))), (i)))), (- 1))) + 1 // INLINED!! endfunction function s__Args_forceDig takes integer i,integer depth returns force - return (LoadForceHandle(Table___ht, ((((LoadInteger(ConstTable___ht, (((s__Args_force_impl))), (i)))))), ((LoadInteger(Table___ht, ((LoadInteger(ConstTable___ht, (((s__Args_force_impl))), (i)))), (- 1))) - depth))) // INLINED!! + return (LoadForceHandle(Table__ht, ((((LoadInteger(ConstTable__ht, (((s__Args_force_impl))), (i)))))), ((LoadInteger(Table__ht, ((LoadInteger(ConstTable__ht, (((s__Args_force_impl))), (i)))), (- 1))) - depth))) // INLINED!! endfunction function s__Args_forceDestroyStack takes integer whichStack returns nothing - call s__Table_destroy((LoadInteger(ConstTable___ht, (((s__Args_force_impl))), (whichStack)))) // INLINED!! + call s__Table_destroy((LoadInteger(ConstTable__ht, (((s__Args_force_impl))), (whichStack)))) // INLINED!! endfunction //end of: ArgumentStack_AgentField("force","Force") //textmacro instance: ArgumentStack_AgentField("group","Group") @@ -7198,7 +7198,7 @@ function s__Args_setGroup takes integer i,group value returns nothing call s__Args_setAgent(s__Args_group_impl , i , value) endfunction function s__Args_getGroup takes integer i returns group - return (LoadGroupHandle(Table___ht, ((((LoadInteger(ConstTable___ht, (((s__Args_group_impl))), (i)))))), ((LoadInteger(Table___ht, ((LoadInteger(ConstTable___ht, (((s__Args_group_impl))), (i)))), (- 1)))))) // INLINED!! + return (LoadGroupHandle(Table__ht, ((((LoadInteger(ConstTable__ht, (((s__Args_group_impl))), (i)))))), ((LoadInteger(Table__ht, ((LoadInteger(ConstTable__ht, (((s__Args_group_impl))), (i)))), (- 1)))))) // INLINED!! endfunction function s__Args_freeGroup takes integer i returns nothing call s__Args_freeHandle(s__Args_group_impl , i) @@ -7217,15 +7217,15 @@ endfunction // Advanced methods function s__Args_groupGetDepth takes integer i returns integer - return (LoadInteger(Table___ht, ((LoadInteger(ConstTable___ht, (((s__Args_group_impl))), (i)))), (- 1))) + 1 // INLINED!! + return (LoadInteger(Table__ht, ((LoadInteger(ConstTable__ht, (((s__Args_group_impl))), (i)))), (- 1))) + 1 // INLINED!! endfunction function s__Args_groupDig takes integer i,integer depth returns group - return (LoadGroupHandle(Table___ht, ((((LoadInteger(ConstTable___ht, (((s__Args_group_impl))), (i)))))), ((LoadInteger(Table___ht, ((LoadInteger(ConstTable___ht, (((s__Args_group_impl))), (i)))), (- 1))) - depth))) // INLINED!! + return (LoadGroupHandle(Table__ht, ((((LoadInteger(ConstTable__ht, (((s__Args_group_impl))), (i)))))), ((LoadInteger(Table__ht, ((LoadInteger(ConstTable__ht, (((s__Args_group_impl))), (i)))), (- 1))) - depth))) // INLINED!! endfunction function s__Args_groupDestroyStack takes integer whichStack returns nothing - call s__Table_destroy((LoadInteger(ConstTable___ht, (((s__Args_group_impl))), (whichStack)))) // INLINED!! + call s__Table_destroy((LoadInteger(ConstTable__ht, (((s__Args_group_impl))), (whichStack)))) // INLINED!! endfunction //end of: ArgumentStack_AgentField("group","Group") //textmacro instance: ArgumentStack_AgentField("location","Location") @@ -7233,7 +7233,7 @@ function s__Args_setLocation takes integer i,location value returns nothing call s__Args_setAgent(s__Args_location_impl , i , value) endfunction function s__Args_getLocation takes integer i returns location - return (LoadLocationHandle(Table___ht, ((((LoadInteger(ConstTable___ht, (((s__Args_location_impl))), (i)))))), ((LoadInteger(Table___ht, ((LoadInteger(ConstTable___ht, (((s__Args_location_impl))), (i)))), (- 1)))))) // INLINED!! + return (LoadLocationHandle(Table__ht, ((((LoadInteger(ConstTable__ht, (((s__Args_location_impl))), (i)))))), ((LoadInteger(Table__ht, ((LoadInteger(ConstTable__ht, (((s__Args_location_impl))), (i)))), (- 1)))))) // INLINED!! endfunction function s__Args_freeLocation takes integer i returns nothing call s__Args_freeHandle(s__Args_location_impl , i) @@ -7252,15 +7252,15 @@ endfunction // Advanced methods function s__Args_locationGetDepth takes integer i returns integer - return (LoadInteger(Table___ht, ((LoadInteger(ConstTable___ht, (((s__Args_location_impl))), (i)))), (- 1))) + 1 // INLINED!! + return (LoadInteger(Table__ht, ((LoadInteger(ConstTable__ht, (((s__Args_location_impl))), (i)))), (- 1))) + 1 // INLINED!! endfunction function s__Args_locationDig takes integer i,integer depth returns location - return (LoadLocationHandle(Table___ht, ((((LoadInteger(ConstTable___ht, (((s__Args_location_impl))), (i)))))), ((LoadInteger(Table___ht, ((LoadInteger(ConstTable___ht, (((s__Args_location_impl))), (i)))), (- 1))) - depth))) // INLINED!! + return (LoadLocationHandle(Table__ht, ((((LoadInteger(ConstTable__ht, (((s__Args_location_impl))), (i)))))), ((LoadInteger(Table__ht, ((LoadInteger(ConstTable__ht, (((s__Args_location_impl))), (i)))), (- 1))) - depth))) // INLINED!! endfunction function s__Args_locationDestroyStack takes integer whichStack returns nothing - call s__Table_destroy((LoadInteger(ConstTable___ht, (((s__Args_location_impl))), (whichStack)))) // INLINED!! + call s__Table_destroy((LoadInteger(ConstTable__ht, (((s__Args_location_impl))), (whichStack)))) // INLINED!! endfunction //end of: ArgumentStack_AgentField("location","Location") //textmacro instance: ArgumentStack_AgentField("rect","Rect") @@ -7268,7 +7268,7 @@ function s__Args_setRect takes integer i,rect value returns nothing call s__Args_setAgent(s__Args_rect_impl , i , value) endfunction function s__Args_getRect takes integer i returns rect - return (LoadRectHandle(Table___ht, ((((LoadInteger(ConstTable___ht, (((s__Args_rect_impl))), (i)))))), ((LoadInteger(Table___ht, ((LoadInteger(ConstTable___ht, (((s__Args_rect_impl))), (i)))), (- 1)))))) // INLINED!! + return (LoadRectHandle(Table__ht, ((((LoadInteger(ConstTable__ht, (((s__Args_rect_impl))), (i)))))), ((LoadInteger(Table__ht, ((LoadInteger(ConstTable__ht, (((s__Args_rect_impl))), (i)))), (- 1)))))) // INLINED!! endfunction function s__Args_freeRect takes integer i returns nothing call s__Args_freeHandle(s__Args_rect_impl , i) @@ -7287,15 +7287,15 @@ endfunction // Advanced methods function s__Args_rectGetDepth takes integer i returns integer - return (LoadInteger(Table___ht, ((LoadInteger(ConstTable___ht, (((s__Args_rect_impl))), (i)))), (- 1))) + 1 // INLINED!! + return (LoadInteger(Table__ht, ((LoadInteger(ConstTable__ht, (((s__Args_rect_impl))), (i)))), (- 1))) + 1 // INLINED!! endfunction function s__Args_rectDig takes integer i,integer depth returns rect - return (LoadRectHandle(Table___ht, ((((LoadInteger(ConstTable___ht, (((s__Args_rect_impl))), (i)))))), ((LoadInteger(Table___ht, ((LoadInteger(ConstTable___ht, (((s__Args_rect_impl))), (i)))), (- 1))) - depth))) // INLINED!! + return (LoadRectHandle(Table__ht, ((((LoadInteger(ConstTable__ht, (((s__Args_rect_impl))), (i)))))), ((LoadInteger(Table__ht, ((LoadInteger(ConstTable__ht, (((s__Args_rect_impl))), (i)))), (- 1))) - depth))) // INLINED!! endfunction function s__Args_rectDestroyStack takes integer whichStack returns nothing - call s__Table_destroy((LoadInteger(ConstTable___ht, (((s__Args_rect_impl))), (whichStack)))) // INLINED!! + call s__Table_destroy((LoadInteger(ConstTable__ht, (((s__Args_rect_impl))), (whichStack)))) // INLINED!! endfunction //end of: ArgumentStack_AgentField("rect","Rect") //textmacro instance: ArgumentStack_AgentField("boolexpr","Boolexpr") @@ -7303,7 +7303,7 @@ function s__Args_setBoolexpr takes integer i,boolexpr value returns nothing call s__Args_setAgent(s__Args_boolexpr_impl , i , value) endfunction function s__Args_getBoolexpr takes integer i returns boolexpr - return (LoadBooleanExprHandle(Table___ht, ((((LoadInteger(ConstTable___ht, (((s__Args_boolexpr_impl))), (i)))))), ((LoadInteger(Table___ht, ((LoadInteger(ConstTable___ht, (((s__Args_boolexpr_impl))), (i)))), (- 1)))))) // INLINED!! + return (LoadBooleanExprHandle(Table__ht, ((((LoadInteger(ConstTable__ht, (((s__Args_boolexpr_impl))), (i)))))), ((LoadInteger(Table__ht, ((LoadInteger(ConstTable__ht, (((s__Args_boolexpr_impl))), (i)))), (- 1)))))) // INLINED!! endfunction function s__Args_freeBoolexpr takes integer i returns nothing call s__Args_freeHandle(s__Args_boolexpr_impl , i) @@ -7322,15 +7322,15 @@ endfunction // Advanced methods function s__Args_boolexprGetDepth takes integer i returns integer - return (LoadInteger(Table___ht, ((LoadInteger(ConstTable___ht, (((s__Args_boolexpr_impl))), (i)))), (- 1))) + 1 // INLINED!! + return (LoadInteger(Table__ht, ((LoadInteger(ConstTable__ht, (((s__Args_boolexpr_impl))), (i)))), (- 1))) + 1 // INLINED!! endfunction function s__Args_boolexprDig takes integer i,integer depth returns boolexpr - return (LoadBooleanExprHandle(Table___ht, ((((LoadInteger(ConstTable___ht, (((s__Args_boolexpr_impl))), (i)))))), ((LoadInteger(Table___ht, ((LoadInteger(ConstTable___ht, (((s__Args_boolexpr_impl))), (i)))), (- 1))) - depth))) // INLINED!! + return (LoadBooleanExprHandle(Table__ht, ((((LoadInteger(ConstTable__ht, (((s__Args_boolexpr_impl))), (i)))))), ((LoadInteger(Table__ht, ((LoadInteger(ConstTable__ht, (((s__Args_boolexpr_impl))), (i)))), (- 1))) - depth))) // INLINED!! endfunction function s__Args_boolexprDestroyStack takes integer whichStack returns nothing - call s__Table_destroy((LoadInteger(ConstTable___ht, (((s__Args_boolexpr_impl))), (whichStack)))) // INLINED!! + call s__Table_destroy((LoadInteger(ConstTable__ht, (((s__Args_boolexpr_impl))), (whichStack)))) // INLINED!! endfunction //end of: ArgumentStack_AgentField("boolexpr","Boolexpr") //textmacro instance: ArgumentStack_AgentField("sound","Sound") @@ -7338,7 +7338,7 @@ function s__Args_setSound takes integer i,sound value returns nothing call s__Args_setAgent(s__Args_sound_impl , i , value) endfunction function s__Args_getSound takes integer i returns sound - return (LoadSoundHandle(Table___ht, ((((LoadInteger(ConstTable___ht, (((s__Args_sound_impl))), (i)))))), ((LoadInteger(Table___ht, ((LoadInteger(ConstTable___ht, (((s__Args_sound_impl))), (i)))), (- 1)))))) // INLINED!! + return (LoadSoundHandle(Table__ht, ((((LoadInteger(ConstTable__ht, (((s__Args_sound_impl))), (i)))))), ((LoadInteger(Table__ht, ((LoadInteger(ConstTable__ht, (((s__Args_sound_impl))), (i)))), (- 1)))))) // INLINED!! endfunction function s__Args_freeSound takes integer i returns nothing call s__Args_freeHandle(s__Args_sound_impl , i) @@ -7357,15 +7357,15 @@ endfunction // Advanced methods function s__Args_soundGetDepth takes integer i returns integer - return (LoadInteger(Table___ht, ((LoadInteger(ConstTable___ht, (((s__Args_sound_impl))), (i)))), (- 1))) + 1 // INLINED!! + return (LoadInteger(Table__ht, ((LoadInteger(ConstTable__ht, (((s__Args_sound_impl))), (i)))), (- 1))) + 1 // INLINED!! endfunction function s__Args_soundDig takes integer i,integer depth returns sound - return (LoadSoundHandle(Table___ht, ((((LoadInteger(ConstTable___ht, (((s__Args_sound_impl))), (i)))))), ((LoadInteger(Table___ht, ((LoadInteger(ConstTable___ht, (((s__Args_sound_impl))), (i)))), (- 1))) - depth))) // INLINED!! + return (LoadSoundHandle(Table__ht, ((((LoadInteger(ConstTable__ht, (((s__Args_sound_impl))), (i)))))), ((LoadInteger(Table__ht, ((LoadInteger(ConstTable__ht, (((s__Args_sound_impl))), (i)))), (- 1))) - depth))) // INLINED!! endfunction function s__Args_soundDestroyStack takes integer whichStack returns nothing - call s__Table_destroy((LoadInteger(ConstTable___ht, (((s__Args_sound_impl))), (whichStack)))) // INLINED!! + call s__Table_destroy((LoadInteger(ConstTable__ht, (((s__Args_sound_impl))), (whichStack)))) // INLINED!! endfunction //end of: ArgumentStack_AgentField("sound","Sound") //textmacro instance: ArgumentStack_AgentField("effect","Effect") @@ -7373,7 +7373,7 @@ function s__Args_setEffect takes integer i,effect value returns nothing call s__Args_setAgent(s__Args_effect_impl , i , value) endfunction function s__Args_getEffect takes integer i returns effect - return (LoadEffectHandle(Table___ht, ((((LoadInteger(ConstTable___ht, (((s__Args_effect_impl))), (i)))))), ((LoadInteger(Table___ht, ((LoadInteger(ConstTable___ht, (((s__Args_effect_impl))), (i)))), (- 1)))))) // INLINED!! + return (LoadEffectHandle(Table__ht, ((((LoadInteger(ConstTable__ht, (((s__Args_effect_impl))), (i)))))), ((LoadInteger(Table__ht, ((LoadInteger(ConstTable__ht, (((s__Args_effect_impl))), (i)))), (- 1)))))) // INLINED!! endfunction function s__Args_freeEffect takes integer i returns nothing call s__Args_freeHandle(s__Args_effect_impl , i) @@ -7392,15 +7392,15 @@ endfunction // Advanced methods function s__Args_effectGetDepth takes integer i returns integer - return (LoadInteger(Table___ht, ((LoadInteger(ConstTable___ht, (((s__Args_effect_impl))), (i)))), (- 1))) + 1 // INLINED!! + return (LoadInteger(Table__ht, ((LoadInteger(ConstTable__ht, (((s__Args_effect_impl))), (i)))), (- 1))) + 1 // INLINED!! endfunction function s__Args_effectDig takes integer i,integer depth returns effect - return (LoadEffectHandle(Table___ht, ((((LoadInteger(ConstTable___ht, (((s__Args_effect_impl))), (i)))))), ((LoadInteger(Table___ht, ((LoadInteger(ConstTable___ht, (((s__Args_effect_impl))), (i)))), (- 1))) - depth))) // INLINED!! + return (LoadEffectHandle(Table__ht, ((((LoadInteger(ConstTable__ht, (((s__Args_effect_impl))), (i)))))), ((LoadInteger(Table__ht, ((LoadInteger(ConstTable__ht, (((s__Args_effect_impl))), (i)))), (- 1))) - depth))) // INLINED!! endfunction function s__Args_effectDestroyStack takes integer whichStack returns nothing - call s__Table_destroy((LoadInteger(ConstTable___ht, (((s__Args_effect_impl))), (whichStack)))) // INLINED!! + call s__Table_destroy((LoadInteger(ConstTable__ht, (((s__Args_effect_impl))), (whichStack)))) // INLINED!! endfunction //end of: ArgumentStack_AgentField("effect","Effect") //textmacro instance: ArgumentStack_AgentField("quest","Quest") @@ -7408,7 +7408,7 @@ function s__Args_setQuest takes integer i,quest value returns nothing call s__Args_setAgent(s__Args_quest_impl , i , value) endfunction function s__Args_getQuest takes integer i returns quest - return (LoadQuestHandle(Table___ht, ((((LoadInteger(ConstTable___ht, (((s__Args_quest_impl))), (i)))))), ((LoadInteger(Table___ht, ((LoadInteger(ConstTable___ht, (((s__Args_quest_impl))), (i)))), (- 1)))))) // INLINED!! + return (LoadQuestHandle(Table__ht, ((((LoadInteger(ConstTable__ht, (((s__Args_quest_impl))), (i)))))), ((LoadInteger(Table__ht, ((LoadInteger(ConstTable__ht, (((s__Args_quest_impl))), (i)))), (- 1)))))) // INLINED!! endfunction function s__Args_freeQuest takes integer i returns nothing call s__Args_freeHandle(s__Args_quest_impl , i) @@ -7427,15 +7427,15 @@ endfunction // Advanced methods function s__Args_questGetDepth takes integer i returns integer - return (LoadInteger(Table___ht, ((LoadInteger(ConstTable___ht, (((s__Args_quest_impl))), (i)))), (- 1))) + 1 // INLINED!! + return (LoadInteger(Table__ht, ((LoadInteger(ConstTable__ht, (((s__Args_quest_impl))), (i)))), (- 1))) + 1 // INLINED!! endfunction function s__Args_questDig takes integer i,integer depth returns quest - return (LoadQuestHandle(Table___ht, ((((LoadInteger(ConstTable___ht, (((s__Args_quest_impl))), (i)))))), ((LoadInteger(Table___ht, ((LoadInteger(ConstTable___ht, (((s__Args_quest_impl))), (i)))), (- 1))) - depth))) // INLINED!! + return (LoadQuestHandle(Table__ht, ((((LoadInteger(ConstTable__ht, (((s__Args_quest_impl))), (i)))))), ((LoadInteger(Table__ht, ((LoadInteger(ConstTable__ht, (((s__Args_quest_impl))), (i)))), (- 1))) - depth))) // INLINED!! endfunction function s__Args_questDestroyStack takes integer whichStack returns nothing - call s__Table_destroy((LoadInteger(ConstTable___ht, (((s__Args_quest_impl))), (whichStack)))) // INLINED!! + call s__Table_destroy((LoadInteger(ConstTable__ht, (((s__Args_quest_impl))), (whichStack)))) // INLINED!! endfunction //end of: ArgumentStack_AgentField("quest","Quest") //textmacro instance: ArgumentStack_AgentField("questitem","Questitem") @@ -7443,7 +7443,7 @@ function s__Args_setQuestitem takes integer i,questitem value returns nothing call s__Args_setAgent(s__Args_questitem_impl , i , value) endfunction function s__Args_getQuestitem takes integer i returns questitem - return (LoadQuestItemHandle(Table___ht, ((((LoadInteger(ConstTable___ht, (((s__Args_questitem_impl))), (i)))))), ((LoadInteger(Table___ht, ((LoadInteger(ConstTable___ht, (((s__Args_questitem_impl))), (i)))), (- 1)))))) // INLINED!! + return (LoadQuestItemHandle(Table__ht, ((((LoadInteger(ConstTable__ht, (((s__Args_questitem_impl))), (i)))))), ((LoadInteger(Table__ht, ((LoadInteger(ConstTable__ht, (((s__Args_questitem_impl))), (i)))), (- 1)))))) // INLINED!! endfunction function s__Args_freeQuestitem takes integer i returns nothing call s__Args_freeHandle(s__Args_questitem_impl , i) @@ -7462,15 +7462,15 @@ endfunction // Advanced methods function s__Args_questitemGetDepth takes integer i returns integer - return (LoadInteger(Table___ht, ((LoadInteger(ConstTable___ht, (((s__Args_questitem_impl))), (i)))), (- 1))) + 1 // INLINED!! + return (LoadInteger(Table__ht, ((LoadInteger(ConstTable__ht, (((s__Args_questitem_impl))), (i)))), (- 1))) + 1 // INLINED!! endfunction function s__Args_questitemDig takes integer i,integer depth returns questitem - return (LoadQuestItemHandle(Table___ht, ((((LoadInteger(ConstTable___ht, (((s__Args_questitem_impl))), (i)))))), ((LoadInteger(Table___ht, ((LoadInteger(ConstTable___ht, (((s__Args_questitem_impl))), (i)))), (- 1))) - depth))) // INLINED!! + return (LoadQuestItemHandle(Table__ht, ((((LoadInteger(ConstTable__ht, (((s__Args_questitem_impl))), (i)))))), ((LoadInteger(Table__ht, ((LoadInteger(ConstTable__ht, (((s__Args_questitem_impl))), (i)))), (- 1))) - depth))) // INLINED!! endfunction function s__Args_questitemDestroyStack takes integer whichStack returns nothing - call s__Table_destroy((LoadInteger(ConstTable___ht, (((s__Args_questitem_impl))), (whichStack)))) // INLINED!! + call s__Table_destroy((LoadInteger(ConstTable__ht, (((s__Args_questitem_impl))), (whichStack)))) // INLINED!! endfunction //end of: ArgumentStack_AgentField("questitem","Questitem") //textmacro instance: ArgumentStack_AgentField("defeatcondition","Defeatcondition") @@ -7478,7 +7478,7 @@ function s__Args_setDefeatcondition takes integer i,defeatcondition value return call s__Args_setAgent(s__Args_defeatcondition_impl , i , value) endfunction function s__Args_getDefeatcondition takes integer i returns defeatcondition - return (LoadDefeatConditionHandle(Table___ht, ((((LoadInteger(ConstTable___ht, (((s__Args_defeatcondition_impl))), (i)))))), ((LoadInteger(Table___ht, ((LoadInteger(ConstTable___ht, (((s__Args_defeatcondition_impl))), (i)))), (- 1)))))) // INLINED!! + return (LoadDefeatConditionHandle(Table__ht, ((((LoadInteger(ConstTable__ht, (((s__Args_defeatcondition_impl))), (i)))))), ((LoadInteger(Table__ht, ((LoadInteger(ConstTable__ht, (((s__Args_defeatcondition_impl))), (i)))), (- 1)))))) // INLINED!! endfunction function s__Args_freeDefeatcondition takes integer i returns nothing call s__Args_freeHandle(s__Args_defeatcondition_impl , i) @@ -7497,15 +7497,15 @@ endfunction // Advanced methods function s__Args_defeatconditionGetDepth takes integer i returns integer - return (LoadInteger(Table___ht, ((LoadInteger(ConstTable___ht, (((s__Args_defeatcondition_impl))), (i)))), (- 1))) + 1 // INLINED!! + return (LoadInteger(Table__ht, ((LoadInteger(ConstTable__ht, (((s__Args_defeatcondition_impl))), (i)))), (- 1))) + 1 // INLINED!! endfunction function s__Args_defeatconditionDig takes integer i,integer depth returns defeatcondition - return (LoadDefeatConditionHandle(Table___ht, ((((LoadInteger(ConstTable___ht, (((s__Args_defeatcondition_impl))), (i)))))), ((LoadInteger(Table___ht, ((LoadInteger(ConstTable___ht, (((s__Args_defeatcondition_impl))), (i)))), (- 1))) - depth))) // INLINED!! + return (LoadDefeatConditionHandle(Table__ht, ((((LoadInteger(ConstTable__ht, (((s__Args_defeatcondition_impl))), (i)))))), ((LoadInteger(Table__ht, ((LoadInteger(ConstTable__ht, (((s__Args_defeatcondition_impl))), (i)))), (- 1))) - depth))) // INLINED!! endfunction function s__Args_defeatconditionDestroyStack takes integer whichStack returns nothing - call s__Table_destroy((LoadInteger(ConstTable___ht, (((s__Args_defeatcondition_impl))), (whichStack)))) // INLINED!! + call s__Table_destroy((LoadInteger(ConstTable__ht, (((s__Args_defeatcondition_impl))), (whichStack)))) // INLINED!! endfunction //end of: ArgumentStack_AgentField("defeatcondition","Defeatcondition") //textmacro instance: ArgumentStack_AgentField("timerdialog","Timerdialog") @@ -7513,7 +7513,7 @@ function s__Args_setTimerdialog takes integer i,timerdialog value returns nothin call s__Args_setAgent(s__Args_timerdialog_impl , i , value) endfunction function s__Args_getTimerdialog takes integer i returns timerdialog - return (LoadTimerDialogHandle(Table___ht, ((((LoadInteger(ConstTable___ht, (((s__Args_timerdialog_impl))), (i)))))), ((LoadInteger(Table___ht, ((LoadInteger(ConstTable___ht, (((s__Args_timerdialog_impl))), (i)))), (- 1)))))) // INLINED!! + return (LoadTimerDialogHandle(Table__ht, ((((LoadInteger(ConstTable__ht, (((s__Args_timerdialog_impl))), (i)))))), ((LoadInteger(Table__ht, ((LoadInteger(ConstTable__ht, (((s__Args_timerdialog_impl))), (i)))), (- 1)))))) // INLINED!! endfunction function s__Args_freeTimerdialog takes integer i returns nothing call s__Args_freeHandle(s__Args_timerdialog_impl , i) @@ -7532,15 +7532,15 @@ endfunction // Advanced methods function s__Args_timerdialogGetDepth takes integer i returns integer - return (LoadInteger(Table___ht, ((LoadInteger(ConstTable___ht, (((s__Args_timerdialog_impl))), (i)))), (- 1))) + 1 // INLINED!! + return (LoadInteger(Table__ht, ((LoadInteger(ConstTable__ht, (((s__Args_timerdialog_impl))), (i)))), (- 1))) + 1 // INLINED!! endfunction function s__Args_timerdialogDig takes integer i,integer depth returns timerdialog - return (LoadTimerDialogHandle(Table___ht, ((((LoadInteger(ConstTable___ht, (((s__Args_timerdialog_impl))), (i)))))), ((LoadInteger(Table___ht, ((LoadInteger(ConstTable___ht, (((s__Args_timerdialog_impl))), (i)))), (- 1))) - depth))) // INLINED!! + return (LoadTimerDialogHandle(Table__ht, ((((LoadInteger(ConstTable__ht, (((s__Args_timerdialog_impl))), (i)))))), ((LoadInteger(Table__ht, ((LoadInteger(ConstTable__ht, (((s__Args_timerdialog_impl))), (i)))), (- 1))) - depth))) // INLINED!! endfunction function s__Args_timerdialogDestroyStack takes integer whichStack returns nothing - call s__Table_destroy((LoadInteger(ConstTable___ht, (((s__Args_timerdialog_impl))), (whichStack)))) // INLINED!! + call s__Table_destroy((LoadInteger(ConstTable__ht, (((s__Args_timerdialog_impl))), (whichStack)))) // INLINED!! endfunction //end of: ArgumentStack_AgentField("timerdialog","Timerdialog") //textmacro instance: ArgumentStack_AgentField("leaderboard","Leaderboard") @@ -7548,7 +7548,7 @@ function s__Args_setLeaderboard takes integer i,leaderboard value returns nothin call s__Args_setAgent(s__Args_leaderboard_impl , i , value) endfunction function s__Args_getLeaderboard takes integer i returns leaderboard - return (LoadLeaderboardHandle(Table___ht, ((((LoadInteger(ConstTable___ht, (((s__Args_leaderboard_impl))), (i)))))), ((LoadInteger(Table___ht, ((LoadInteger(ConstTable___ht, (((s__Args_leaderboard_impl))), (i)))), (- 1)))))) // INLINED!! + return (LoadLeaderboardHandle(Table__ht, ((((LoadInteger(ConstTable__ht, (((s__Args_leaderboard_impl))), (i)))))), ((LoadInteger(Table__ht, ((LoadInteger(ConstTable__ht, (((s__Args_leaderboard_impl))), (i)))), (- 1)))))) // INLINED!! endfunction function s__Args_freeLeaderboard takes integer i returns nothing call s__Args_freeHandle(s__Args_leaderboard_impl , i) @@ -7567,15 +7567,15 @@ endfunction // Advanced methods function s__Args_leaderboardGetDepth takes integer i returns integer - return (LoadInteger(Table___ht, ((LoadInteger(ConstTable___ht, (((s__Args_leaderboard_impl))), (i)))), (- 1))) + 1 // INLINED!! + return (LoadInteger(Table__ht, ((LoadInteger(ConstTable__ht, (((s__Args_leaderboard_impl))), (i)))), (- 1))) + 1 // INLINED!! endfunction function s__Args_leaderboardDig takes integer i,integer depth returns leaderboard - return (LoadLeaderboardHandle(Table___ht, ((((LoadInteger(ConstTable___ht, (((s__Args_leaderboard_impl))), (i)))))), ((LoadInteger(Table___ht, ((LoadInteger(ConstTable___ht, (((s__Args_leaderboard_impl))), (i)))), (- 1))) - depth))) // INLINED!! + return (LoadLeaderboardHandle(Table__ht, ((((LoadInteger(ConstTable__ht, (((s__Args_leaderboard_impl))), (i)))))), ((LoadInteger(Table__ht, ((LoadInteger(ConstTable__ht, (((s__Args_leaderboard_impl))), (i)))), (- 1))) - depth))) // INLINED!! endfunction function s__Args_leaderboardDestroyStack takes integer whichStack returns nothing - call s__Table_destroy((LoadInteger(ConstTable___ht, (((s__Args_leaderboard_impl))), (whichStack)))) // INLINED!! + call s__Table_destroy((LoadInteger(ConstTable__ht, (((s__Args_leaderboard_impl))), (whichStack)))) // INLINED!! endfunction //end of: ArgumentStack_AgentField("leaderboard","Leaderboard") //textmacro instance: ArgumentStack_AgentField("multiboard","Multiboard") @@ -7583,7 +7583,7 @@ function s__Args_setMultiboard takes integer i,multiboard value returns nothing call s__Args_setAgent(s__Args_multiboard_impl , i , value) endfunction function s__Args_getMultiboard takes integer i returns multiboard - return (LoadMultiboardHandle(Table___ht, ((((LoadInteger(ConstTable___ht, (((s__Args_multiboard_impl))), (i)))))), ((LoadInteger(Table___ht, ((LoadInteger(ConstTable___ht, (((s__Args_multiboard_impl))), (i)))), (- 1)))))) // INLINED!! + return (LoadMultiboardHandle(Table__ht, ((((LoadInteger(ConstTable__ht, (((s__Args_multiboard_impl))), (i)))))), ((LoadInteger(Table__ht, ((LoadInteger(ConstTable__ht, (((s__Args_multiboard_impl))), (i)))), (- 1)))))) // INLINED!! endfunction function s__Args_freeMultiboard takes integer i returns nothing call s__Args_freeHandle(s__Args_multiboard_impl , i) @@ -7602,15 +7602,15 @@ endfunction // Advanced methods function s__Args_multiboardGetDepth takes integer i returns integer - return (LoadInteger(Table___ht, ((LoadInteger(ConstTable___ht, (((s__Args_multiboard_impl))), (i)))), (- 1))) + 1 // INLINED!! + return (LoadInteger(Table__ht, ((LoadInteger(ConstTable__ht, (((s__Args_multiboard_impl))), (i)))), (- 1))) + 1 // INLINED!! endfunction function s__Args_multiboardDig takes integer i,integer depth returns multiboard - return (LoadMultiboardHandle(Table___ht, ((((LoadInteger(ConstTable___ht, (((s__Args_multiboard_impl))), (i)))))), ((LoadInteger(Table___ht, ((LoadInteger(ConstTable___ht, (((s__Args_multiboard_impl))), (i)))), (- 1))) - depth))) // INLINED!! + return (LoadMultiboardHandle(Table__ht, ((((LoadInteger(ConstTable__ht, (((s__Args_multiboard_impl))), (i)))))), ((LoadInteger(Table__ht, ((LoadInteger(ConstTable__ht, (((s__Args_multiboard_impl))), (i)))), (- 1))) - depth))) // INLINED!! endfunction function s__Args_multiboardDestroyStack takes integer whichStack returns nothing - call s__Table_destroy((LoadInteger(ConstTable___ht, (((s__Args_multiboard_impl))), (whichStack)))) // INLINED!! + call s__Table_destroy((LoadInteger(ConstTable__ht, (((s__Args_multiboard_impl))), (whichStack)))) // INLINED!! endfunction //end of: ArgumentStack_AgentField("multiboard","Multiboard") //textmacro instance: ArgumentStack_AgentField("multiboarditem","Multiboarditem") @@ -7618,7 +7618,7 @@ function s__Args_setMultiboarditem takes integer i,multiboarditem value returns call s__Args_setAgent(s__Args_multiboarditem_impl , i , value) endfunction function s__Args_getMultiboarditem takes integer i returns multiboarditem - return (LoadMultiboardItemHandle(Table___ht, ((((LoadInteger(ConstTable___ht, (((s__Args_multiboarditem_impl))), (i)))))), ((LoadInteger(Table___ht, ((LoadInteger(ConstTable___ht, (((s__Args_multiboarditem_impl))), (i)))), (- 1)))))) // INLINED!! + return (LoadMultiboardItemHandle(Table__ht, ((((LoadInteger(ConstTable__ht, (((s__Args_multiboarditem_impl))), (i)))))), ((LoadInteger(Table__ht, ((LoadInteger(ConstTable__ht, (((s__Args_multiboarditem_impl))), (i)))), (- 1)))))) // INLINED!! endfunction function s__Args_freeMultiboarditem takes integer i returns nothing call s__Args_freeHandle(s__Args_multiboarditem_impl , i) @@ -7637,15 +7637,15 @@ endfunction // Advanced methods function s__Args_multiboarditemGetDepth takes integer i returns integer - return (LoadInteger(Table___ht, ((LoadInteger(ConstTable___ht, (((s__Args_multiboarditem_impl))), (i)))), (- 1))) + 1 // INLINED!! + return (LoadInteger(Table__ht, ((LoadInteger(ConstTable__ht, (((s__Args_multiboarditem_impl))), (i)))), (- 1))) + 1 // INLINED!! endfunction function s__Args_multiboarditemDig takes integer i,integer depth returns multiboarditem - return (LoadMultiboardItemHandle(Table___ht, ((((LoadInteger(ConstTable___ht, (((s__Args_multiboarditem_impl))), (i)))))), ((LoadInteger(Table___ht, ((LoadInteger(ConstTable___ht, (((s__Args_multiboarditem_impl))), (i)))), (- 1))) - depth))) // INLINED!! + return (LoadMultiboardItemHandle(Table__ht, ((((LoadInteger(ConstTable__ht, (((s__Args_multiboarditem_impl))), (i)))))), ((LoadInteger(Table__ht, ((LoadInteger(ConstTable__ht, (((s__Args_multiboarditem_impl))), (i)))), (- 1))) - depth))) // INLINED!! endfunction function s__Args_multiboarditemDestroyStack takes integer whichStack returns nothing - call s__Table_destroy((LoadInteger(ConstTable___ht, (((s__Args_multiboarditem_impl))), (whichStack)))) // INLINED!! + call s__Table_destroy((LoadInteger(ConstTable__ht, (((s__Args_multiboarditem_impl))), (whichStack)))) // INLINED!! endfunction //end of: ArgumentStack_AgentField("multiboarditem","Multiboarditem") //textmacro instance: ArgumentStack_AgentField("trackable","Trackable") @@ -7653,7 +7653,7 @@ function s__Args_setTrackable takes integer i,trackable value returns nothing call s__Args_setAgent(s__Args_trackable_impl , i , value) endfunction function s__Args_getTrackable takes integer i returns trackable - return (LoadTrackableHandle(Table___ht, ((((LoadInteger(ConstTable___ht, (((s__Args_trackable_impl))), (i)))))), ((LoadInteger(Table___ht, ((LoadInteger(ConstTable___ht, (((s__Args_trackable_impl))), (i)))), (- 1)))))) // INLINED!! + return (LoadTrackableHandle(Table__ht, ((((LoadInteger(ConstTable__ht, (((s__Args_trackable_impl))), (i)))))), ((LoadInteger(Table__ht, ((LoadInteger(ConstTable__ht, (((s__Args_trackable_impl))), (i)))), (- 1)))))) // INLINED!! endfunction function s__Args_freeTrackable takes integer i returns nothing call s__Args_freeHandle(s__Args_trackable_impl , i) @@ -7672,15 +7672,15 @@ endfunction // Advanced methods function s__Args_trackableGetDepth takes integer i returns integer - return (LoadInteger(Table___ht, ((LoadInteger(ConstTable___ht, (((s__Args_trackable_impl))), (i)))), (- 1))) + 1 // INLINED!! + return (LoadInteger(Table__ht, ((LoadInteger(ConstTable__ht, (((s__Args_trackable_impl))), (i)))), (- 1))) + 1 // INLINED!! endfunction function s__Args_trackableDig takes integer i,integer depth returns trackable - return (LoadTrackableHandle(Table___ht, ((((LoadInteger(ConstTable___ht, (((s__Args_trackable_impl))), (i)))))), ((LoadInteger(Table___ht, ((LoadInteger(ConstTable___ht, (((s__Args_trackable_impl))), (i)))), (- 1))) - depth))) // INLINED!! + return (LoadTrackableHandle(Table__ht, ((((LoadInteger(ConstTable__ht, (((s__Args_trackable_impl))), (i)))))), ((LoadInteger(Table__ht, ((LoadInteger(ConstTable__ht, (((s__Args_trackable_impl))), (i)))), (- 1))) - depth))) // INLINED!! endfunction function s__Args_trackableDestroyStack takes integer whichStack returns nothing - call s__Table_destroy((LoadInteger(ConstTable___ht, (((s__Args_trackable_impl))), (whichStack)))) // INLINED!! + call s__Table_destroy((LoadInteger(ConstTable__ht, (((s__Args_trackable_impl))), (whichStack)))) // INLINED!! endfunction //end of: ArgumentStack_AgentField("trackable","Trackable") //textmacro instance: ArgumentStack_AgentField("dialog","Dialog") @@ -7688,7 +7688,7 @@ function s__Args_setDialog takes integer i,dialog value returns nothing call s__Args_setAgent(s__Args_dialog_impl , i , value) endfunction function s__Args_getDialog takes integer i returns dialog - return (LoadDialogHandle(Table___ht, ((((LoadInteger(ConstTable___ht, (((s__Args_dialog_impl))), (i)))))), ((LoadInteger(Table___ht, ((LoadInteger(ConstTable___ht, (((s__Args_dialog_impl))), (i)))), (- 1)))))) // INLINED!! + return (LoadDialogHandle(Table__ht, ((((LoadInteger(ConstTable__ht, (((s__Args_dialog_impl))), (i)))))), ((LoadInteger(Table__ht, ((LoadInteger(ConstTable__ht, (((s__Args_dialog_impl))), (i)))), (- 1)))))) // INLINED!! endfunction function s__Args_freeDialog takes integer i returns nothing call s__Args_freeHandle(s__Args_dialog_impl , i) @@ -7707,15 +7707,15 @@ endfunction // Advanced methods function s__Args_dialogGetDepth takes integer i returns integer - return (LoadInteger(Table___ht, ((LoadInteger(ConstTable___ht, (((s__Args_dialog_impl))), (i)))), (- 1))) + 1 // INLINED!! + return (LoadInteger(Table__ht, ((LoadInteger(ConstTable__ht, (((s__Args_dialog_impl))), (i)))), (- 1))) + 1 // INLINED!! endfunction function s__Args_dialogDig takes integer i,integer depth returns dialog - return (LoadDialogHandle(Table___ht, ((((LoadInteger(ConstTable___ht, (((s__Args_dialog_impl))), (i)))))), ((LoadInteger(Table___ht, ((LoadInteger(ConstTable___ht, (((s__Args_dialog_impl))), (i)))), (- 1))) - depth))) // INLINED!! + return (LoadDialogHandle(Table__ht, ((((LoadInteger(ConstTable__ht, (((s__Args_dialog_impl))), (i)))))), ((LoadInteger(Table__ht, ((LoadInteger(ConstTable__ht, (((s__Args_dialog_impl))), (i)))), (- 1))) - depth))) // INLINED!! endfunction function s__Args_dialogDestroyStack takes integer whichStack returns nothing - call s__Table_destroy((LoadInteger(ConstTable___ht, (((s__Args_dialog_impl))), (whichStack)))) // INLINED!! + call s__Table_destroy((LoadInteger(ConstTable__ht, (((s__Args_dialog_impl))), (whichStack)))) // INLINED!! endfunction //end of: ArgumentStack_AgentField("dialog","Dialog") //textmacro instance: ArgumentStack_AgentField("button","Button") @@ -7723,7 +7723,7 @@ function s__Args_setButton takes integer i,button value returns nothing call s__Args_setAgent(s__Args_button_impl , i , value) endfunction function s__Args_getButton takes integer i returns button - return (LoadButtonHandle(Table___ht, ((((LoadInteger(ConstTable___ht, (((s__Args_button_impl))), (i)))))), ((LoadInteger(Table___ht, ((LoadInteger(ConstTable___ht, (((s__Args_button_impl))), (i)))), (- 1)))))) // INLINED!! + return (LoadButtonHandle(Table__ht, ((((LoadInteger(ConstTable__ht, (((s__Args_button_impl))), (i)))))), ((LoadInteger(Table__ht, ((LoadInteger(ConstTable__ht, (((s__Args_button_impl))), (i)))), (- 1)))))) // INLINED!! endfunction function s__Args_freeButton takes integer i returns nothing call s__Args_freeHandle(s__Args_button_impl , i) @@ -7742,15 +7742,15 @@ endfunction // Advanced methods function s__Args_buttonGetDepth takes integer i returns integer - return (LoadInteger(Table___ht, ((LoadInteger(ConstTable___ht, (((s__Args_button_impl))), (i)))), (- 1))) + 1 // INLINED!! + return (LoadInteger(Table__ht, ((LoadInteger(ConstTable__ht, (((s__Args_button_impl))), (i)))), (- 1))) + 1 // INLINED!! endfunction function s__Args_buttonDig takes integer i,integer depth returns button - return (LoadButtonHandle(Table___ht, ((((LoadInteger(ConstTable___ht, (((s__Args_button_impl))), (i)))))), ((LoadInteger(Table___ht, ((LoadInteger(ConstTable___ht, (((s__Args_button_impl))), (i)))), (- 1))) - depth))) // INLINED!! + return (LoadButtonHandle(Table__ht, ((((LoadInteger(ConstTable__ht, (((s__Args_button_impl))), (i)))))), ((LoadInteger(Table__ht, ((LoadInteger(ConstTable__ht, (((s__Args_button_impl))), (i)))), (- 1))) - depth))) // INLINED!! endfunction function s__Args_buttonDestroyStack takes integer whichStack returns nothing - call s__Table_destroy((LoadInteger(ConstTable___ht, (((s__Args_button_impl))), (whichStack)))) // INLINED!! + call s__Table_destroy((LoadInteger(ConstTable__ht, (((s__Args_button_impl))), (whichStack)))) // INLINED!! endfunction //end of: ArgumentStack_AgentField("button","Button") //textmacro instance: ArgumentStack_AgentField("region","Region") @@ -7758,7 +7758,7 @@ function s__Args_setRegion takes integer i,region value returns nothing call s__Args_setAgent(s__Args_region_impl , i , value) endfunction function s__Args_getRegion takes integer i returns region - return (LoadRegionHandle(Table___ht, ((((LoadInteger(ConstTable___ht, (((s__Args_region_impl))), (i)))))), ((LoadInteger(Table___ht, ((LoadInteger(ConstTable___ht, (((s__Args_region_impl))), (i)))), (- 1)))))) // INLINED!! + return (LoadRegionHandle(Table__ht, ((((LoadInteger(ConstTable__ht, (((s__Args_region_impl))), (i)))))), ((LoadInteger(Table__ht, ((LoadInteger(ConstTable__ht, (((s__Args_region_impl))), (i)))), (- 1)))))) // INLINED!! endfunction function s__Args_freeRegion takes integer i returns nothing call s__Args_freeHandle(s__Args_region_impl , i) @@ -7777,15 +7777,15 @@ endfunction // Advanced methods function s__Args_regionGetDepth takes integer i returns integer - return (LoadInteger(Table___ht, ((LoadInteger(ConstTable___ht, (((s__Args_region_impl))), (i)))), (- 1))) + 1 // INLINED!! + return (LoadInteger(Table__ht, ((LoadInteger(ConstTable__ht, (((s__Args_region_impl))), (i)))), (- 1))) + 1 // INLINED!! endfunction function s__Args_regionDig takes integer i,integer depth returns region - return (LoadRegionHandle(Table___ht, ((((LoadInteger(ConstTable___ht, (((s__Args_region_impl))), (i)))))), ((LoadInteger(Table___ht, ((LoadInteger(ConstTable___ht, (((s__Args_region_impl))), (i)))), (- 1))) - depth))) // INLINED!! + return (LoadRegionHandle(Table__ht, ((((LoadInteger(ConstTable__ht, (((s__Args_region_impl))), (i)))))), ((LoadInteger(Table__ht, ((LoadInteger(ConstTable__ht, (((s__Args_region_impl))), (i)))), (- 1))) - depth))) // INLINED!! endfunction function s__Args_regionDestroyStack takes integer whichStack returns nothing - call s__Table_destroy((LoadInteger(ConstTable___ht, (((s__Args_region_impl))), (whichStack)))) // INLINED!! + call s__Table_destroy((LoadInteger(ConstTable__ht, (((s__Args_region_impl))), (whichStack)))) // INLINED!! endfunction //end of: ArgumentStack_AgentField("region","Region") //textmacro instance: ArgumentStack_AgentField("fogmodifier","Fogmodifier") @@ -7793,7 +7793,7 @@ function s__Args_setFogmodifier takes integer i,fogmodifier value returns nothin call s__Args_setAgent(s__Args_fogmodifier_impl , i , value) endfunction function s__Args_getFogmodifier takes integer i returns fogmodifier - return (LoadFogModifierHandle(Table___ht, ((((LoadInteger(ConstTable___ht, (((s__Args_fogmodifier_impl))), (i)))))), ((LoadInteger(Table___ht, ((LoadInteger(ConstTable___ht, (((s__Args_fogmodifier_impl))), (i)))), (- 1)))))) // INLINED!! + return (LoadFogModifierHandle(Table__ht, ((((LoadInteger(ConstTable__ht, (((s__Args_fogmodifier_impl))), (i)))))), ((LoadInteger(Table__ht, ((LoadInteger(ConstTable__ht, (((s__Args_fogmodifier_impl))), (i)))), (- 1)))))) // INLINED!! endfunction function s__Args_freeFogmodifier takes integer i returns nothing call s__Args_freeHandle(s__Args_fogmodifier_impl , i) @@ -7812,15 +7812,15 @@ endfunction // Advanced methods function s__Args_fogmodifierGetDepth takes integer i returns integer - return (LoadInteger(Table___ht, ((LoadInteger(ConstTable___ht, (((s__Args_fogmodifier_impl))), (i)))), (- 1))) + 1 // INLINED!! + return (LoadInteger(Table__ht, ((LoadInteger(ConstTable__ht, (((s__Args_fogmodifier_impl))), (i)))), (- 1))) + 1 // INLINED!! endfunction function s__Args_fogmodifierDig takes integer i,integer depth returns fogmodifier - return (LoadFogModifierHandle(Table___ht, ((((LoadInteger(ConstTable___ht, (((s__Args_fogmodifier_impl))), (i)))))), ((LoadInteger(Table___ht, ((LoadInteger(ConstTable___ht, (((s__Args_fogmodifier_impl))), (i)))), (- 1))) - depth))) // INLINED!! + return (LoadFogModifierHandle(Table__ht, ((((LoadInteger(ConstTable__ht, (((s__Args_fogmodifier_impl))), (i)))))), ((LoadInteger(Table__ht, ((LoadInteger(ConstTable__ht, (((s__Args_fogmodifier_impl))), (i)))), (- 1))) - depth))) // INLINED!! endfunction function s__Args_fogmodifierDestroyStack takes integer whichStack returns nothing - call s__Table_destroy((LoadInteger(ConstTable___ht, (((s__Args_fogmodifier_impl))), (whichStack)))) // INLINED!! + call s__Table_destroy((LoadInteger(ConstTable__ht, (((s__Args_fogmodifier_impl))), (whichStack)))) // INLINED!! endfunction //end of: ArgumentStack_AgentField("fogmodifier","Fogmodifier") //textmacro instance: ArgumentStack_AgentField("hashtable","Hashtable") @@ -7828,7 +7828,7 @@ function s__Args_setHashtable takes integer i,hashtable value returns nothing call s__Args_setAgent(s__Args_hashtable_impl , i , value) endfunction function s__Args_getHashtable takes integer i returns hashtable - return (LoadHashtableHandle(Table___ht, ((((LoadInteger(ConstTable___ht, (((s__Args_hashtable_impl))), (i)))))), ((LoadInteger(Table___ht, ((LoadInteger(ConstTable___ht, (((s__Args_hashtable_impl))), (i)))), (- 1)))))) // INLINED!! + return (LoadHashtableHandle(Table__ht, ((((LoadInteger(ConstTable__ht, (((s__Args_hashtable_impl))), (i)))))), ((LoadInteger(Table__ht, ((LoadInteger(ConstTable__ht, (((s__Args_hashtable_impl))), (i)))), (- 1)))))) // INLINED!! endfunction function s__Args_freeHashtable takes integer i returns nothing call s__Args_freeHandle(s__Args_hashtable_impl , i) @@ -7847,15 +7847,15 @@ endfunction // Advanced methods function s__Args_hashtableGetDepth takes integer i returns integer - return (LoadInteger(Table___ht, ((LoadInteger(ConstTable___ht, (((s__Args_hashtable_impl))), (i)))), (- 1))) + 1 // INLINED!! + return (LoadInteger(Table__ht, ((LoadInteger(ConstTable__ht, (((s__Args_hashtable_impl))), (i)))), (- 1))) + 1 // INLINED!! endfunction function s__Args_hashtableDig takes integer i,integer depth returns hashtable - return (LoadHashtableHandle(Table___ht, ((((LoadInteger(ConstTable___ht, (((s__Args_hashtable_impl))), (i)))))), ((LoadInteger(Table___ht, ((LoadInteger(ConstTable___ht, (((s__Args_hashtable_impl))), (i)))), (- 1))) - depth))) // INLINED!! + return (LoadHashtableHandle(Table__ht, ((((LoadInteger(ConstTable__ht, (((s__Args_hashtable_impl))), (i)))))), ((LoadInteger(Table__ht, ((LoadInteger(ConstTable__ht, (((s__Args_hashtable_impl))), (i)))), (- 1))) - depth))) // INLINED!! endfunction function s__Args_hashtableDestroyStack takes integer whichStack returns nothing - call s__Table_destroy((LoadInteger(ConstTable___ht, (((s__Args_hashtable_impl))), (whichStack)))) // INLINED!! + call s__Table_destroy((LoadInteger(ConstTable__ht, (((s__Args_hashtable_impl))), (whichStack)))) // INLINED!! endfunction //end of: ArgumentStack_AgentField("hashtable","Hashtable") @@ -7864,7 +7864,7 @@ function s__Args_setTriggeraction takes integer i,triggeraction value returns no call s__Args_setHandle(s__Args_triggeraction_impl , i , value) endfunction function s__Args_getTriggeraction takes integer i returns triggeraction - return (LoadTriggerActionHandle(Table___ht, ((((LoadInteger(ConstTable___ht, (((s__Args_triggeraction_impl))), (i)))))), ((LoadInteger(Table___ht, ((LoadInteger(ConstTable___ht, (((s__Args_triggeraction_impl))), (i)))), (- 1)))))) // INLINED!! + return (LoadTriggerActionHandle(Table__ht, ((((LoadInteger(ConstTable__ht, (((s__Args_triggeraction_impl))), (i)))))), ((LoadInteger(Table__ht, ((LoadInteger(ConstTable__ht, (((s__Args_triggeraction_impl))), (i)))), (- 1)))))) // INLINED!! endfunction function s__Args_freeTriggeraction takes integer i returns nothing call s__Args_freeHandle(s__Args_triggeraction_impl , i) @@ -7883,15 +7883,15 @@ endfunction // Advanced methods function s__Args_triggeractionGetDepth takes integer i returns integer - return (LoadInteger(Table___ht, ((LoadInteger(ConstTable___ht, (((s__Args_triggeraction_impl))), (i)))), (- 1))) + 1 // INLINED!! + return (LoadInteger(Table__ht, ((LoadInteger(ConstTable__ht, (((s__Args_triggeraction_impl))), (i)))), (- 1))) + 1 // INLINED!! endfunction function s__Args_triggeractionDig takes integer i,integer depth returns triggeraction - return (LoadTriggerActionHandle(Table___ht, ((((LoadInteger(ConstTable___ht, (((s__Args_triggeraction_impl))), (i)))))), ((LoadInteger(Table___ht, ((LoadInteger(ConstTable___ht, (((s__Args_triggeraction_impl))), (i)))), (- 1))) - depth))) // INLINED!! + return (LoadTriggerActionHandle(Table__ht, ((((LoadInteger(ConstTable__ht, (((s__Args_triggeraction_impl))), (i)))))), ((LoadInteger(Table__ht, ((LoadInteger(ConstTable__ht, (((s__Args_triggeraction_impl))), (i)))), (- 1))) - depth))) // INLINED!! endfunction function s__Args_triggeractionDestroyStack takes integer whichStack returns nothing - call s__Table_destroy((LoadInteger(ConstTable___ht, (((s__Args_triggeraction_impl))), (whichStack)))) // INLINED!! + call s__Table_destroy((LoadInteger(ConstTable__ht, (((s__Args_triggeraction_impl))), (whichStack)))) // INLINED!! endfunction //end of: ArgumentStack_HandleField("triggeraction","Triggeraction") //textmacro instance: ArgumentStack_HandleField("unitpool","Unitpool") @@ -7899,7 +7899,7 @@ function s__Args_setUnitpool takes integer i,unitpool value returns nothing call s__Args_setHandle(s__Args_unitpool_impl , i , value) endfunction function s__Args_getUnitpool takes integer i returns unitpool - return (LoadUnitPoolHandle(Table___ht, ((((LoadInteger(ConstTable___ht, (((s__Args_unitpool_impl))), (i)))))), ((LoadInteger(Table___ht, ((LoadInteger(ConstTable___ht, (((s__Args_unitpool_impl))), (i)))), (- 1)))))) // INLINED!! + return (LoadUnitPoolHandle(Table__ht, ((((LoadInteger(ConstTable__ht, (((s__Args_unitpool_impl))), (i)))))), ((LoadInteger(Table__ht, ((LoadInteger(ConstTable__ht, (((s__Args_unitpool_impl))), (i)))), (- 1)))))) // INLINED!! endfunction function s__Args_freeUnitpool takes integer i returns nothing call s__Args_freeHandle(s__Args_unitpool_impl , i) @@ -7918,15 +7918,15 @@ endfunction // Advanced methods function s__Args_unitpoolGetDepth takes integer i returns integer - return (LoadInteger(Table___ht, ((LoadInteger(ConstTable___ht, (((s__Args_unitpool_impl))), (i)))), (- 1))) + 1 // INLINED!! + return (LoadInteger(Table__ht, ((LoadInteger(ConstTable__ht, (((s__Args_unitpool_impl))), (i)))), (- 1))) + 1 // INLINED!! endfunction function s__Args_unitpoolDig takes integer i,integer depth returns unitpool - return (LoadUnitPoolHandle(Table___ht, ((((LoadInteger(ConstTable___ht, (((s__Args_unitpool_impl))), (i)))))), ((LoadInteger(Table___ht, ((LoadInteger(ConstTable___ht, (((s__Args_unitpool_impl))), (i)))), (- 1))) - depth))) // INLINED!! + return (LoadUnitPoolHandle(Table__ht, ((((LoadInteger(ConstTable__ht, (((s__Args_unitpool_impl))), (i)))))), ((LoadInteger(Table__ht, ((LoadInteger(ConstTable__ht, (((s__Args_unitpool_impl))), (i)))), (- 1))) - depth))) // INLINED!! endfunction function s__Args_unitpoolDestroyStack takes integer whichStack returns nothing - call s__Table_destroy((LoadInteger(ConstTable___ht, (((s__Args_unitpool_impl))), (whichStack)))) // INLINED!! + call s__Table_destroy((LoadInteger(ConstTable__ht, (((s__Args_unitpool_impl))), (whichStack)))) // INLINED!! endfunction //end of: ArgumentStack_HandleField("unitpool","Unitpool") //textmacro instance: ArgumentStack_HandleField("itempool","Itempool") @@ -7934,7 +7934,7 @@ function s__Args_setItempool takes integer i,itempool value returns nothing call s__Args_setHandle(s__Args_itempool_impl , i , value) endfunction function s__Args_getItempool takes integer i returns itempool - return (LoadItemPoolHandle(Table___ht, ((((LoadInteger(ConstTable___ht, (((s__Args_itempool_impl))), (i)))))), ((LoadInteger(Table___ht, ((LoadInteger(ConstTable___ht, (((s__Args_itempool_impl))), (i)))), (- 1)))))) // INLINED!! + return (LoadItemPoolHandle(Table__ht, ((((LoadInteger(ConstTable__ht, (((s__Args_itempool_impl))), (i)))))), ((LoadInteger(Table__ht, ((LoadInteger(ConstTable__ht, (((s__Args_itempool_impl))), (i)))), (- 1)))))) // INLINED!! endfunction function s__Args_freeItempool takes integer i returns nothing call s__Args_freeHandle(s__Args_itempool_impl , i) @@ -7953,15 +7953,15 @@ endfunction // Advanced methods function s__Args_itempoolGetDepth takes integer i returns integer - return (LoadInteger(Table___ht, ((LoadInteger(ConstTable___ht, (((s__Args_itempool_impl))), (i)))), (- 1))) + 1 // INLINED!! + return (LoadInteger(Table__ht, ((LoadInteger(ConstTable__ht, (((s__Args_itempool_impl))), (i)))), (- 1))) + 1 // INLINED!! endfunction function s__Args_itempoolDig takes integer i,integer depth returns itempool - return (LoadItemPoolHandle(Table___ht, ((((LoadInteger(ConstTable___ht, (((s__Args_itempool_impl))), (i)))))), ((LoadInteger(Table___ht, ((LoadInteger(ConstTable___ht, (((s__Args_itempool_impl))), (i)))), (- 1))) - depth))) // INLINED!! + return (LoadItemPoolHandle(Table__ht, ((((LoadInteger(ConstTable__ht, (((s__Args_itempool_impl))), (i)))))), ((LoadInteger(Table__ht, ((LoadInteger(ConstTable__ht, (((s__Args_itempool_impl))), (i)))), (- 1))) - depth))) // INLINED!! endfunction function s__Args_itempoolDestroyStack takes integer whichStack returns nothing - call s__Table_destroy((LoadInteger(ConstTable___ht, (((s__Args_itempool_impl))), (whichStack)))) // INLINED!! + call s__Table_destroy((LoadInteger(ConstTable__ht, (((s__Args_itempool_impl))), (whichStack)))) // INLINED!! endfunction //end of: ArgumentStack_HandleField("itempool","Itempool") //textmacro instance: ArgumentStack_HandleField("texttag","Texttag") @@ -7969,7 +7969,7 @@ function s__Args_setTexttag takes integer i,texttag value returns nothing call s__Args_setHandle(s__Args_texttag_impl , i , value) endfunction function s__Args_getTexttag takes integer i returns texttag - return (LoadTextTagHandle(Table___ht, ((((LoadInteger(ConstTable___ht, (((s__Args_texttag_impl))), (i)))))), ((LoadInteger(Table___ht, ((LoadInteger(ConstTable___ht, (((s__Args_texttag_impl))), (i)))), (- 1)))))) // INLINED!! + return (LoadTextTagHandle(Table__ht, ((((LoadInteger(ConstTable__ht, (((s__Args_texttag_impl))), (i)))))), ((LoadInteger(Table__ht, ((LoadInteger(ConstTable__ht, (((s__Args_texttag_impl))), (i)))), (- 1)))))) // INLINED!! endfunction function s__Args_freeTexttag takes integer i returns nothing call s__Args_freeHandle(s__Args_texttag_impl , i) @@ -7988,15 +7988,15 @@ endfunction // Advanced methods function s__Args_texttagGetDepth takes integer i returns integer - return (LoadInteger(Table___ht, ((LoadInteger(ConstTable___ht, (((s__Args_texttag_impl))), (i)))), (- 1))) + 1 // INLINED!! + return (LoadInteger(Table__ht, ((LoadInteger(ConstTable__ht, (((s__Args_texttag_impl))), (i)))), (- 1))) + 1 // INLINED!! endfunction function s__Args_texttagDig takes integer i,integer depth returns texttag - return (LoadTextTagHandle(Table___ht, ((((LoadInteger(ConstTable___ht, (((s__Args_texttag_impl))), (i)))))), ((LoadInteger(Table___ht, ((LoadInteger(ConstTable___ht, (((s__Args_texttag_impl))), (i)))), (- 1))) - depth))) // INLINED!! + return (LoadTextTagHandle(Table__ht, ((((LoadInteger(ConstTable__ht, (((s__Args_texttag_impl))), (i)))))), ((LoadInteger(Table__ht, ((LoadInteger(ConstTable__ht, (((s__Args_texttag_impl))), (i)))), (- 1))) - depth))) // INLINED!! endfunction function s__Args_texttagDestroyStack takes integer whichStack returns nothing - call s__Table_destroy((LoadInteger(ConstTable___ht, (((s__Args_texttag_impl))), (whichStack)))) // INLINED!! + call s__Table_destroy((LoadInteger(ConstTable__ht, (((s__Args_texttag_impl))), (whichStack)))) // INLINED!! endfunction //end of: ArgumentStack_HandleField("texttag","Texttag") //textmacro instance: ArgumentStack_HandleField("lightning","Lightning") @@ -8004,7 +8004,7 @@ function s__Args_setLightning takes integer i,lightning value returns nothing call s__Args_setHandle(s__Args_lightning_impl , i , value) endfunction function s__Args_getLightning takes integer i returns lightning - return (LoadLightningHandle(Table___ht, ((((LoadInteger(ConstTable___ht, (((s__Args_lightning_impl))), (i)))))), ((LoadInteger(Table___ht, ((LoadInteger(ConstTable___ht, (((s__Args_lightning_impl))), (i)))), (- 1)))))) // INLINED!! + return (LoadLightningHandle(Table__ht, ((((LoadInteger(ConstTable__ht, (((s__Args_lightning_impl))), (i)))))), ((LoadInteger(Table__ht, ((LoadInteger(ConstTable__ht, (((s__Args_lightning_impl))), (i)))), (- 1)))))) // INLINED!! endfunction function s__Args_freeLightning takes integer i returns nothing call s__Args_freeHandle(s__Args_lightning_impl , i) @@ -8023,15 +8023,15 @@ endfunction // Advanced methods function s__Args_lightningGetDepth takes integer i returns integer - return (LoadInteger(Table___ht, ((LoadInteger(ConstTable___ht, (((s__Args_lightning_impl))), (i)))), (- 1))) + 1 // INLINED!! + return (LoadInteger(Table__ht, ((LoadInteger(ConstTable__ht, (((s__Args_lightning_impl))), (i)))), (- 1))) + 1 // INLINED!! endfunction function s__Args_lightningDig takes integer i,integer depth returns lightning - return (LoadLightningHandle(Table___ht, ((((LoadInteger(ConstTable___ht, (((s__Args_lightning_impl))), (i)))))), ((LoadInteger(Table___ht, ((LoadInteger(ConstTable___ht, (((s__Args_lightning_impl))), (i)))), (- 1))) - depth))) // INLINED!! + return (LoadLightningHandle(Table__ht, ((((LoadInteger(ConstTable__ht, (((s__Args_lightning_impl))), (i)))))), ((LoadInteger(Table__ht, ((LoadInteger(ConstTable__ht, (((s__Args_lightning_impl))), (i)))), (- 1))) - depth))) // INLINED!! endfunction function s__Args_lightningDestroyStack takes integer whichStack returns nothing - call s__Table_destroy((LoadInteger(ConstTable___ht, (((s__Args_lightning_impl))), (whichStack)))) // INLINED!! + call s__Table_destroy((LoadInteger(ConstTable__ht, (((s__Args_lightning_impl))), (whichStack)))) // INLINED!! endfunction //end of: ArgumentStack_HandleField("lightning","Lightning") //textmacro instance: ArgumentStack_HandleField("image","Image") @@ -8039,7 +8039,7 @@ function s__Args_setImage takes integer i,image value returns nothing call s__Args_setHandle(s__Args_image_impl , i , value) endfunction function s__Args_getImage takes integer i returns image - return (LoadImageHandle(Table___ht, ((((LoadInteger(ConstTable___ht, (((s__Args_image_impl))), (i)))))), ((LoadInteger(Table___ht, ((LoadInteger(ConstTable___ht, (((s__Args_image_impl))), (i)))), (- 1)))))) // INLINED!! + return (LoadImageHandle(Table__ht, ((((LoadInteger(ConstTable__ht, (((s__Args_image_impl))), (i)))))), ((LoadInteger(Table__ht, ((LoadInteger(ConstTable__ht, (((s__Args_image_impl))), (i)))), (- 1)))))) // INLINED!! endfunction function s__Args_freeImage takes integer i returns nothing call s__Args_freeHandle(s__Args_image_impl , i) @@ -8058,15 +8058,15 @@ endfunction // Advanced methods function s__Args_imageGetDepth takes integer i returns integer - return (LoadInteger(Table___ht, ((LoadInteger(ConstTable___ht, (((s__Args_image_impl))), (i)))), (- 1))) + 1 // INLINED!! + return (LoadInteger(Table__ht, ((LoadInteger(ConstTable__ht, (((s__Args_image_impl))), (i)))), (- 1))) + 1 // INLINED!! endfunction function s__Args_imageDig takes integer i,integer depth returns image - return (LoadImageHandle(Table___ht, ((((LoadInteger(ConstTable___ht, (((s__Args_image_impl))), (i)))))), ((LoadInteger(Table___ht, ((LoadInteger(ConstTable___ht, (((s__Args_image_impl))), (i)))), (- 1))) - depth))) // INLINED!! + return (LoadImageHandle(Table__ht, ((((LoadInteger(ConstTable__ht, (((s__Args_image_impl))), (i)))))), ((LoadInteger(Table__ht, ((LoadInteger(ConstTable__ht, (((s__Args_image_impl))), (i)))), (- 1))) - depth))) // INLINED!! endfunction function s__Args_imageDestroyStack takes integer whichStack returns nothing - call s__Table_destroy((LoadInteger(ConstTable___ht, (((s__Args_image_impl))), (whichStack)))) // INLINED!! + call s__Table_destroy((LoadInteger(ConstTable__ht, (((s__Args_image_impl))), (whichStack)))) // INLINED!! endfunction //end of: ArgumentStack_HandleField("image","Image") //textmacro instance: ArgumentStack_HandleField("ubersplat","Ubersplat") @@ -8074,7 +8074,7 @@ function s__Args_setUbersplat takes integer i,ubersplat value returns nothing call s__Args_setHandle(s__Args_ubersplat_impl , i , value) endfunction function s__Args_getUbersplat takes integer i returns ubersplat - return (LoadUbersplatHandle(Table___ht, ((((LoadInteger(ConstTable___ht, (((s__Args_ubersplat_impl))), (i)))))), ((LoadInteger(Table___ht, ((LoadInteger(ConstTable___ht, (((s__Args_ubersplat_impl))), (i)))), (- 1)))))) // INLINED!! + return (LoadUbersplatHandle(Table__ht, ((((LoadInteger(ConstTable__ht, (((s__Args_ubersplat_impl))), (i)))))), ((LoadInteger(Table__ht, ((LoadInteger(ConstTable__ht, (((s__Args_ubersplat_impl))), (i)))), (- 1)))))) // INLINED!! endfunction function s__Args_freeUbersplat takes integer i returns nothing call s__Args_freeHandle(s__Args_ubersplat_impl , i) @@ -8093,15 +8093,15 @@ endfunction // Advanced methods function s__Args_ubersplatGetDepth takes integer i returns integer - return (LoadInteger(Table___ht, ((LoadInteger(ConstTable___ht, (((s__Args_ubersplat_impl))), (i)))), (- 1))) + 1 // INLINED!! + return (LoadInteger(Table__ht, ((LoadInteger(ConstTable__ht, (((s__Args_ubersplat_impl))), (i)))), (- 1))) + 1 // INLINED!! endfunction function s__Args_ubersplatDig takes integer i,integer depth returns ubersplat - return (LoadUbersplatHandle(Table___ht, ((((LoadInteger(ConstTable___ht, (((s__Args_ubersplat_impl))), (i)))))), ((LoadInteger(Table___ht, ((LoadInteger(ConstTable___ht, (((s__Args_ubersplat_impl))), (i)))), (- 1))) - depth))) // INLINED!! + return (LoadUbersplatHandle(Table__ht, ((((LoadInteger(ConstTable__ht, (((s__Args_ubersplat_impl))), (i)))))), ((LoadInteger(Table__ht, ((LoadInteger(ConstTable__ht, (((s__Args_ubersplat_impl))), (i)))), (- 1))) - depth))) // INLINED!! endfunction function s__Args_ubersplatDestroyStack takes integer whichStack returns nothing - call s__Table_destroy((LoadInteger(ConstTable___ht, (((s__Args_ubersplat_impl))), (whichStack)))) // INLINED!! + call s__Table_destroy((LoadInteger(ConstTable__ht, (((s__Args_ubersplat_impl))), (whichStack)))) // INLINED!! endfunction //end of: ArgumentStack_HandleField("ubersplat","Ubersplat") //textmacro instance: ArgumentStack_HandleField("fogstate","Fogstate") @@ -8109,7 +8109,7 @@ function s__Args_setFogstate takes integer i,fogstate value returns nothing call s__Args_setHandle(s__Args_fogstate_impl , i , value) endfunction function s__Args_getFogstate takes integer i returns fogstate - return (LoadFogStateHandle(Table___ht, ((((LoadInteger(ConstTable___ht, (((s__Args_fogstate_impl))), (i)))))), ((LoadInteger(Table___ht, ((LoadInteger(ConstTable___ht, (((s__Args_fogstate_impl))), (i)))), (- 1)))))) // INLINED!! + return (LoadFogStateHandle(Table__ht, ((((LoadInteger(ConstTable__ht, (((s__Args_fogstate_impl))), (i)))))), ((LoadInteger(Table__ht, ((LoadInteger(ConstTable__ht, (((s__Args_fogstate_impl))), (i)))), (- 1)))))) // INLINED!! endfunction function s__Args_freeFogstate takes integer i returns nothing call s__Args_freeHandle(s__Args_fogstate_impl , i) @@ -8128,15 +8128,15 @@ endfunction // Advanced methods function s__Args_fogstateGetDepth takes integer i returns integer - return (LoadInteger(Table___ht, ((LoadInteger(ConstTable___ht, (((s__Args_fogstate_impl))), (i)))), (- 1))) + 1 // INLINED!! + return (LoadInteger(Table__ht, ((LoadInteger(ConstTable__ht, (((s__Args_fogstate_impl))), (i)))), (- 1))) + 1 // INLINED!! endfunction function s__Args_fogstateDig takes integer i,integer depth returns fogstate - return (LoadFogStateHandle(Table___ht, ((((LoadInteger(ConstTable___ht, (((s__Args_fogstate_impl))), (i)))))), ((LoadInteger(Table___ht, ((LoadInteger(ConstTable___ht, (((s__Args_fogstate_impl))), (i)))), (- 1))) - depth))) // INLINED!! + return (LoadFogStateHandle(Table__ht, ((((LoadInteger(ConstTable__ht, (((s__Args_fogstate_impl))), (i)))))), ((LoadInteger(Table__ht, ((LoadInteger(ConstTable__ht, (((s__Args_fogstate_impl))), (i)))), (- 1))) - depth))) // INLINED!! endfunction function s__Args_fogstateDestroyStack takes integer whichStack returns nothing - call s__Table_destroy((LoadInteger(ConstTable___ht, (((s__Args_fogstate_impl))), (whichStack)))) // INLINED!! + call s__Table_destroy((LoadInteger(ConstTable__ht, (((s__Args_fogstate_impl))), (whichStack)))) // INLINED!! endfunction //end of: ArgumentStack_HandleField("fogstate","Fogstate") @@ -8262,7 +8262,7 @@ constant function GAL_INDEX_SIZE takes nothing returns integer endfunction function GAL_SetSize takes integer listKey,integer newSize returns nothing - call SaveInteger((Lists___hashTable), listKey, (- 1), newSize) // INLINED!! + call SaveInteger((Lists__hashTable), listKey, (- 1), newSize) // INLINED!! endfunction //============== @@ -8290,46 +8290,46 @@ endfunction //============================================== // If a negative setKey is specified, this will actually set the previous element of the positive setKey -function GLHS___SetNext takes integer setKey,integer data,integer next returns nothing - call SaveInteger((Lists___hashTable), setKey, data, next) // INLINED!! +function GLHS__SetNext takes integer setKey,integer data,integer next returns nothing + call SaveInteger((Lists__hashTable), setKey, data, next) // INLINED!! endfunction // If a negative setKey is specified, this will actually set the next element of the positive setKey -function GLHS___SetPrev takes integer setKey,integer data,integer prev returns nothing - call SaveInteger((Lists___hashTable), - setKey, data, prev) // INLINED!! +function GLHS__SetPrev takes integer setKey,integer data,integer prev returns nothing + call SaveInteger((Lists__hashTable), - setKey, data, prev) // INLINED!! endfunction // These functions clear the link data of an element (used to remove stuff from the list) -function GLHS___ClearNext takes integer setKey,integer data returns nothing - call RemoveSavedInteger((Lists___hashTable), setKey, data) // INLINED!! +function GLHS__ClearNext takes integer setKey,integer data returns nothing + call RemoveSavedInteger((Lists__hashTable), setKey, data) // INLINED!! endfunction -function GLHS___ClearPrev takes integer setKey,integer data returns nothing - call RemoveSavedInteger((Lists___hashTable), - setKey, data) // INLINED!! +function GLHS__ClearPrev takes integer setKey,integer data returns nothing + call RemoveSavedInteger((Lists__hashTable), - setKey, data) // INLINED!! endfunction //Returns the next element after the specified "data" in the set //To get the first element, pass "0" as the parameter "data" -function GLHS___GetNext takes integer setKey,integer data returns integer - return LoadInteger((Lists___hashTable), setKey, data) // INLINED!! +function GLHS__GetNext takes integer setKey,integer data returns integer + return LoadInteger((Lists__hashTable), setKey, data) // INLINED!! endfunction //Returns the element that preceeds the specified "data" in the set //To get the last element, pass "0" as the parameter "data" -function GLHS___GetPrev takes integer setKey,integer data returns integer - return LoadInteger((Lists___hashTable), - setKey, data) // INLINED!! +function GLHS__GetPrev takes integer setKey,integer data returns integer + return LoadInteger((Lists__hashTable), - setKey, data) // INLINED!! endfunction //Adds an element to a set, in the position preceeding the element passed as the second parameter //If data is already present in set, behaviour is undefined -function GLHS___AddBefore takes integer setKey,integer next,integer data returns nothing - local integer prev= (LoadInteger((Lists___hashTable), - (setKey ), ( next))) // INLINED!! +function GLHS__AddBefore takes integer setKey,integer next,integer data returns nothing + local integer prev= (LoadInteger((Lists__hashTable), - (setKey ), ( next))) // INLINED!! - call SaveInteger((Lists___hashTable), (setKey ), ( prev ), ( data)) // INLINED!! - call SaveInteger((Lists___hashTable), - (setKey ), ( next ), ( data)) // INLINED!! + call SaveInteger((Lists__hashTable), (setKey ), ( prev ), ( data)) // INLINED!! + call SaveInteger((Lists__hashTable), - (setKey ), ( next ), ( data)) // INLINED!! - call SaveInteger((Lists___hashTable), (setKey ), ( data ), ( next)) // INLINED!! - call SaveInteger((Lists___hashTable), - (setKey ), ( data ), ( prev)) // INLINED!! + call SaveInteger((Lists__hashTable), (setKey ), ( data ), ( next)) // INLINED!! + call SaveInteger((Lists__hashTable), - (setKey ), ( data ), ( prev)) // INLINED!! endfunction //============================================== @@ -8339,7 +8339,7 @@ endfunction function s__LinkedHashSet_begin takes integer this returns integer - return (LoadInteger((Lists___hashTable), (this ), ( 0))) // INLINED!! + return (LoadInteger((Lists__hashTable), (this ), ( 0))) // INLINED!! endfunction function s__LinkedHashSet_end takes nothing returns integer @@ -8347,7 +8347,7 @@ endfunction endfunction function s__LinkedHashSet_rBegin takes integer this returns integer - return (LoadInteger((Lists___hashTable), - (this ), ( 0))) // INLINED!! + return (LoadInteger((Lists__hashTable), - (this ), ( 0))) // INLINED!! endfunction function s__LinkedHashSet_rEnd takes nothing returns integer @@ -8355,30 +8355,30 @@ endfunction endfunction function s__LinkedHashSet_next takes integer this,integer i returns integer - return (LoadInteger((Lists___hashTable), (this ), ( i))) // INLINED!! + return (LoadInteger((Lists__hashTable), (this ), ( i))) // INLINED!! endfunction function s__LinkedHashSet_prev takes integer this,integer i returns integer - return (LoadInteger((Lists___hashTable), - (this ), ( i))) // INLINED!! + return (LoadInteger((Lists__hashTable), - (this ), ( i))) // INLINED!! endfunction function s__LinkedHashSet_setNext takes integer this,integer i,integer next returns nothing - call SaveInteger((Lists___hashTable), (this ), ( i ), ( next)) // INLINED!! + call SaveInteger((Lists__hashTable), (this ), ( i ), ( next)) // INLINED!! endfunction function s__LinkedHashSet_setPrev takes integer this,integer i,integer prev returns nothing - call SaveInteger((Lists___hashTable), - (this ), ( i ), ( prev)) // INLINED!! + call SaveInteger((Lists__hashTable), - (this ), ( i ), ( prev)) // INLINED!! endfunction function s__LinkedHashSet_delete takes integer this,integer i returns nothing - local integer next= (LoadInteger((Lists___hashTable), (this ), ( i))) // INLINED!! - local integer prev= (LoadInteger((Lists___hashTable), - (this ), ( i))) // INLINED!! + local integer next= (LoadInteger((Lists__hashTable), (this ), ( i))) // INLINED!! + local integer prev= (LoadInteger((Lists__hashTable), - (this ), ( i))) // INLINED!! - call SaveInteger((Lists___hashTable), - (this ), ( next ), ( prev)) // INLINED!! - call SaveInteger((Lists___hashTable), (this ), ( prev ), ( next)) // INLINED!! + call SaveInteger((Lists__hashTable), - (this ), ( next ), ( prev)) // INLINED!! + call SaveInteger((Lists__hashTable), (this ), ( prev ), ( next)) // INLINED!! - call RemoveSavedInteger((Lists___hashTable), (this ), ( i)) // INLINED!! - call RemoveSavedInteger((Lists___hashTable), - (this ), ( i)) // INLINED!! + call RemoveSavedInteger((Lists__hashTable), (this ), ( i)) // INLINED!! + call RemoveSavedInteger((Lists__hashTable), - (this ), ( i)) // INLINED!! endfunction constant function s__LinkedHashSet_RECYCLE_KEY takes nothing returns integer @@ -8411,22 +8411,22 @@ endfunction function s__LinkedHashSet_addBefore takes integer this,integer oldData,integer newData returns nothing - call GLHS___AddBefore(this , oldData , newData) + call GLHS__AddBefore(this , oldData , newData) endfunction function s__LinkedHashSet_addAfter takes integer this,integer oldData,integer newData returns nothing - call GLHS___AddBefore(- this , oldData , newData) + call GLHS__AddBefore(- this , oldData , newData) endfunction function s__LinkedHashSet_append takes integer this,integer data returns nothing - call GLHS___AddBefore((this) , (0 ) , ( data)) // INLINED!! + call GLHS__AddBefore((this) , (0 ) , ( data)) // INLINED!! endfunction function s__LinkedHashSet_prepend takes integer this,integer data returns nothing - call GLHS___AddBefore(- (this) , (0 ) , ( data)) // INLINED!! + call GLHS__AddBefore(- (this) , (0 ) , ( data)) // INLINED!! endfunction @@ -8436,39 +8436,39 @@ endfunction function s__LinkedHashSet_clear takes integer this returns nothing - call FlushChildHashtable((Lists___hashTable), this) // INLINED!! - call FlushChildHashtable((Lists___hashTable), - this) // INLINED!! + call FlushChildHashtable((Lists__hashTable), this) // INLINED!! + call FlushChildHashtable((Lists__hashTable), - this) // INLINED!! endfunction function s__LinkedHashSet_getFirst takes integer this returns integer - return (LoadInteger((Lists___hashTable), ((this) ), ( 0))) // INLINED!! + return (LoadInteger((Lists__hashTable), ((this) ), ( 0))) // INLINED!! endfunction function s__LinkedHashSet_getLast takes integer this returns integer - return (LoadInteger((Lists___hashTable), - ((this) ), ( 0))) // INLINED!! + return (LoadInteger((Lists__hashTable), - ((this) ), ( 0))) // INLINED!! endfunction function s__LinkedHashSet_isEmpty takes integer this returns boolean - return (LoadInteger((Lists___hashTable), ((this) ), ( 0))) == (0) // INLINED!! + return (LoadInteger((Lists__hashTable), ((this) ), ( 0))) == (0) // INLINED!! endfunction function s__LinkedHashSet_contains takes integer this,integer data returns boolean - return HaveSavedInteger((Lists___hashTable), this, data) // INLINED!! + return HaveSavedInteger((Lists__hashTable), this, data) // INLINED!! endfunction function s__LinkedHashSet_size takes integer this returns integer - local integer data= (LoadInteger((Lists___hashTable), ((this) ), ( 0))) // INLINED!! + local integer data= (LoadInteger((Lists__hashTable), ((this) ), ( 0))) // INLINED!! local integer count= 0 loop exitwhen data == (0) // INLINED!! set count=count + 1 - set data=(LoadInteger((Lists___hashTable), ((this) ), ( (data)))) // INLINED!! + set data=(LoadInteger((Lists__hashTable), ((this) ), ( (data)))) // INLINED!! endloop return count @@ -8476,14 +8476,14 @@ endfunction //This function loops through a Set and executes a trigger for each element, setting the udg_List variables to their relevant equivalents each time function s__LinkedHashSet_forEach takes integer this,trigger trig returns nothing - local integer data= (LoadInteger((Lists___hashTable), ((this) ), ( 0))) // INLINED!! + local integer data= (LoadInteger((Lists__hashTable), ((this) ), ( 0))) // INLINED!! loop exitwhen data == (0) // INLINED!! set s__LinkedHashSet_enumElement=data set s__LinkedHashSet_enumSet=this - set data=(LoadInteger((Lists___hashTable), ((this) ), ( (data)))) // INLINED!! + set data=(LoadInteger((Lists__hashTable), ((this) ), ( (data)))) // INLINED!! if IsTriggerEnabled(trig) and TriggerEvaluate(trig) then call TriggerExecute(trig) @@ -8493,7 +8493,7 @@ endfunction //If 'until' parameter is a non-negative number, then the loop will break after iterating over that many elements function s__LinkedHashSet_forEachCounted takes integer this,trigger trig,integer until returns nothing - local integer data= (LoadInteger((Lists___hashTable), ((this) ), ( 0))) // INLINED!! + local integer data= (LoadInteger((Lists__hashTable), ((this) ), ( 0))) // INLINED!! local integer count= 0 loop @@ -8501,7 +8501,7 @@ endfunction set s__LinkedHashSet_enumElement=data set s__LinkedHashSet_enumSet=this - set data=(LoadInteger((Lists___hashTable), ((this) ), ( (data)))) // INLINED!! + set data=(LoadInteger((Lists__hashTable), ((this) ), ( (data)))) // INLINED!! if IsTriggerEnabled(trig) and TriggerEvaluate(trig) then call TriggerExecute(trig) @@ -8513,14 +8513,14 @@ endfunction // You may specify a code that will run in a ForPlayer loop instead of a trigger function s__LinkedHashSet_forEachCode takes integer this,code func returns nothing - local integer data= (LoadInteger((Lists___hashTable), ((this) ), ( 0))) // INLINED!! + local integer data= (LoadInteger((Lists__hashTable), ((this) ), ( 0))) // INLINED!! loop exitwhen data == (0) // INLINED!! set s__LinkedHashSet_enumElement=data set s__LinkedHashSet_enumSet=this - set data=(LoadInteger((Lists___hashTable), ((this) ), ( (data)))) // INLINED!! + set data=(LoadInteger((Lists__hashTable), ((this) ), ( (data)))) // INLINED!! call ForForce(bj_FORCE_PLAYER[0], func) endloop @@ -8528,7 +8528,7 @@ endfunction function s__LinkedHashSet_forEachCodeCounted takes integer this,code func,integer until returns nothing - local integer data= (LoadInteger((Lists___hashTable), ((this) ), ( 0))) // INLINED!! + local integer data= (LoadInteger((Lists__hashTable), ((this) ), ( 0))) // INLINED!! local integer count= 0 loop @@ -8536,7 +8536,7 @@ endfunction set s__LinkedHashSet_enumElement=data set s__LinkedHashSet_enumSet=this - set data=(LoadInteger((Lists___hashTable), ((this) ), ( (data)))) // INLINED!! + set data=(LoadInteger((Lists__hashTable), ((this) ), ( (data)))) // INLINED!! call ForForce(bj_FORCE_PLAYER[0], func) @@ -8545,17 +8545,17 @@ endfunction endfunction function s__LinkedHashSet_forEachWipe takes integer this,integer start,integer finish,code func returns integer - local integer data= (LoadInteger((Lists___hashTable), (this ), ( start))) // INLINED!! + local integer data= (LoadInteger((Lists__hashTable), (this ), ( start))) // INLINED!! local integer nextData local integer countRemoved= 0 loop exitwhen data == finish or data == 0 - set nextData=(LoadInteger((Lists___hashTable), (this ), ( data))) // INLINED!! + set nextData=(LoadInteger((Lists__hashTable), (this ), ( data))) // INLINED!! - call RemoveSavedInteger((Lists___hashTable), (this ), ( data)) // INLINED!! - call RemoveSavedInteger((Lists___hashTable), - (- this ), ( data)) // INLINED!! + call RemoveSavedInteger((Lists__hashTable), (this ), ( data)) // INLINED!! + call RemoveSavedInteger((Lists__hashTable), - (- this ), ( data)) // INLINED!! set s__LinkedHashSet_enumElement=data set s__LinkedHashSet_enumSet=this @@ -8565,8 +8565,8 @@ endfunction set countRemoved=countRemoved + 1 endloop - call SaveInteger((Lists___hashTable), - (this ), ( data ), ( start)) // INLINED!! - call SaveInteger((Lists___hashTable), (this ), ( start ), ( data)) // INLINED!! + call SaveInteger((Lists__hashTable), - (this ), ( data ), ( start)) // INLINED!! + call SaveInteger((Lists__hashTable), (this ), ( start ), ( data)) // INLINED!! return countRemoved endfunction @@ -8578,8 +8578,8 @@ endfunction function s__LinkedHashSet_destroy takes integer this returns nothing - call FlushChildHashtable((Lists___hashTable), this) // INLINED!! - call FlushChildHashtable((Lists___hashTable), - this) // INLINED!! + call FlushChildHashtable((Lists__hashTable), this) // INLINED!! + call FlushChildHashtable((Lists__hashTable), - this) // INLINED!! //Implemented from module GMUI_deallocate_this: //textmacro instance: GMUI_RecycleIndex("this","thistype.RECYCLE_KEY()") call SaveInteger(GMUI_hashTable, (Lists_RECYCLE_KEY), this, LoadInteger(GMUI_hashTable, (Lists_RECYCLE_KEY), 0)) // INLINED!! @@ -8621,7 +8621,7 @@ endfunction -//Implemented from module TableStruct___Const: +//Implemented from module TableStruct__Const: function s__TableStruct_type takes integer i returns integer return i endfunction @@ -8634,17 +8634,17 @@ endfunction function s__TableStruct_setHandle takes integer parent,integer child,handle h returns nothing if h != null then - call SaveFogStateHandle(ConstTable___ht, (((((parent))))), (child), ( ConvertFogState(GetHandleId(h)))) // INLINED!! + call SaveFogStateHandle(ConstTable__ht, (((((parent))))), (child), ( ConvertFogState(GetHandleId(h)))) // INLINED!! else - call RemoveSavedHandle(ConstTable___ht, (((((parent))))), (child)) // INLINED!! + call RemoveSavedHandle(ConstTable__ht, (((((parent))))), (child)) // INLINED!! endif endfunction function s__TableStruct_setAgent takes integer parent,integer child,agent a returns nothing if a != null then - call SaveAgentHandle(ConstTable___ht, (((((parent))))), (child), ( a)) // INLINED!! + call SaveAgentHandle(ConstTable__ht, (((((parent))))), (child), ( a)) // INLINED!! else - call RemoveSavedHandle(ConstTable___ht, (((((parent))))), (child)) // INLINED!! + call RemoveSavedHandle(ConstTable__ht, (((((parent))))), (child)) // INLINED!! endif endfunction @@ -8735,24 +8735,24 @@ endfunction //textmacro instance: TableStruct_NewReadonlyStructField("tab", "Table") function s__BoolExprEvaluator__get_tab takes integer this returns integer - return (LoadInteger(ConstTable___ht, (((s__BoolExprEvaluator_tab_impl))), (this))) // INLINED!! + return (LoadInteger(ConstTable__ht, (((s__BoolExprEvaluator_tab_impl))), (this))) // INLINED!! endfunction function s__BoolExprEvaluator__set_tab takes integer this,integer new_tab returns nothing - call SaveInteger(ConstTable___ht, (((s__BoolExprEvaluator_tab_impl))), (this), ( new_tab)) // INLINED!! + call SaveInteger(ConstTable__ht, (((s__BoolExprEvaluator_tab_impl))), (this), ( new_tab)) // INLINED!! endfunction function s__BoolExprEvaluator_tabClear takes integer this returns nothing - call RemoveSavedInteger(ConstTable___ht, (((s__BoolExprEvaluator_tab_impl))), (this)) // INLINED!! + call RemoveSavedInteger(ConstTable__ht, (((s__BoolExprEvaluator_tab_impl))), (this)) // INLINED!! endfunction function s__BoolExprEvaluator_tabExists takes integer this returns boolean - return (HaveSavedInteger(ConstTable___ht, (((s__BoolExprEvaluator_tab_impl))), (this))) // INLINED!! + return (HaveSavedInteger(ConstTable__ht, (((s__BoolExprEvaluator_tab_impl))), (this))) // INLINED!! endfunction //end of: TableStruct_NewReadonlyStructField("tab", "Table") //textmacro instance: TableStruct_NewReadonlyHandleField("trigger", "trigger") function s__BoolExprEvaluator__get_trigger takes integer this returns trigger - return (LoadTriggerHandle(ConstTable___ht, (((((s__BoolExprEvaluator_trigger_impl))))), (this))) // INLINED!! + return (LoadTriggerHandle(ConstTable__ht, (((((s__BoolExprEvaluator_trigger_impl))))), (this))) // INLINED!! endfunction function s__BoolExprEvaluator__set_trigger takes integer this,trigger new_trigger returns nothing @@ -8760,46 +8760,46 @@ endfunction endfunction function s__BoolExprEvaluator_triggerClear takes integer this returns nothing - call RemoveSavedHandle(ConstTable___ht, (((((s__BoolExprEvaluator_trigger_impl))))), (this)) // INLINED!! + call RemoveSavedHandle(ConstTable__ht, (((((s__BoolExprEvaluator_trigger_impl))))), (this)) // INLINED!! endfunction function s__BoolExprEvaluator_triggerExists takes integer this returns boolean - return (HaveSavedHandle(ConstTable___ht, (((((s__BoolExprEvaluator_trigger_impl))))), (this))) // INLINED!! + return (HaveSavedHandle(ConstTable__ht, (((((s__BoolExprEvaluator_trigger_impl))))), (this))) // INLINED!! endfunction //end of: TableStruct_NewReadonlyHandleField("trigger", "trigger") // //! runtextmacro TableStruct_NewReadonlyStructField("exprs", "LinkedHashSet") function s__BoolExprEvaluator_hasRegistered takes integer this,boolexpr expr returns boolean - return (HaveSavedHandle(Table___ht, ((((LoadInteger(ConstTable___ht, (((s__BoolExprEvaluator_tab_impl))), ((this))))))), (GetHandleId(expr)))) // INLINED!! + return (HaveSavedHandle(Table__ht, ((((LoadInteger(ConstTable__ht, (((s__BoolExprEvaluator_tab_impl))), ((this))))))), (GetHandleId(expr)))) // INLINED!! endfunction function s__BoolExprEvaluator_isNullPointer takes integer this returns boolean - return (LoadTriggerHandle(ConstTable___ht, (((((s__BoolExprEvaluator_trigger_impl))))), ((this)))) == null // INLINED!! + return (LoadTriggerHandle(ConstTable__ht, (((((s__BoolExprEvaluator_trigger_impl))))), ((this)))) == null // INLINED!! endfunction function s__BoolExprEvaluator_register takes integer this,boolexpr expr returns nothing - if (HaveSavedHandle(Table___ht, ((((LoadInteger(ConstTable___ht, (((s__BoolExprEvaluator_tab_impl))), (((this)))))))), (GetHandleId((expr))))) then // INLINED!! + if (HaveSavedHandle(Table__ht, ((((LoadInteger(ConstTable__ht, (((s__BoolExprEvaluator_tab_impl))), (((this)))))))), (GetHandleId((expr))))) then // INLINED!! return endif - call SaveTriggerConditionHandle(Table___ht, ((((LoadInteger(ConstTable___ht, (((s__BoolExprEvaluator_tab_impl))), ((this))))))), (GetHandleId(expr)), ( TriggerAddCondition((LoadTriggerHandle(ConstTable___ht, (((((s__BoolExprEvaluator_trigger_impl))))), ((this)))), expr))) // INLINED!! + call SaveTriggerConditionHandle(Table__ht, ((((LoadInteger(ConstTable__ht, (((s__BoolExprEvaluator_tab_impl))), ((this))))))), (GetHandleId(expr)), ( TriggerAddCondition((LoadTriggerHandle(ConstTable__ht, (((((s__BoolExprEvaluator_trigger_impl))))), ((this)))), expr))) // INLINED!! endfunction function s__BoolExprEvaluator_deregister takes integer this,boolexpr expr returns nothing - if not (HaveSavedHandle(Table___ht, ((((LoadInteger(ConstTable___ht, (((s__BoolExprEvaluator_tab_impl))), (((this)))))))), (GetHandleId((expr))))) then // INLINED!! + if not (HaveSavedHandle(Table__ht, ((((LoadInteger(ConstTable__ht, (((s__BoolExprEvaluator_tab_impl))), (((this)))))))), (GetHandleId((expr))))) then // INLINED!! return endif - call TriggerRemoveCondition((LoadTriggerHandle(ConstTable___ht, (((((s__BoolExprEvaluator_trigger_impl))))), ((this)))), (LoadTriggerConditionHandle(Table___ht, ((((LoadInteger(ConstTable___ht, (((s__BoolExprEvaluator_tab_impl))), ((this))))))), (GetHandleId(expr))))) // INLINED!! - call RemoveSavedHandle(Table___ht, ((((LoadInteger(ConstTable___ht, (((s__BoolExprEvaluator_tab_impl))), ((this))))))), (GetHandleId(expr))) // INLINED!! + call TriggerRemoveCondition((LoadTriggerHandle(ConstTable__ht, (((((s__BoolExprEvaluator_trigger_impl))))), ((this)))), (LoadTriggerConditionHandle(Table__ht, ((((LoadInteger(ConstTable__ht, (((s__BoolExprEvaluator_tab_impl))), ((this))))))), (GetHandleId(expr))))) // INLINED!! + call RemoveSavedHandle(Table__ht, ((((LoadInteger(ConstTable__ht, (((s__BoolExprEvaluator_tab_impl))), ((this))))))), (GetHandleId(expr))) // INLINED!! endfunction function s__BoolExprEvaluator_evaluate takes integer this returns nothing - call TriggerEvaluate((LoadTriggerHandle(ConstTable___ht, (((((s__BoolExprEvaluator_trigger_impl))))), ((this))))) // INLINED!! + call TriggerEvaluate((LoadTriggerHandle(ConstTable__ht, (((((s__BoolExprEvaluator_trigger_impl))))), ((this))))) // INLINED!! endfunction function s__BoolExprEvaluator_create takes nothing returns integer @@ -8807,23 +8807,23 @@ endfunction local integer this= GetHandleId(trig) call s__TableStruct_setHandle(s__BoolExprEvaluator_trigger_impl , (this) , (trig)) // INLINED!! - call SaveInteger(ConstTable___ht, (((s__BoolExprEvaluator_tab_impl))), ((this)), ( (s__Table_create()))) // INLINED!! + call SaveInteger(ConstTable__ht, (((s__BoolExprEvaluator_tab_impl))), ((this)), ( (s__Table_create()))) // INLINED!! set trig=null return this endfunction function s__BoolExprEvaluator_destroy takes integer this returns nothing - if ((LoadTriggerHandle(ConstTable___ht, (((((s__BoolExprEvaluator_trigger_impl))))), (((this))))) == null) then // INLINED!! + if ((LoadTriggerHandle(ConstTable__ht, (((((s__BoolExprEvaluator_trigger_impl))))), (((this))))) == null) then // INLINED!! return endif //call TriggerClearConditions(.trigger) - call DestroyTrigger((LoadTriggerHandle(ConstTable___ht, (((((s__BoolExprEvaluator_trigger_impl))))), ((this))))) // INLINED!! - call s__Table_destroy((LoadInteger(ConstTable___ht, (((s__BoolExprEvaluator_tab_impl))), ((this))))) // INLINED!! - call RemoveSavedInteger(ConstTable___ht, (((s__BoolExprEvaluator_tab_impl))), ((this))) // INLINED!! - call RemoveSavedHandle(ConstTable___ht, (((((s__BoolExprEvaluator_trigger_impl))))), ((this))) // INLINED!! + call DestroyTrigger((LoadTriggerHandle(ConstTable__ht, (((((s__BoolExprEvaluator_trigger_impl))))), ((this))))) // INLINED!! + call s__Table_destroy((LoadInteger(ConstTable__ht, (((s__BoolExprEvaluator_tab_impl))), ((this))))) // INLINED!! + call RemoveSavedInteger(ConstTable__ht, (((s__BoolExprEvaluator_tab_impl))), ((this))) // INLINED!! + call RemoveSavedHandle(ConstTable__ht, (((((s__BoolExprEvaluator_trigger_impl))))), ((this))) // INLINED!! endfunction @@ -8841,22 +8841,22 @@ endfunction - function s__CombatTag__CombatTag__get_physDmgTable takes nothing returns integer + function s__CombatTag___CombatTag__get_physDmgTable takes nothing returns integer return CombatTag_PHYS_DAMAGE endfunction - function s__CombatTag__CombatTag__get_spellDmgTable takes nothing returns integer + function s__CombatTag___CombatTag__get_spellDmgTable takes nothing returns integer return CombatTag_SPELL_DAMAGE endfunction - function s__CombatTag__CombatTag__get_healingTable takes nothing returns integer + function s__CombatTag___CombatTag__get_healingTable takes nothing returns integer return CombatTag_HEALING endfunction //textmacro instance: TableStruct_NewConstTableField("","timerData") - constant function s__CombatTag__CombatTag__get_timerData takes nothing returns integer - return s__CombatTag__CombatTag_timerData_impl + constant function s__CombatTag___CombatTag__get_timerData takes nothing returns integer + return s__CombatTag___CombatTag_timerData_impl endfunction @@ -8866,36 +8866,36 @@ endfunction //end of: TableStruct_NewConstTableField("","timerData") - function s__CombatTag__CombatTag_showText takes nothing returns nothing + function s__CombatTag___CombatTag_showText takes nothing returns nothing local timer t= GetExpiredTimer() local integer tId= GetHandleId(t) - local unit u= (LoadUnitHandle(ConstTable___ht, ((((s__CombatTag__CombatTag_timerData_impl)))), (tId))) // INLINED!! + local unit u= (LoadUnitHandle(ConstTable__ht, ((((s__CombatTag___CombatTag_timerData_impl)))), (tId))) // INLINED!! local integer uId= GetUnitUserData(u) local real z_offset= 50 - if (HaveSavedReal(ConstTable___ht, ((((CombatTag_PHYS_DAMAGE)))), (uId))) then // INLINED!! - call CreateTextTagUnitBJ(I2S(R2I((LoadReal(ConstTable___ht, ((((CombatTag_PHYS_DAMAGE)))), (uId))))), u, z_offset, 13.00, CombatTag_PHYSICAL_RED, CombatTag_PHYSICAL_GREEN, CombatTag_PHYSICAL_BLUE, 0) // INLINED!! + if (HaveSavedReal(ConstTable__ht, ((((CombatTag_PHYS_DAMAGE)))), (uId))) then // INLINED!! + call CreateTextTagUnitBJ(I2S(R2I((LoadReal(ConstTable__ht, ((((CombatTag_PHYS_DAMAGE)))), (uId))))), u, z_offset, 13.00, CombatTag_PHYSICAL_RED, CombatTag_PHYSICAL_GREEN, CombatTag_PHYSICAL_BLUE, 0) // INLINED!! call SetTextTagVelocityBJ(bj_lastCreatedTextTag, 75.00, 90.00) call SetTextTagPermanent(bj_lastCreatedTextTag, false) call SetTextTagLifespan(bj_lastCreatedTextTag, 3.50) call SetTextTagFadepoint(bj_lastCreatedTextTag, 1.40) set z_offset=z_offset + 50.0 - call RemoveSavedReal(ConstTable___ht, ((((CombatTag_PHYS_DAMAGE)))), (uId)) // INLINED!! + call RemoveSavedReal(ConstTable__ht, ((((CombatTag_PHYS_DAMAGE)))), (uId)) // INLINED!! endif - if (HaveSavedReal(ConstTable___ht, ((((CombatTag_SPELL_DAMAGE)))), (uId))) then // INLINED!! - call CreateTextTagUnitBJ(I2S(R2I((LoadReal(ConstTable___ht, ((((CombatTag_SPELL_DAMAGE)))), (uId))))), u, z_offset, 13.00, CombatTag_SPELL_RED, CombatTag_SPELL_GREEN, CombatTag_SPELL_BLUE, 0) // INLINED!! + if (HaveSavedReal(ConstTable__ht, ((((CombatTag_SPELL_DAMAGE)))), (uId))) then // INLINED!! + call CreateTextTagUnitBJ(I2S(R2I((LoadReal(ConstTable__ht, ((((CombatTag_SPELL_DAMAGE)))), (uId))))), u, z_offset, 13.00, CombatTag_SPELL_RED, CombatTag_SPELL_GREEN, CombatTag_SPELL_BLUE, 0) // INLINED!! call SetTextTagVelocityBJ(bj_lastCreatedTextTag, 75.00, 90.00) call SetTextTagPermanent(bj_lastCreatedTextTag, false) call SetTextTagLifespan(bj_lastCreatedTextTag, 3.50) call SetTextTagFadepoint(bj_lastCreatedTextTag, 1.40) set z_offset=z_offset + 50.0 - call RemoveSavedReal(ConstTable___ht, ((((CombatTag_SPELL_DAMAGE)))), (uId)) // INLINED!! + call RemoveSavedReal(ConstTable__ht, ((((CombatTag_SPELL_DAMAGE)))), (uId)) // INLINED!! endif call PauseTimer(t) call DestroyTimer(t) - call RemoveSavedHandle(ConstTable___ht, ((((s__CombatTag__CombatTag_timerData_impl)))), (tId)) // INLINED!! + call RemoveSavedHandle(ConstTable__ht, ((((s__CombatTag___CombatTag_timerData_impl)))), (tId)) // INLINED!! set t=null set u=null endfunction @@ -8909,17 +8909,17 @@ function CombatTag_Register takes unit whichUnit,real value,integer whichType re return endif - if (HaveSavedReal(ConstTable___ht, (((whichType))), (uId))) then // INLINED!! - set amount=(LoadReal(ConstTable___ht, (((whichType))), (uId))) // INLINED!! + if (HaveSavedReal(ConstTable__ht, (((whichType))), (uId))) then // INLINED!! + set amount=(LoadReal(ConstTable__ht, (((whichType))), (uId))) // INLINED!! else set t=CreateTimer() - call TimerStart(t, 0, false, function s__CombatTag__CombatTag_showText) - call SaveUnitHandle(ConstTable___ht, ((((s__CombatTag__CombatTag_timerData_impl)))), (GetHandleId(t)), ( whichUnit)) // INLINED!! + call TimerStart(t, 0, false, function s__CombatTag___CombatTag_showText) + call SaveUnitHandle(ConstTable__ht, ((((s__CombatTag___CombatTag_timerData_impl)))), (GetHandleId(t)), ( whichUnit)) // INLINED!! set t=null set amount=0 endif - call SaveReal(ConstTable___ht, (((whichType))), (uId), (( amount + value)*1.0)) // INLINED!! + call SaveReal(ConstTable__ht, (((whichType))), (uId), (( amount + value)*1.0)) // INLINED!! endfunction @@ -8963,31 +8963,31 @@ endfunction //end of: TableStruct_NewConstTableField("", "necroticOrders") function s__Order_isMorph takes integer this returns boolean - return (HaveSavedBoolean(ConstTable___ht, ((((s__Order_morphOrders_impl)))), (this))) // INLINED!! + return (HaveSavedBoolean(ConstTable__ht, ((((s__Order_morphOrders_impl)))), (this))) // INLINED!! endfunction function s__Order_isNecrotic takes integer this returns boolean - return (HaveSavedBoolean(ConstTable___ht, ((((s__Order_necroticOrders_impl)))), (this))) // INLINED!! + return (HaveSavedBoolean(ConstTable__ht, ((((s__Order_necroticOrders_impl)))), (this))) // INLINED!! endfunction function s__Order_isGeneral takes integer this returns boolean - return (HaveSavedBoolean(ConstTable___ht, ((((s__Order_generalOrders_impl)))), (this))) // INLINED!! + return (HaveSavedBoolean(ConstTable__ht, ((((s__Order_generalOrders_impl)))), (this))) // INLINED!! endfunction //======================== // API function IsOrderMorph takes integer orderId returns boolean - return (HaveSavedBoolean(ConstTable___ht, ((((s__Order_morphOrders_impl)))), (((orderId))))) // INLINED!! + return (HaveSavedBoolean(ConstTable__ht, ((((s__Order_morphOrders_impl)))), (((orderId))))) // INLINED!! endfunction // includes pocket factory because it crahses on CDR reduce function IsOrderNecrotic takes integer orderId returns boolean - return (HaveSavedBoolean(ConstTable___ht, ((((s__Order_necroticOrders_impl)))), (((orderId))))) // INLINED!! + return (HaveSavedBoolean(ConstTable__ht, ((((s__Order_necroticOrders_impl)))), (((orderId))))) // INLINED!! endfunction function IsOrderGeneral takes integer orderId returns boolean - return (HaveSavedBoolean(ConstTable___ht, ((((s__Order_generalOrders_impl)))), (((orderId))))) // INLINED!! + return (HaveSavedBoolean(ConstTable__ht, ((((s__Order_generalOrders_impl)))), (((orderId))))) // INLINED!! endfunction //======================== @@ -8996,46 +8996,46 @@ endfunction function FilterTransformations___onInit takes nothing returns nothing // Morph Orders - call SaveBoolean(ConstTable___ht, ((((s__Order_morphOrders_impl)))), (OrderId("burrow")), ( true)) // INLINED!! - call SaveBoolean(ConstTable___ht, ((((s__Order_morphOrders_impl)))), (OrderId("unburrow")), ( true)) // INLINED!! - call SaveBoolean(ConstTable___ht, ((((s__Order_morphOrders_impl)))), (OrderId("sphinxform")), ( true)) // INLINED!! - call SaveBoolean(ConstTable___ht, ((((s__Order_morphOrders_impl)))), (OrderId("unsphinxform")), ( true)) // INLINED!! - call SaveBoolean(ConstTable___ht, ((((s__Order_morphOrders_impl)))), (OrderId("bearform")), ( true)) // INLINED!! - call SaveBoolean(ConstTable___ht, ((((s__Order_morphOrders_impl)))), (OrderId("unbearform")), ( true)) // INLINED!! - call SaveBoolean(ConstTable___ht, ((((s__Order_morphOrders_impl)))), (OrderId("ravenform")), ( true)) // INLINED!! - call SaveBoolean(ConstTable___ht, ((((s__Order_morphOrders_impl)))), (OrderId("unravenform")), ( true)) // INLINED!! - call SaveBoolean(ConstTable___ht, ((((s__Order_morphOrders_impl)))), (OrderId("root")), ( true)) // INLINED!! - call SaveBoolean(ConstTable___ht, ((((s__Order_morphOrders_impl)))), (OrderId("unroot")), ( true)) // INLINED!! - call SaveBoolean(ConstTable___ht, ((((s__Order_morphOrders_impl)))), (OrderId("etherealform")), ( true)) // INLINED!! - call SaveBoolean(ConstTable___ht, ((((s__Order_morphOrders_impl)))), (OrderId("unetherealform")), ( true)) // INLINED!! - call SaveBoolean(ConstTable___ht, ((((s__Order_morphOrders_impl)))), (OrderId("corporealform")), ( true)) // INLINED!! - call SaveBoolean(ConstTable___ht, ((((s__Order_morphOrders_impl)))), (OrderId("uncorporealform")), ( true)) // INLINED!! - call SaveBoolean(ConstTable___ht, ((((s__Order_morphOrders_impl)))), (OrderId("submerge")), ( true)) // INLINED!! - call SaveBoolean(ConstTable___ht, ((((s__Order_morphOrders_impl)))), (OrderId("unsubmerge")), ( true)) // INLINED!! - call SaveBoolean(ConstTable___ht, ((((s__Order_morphOrders_impl)))), (OrderId("robogoblin")), ( true)) // INLINED!! - call SaveBoolean(ConstTable___ht, ((((s__Order_morphOrders_impl)))), (OrderId("unrobogoblin")), ( true)) // INLINED!! - call SaveBoolean(ConstTable___ht, ((((s__Order_morphOrders_impl)))), (OrderId("metamorphosis")), ( true)) // INLINED!! - call SaveBoolean(ConstTable___ht, ((((s__Order_morphOrders_impl)))), (OrderId("stoneform")), ( true)) // INLINED!! - call SaveBoolean(ConstTable___ht, ((((s__Order_morphOrders_impl)))), (OrderId("unstoneform")), ( true)) // INLINED!! - call SaveBoolean(ConstTable___ht, ((((s__Order_morphOrders_impl)))), (OrderId("chemicalrage")), ( true)) // INLINED!! - call SaveBoolean(ConstTable___ht, ((((s__Order_morphOrders_impl)))), (OrderId("elementalfury")), ( true)) // INLINED!! - call SaveBoolean(ConstTable___ht, ((((s__Order_morphOrders_impl)))), (OrderId("polymorph")), ( true)) // INLINED!! - call SaveBoolean(ConstTable___ht, ((((s__Order_morphOrders_impl)))), (OrderId("hex")), ( true)) // INLINED!! + call SaveBoolean(ConstTable__ht, ((((s__Order_morphOrders_impl)))), (OrderId("burrow")), ( true)) // INLINED!! + call SaveBoolean(ConstTable__ht, ((((s__Order_morphOrders_impl)))), (OrderId("unburrow")), ( true)) // INLINED!! + call SaveBoolean(ConstTable__ht, ((((s__Order_morphOrders_impl)))), (OrderId("sphinxform")), ( true)) // INLINED!! + call SaveBoolean(ConstTable__ht, ((((s__Order_morphOrders_impl)))), (OrderId("unsphinxform")), ( true)) // INLINED!! + call SaveBoolean(ConstTable__ht, ((((s__Order_morphOrders_impl)))), (OrderId("bearform")), ( true)) // INLINED!! + call SaveBoolean(ConstTable__ht, ((((s__Order_morphOrders_impl)))), (OrderId("unbearform")), ( true)) // INLINED!! + call SaveBoolean(ConstTable__ht, ((((s__Order_morphOrders_impl)))), (OrderId("ravenform")), ( true)) // INLINED!! + call SaveBoolean(ConstTable__ht, ((((s__Order_morphOrders_impl)))), (OrderId("unravenform")), ( true)) // INLINED!! + call SaveBoolean(ConstTable__ht, ((((s__Order_morphOrders_impl)))), (OrderId("root")), ( true)) // INLINED!! + call SaveBoolean(ConstTable__ht, ((((s__Order_morphOrders_impl)))), (OrderId("unroot")), ( true)) // INLINED!! + call SaveBoolean(ConstTable__ht, ((((s__Order_morphOrders_impl)))), (OrderId("etherealform")), ( true)) // INLINED!! + call SaveBoolean(ConstTable__ht, ((((s__Order_morphOrders_impl)))), (OrderId("unetherealform")), ( true)) // INLINED!! + call SaveBoolean(ConstTable__ht, ((((s__Order_morphOrders_impl)))), (OrderId("corporealform")), ( true)) // INLINED!! + call SaveBoolean(ConstTable__ht, ((((s__Order_morphOrders_impl)))), (OrderId("uncorporealform")), ( true)) // INLINED!! + call SaveBoolean(ConstTable__ht, ((((s__Order_morphOrders_impl)))), (OrderId("submerge")), ( true)) // INLINED!! + call SaveBoolean(ConstTable__ht, ((((s__Order_morphOrders_impl)))), (OrderId("unsubmerge")), ( true)) // INLINED!! + call SaveBoolean(ConstTable__ht, ((((s__Order_morphOrders_impl)))), (OrderId("robogoblin")), ( true)) // INLINED!! + call SaveBoolean(ConstTable__ht, ((((s__Order_morphOrders_impl)))), (OrderId("unrobogoblin")), ( true)) // INLINED!! + call SaveBoolean(ConstTable__ht, ((((s__Order_morphOrders_impl)))), (OrderId("metamorphosis")), ( true)) // INLINED!! + call SaveBoolean(ConstTable__ht, ((((s__Order_morphOrders_impl)))), (OrderId("stoneform")), ( true)) // INLINED!! + call SaveBoolean(ConstTable__ht, ((((s__Order_morphOrders_impl)))), (OrderId("unstoneform")), ( true)) // INLINED!! + call SaveBoolean(ConstTable__ht, ((((s__Order_morphOrders_impl)))), (OrderId("chemicalrage")), ( true)) // INLINED!! + call SaveBoolean(ConstTable__ht, ((((s__Order_morphOrders_impl)))), (OrderId("elementalfury")), ( true)) // INLINED!! + call SaveBoolean(ConstTable__ht, ((((s__Order_morphOrders_impl)))), (OrderId("polymorph")), ( true)) // INLINED!! + call SaveBoolean(ConstTable__ht, ((((s__Order_morphOrders_impl)))), (OrderId("hex")), ( true)) // INLINED!! // Necrotic Orders - call SaveBoolean(ConstTable___ht, ((((s__Order_necroticOrders_impl)))), (OrderId("raisedead")), ( true)) // INLINED!! - call SaveBoolean(ConstTable___ht, ((((s__Order_necroticOrders_impl)))), (OrderId("instant")), ( true)) // INLINED!! - call SaveBoolean(ConstTable___ht, ((((s__Order_necroticOrders_impl)))), (OrderId("vengeance")), ( true)) // INLINED!! - call SaveBoolean(ConstTable___ht, ((((s__Order_necroticOrders_impl)))), (OrderId("vengeanceinstant")), ( true)) // INLINED!! - call SaveBoolean(ConstTable___ht, ((((s__Order_necroticOrders_impl)))), (OrderId("carrionscarabs")), ( true)) // INLINED!! - call SaveBoolean(ConstTable___ht, ((((s__Order_necroticOrders_impl)))), (OrderId("carrionscarabsinstant")), ( true)) // INLINED!! - call SaveBoolean(ConstTable___ht, ((((s__Order_necroticOrders_impl)))), (OrderId("summonfactory")), ( true)) // INLINED!! + call SaveBoolean(ConstTable__ht, ((((s__Order_necroticOrders_impl)))), (OrderId("raisedead")), ( true)) // INLINED!! + call SaveBoolean(ConstTable__ht, ((((s__Order_necroticOrders_impl)))), (OrderId("instant")), ( true)) // INLINED!! + call SaveBoolean(ConstTable__ht, ((((s__Order_necroticOrders_impl)))), (OrderId("vengeance")), ( true)) // INLINED!! + call SaveBoolean(ConstTable__ht, ((((s__Order_necroticOrders_impl)))), (OrderId("vengeanceinstant")), ( true)) // INLINED!! + call SaveBoolean(ConstTable__ht, ((((s__Order_necroticOrders_impl)))), (OrderId("carrionscarabs")), ( true)) // INLINED!! + call SaveBoolean(ConstTable__ht, ((((s__Order_necroticOrders_impl)))), (OrderId("carrionscarabsinstant")), ( true)) // INLINED!! + call SaveBoolean(ConstTable__ht, ((((s__Order_necroticOrders_impl)))), (OrderId("summonfactory")), ( true)) // INLINED!! // General Orders - call SaveBoolean(ConstTable___ht, ((((s__Order_generalOrders_impl)))), (OrderId("smart")), ( true)) // INLINED!! - call SaveBoolean(ConstTable___ht, ((((s__Order_generalOrders_impl)))), (OrderId("attack")), ( true)) // INLINED!! - call SaveBoolean(ConstTable___ht, ((((s__Order_generalOrders_impl)))), (OrderId("patrol")), ( true)) // INLINED!! - call SaveBoolean(ConstTable___ht, ((((s__Order_generalOrders_impl)))), (OrderId("holdposition")), ( true)) // INLINED!! + call SaveBoolean(ConstTable__ht, ((((s__Order_generalOrders_impl)))), (OrderId("smart")), ( true)) // INLINED!! + call SaveBoolean(ConstTable__ht, ((((s__Order_generalOrders_impl)))), (OrderId("attack")), ( true)) // INLINED!! + call SaveBoolean(ConstTable__ht, ((((s__Order_generalOrders_impl)))), (OrderId("patrol")), ( true)) // INLINED!! + call SaveBoolean(ConstTable__ht, ((((s__Order_generalOrders_impl)))), (OrderId("holdposition")), ( true)) // INLINED!! endfunction @@ -9306,48 +9306,48 @@ endfunction endfunction -//Implemented from module GALinteger___Methods: +//Implemented from module GALinteger__Methods: function s__ArrayList__getindex takes integer this,integer index returns integer - return LoadInteger((Lists___hashTable), this, index) // INLINED!! + return LoadInteger((Lists__hashTable), this, index) // INLINED!! endfunction function s__ArrayList__setindex takes integer this,integer index,integer value returns nothing - call SaveInteger((Lists___hashTable), this, index, value) // INLINED!! + call SaveInteger((Lists__hashTable), this, index, value) // INLINED!! endfunction //Gets the size of a specified list //Available since 1.0.0, replaced GetListSize function s__ArrayList_size takes integer this returns integer - return LoadInteger((Lists___hashTable), this, (- 1)) // INLINED!! + return LoadInteger((Lists__hashTable), this, (- 1)) // INLINED!! endfunction function s__ArrayList_append takes integer this,integer value returns integer - local integer size= (LoadInteger((Lists___hashTable), (this), (- 1))) // INLINED!! - call SaveInteger((Lists___hashTable), (this), (size), ( value)) // INLINED!! - call SaveInteger((Lists___hashTable), (this ), (- 1), ( size + 1)) // INLINED!! + local integer size= (LoadInteger((Lists__hashTable), (this), (- 1))) // INLINED!! + call SaveInteger((Lists__hashTable), (this), (size), ( value)) // INLINED!! + call SaveInteger((Lists__hashTable), (this ), (- 1), ( size + 1)) // INLINED!! return size endfunction function s__ArrayList_delete takes integer this,integer index returns nothing - local integer size= (LoadInteger((Lists___hashTable), (this), (- 1))) // INLINED!! + local integer size= (LoadInteger((Lists__hashTable), (this), (- 1))) // INLINED!! set index=index + 1 loop exitwhen index >= size - call SaveInteger((Lists___hashTable), (this), (index - 1), ( (LoadInteger((Lists___hashTable), (this), (index))))) // INLINED!! + call SaveInteger((Lists__hashTable), (this), (index - 1), ( (LoadInteger((Lists__hashTable), (this), (index))))) // INLINED!! set index=index + 1 endloop - call SaveInteger((Lists___hashTable), (this ), (- 1), ( size - 1)) // INLINED!! - call RemoveSavedInteger((Lists___hashTable), this, size - 1) // INLINED!! + call SaveInteger((Lists__hashTable), (this ), (- 1), ( size - 1)) // INLINED!! + call RemoveSavedInteger((Lists__hashTable), this, size - 1) // INLINED!! endfunction function s__ArrayList_clear takes integer this returns nothing - call FlushChildHashtable((Lists___hashTable), this) // INLINED!! - call SaveInteger((Lists___hashTable), (this ), (- 1), ( 0)) // INLINED!! + call FlushChildHashtable((Lists__hashTable), this) // INLINED!! + call SaveInteger((Lists__hashTable), (this ), (- 1), ( 0)) // INLINED!! endfunction function s__ArrayList_randomize takes integer this returns nothing - local integer i= (LoadInteger((Lists___hashTable), (this), (- 1))) - 1 // INLINED!! + local integer i= (LoadInteger((Lists__hashTable), (this), (- 1))) - 1 // INLINED!! local integer temp local integer j @@ -9355,9 +9355,9 @@ endfunction exitwhen i <= 0 set j=GetRandomInt(0, i) - set temp=(LoadInteger((Lists___hashTable), (this), (i))) // INLINED!! - call SaveInteger((Lists___hashTable), (this), (i), ( (LoadInteger((Lists___hashTable), (this), (j))))) // INLINED!! - call SaveInteger((Lists___hashTable), (this), (j), ( temp)) // INLINED!! + set temp=(LoadInteger((Lists__hashTable), (this), (i))) // INLINED!! + call SaveInteger((Lists__hashTable), (this), (i), ( (LoadInteger((Lists__hashTable), (this), (j))))) // INLINED!! + call SaveInteger((Lists__hashTable), (this), (j), ( temp)) // INLINED!! set i=i - 1 endloop @@ -9366,12 +9366,12 @@ endfunction function s__ArrayList_copy takes integer this returns integer local integer result= sc__ArrayList_create() - local integer size= (LoadInteger((Lists___hashTable), (this), (- 1))) // INLINED!! + local integer size= (LoadInteger((Lists__hashTable), (this), (- 1))) // INLINED!! local integer i= 0 loop exitwhen i == size - call s__ArrayList_append(result,(LoadInteger((Lists___hashTable), (this), (i)))) // INLINED!! + call s__ArrayList_append(result,(LoadInteger((Lists__hashTable), (this), (i)))) // INLINED!! set i=i + 1 endloop @@ -9386,11 +9386,11 @@ endfunction endfunction function s__ArrayList_end takes integer this returns integer - return (LoadInteger((Lists___hashTable), (this), (- 1))) // INLINED!! + return (LoadInteger((Lists__hashTable), (this), (- 1))) // INLINED!! endfunction function s__ArrayList_rBegin takes integer this returns integer - return (LoadInteger((Lists___hashTable), (this), (- 1))) - 1 // INLINED!! + return (LoadInteger((Lists__hashTable), (this), (- 1))) - 1 // INLINED!! endfunction function s__ArrayList_rEnd takes nothing returns integer @@ -9404,7 +9404,7 @@ endfunction function s__ArrayList_prev takes integer this,integer i returns integer return i - 1 endfunction -//Implemented from module GALinteger___EnumGetters: +//Implemented from module GALinteger__EnumGetters: function s__ArrayList_getEnumList takes nothing returns integer return s__ArrayList_EnumList endfunction @@ -9425,7 +9425,7 @@ endfunction //If a negative "until" is specified, it will only stop when there are no more elements //Sets the udg_Lists_Data, Instance and ListID variables to their correct values each time before running the trigger function s__ArrayList_forEachCounted takes integer this,trigger trig,integer until returns nothing - local integer end= (LoadInteger((Lists___hashTable), ((this)), (- 1))) // INLINED!! + local integer end= (LoadInteger((Lists__hashTable), ((this)), (- 1))) // INLINED!! local integer newEnd= end local integer count= 0 @@ -9435,7 +9435,7 @@ endfunction //textmacro instance: Lists_LoadGlobals("this", "i") - set s__ArrayList_EnumValue=(LoadInteger((Lists___hashTable), (this), (i))) // INLINED!! + set s__ArrayList_EnumValue=(LoadInteger((Lists__hashTable), (this), (i))) // INLINED!! set s__ArrayList_EnumIndex=i set s__ArrayList_EnumList=this @@ -9445,7 +9445,7 @@ endfunction call TriggerExecute(trig) endif - set newEnd=(LoadInteger((Lists___hashTable), ((this)), (- 1))) // INLINED!! + set newEnd=(LoadInteger((Lists__hashTable), ((this)), (- 1))) // INLINED!! if newEnd == end then set i=s__ArrayList_next(this,i) else @@ -9457,7 +9457,7 @@ endfunction endfunction function s__ArrayList_forEach takes integer this,trigger trig returns nothing - local integer end= (LoadInteger((Lists___hashTable), ((this)), (- 1))) // INLINED!! + local integer end= (LoadInteger((Lists__hashTable), ((this)), (- 1))) // INLINED!! local integer newEnd= end local integer i= (0) // INLINED!! @@ -9466,7 +9466,7 @@ endfunction //textmacro instance: Lists_LoadGlobals("this", "i") - set s__ArrayList_EnumValue=(LoadInteger((Lists___hashTable), (this), (i))) // INLINED!! + set s__ArrayList_EnumValue=(LoadInteger((Lists__hashTable), (this), (i))) // INLINED!! set s__ArrayList_EnumIndex=i set s__ArrayList_EnumList=this @@ -9476,7 +9476,7 @@ endfunction call TriggerExecute(trig) endif - set newEnd=(LoadInteger((Lists___hashTable), ((this)), (- 1))) // INLINED!! + set newEnd=(LoadInteger((Lists__hashTable), ((this)), (- 1))) // INLINED!! if newEnd == end then set i=s__ArrayList_next(this,i) else @@ -9488,7 +9488,7 @@ endfunction //Same as GIOL_Loop, but executes the given code in a ForPlayer loop, instead of a trigger //Added in version 1.1.0 function s__ArrayList_forEachCodeCounted takes integer this,code func,integer until returns nothing - local integer end= (LoadInteger((Lists___hashTable), ((this)), (- 1))) // INLINED!! + local integer end= (LoadInteger((Lists__hashTable), ((this)), (- 1))) // INLINED!! local integer newEnd= end local integer count= 0 @@ -9498,7 +9498,7 @@ endfunction //textmacro instance: Lists_LoadGlobals("this", "i") - set s__ArrayList_EnumValue=(LoadInteger((Lists___hashTable), (this), (i))) // INLINED!! + set s__ArrayList_EnumValue=(LoadInteger((Lists__hashTable), (this), (i))) // INLINED!! set s__ArrayList_EnumIndex=i set s__ArrayList_EnumList=this @@ -9506,7 +9506,7 @@ endfunction call ForForce(bj_FORCE_PLAYER[0], func) - set newEnd=(LoadInteger((Lists___hashTable), ((this)), (- 1))) // INLINED!! + set newEnd=(LoadInteger((Lists__hashTable), ((this)), (- 1))) // INLINED!! if newEnd == end then set i=s__ArrayList_next(this,i) else @@ -9518,7 +9518,7 @@ endfunction endfunction function s__ArrayList_forEachCode takes integer this,code func returns nothing - local integer end= (LoadInteger((Lists___hashTable), ((this)), (- 1))) // INLINED!! + local integer end= (LoadInteger((Lists__hashTable), ((this)), (- 1))) // INLINED!! local integer newEnd= end local integer i= (0) // INLINED!! @@ -9527,7 +9527,7 @@ endfunction //textmacro instance: Lists_LoadGlobals("this", "i") - set s__ArrayList_EnumValue=(LoadInteger((Lists___hashTable), (this), (i))) // INLINED!! + set s__ArrayList_EnumValue=(LoadInteger((Lists__hashTable), (this), (i))) // INLINED!! set s__ArrayList_EnumIndex=i set s__ArrayList_EnumList=this @@ -9535,7 +9535,7 @@ endfunction call ForForce(bj_FORCE_PLAYER[0], func) - set newEnd=(LoadInteger((Lists___hashTable), ((this)), (- 1))) // INLINED!! + set newEnd=(LoadInteger((Lists__hashTable), ((this)), (- 1))) // INLINED!! if newEnd == end then set i=s__ArrayList_next(this,i) else @@ -9561,12 +9561,12 @@ endfunction call RemoveSavedInteger(GMUI_hashTable, (Lists_RECYCLE_KEY), this) // INLINED!! endif //end of: GMUI_GetIndex("this","thistype.RECYCLE_KEY()") - call SaveInteger((Lists___hashTable), (this ), (- 1), ( 0)) // INLINED!! + call SaveInteger((Lists__hashTable), (this ), (- 1), ( 0)) // INLINED!! return this endfunction function s__ArrayList_destroy takes integer this returns nothing - call FlushChildHashtable((Lists___hashTable), this) // INLINED!! + call FlushChildHashtable((Lists__hashTable), this) // INLINED!! //Implemented from module GMUI_deallocate_this: //textmacro instance: GMUI_RecycleIndex("this","thistype.RECYCLE_KEY()") call SaveInteger(GMUI_hashTable, (Lists_RECYCLE_KEY), this, LoadInteger(GMUI_hashTable, (Lists_RECYCLE_KEY), 0)) // INLINED!! @@ -9598,111 +9598,111 @@ endfunction //textmacro instance: TableStruct_NewReadonlyStaticPrimitiveField("SpecialDecoLastIndex","integer") function s__LoP_DecoBuilders__get_SpecialDecoLastIndex takes nothing returns integer - return (LoadInteger(ConstTable___ht, (((((s__LoP_DecoBuilders_static_members_key))))), (s__LoP_DecoBuilders_SpecialDecoLastIndex_impl))) // INLINED!! + return (LoadInteger(ConstTable__ht, (((((s__LoP_DecoBuilders_static_members_key))))), (s__LoP_DecoBuilders_SpecialDecoLastIndex_impl))) // INLINED!! endfunction function s__LoP_DecoBuilders__set_SpecialDecoLastIndex takes integer new_SpecialDecoLastIndex returns nothing - call SaveInteger(ConstTable___ht, (((((s__LoP_DecoBuilders_static_members_key))))), (s__LoP_DecoBuilders_SpecialDecoLastIndex_impl), ( new_SpecialDecoLastIndex)) // INLINED!! + call SaveInteger(ConstTable__ht, (((((s__LoP_DecoBuilders_static_members_key))))), (s__LoP_DecoBuilders_SpecialDecoLastIndex_impl), ( new_SpecialDecoLastIndex)) // INLINED!! endfunction function s__LoP_DecoBuilders_SpecialDecoLastIndexClear takes nothing returns nothing - call RemoveSavedInteger(ConstTable___ht, (((((s__LoP_DecoBuilders_static_members_key))))), (s__LoP_DecoBuilders_SpecialDecoLastIndex_impl)) // INLINED!! + call RemoveSavedInteger(ConstTable__ht, (((((s__LoP_DecoBuilders_static_members_key))))), (s__LoP_DecoBuilders_SpecialDecoLastIndex_impl)) // INLINED!! endfunction function s__LoP_DecoBuilders_SpecialDecoLastIndexExists takes nothing returns boolean - return (HaveSavedInteger(ConstTable___ht, (((((s__LoP_DecoBuilders_static_members_key))))), (s__LoP_DecoBuilders_SpecialDecoLastIndex_impl))) // INLINED!! + return (HaveSavedInteger(ConstTable__ht, (((((s__LoP_DecoBuilders_static_members_key))))), (s__LoP_DecoBuilders_SpecialDecoLastIndex_impl))) // INLINED!! endfunction //end of: TableStruct_NewReadonlyStaticPrimitiveField("SpecialDecoLastIndex","integer") //textmacro instance: TableStruct_NewReadonlyStaticPrimitiveField("BasicDecoFirstIndex","integer") function s__LoP_DecoBuilders__get_BasicDecoFirstIndex takes nothing returns integer - return (LoadInteger(ConstTable___ht, (((((s__LoP_DecoBuilders_static_members_key))))), (s__LoP_DecoBuilders_BasicDecoFirstIndex_impl))) // INLINED!! + return (LoadInteger(ConstTable__ht, (((((s__LoP_DecoBuilders_static_members_key))))), (s__LoP_DecoBuilders_BasicDecoFirstIndex_impl))) // INLINED!! endfunction function s__LoP_DecoBuilders__set_BasicDecoFirstIndex takes integer new_BasicDecoFirstIndex returns nothing - call SaveInteger(ConstTable___ht, (((((s__LoP_DecoBuilders_static_members_key))))), (s__LoP_DecoBuilders_BasicDecoFirstIndex_impl), ( new_BasicDecoFirstIndex)) // INLINED!! + call SaveInteger(ConstTable__ht, (((((s__LoP_DecoBuilders_static_members_key))))), (s__LoP_DecoBuilders_BasicDecoFirstIndex_impl), ( new_BasicDecoFirstIndex)) // INLINED!! endfunction function s__LoP_DecoBuilders_BasicDecoFirstIndexClear takes nothing returns nothing - call RemoveSavedInteger(ConstTable___ht, (((((s__LoP_DecoBuilders_static_members_key))))), (s__LoP_DecoBuilders_BasicDecoFirstIndex_impl)) // INLINED!! + call RemoveSavedInteger(ConstTable__ht, (((((s__LoP_DecoBuilders_static_members_key))))), (s__LoP_DecoBuilders_BasicDecoFirstIndex_impl)) // INLINED!! endfunction function s__LoP_DecoBuilders_BasicDecoFirstIndexExists takes nothing returns boolean - return (HaveSavedInteger(ConstTable___ht, (((((s__LoP_DecoBuilders_static_members_key))))), (s__LoP_DecoBuilders_BasicDecoFirstIndex_impl))) // INLINED!! + return (HaveSavedInteger(ConstTable__ht, (((((s__LoP_DecoBuilders_static_members_key))))), (s__LoP_DecoBuilders_BasicDecoFirstIndex_impl))) // INLINED!! endfunction //end of: TableStruct_NewReadonlyStaticPrimitiveField("BasicDecoFirstIndex","integer") //textmacro instance: TableStruct_NewReadonlyStaticPrimitiveField("BasicDecoLastIndex","integer") function s__LoP_DecoBuilders__get_BasicDecoLastIndex takes nothing returns integer - return (LoadInteger(ConstTable___ht, (((((s__LoP_DecoBuilders_static_members_key))))), (s__LoP_DecoBuilders_BasicDecoLastIndex_impl))) // INLINED!! + return (LoadInteger(ConstTable__ht, (((((s__LoP_DecoBuilders_static_members_key))))), (s__LoP_DecoBuilders_BasicDecoLastIndex_impl))) // INLINED!! endfunction function s__LoP_DecoBuilders__set_BasicDecoLastIndex takes integer new_BasicDecoLastIndex returns nothing - call SaveInteger(ConstTable___ht, (((((s__LoP_DecoBuilders_static_members_key))))), (s__LoP_DecoBuilders_BasicDecoLastIndex_impl), ( new_BasicDecoLastIndex)) // INLINED!! + call SaveInteger(ConstTable__ht, (((((s__LoP_DecoBuilders_static_members_key))))), (s__LoP_DecoBuilders_BasicDecoLastIndex_impl), ( new_BasicDecoLastIndex)) // INLINED!! endfunction function s__LoP_DecoBuilders_BasicDecoLastIndexClear takes nothing returns nothing - call RemoveSavedInteger(ConstTable___ht, (((((s__LoP_DecoBuilders_static_members_key))))), (s__LoP_DecoBuilders_BasicDecoLastIndex_impl)) // INLINED!! + call RemoveSavedInteger(ConstTable__ht, (((((s__LoP_DecoBuilders_static_members_key))))), (s__LoP_DecoBuilders_BasicDecoLastIndex_impl)) // INLINED!! endfunction function s__LoP_DecoBuilders_BasicDecoLastIndexExists takes nothing returns boolean - return (HaveSavedInteger(ConstTable___ht, (((((s__LoP_DecoBuilders_static_members_key))))), (s__LoP_DecoBuilders_BasicDecoLastIndex_impl))) // INLINED!! + return (HaveSavedInteger(ConstTable__ht, (((((s__LoP_DecoBuilders_static_members_key))))), (s__LoP_DecoBuilders_BasicDecoLastIndex_impl))) // INLINED!! endfunction //end of: TableStruct_NewReadonlyStaticPrimitiveField("BasicDecoLastIndex","integer") //textmacro instance: TableStruct_NewReadonlyStaticPrimitiveField("AdvDecoFirstIndex","integer") function s__LoP_DecoBuilders__get_AdvDecoFirstIndex takes nothing returns integer - return (LoadInteger(ConstTable___ht, (((((s__LoP_DecoBuilders_static_members_key))))), (s__LoP_DecoBuilders_AdvDecoFirstIndex_impl))) // INLINED!! + return (LoadInteger(ConstTable__ht, (((((s__LoP_DecoBuilders_static_members_key))))), (s__LoP_DecoBuilders_AdvDecoFirstIndex_impl))) // INLINED!! endfunction function s__LoP_DecoBuilders__set_AdvDecoFirstIndex takes integer new_AdvDecoFirstIndex returns nothing - call SaveInteger(ConstTable___ht, (((((s__LoP_DecoBuilders_static_members_key))))), (s__LoP_DecoBuilders_AdvDecoFirstIndex_impl), ( new_AdvDecoFirstIndex)) // INLINED!! + call SaveInteger(ConstTable__ht, (((((s__LoP_DecoBuilders_static_members_key))))), (s__LoP_DecoBuilders_AdvDecoFirstIndex_impl), ( new_AdvDecoFirstIndex)) // INLINED!! endfunction function s__LoP_DecoBuilders_AdvDecoFirstIndexClear takes nothing returns nothing - call RemoveSavedInteger(ConstTable___ht, (((((s__LoP_DecoBuilders_static_members_key))))), (s__LoP_DecoBuilders_AdvDecoFirstIndex_impl)) // INLINED!! + call RemoveSavedInteger(ConstTable__ht, (((((s__LoP_DecoBuilders_static_members_key))))), (s__LoP_DecoBuilders_AdvDecoFirstIndex_impl)) // INLINED!! endfunction function s__LoP_DecoBuilders_AdvDecoFirstIndexExists takes nothing returns boolean - return (HaveSavedInteger(ConstTable___ht, (((((s__LoP_DecoBuilders_static_members_key))))), (s__LoP_DecoBuilders_AdvDecoFirstIndex_impl))) // INLINED!! + return (HaveSavedInteger(ConstTable__ht, (((((s__LoP_DecoBuilders_static_members_key))))), (s__LoP_DecoBuilders_AdvDecoFirstIndex_impl))) // INLINED!! endfunction //end of: TableStruct_NewReadonlyStaticPrimitiveField("AdvDecoFirstIndex","integer") //textmacro instance: TableStruct_NewReadonlyStaticPrimitiveField("AdvDecoLastIndex","integer") function s__LoP_DecoBuilders__get_AdvDecoLastIndex takes nothing returns integer - return (LoadInteger(ConstTable___ht, (((((s__LoP_DecoBuilders_static_members_key))))), (s__LoP_DecoBuilders_AdvDecoLastIndex_impl))) // INLINED!! + return (LoadInteger(ConstTable__ht, (((((s__LoP_DecoBuilders_static_members_key))))), (s__LoP_DecoBuilders_AdvDecoLastIndex_impl))) // INLINED!! endfunction function s__LoP_DecoBuilders__set_AdvDecoLastIndex takes integer new_AdvDecoLastIndex returns nothing - call SaveInteger(ConstTable___ht, (((((s__LoP_DecoBuilders_static_members_key))))), (s__LoP_DecoBuilders_AdvDecoLastIndex_impl), ( new_AdvDecoLastIndex)) // INLINED!! + call SaveInteger(ConstTable__ht, (((((s__LoP_DecoBuilders_static_members_key))))), (s__LoP_DecoBuilders_AdvDecoLastIndex_impl), ( new_AdvDecoLastIndex)) // INLINED!! endfunction function s__LoP_DecoBuilders_AdvDecoLastIndexClear takes nothing returns nothing - call RemoveSavedInteger(ConstTable___ht, (((((s__LoP_DecoBuilders_static_members_key))))), (s__LoP_DecoBuilders_AdvDecoLastIndex_impl)) // INLINED!! + call RemoveSavedInteger(ConstTable__ht, (((((s__LoP_DecoBuilders_static_members_key))))), (s__LoP_DecoBuilders_AdvDecoLastIndex_impl)) // INLINED!! endfunction function s__LoP_DecoBuilders_AdvDecoLastIndexExists takes nothing returns boolean - return (HaveSavedInteger(ConstTable___ht, (((((s__LoP_DecoBuilders_static_members_key))))), (s__LoP_DecoBuilders_AdvDecoLastIndex_impl))) // INLINED!! + return (HaveSavedInteger(ConstTable__ht, (((((s__LoP_DecoBuilders_static_members_key))))), (s__LoP_DecoBuilders_AdvDecoLastIndex_impl))) // INLINED!! endfunction //end of: TableStruct_NewReadonlyStaticPrimitiveField("AdvDecoLastIndex","integer") //textmacro instance: TableStruct_NewReadonlyStaticPrimitiveField("DecoLastIndex","integer") function s__LoP_DecoBuilders__get_DecoLastIndex takes nothing returns integer - return (LoadInteger(ConstTable___ht, (((((s__LoP_DecoBuilders_static_members_key))))), (s__LoP_DecoBuilders_DecoLastIndex_impl))) // INLINED!! + return (LoadInteger(ConstTable__ht, (((((s__LoP_DecoBuilders_static_members_key))))), (s__LoP_DecoBuilders_DecoLastIndex_impl))) // INLINED!! endfunction function s__LoP_DecoBuilders__set_DecoLastIndex takes integer new_DecoLastIndex returns nothing - call SaveInteger(ConstTable___ht, (((((s__LoP_DecoBuilders_static_members_key))))), (s__LoP_DecoBuilders_DecoLastIndex_impl), ( new_DecoLastIndex)) // INLINED!! + call SaveInteger(ConstTable__ht, (((((s__LoP_DecoBuilders_static_members_key))))), (s__LoP_DecoBuilders_DecoLastIndex_impl), ( new_DecoLastIndex)) // INLINED!! endfunction function s__LoP_DecoBuilders_DecoLastIndexClear takes nothing returns nothing - call RemoveSavedInteger(ConstTable___ht, (((((s__LoP_DecoBuilders_static_members_key))))), (s__LoP_DecoBuilders_DecoLastIndex_impl)) // INLINED!! + call RemoveSavedInteger(ConstTable__ht, (((((s__LoP_DecoBuilders_static_members_key))))), (s__LoP_DecoBuilders_DecoLastIndex_impl)) // INLINED!! endfunction function s__LoP_DecoBuilders_DecoLastIndexExists takes nothing returns boolean - return (HaveSavedInteger(ConstTable___ht, (((((s__LoP_DecoBuilders_static_members_key))))), (s__LoP_DecoBuilders_DecoLastIndex_impl))) // INLINED!! + return (HaveSavedInteger(ConstTable__ht, (((((s__LoP_DecoBuilders_static_members_key))))), (s__LoP_DecoBuilders_DecoLastIndex_impl))) // INLINED!! endfunction //end of: TableStruct_NewReadonlyStaticPrimitiveField("DecoLastIndex","integer") -//Implemented from module LoPDecoBuilders___InitModule: - function s__LoP_DecoBuilders_LoPDecoBuilders___InitModule__onInit takes nothing returns nothing +//Implemented from module LoPDecoBuilders__InitModule: + function s__LoP_DecoBuilders_LoPDecoBuilders__InitModule__onInit takes nothing returns nothing local integer i= 0 // --------- // Special Decos @@ -9719,7 +9719,7 @@ endfunction set i=( i + 1 ) set s__LoP_DecoBuilders_rawcodes[i]='u00W' - call SaveInteger(ConstTable___ht, (((((s__LoP_DecoBuilders_static_members_key))))), (s__LoP_DecoBuilders_SpecialDecoLastIndex_impl), ( (i))) // INLINED!! + call SaveInteger(ConstTable__ht, (((((s__LoP_DecoBuilders_static_members_key))))), (s__LoP_DecoBuilders_SpecialDecoLastIndex_impl), ( (i))) // INLINED!! // --------- // Basic Decos // --------- @@ -9790,7 +9790,7 @@ endfunction set i=( i + 1 ) set s__LoP_DecoBuilders_rawcodes[i]='u02P' - call SaveInteger(ConstTable___ht, (((((s__LoP_DecoBuilders_static_members_key))))), (s__LoP_DecoBuilders_BasicDecoLastIndex_impl), ( (i))) // INLINED!! + call SaveInteger(ConstTable__ht, (((((s__LoP_DecoBuilders_static_members_key))))), (s__LoP_DecoBuilders_BasicDecoLastIndex_impl), ( (i))) // INLINED!! // --------- // Advanced Decos // --------- @@ -9921,11 +9921,11 @@ endfunction set i=( i + 1 ) set s__LoP_DecoBuilders_rawcodes[i]='u010' - call SaveInteger(ConstTable___ht, (((((s__LoP_DecoBuilders_static_members_key))))), (s__LoP_DecoBuilders_AdvDecoLastIndex_impl), ( (i))) // INLINED!! + call SaveInteger(ConstTable__ht, (((((s__LoP_DecoBuilders_static_members_key))))), (s__LoP_DecoBuilders_AdvDecoLastIndex_impl), ( (i))) // INLINED!! // --------- // End of Deco Creation // --------- - call SaveInteger(ConstTable___ht, (((((s__LoP_DecoBuilders_static_members_key))))), (s__LoP_DecoBuilders_DecoLastIndex_impl), ( (i))) // INLINED!! + call SaveInteger(ConstTable__ht, (((((s__LoP_DecoBuilders_static_members_key))))), (s__LoP_DecoBuilders_DecoLastIndex_impl), ( (i))) // INLINED!! endfunction @@ -9951,117 +9951,117 @@ endfunction function InitPlayerCircles takes nothing returns nothing local region tempRegion= CreateRegion() call RegionAddRect(tempRegion, gg_rct_GiveTo_Blue) - call SavePlayerHandle(ConstTable___ht, ((((s__LoPInitPlayerCircles_Globals_regionTable_impl)))), (GetHandleId(tempRegion)), ( Player(1))) // INLINED!! + call SavePlayerHandle(ConstTable__ht, ((((s__LoPInitPlayerCircles_Globals_regionTable_impl)))), (GetHandleId(tempRegion)), ( Player(1))) // INLINED!! call TriggerRegisterEnterRegion(gg_trg_System_Titan_GiveUnit, tempRegion, null) // ========= set tempRegion=CreateRegion() call RegionAddRect(tempRegion, gg_rct_GiveTo_Teal) - call SavePlayerHandle(ConstTable___ht, ((((s__LoPInitPlayerCircles_Globals_regionTable_impl)))), (GetHandleId(tempRegion)), ( Player(2))) // INLINED!! + call SavePlayerHandle(ConstTable__ht, ((((s__LoPInitPlayerCircles_Globals_regionTable_impl)))), (GetHandleId(tempRegion)), ( Player(2))) // INLINED!! call TriggerRegisterEnterRegion(gg_trg_System_Titan_GiveUnit, tempRegion, null) // ========= set tempRegion=CreateRegion() call RegionAddRect(tempRegion, gg_rct_GiveTo_Purple) - call SavePlayerHandle(ConstTable___ht, ((((s__LoPInitPlayerCircles_Globals_regionTable_impl)))), (GetHandleId(tempRegion)), ( Player(3))) // INLINED!! + call SavePlayerHandle(ConstTable__ht, ((((s__LoPInitPlayerCircles_Globals_regionTable_impl)))), (GetHandleId(tempRegion)), ( Player(3))) // INLINED!! call TriggerRegisterEnterRegion(gg_trg_System_Titan_GiveUnit, tempRegion, null) // ========= set tempRegion=CreateRegion() call RegionAddRect(tempRegion, gg_rct_GiveTo_Yellow) - call SavePlayerHandle(ConstTable___ht, ((((s__LoPInitPlayerCircles_Globals_regionTable_impl)))), (GetHandleId(tempRegion)), ( Player(4))) // INLINED!! + call SavePlayerHandle(ConstTable__ht, ((((s__LoPInitPlayerCircles_Globals_regionTable_impl)))), (GetHandleId(tempRegion)), ( Player(4))) // INLINED!! call TriggerRegisterEnterRegion(gg_trg_System_Titan_GiveUnit, tempRegion, null) // ========= set tempRegion=CreateRegion() call RegionAddRect(tempRegion, gg_rct_GiveTo_Orange) - call SavePlayerHandle(ConstTable___ht, ((((s__LoPInitPlayerCircles_Globals_regionTable_impl)))), (GetHandleId(tempRegion)), ( Player(5))) // INLINED!! + call SavePlayerHandle(ConstTable__ht, ((((s__LoPInitPlayerCircles_Globals_regionTable_impl)))), (GetHandleId(tempRegion)), ( Player(5))) // INLINED!! call TriggerRegisterEnterRegion(gg_trg_System_Titan_GiveUnit, tempRegion, null) // ========= set tempRegion=CreateRegion() call RegionAddRect(tempRegion, gg_rct_GiveTo_Green) - call SavePlayerHandle(ConstTable___ht, ((((s__LoPInitPlayerCircles_Globals_regionTable_impl)))), (GetHandleId(tempRegion)), ( Player(6))) // INLINED!! + call SavePlayerHandle(ConstTable__ht, ((((s__LoPInitPlayerCircles_Globals_regionTable_impl)))), (GetHandleId(tempRegion)), ( Player(6))) // INLINED!! call TriggerRegisterEnterRegion(gg_trg_System_Titan_GiveUnit, tempRegion, null) // ========= set tempRegion=CreateRegion() call RegionAddRect(tempRegion, gg_rct_GiveTo_Pink) - call SavePlayerHandle(ConstTable___ht, ((((s__LoPInitPlayerCircles_Globals_regionTable_impl)))), (GetHandleId(tempRegion)), ( Player(7))) // INLINED!! + call SavePlayerHandle(ConstTable__ht, ((((s__LoPInitPlayerCircles_Globals_regionTable_impl)))), (GetHandleId(tempRegion)), ( Player(7))) // INLINED!! call TriggerRegisterEnterRegion(gg_trg_System_Titan_GiveUnit, tempRegion, null) // ========= set tempRegion=CreateRegion() call RegionAddRect(tempRegion, gg_rct_GiveTo_Gray) - call SavePlayerHandle(ConstTable___ht, ((((s__LoPInitPlayerCircles_Globals_regionTable_impl)))), (GetHandleId(tempRegion)), ( Player(8))) // INLINED!! + call SavePlayerHandle(ConstTable__ht, ((((s__LoPInitPlayerCircles_Globals_regionTable_impl)))), (GetHandleId(tempRegion)), ( Player(8))) // INLINED!! call TriggerRegisterEnterRegion(gg_trg_System_Titan_GiveUnit, tempRegion, null) // ========= set tempRegion=CreateRegion() call RegionAddRect(tempRegion, gg_rct_GiveTo_Light_Blue) - call SavePlayerHandle(ConstTable___ht, ((((s__LoPInitPlayerCircles_Globals_regionTable_impl)))), (GetHandleId(tempRegion)), ( Player(9))) // INLINED!! + call SavePlayerHandle(ConstTable__ht, ((((s__LoPInitPlayerCircles_Globals_regionTable_impl)))), (GetHandleId(tempRegion)), ( Player(9))) // INLINED!! call TriggerRegisterEnterRegion(gg_trg_System_Titan_GiveUnit, tempRegion, null) // ========= set tempRegion=CreateRegion() call RegionAddRect(tempRegion, gg_rct_GiveTo_Dark_Green) - call SavePlayerHandle(ConstTable___ht, ((((s__LoPInitPlayerCircles_Globals_regionTable_impl)))), (GetHandleId(tempRegion)), ( Player(10))) // INLINED!! + call SavePlayerHandle(ConstTable__ht, ((((s__LoPInitPlayerCircles_Globals_regionTable_impl)))), (GetHandleId(tempRegion)), ( Player(10))) // INLINED!! call TriggerRegisterEnterRegion(gg_trg_System_Titan_GiveUnit, tempRegion, null) // ========= set tempRegion=CreateRegion() call RegionAddRect(tempRegion, gg_rct_GiveTo_Brown) - call SavePlayerHandle(ConstTable___ht, ((((s__LoPInitPlayerCircles_Globals_regionTable_impl)))), (GetHandleId(tempRegion)), ( Player(11))) // INLINED!! + call SavePlayerHandle(ConstTable__ht, ((((s__LoPInitPlayerCircles_Globals_regionTable_impl)))), (GetHandleId(tempRegion)), ( Player(11))) // INLINED!! call TriggerRegisterEnterRegion(gg_trg_System_Titan_GiveUnit, tempRegion, null) // ========= set tempRegion=CreateRegion() call RegionAddRect(tempRegion, gg_rct_GiveTo_Maroon) - call SavePlayerHandle(ConstTable___ht, ((((s__LoPInitPlayerCircles_Globals_regionTable_impl)))), (GetHandleId(tempRegion)), ( Player(12))) // INLINED!! + call SavePlayerHandle(ConstTable__ht, ((((s__LoPInitPlayerCircles_Globals_regionTable_impl)))), (GetHandleId(tempRegion)), ( Player(12))) // INLINED!! call TriggerRegisterEnterRegion(gg_trg_System_Titan_GiveUnit, tempRegion, null) // ========= set tempRegion=CreateRegion() call RegionAddRect(tempRegion, gg_rct_GiveTo_Navy) - call SavePlayerHandle(ConstTable___ht, ((((s__LoPInitPlayerCircles_Globals_regionTable_impl)))), (GetHandleId(tempRegion)), ( Player(13))) // INLINED!! + call SavePlayerHandle(ConstTable__ht, ((((s__LoPInitPlayerCircles_Globals_regionTable_impl)))), (GetHandleId(tempRegion)), ( Player(13))) // INLINED!! call TriggerRegisterEnterRegion(gg_trg_System_Titan_GiveUnit, tempRegion, null) // ========= set tempRegion=CreateRegion() call RegionAddRect(tempRegion, gg_rct_GiveTo_Turquoise) - call SavePlayerHandle(ConstTable___ht, ((((s__LoPInitPlayerCircles_Globals_regionTable_impl)))), (GetHandleId(tempRegion)), ( Player(14))) // INLINED!! + call SavePlayerHandle(ConstTable__ht, ((((s__LoPInitPlayerCircles_Globals_regionTable_impl)))), (GetHandleId(tempRegion)), ( Player(14))) // INLINED!! call TriggerRegisterEnterRegion(gg_trg_System_Titan_GiveUnit, tempRegion, null) // ========= set tempRegion=CreateRegion() call RegionAddRect(tempRegion, gg_rct_GiveTo_Violet) - call SavePlayerHandle(ConstTable___ht, ((((s__LoPInitPlayerCircles_Globals_regionTable_impl)))), (GetHandleId(tempRegion)), ( Player(15))) // INLINED!! + call SavePlayerHandle(ConstTable__ht, ((((s__LoPInitPlayerCircles_Globals_regionTable_impl)))), (GetHandleId(tempRegion)), ( Player(15))) // INLINED!! call TriggerRegisterEnterRegion(gg_trg_System_Titan_GiveUnit, tempRegion, null) // ========= set tempRegion=CreateRegion() call RegionAddRect(tempRegion, gg_rct_GiveTo_Wheat) - call SavePlayerHandle(ConstTable___ht, ((((s__LoPInitPlayerCircles_Globals_regionTable_impl)))), (GetHandleId(tempRegion)), ( Player(16))) // INLINED!! + call SavePlayerHandle(ConstTable__ht, ((((s__LoPInitPlayerCircles_Globals_regionTable_impl)))), (GetHandleId(tempRegion)), ( Player(16))) // INLINED!! call TriggerRegisterEnterRegion(gg_trg_System_Titan_GiveUnit, tempRegion, null) // ========= set tempRegion=CreateRegion() call RegionAddRect(tempRegion, gg_rct_GiveTo_Peach) - call SavePlayerHandle(ConstTable___ht, ((((s__LoPInitPlayerCircles_Globals_regionTable_impl)))), (GetHandleId(tempRegion)), ( Player(17))) // INLINED!! + call SavePlayerHandle(ConstTable__ht, ((((s__LoPInitPlayerCircles_Globals_regionTable_impl)))), (GetHandleId(tempRegion)), ( Player(17))) // INLINED!! call TriggerRegisterEnterRegion(gg_trg_System_Titan_GiveUnit, tempRegion, null) // ========= set tempRegion=CreateRegion() call RegionAddRect(tempRegion, gg_rct_GiveTo_Mint) - call SavePlayerHandle(ConstTable___ht, ((((s__LoPInitPlayerCircles_Globals_regionTable_impl)))), (GetHandleId(tempRegion)), ( Player(18))) // INLINED!! + call SavePlayerHandle(ConstTable__ht, ((((s__LoPInitPlayerCircles_Globals_regionTable_impl)))), (GetHandleId(tempRegion)), ( Player(18))) // INLINED!! call TriggerRegisterEnterRegion(gg_trg_System_Titan_GiveUnit, tempRegion, null) // ========= set tempRegion=CreateRegion() call RegionAddRect(tempRegion, gg_rct_GiveTo_Lavender) - call SavePlayerHandle(ConstTable___ht, ((((s__LoPInitPlayerCircles_Globals_regionTable_impl)))), (GetHandleId(tempRegion)), ( Player(19))) // INLINED!! + call SavePlayerHandle(ConstTable__ht, ((((s__LoPInitPlayerCircles_Globals_regionTable_impl)))), (GetHandleId(tempRegion)), ( Player(19))) // INLINED!! call TriggerRegisterEnterRegion(gg_trg_System_Titan_GiveUnit, tempRegion, null) // ========= set tempRegion=CreateRegion() call RegionAddRect(tempRegion, gg_rct_GiveTo_Coal) - call SavePlayerHandle(ConstTable___ht, ((((s__LoPInitPlayerCircles_Globals_regionTable_impl)))), (GetHandleId(tempRegion)), ( Player(20))) // INLINED!! + call SavePlayerHandle(ConstTable__ht, ((((s__LoPInitPlayerCircles_Globals_regionTable_impl)))), (GetHandleId(tempRegion)), ( Player(20))) // INLINED!! call TriggerRegisterEnterRegion(gg_trg_System_Titan_GiveUnit, tempRegion, null) // ========= set tempRegion=CreateRegion() call RegionAddRect(tempRegion, gg_rct_GiveTo_Snow) - call SavePlayerHandle(ConstTable___ht, ((((s__LoPInitPlayerCircles_Globals_regionTable_impl)))), (GetHandleId(tempRegion)), ( Player(21))) // INLINED!! + call SavePlayerHandle(ConstTable__ht, ((((s__LoPInitPlayerCircles_Globals_regionTable_impl)))), (GetHandleId(tempRegion)), ( Player(21))) // INLINED!! call TriggerRegisterEnterRegion(gg_trg_System_Titan_GiveUnit, tempRegion, null) // ========= set tempRegion=CreateRegion() call RegionAddRect(tempRegion, gg_rct_GiveTo_Emerald) - call SavePlayerHandle(ConstTable___ht, ((((s__LoPInitPlayerCircles_Globals_regionTable_impl)))), (GetHandleId(tempRegion)), ( Player(22))) // INLINED!! + call SavePlayerHandle(ConstTable__ht, ((((s__LoPInitPlayerCircles_Globals_regionTable_impl)))), (GetHandleId(tempRegion)), ( Player(22))) // INLINED!! call TriggerRegisterEnterRegion(gg_trg_System_Titan_GiveUnit, tempRegion, null) // ========= set tempRegion=CreateRegion() call RegionAddRect(tempRegion, gg_rct_GiveTo_Peanut) - call SavePlayerHandle(ConstTable___ht, ((((s__LoPInitPlayerCircles_Globals_regionTable_impl)))), (GetHandleId(tempRegion)), ( Player(23))) // INLINED!! + call SavePlayerHandle(ConstTable__ht, ((((s__LoPInitPlayerCircles_Globals_regionTable_impl)))), (GetHandleId(tempRegion)), ( Player(23))) // INLINED!! call TriggerRegisterEnterRegion(gg_trg_System_Titan_GiveUnit, tempRegion, null) // ========= // End @@ -10103,19 +10103,19 @@ endfunction //textmacro instance: TableStruct_NewPrimitiveField("rotationStep","integer") function s__LoP_PlayerData__get_rotationStep takes integer this returns integer - return (LoadInteger(ConstTable___ht, (((((s__LoP_PlayerData_rotationStep_impl))))), (this))) // INLINED!! + return (LoadInteger(ConstTable__ht, (((((s__LoP_PlayerData_rotationStep_impl))))), (this))) // INLINED!! endfunction function s__LoP_PlayerData__set_rotationStep takes integer this,integer new_rotationStep returns nothing - call SaveInteger(ConstTable___ht, (((((s__LoP_PlayerData_rotationStep_impl))))), (this), ( new_rotationStep)) // INLINED!! + call SaveInteger(ConstTable__ht, (((((s__LoP_PlayerData_rotationStep_impl))))), (this), ( new_rotationStep)) // INLINED!! endfunction function s__LoP_PlayerData_rotationStepClear takes integer this returns nothing - call RemoveSavedInteger(ConstTable___ht, (((((s__LoP_PlayerData_rotationStep_impl))))), (this)) // INLINED!! + call RemoveSavedInteger(ConstTable__ht, (((((s__LoP_PlayerData_rotationStep_impl))))), (this)) // INLINED!! endfunction function s__LoP_PlayerData_rotationStepExists takes integer this returns boolean - return (HaveSavedInteger(ConstTable___ht, (((((s__LoP_PlayerData_rotationStep_impl))))), (this))) // INLINED!! + return (HaveSavedInteger(ConstTable__ht, (((((s__LoP_PlayerData_rotationStep_impl))))), (this))) // INLINED!! endfunction //end of: TableStruct_NewPrimitiveField("rotationStep","integer") @@ -10128,29 +10128,29 @@ endfunction // Alternative: create seperate command trigger for each player. Disable it or destroy it when they leave the game. //textmacro instance: TableStruct_NewReadonlyPrimitiveField("commandsEnabled_internal","boolean") function s__LoP_PlayerData__get_commandsEnabled_internal takes integer this returns boolean - return (LoadBoolean(ConstTable___ht, (((((s__LoP_PlayerData_commandsEnabled_internal_impl))))), (this))) // INLINED!! + return (LoadBoolean(ConstTable__ht, (((((s__LoP_PlayerData_commandsEnabled_internal_impl))))), (this))) // INLINED!! endfunction function s__LoP_PlayerData__set_commandsEnabled_internal takes integer this,boolean new_commandsEnabled_internal returns nothing - call SaveBoolean(ConstTable___ht, (((((s__LoP_PlayerData_commandsEnabled_internal_impl))))), (this), ( new_commandsEnabled_internal)) // INLINED!! + call SaveBoolean(ConstTable__ht, (((((s__LoP_PlayerData_commandsEnabled_internal_impl))))), (this), ( new_commandsEnabled_internal)) // INLINED!! endfunction function s__LoP_PlayerData_commandsEnabled_internalClear takes integer this returns nothing - call RemoveSavedBoolean(ConstTable___ht, (((((s__LoP_PlayerData_commandsEnabled_internal_impl))))), (this)) // INLINED!! + call RemoveSavedBoolean(ConstTable__ht, (((((s__LoP_PlayerData_commandsEnabled_internal_impl))))), (this)) // INLINED!! endfunction function s__LoP_PlayerData_commandsEnabled_internalExists takes integer this returns boolean - return (HaveSavedBoolean(ConstTable___ht, (((((s__LoP_PlayerData_commandsEnabled_internal_impl))))), (this))) // INLINED!! + return (HaveSavedBoolean(ConstTable__ht, (((((s__LoP_PlayerData_commandsEnabled_internal_impl))))), (this))) // INLINED!! endfunction //end of: TableStruct_NewReadonlyPrimitiveField("commandsEnabled_internal","boolean") function s__LoP_PlayerData_enableCommands takes integer this returns nothing - call RemoveSavedBoolean(ConstTable___ht, (((((s__LoP_PlayerData_commandsEnabled_internal_impl))))), ((this))) // INLINED!! + call RemoveSavedBoolean(ConstTable__ht, (((((s__LoP_PlayerData_commandsEnabled_internal_impl))))), ((this))) // INLINED!! endfunction function s__LoP_PlayerData_disableCommands takes integer this returns nothing - call SaveBoolean(ConstTable___ht, (((((s__LoP_PlayerData_commandsEnabled_internal_impl))))), ((this)), ( (true))) // INLINED!! + call SaveBoolean(ConstTable__ht, (((((s__LoP_PlayerData_commandsEnabled_internal_impl))))), ((this)), ( (true))) // INLINED!! endfunction function s__LoP_PlayerData__get_commandsEnabled takes integer this returns boolean - return not (HaveSavedBoolean(ConstTable___ht, (((((s__LoP_PlayerData_commandsEnabled_internal_impl))))), ((this)))) // INLINED!! + return not (HaveSavedBoolean(ConstTable__ht, (((((s__LoP_PlayerData_commandsEnabled_internal_impl))))), ((this)))) // INLINED!! endfunction function s__LoP_PlayerData_onInit takes nothing returns nothing @@ -10162,7 +10162,7 @@ endfunction set s__LoP_PlayerData_playerColors[(playerData)]=(ConvertPlayerColor(playerData)) // INLINED!! if GetPlayerSlotState(Player(playerData)) == PLAYER_SLOT_STATE_PLAYING then - call SaveInteger(ConstTable___ht, (((((s__LoP_PlayerData_rotationStep_impl))))), ((playerData)), ( (90))) // INLINED!! + call SaveInteger(ConstTable__ht, (((((s__LoP_PlayerData_rotationStep_impl))))), ((playerData)), ( (90))) // INLINED!! endif set playerData=playerData + 1 @@ -10187,140 +10187,140 @@ endfunction // these are supposed to be private //textmacro instance: TableStruct_NewStructField("tips","ArrayList") function s__LoP_TipCategory__get_tips takes integer this returns integer - return (LoadInteger(ConstTable___ht, (((s__LoP_TipCategory_tips_impl))), (this))) // INLINED!! + return (LoadInteger(ConstTable__ht, (((s__LoP_TipCategory_tips_impl))), (this))) // INLINED!! endfunction function s__LoP_TipCategory__set_tips takes integer this,integer new_tips returns nothing - call SaveInteger(ConstTable___ht, (((s__LoP_TipCategory_tips_impl))), (this), ( new_tips)) // INLINED!! + call SaveInteger(ConstTable__ht, (((s__LoP_TipCategory_tips_impl))), (this), ( new_tips)) // INLINED!! endfunction function s__LoP_TipCategory_tipsClear takes integer this returns nothing - call RemoveSavedInteger(ConstTable___ht, (((s__LoP_TipCategory_tips_impl))), (this)) // INLINED!! + call RemoveSavedInteger(ConstTable__ht, (((s__LoP_TipCategory_tips_impl))), (this)) // INLINED!! endfunction function s__LoP_TipCategory_tipsExists takes integer this returns boolean - return (HaveSavedInteger(ConstTable___ht, (((s__LoP_TipCategory_tips_impl))), (this))) // INLINED!! + return (HaveSavedInteger(ConstTable__ht, (((s__LoP_TipCategory_tips_impl))), (this))) // INLINED!! endfunction //end of: TableStruct_NewStructField("tips","ArrayList") //textmacro instance: TableStruct_NewPrimitiveField("currentIndex","integer") function s__LoP_TipCategory__get_currentIndex takes integer this returns integer - return (LoadInteger(ConstTable___ht, (((((s__LoP_TipCategory_currentIndex_impl))))), (this))) // INLINED!! + return (LoadInteger(ConstTable__ht, (((((s__LoP_TipCategory_currentIndex_impl))))), (this))) // INLINED!! endfunction function s__LoP_TipCategory__set_currentIndex takes integer this,integer new_currentIndex returns nothing - call SaveInteger(ConstTable___ht, (((((s__LoP_TipCategory_currentIndex_impl))))), (this), ( new_currentIndex)) // INLINED!! + call SaveInteger(ConstTable__ht, (((((s__LoP_TipCategory_currentIndex_impl))))), (this), ( new_currentIndex)) // INLINED!! endfunction function s__LoP_TipCategory_currentIndexClear takes integer this returns nothing - call RemoveSavedInteger(ConstTable___ht, (((((s__LoP_TipCategory_currentIndex_impl))))), (this)) // INLINED!! + call RemoveSavedInteger(ConstTable__ht, (((((s__LoP_TipCategory_currentIndex_impl))))), (this)) // INLINED!! endfunction function s__LoP_TipCategory_currentIndexExists takes integer this returns boolean - return (HaveSavedInteger(ConstTable___ht, (((((s__LoP_TipCategory_currentIndex_impl))))), (this))) // INLINED!! + return (HaveSavedInteger(ConstTable__ht, (((((s__LoP_TipCategory_currentIndex_impl))))), (this))) // INLINED!! endfunction //end of: TableStruct_NewPrimitiveField("currentIndex","integer") // returns a list of tips (as integers) function s__LoP_TipCategory_getTips takes integer this returns integer - return s__ArrayList_copy((LoadInteger(ConstTable___ht, (((s__LoP_TipCategory_tips_impl))), ((this))))) // INLINED!! + return s__ArrayList_copy((LoadInteger(ConstTable__ht, (((s__LoP_TipCategory_tips_impl))), ((this))))) // INLINED!! endfunction // no safety check for empty list function s__LoP_TipCategory_getNextTip takes integer this returns integer - local integer currentIndex= (LoadInteger(ConstTable___ht, (((((s__LoP_TipCategory_currentIndex_impl))))), ((this)))) // INLINED!! + local integer currentIndex= (LoadInteger(ConstTable__ht, (((((s__LoP_TipCategory_currentIndex_impl))))), ((this)))) // INLINED!! if currentIndex == 0 then - call s__ArrayList_randomize((LoadInteger(ConstTable___ht, (((s__LoP_TipCategory_tips_impl))), ((this))))) // INLINED!! + call s__ArrayList_randomize((LoadInteger(ConstTable__ht, (((s__LoP_TipCategory_tips_impl))), ((this))))) // INLINED!! endif - call SaveInteger(ConstTable___ht, (((((s__LoP_TipCategory_currentIndex_impl))))), ((this)), ( (ModuloInteger(currentIndex + 1, (LoadInteger((Lists___hashTable), ((LoadInteger(ConstTable___ht, (((s__LoP_TipCategory_tips_impl))), ((this))))), (- 1))))))) // INLINED!! - return (LoadInteger((Lists___hashTable), ((LoadInteger(ConstTable___ht, (((s__LoP_TipCategory_tips_impl))), ((this))))), (currentIndex))) // INLINED!! + call SaveInteger(ConstTable__ht, (((((s__LoP_TipCategory_currentIndex_impl))))), ((this)), ( (ModuloInteger(currentIndex + 1, (LoadInteger((Lists__hashTable), ((LoadInteger(ConstTable__ht, (((s__LoP_TipCategory_tips_impl))), ((this))))), (- 1))))))) // INLINED!! + return (LoadInteger((Lists__hashTable), ((LoadInteger(ConstTable__ht, (((s__LoP_TipCategory_tips_impl))), ((this))))), (currentIndex))) // INLINED!! endfunction //textmacro instance: TableStruct_NewReadonlyStructField("category","LoP_TipCategory") function s__LoP_Tip__get_category takes integer this returns integer - return (LoadInteger(ConstTable___ht, (((s__LoP_Tip_category_impl))), (this))) // INLINED!! + return (LoadInteger(ConstTable__ht, (((s__LoP_Tip_category_impl))), (this))) // INLINED!! endfunction function s__LoP_Tip__set_category takes integer this,integer new_category returns nothing - call SaveInteger(ConstTable___ht, (((s__LoP_Tip_category_impl))), (this), ( new_category)) // INLINED!! + call SaveInteger(ConstTable__ht, (((s__LoP_Tip_category_impl))), (this), ( new_category)) // INLINED!! endfunction function s__LoP_Tip_categoryClear takes integer this returns nothing - call RemoveSavedInteger(ConstTable___ht, (((s__LoP_Tip_category_impl))), (this)) // INLINED!! + call RemoveSavedInteger(ConstTable__ht, (((s__LoP_Tip_category_impl))), (this)) // INLINED!! endfunction function s__LoP_Tip_categoryExists takes integer this returns boolean - return (HaveSavedInteger(ConstTable___ht, (((s__LoP_Tip_category_impl))), (this))) // INLINED!! + return (HaveSavedInteger(ConstTable__ht, (((s__LoP_Tip_category_impl))), (this))) // INLINED!! endfunction //end of: TableStruct_NewReadonlyStructField("category","LoP_TipCategory") //textmacro instance: TableStruct_NewReadonlyPrimitiveField("message","string") function s__LoP_Tip__get_message takes integer this returns string - return (LoadStr(ConstTable___ht, (((((s__LoP_Tip_message_impl))))), (this))) // INLINED!! + return (LoadStr(ConstTable__ht, (((((s__LoP_Tip_message_impl))))), (this))) // INLINED!! endfunction function s__LoP_Tip__set_message takes integer this,string new_message returns nothing - call SaveStr(ConstTable___ht, (((((s__LoP_Tip_message_impl))))), (this), ( new_message)) // INLINED!! + call SaveStr(ConstTable__ht, (((((s__LoP_Tip_message_impl))))), (this), ( new_message)) // INLINED!! endfunction function s__LoP_Tip_messageClear takes integer this returns nothing - call RemoveSavedString(ConstTable___ht, (((((s__LoP_Tip_message_impl))))), (this)) // INLINED!! + call RemoveSavedString(ConstTable__ht, (((((s__LoP_Tip_message_impl))))), (this)) // INLINED!! endfunction function s__LoP_Tip_messageExists takes integer this returns boolean - return (HaveSavedString(ConstTable___ht, (((((s__LoP_Tip_message_impl))))), (this))) // INLINED!! + return (HaveSavedString(ConstTable__ht, (((((s__LoP_Tip_message_impl))))), (this))) // INLINED!! endfunction //end of: TableStruct_NewReadonlyPrimitiveField("message","string") function s__LoP_Tip_create takes integer category,string message returns integer local integer this= StringHash(message) - call SaveInteger(ConstTable___ht, (((s__LoP_Tip_category_impl))), ((this)), ( (category))) // INLINED!! - call SaveStr(ConstTable___ht, (((((s__LoP_Tip_message_impl))))), ((this)), ( (message))) // INLINED!! - call s__ArrayList_append((LoadInteger(ConstTable___ht, (((s__LoP_TipCategory_tips_impl))), ((category)))),this) // INLINED!! + call SaveInteger(ConstTable__ht, (((s__LoP_Tip_category_impl))), ((this)), ( (category))) // INLINED!! + call SaveStr(ConstTable__ht, (((((s__LoP_Tip_message_impl))))), ((this)), ( (message))) // INLINED!! + call s__ArrayList_append((LoadInteger(ConstTable__ht, (((s__LoP_TipCategory_tips_impl))), ((category)))),this) // INLINED!! return this endfunction function s__LoP_Tip_messageAsHint takes integer this returns string - return "|cffffcc00HINT:|r " + (LoadStr(ConstTable___ht, (((((s__LoP_Tip_message_impl))))), ((this)))) // INLINED!! + return "|cffffcc00HINT:|r " + (LoadStr(ConstTable__ht, (((((s__LoP_Tip_message_impl))))), ((this)))) // INLINED!! endfunction -function LoPTip___onTimer takes nothing returns nothing - local integer tip= s__LoP_TipCategory_getNextTip((LoPTip___PERIODIC_TIPS)) +function LoPTip__onTimer takes nothing returns nothing + local integer tip= s__LoP_TipCategory_getNextTip((LoPTip__PERIODIC_TIPS)) if LoPTip_enabled then - call DisplayTextToPlayer(GetLocalPlayer(), 0, 0, ("|cffffcc00HINT:|r " + (LoadStr(ConstTable___ht, (((((s__LoP_Tip_message_impl))))), (((tip))))))) // INLINED!! + call DisplayTextToPlayer(GetLocalPlayer(), 0, 0, ("|cffffcc00HINT:|r " + (LoadStr(ConstTable__ht, (((((s__LoP_Tip_message_impl))))), (((tip))))))) // INLINED!! endif endfunction -constant function LoPTip___DELAY_MINUTES takes nothing returns real +constant function LoPTip__DELAY_MINUTES takes nothing returns real return 10. endfunction -constant function LoPTip___DELAY_SECONDS takes nothing returns real +constant function LoPTip__DELAY_SECONDS takes nothing returns real return 0. endfunction -//Implemented from module LoPTip___InitModule: - function s__LoPTip___InitStruct_LoPTip___InitModule__onInit takes nothing returns nothing - call s__LoP_Tip_create(LoPTip___PERIODIC_TIPS , "You can use the |cffffff00-rect|r command to spawn a Rect Generator. This allows you to do stuff like save terrain, create terrain fog to make areas darker or brighter, or move a lot of units at once. Read the tooltips (you can use -seln rect to select your generator after you have spawned one)!") - call s__LoP_Tip_create(LoPTip___PERIODIC_TIPS , "You can copy any unit using the |cffffff00-copy|r command. Well... almost any unit.") - call s__LoP_Tip_create(LoPTip___PERIODIC_TIPS , "When selecting an active rect generator, some commands (like |cffffff00-give|r, |cffffff00'color|r, |cffffff00-select no|r and others) will apply to all units inside of the generator.") - call s__LoP_Tip_create(LoPTip___PERIODIC_TIPS , "You can use the |cffffff00-seln|r command to select any deco builder that you currently have? For example, |cffffff00-seln wat|r will select your water builder. |cffffff00-seln wa|r will select your water and wall builders.") - call s__LoP_Tip_create(LoPTip___PERIODIC_TIPS , "The |cffffff00-select no|r command, which allows you to make your decorations unselectable, reduces the lag from having too many units in the map. Use it!") - call s__LoP_Tip_create(LoPTip___PERIODIC_TIPS , "The Titan can turn almost any unit into a hero, using the |cffffff00-makehero|r command. Some units, like builders and decorations, can't become heroes.") - call s__LoP_Tip_create(LoPTip___PERIODIC_TIPS , "You can set the default color of all your units with the |cffffff00-setcolor|r command. This will not alter your player color in the chat or F11 screen.") - call s__LoP_Tip_create(LoPTip___PERIODIC_TIPS , "You can use the |cffffff00-tag|r command instead of |cffffff00-anim|r. For example, |cffffff00-tag work|r or |cffffff00-tag upgrade first|r. Tags, unlike animations, are saved by the Save System. They also consistently apply to units, even when they take other actions.") - call s__LoP_Tip_create(LoPTip___PERIODIC_TIPS , "Rect Generators can be used to save terrain. Use the |cffffff00-rect|r command to spawn a generator, expand its rectangle to encompass the region you want, then use the |cffffff00-tsav|r command while selecting the Generator to save. You can then use the |cffffff00-request|r command to retrieve the terrain. |cffff0000Warning:|r Saving two saves with the same name will overwrite them.") - call s__LoP_Tip_create(LoPTip___PERIODIC_TIPS , "This map employs a multipatrol system. Whenever a unit is issued a Patrol order, it retains all its past patrol points and patrols all of them. Patrol points are saved by the Save System. Check F9 for commands.") - call s__LoP_Tip_create(LoPTip___PERIODIC_TIPS , "This map contains many camera commands, so you can take screenshots of your builds from any angle! There is also a third person camera. Check F9 for more info.") +//Implemented from module LoPTip__InitModule: + function s__LoPTip__InitStruct_LoPTip__InitModule__onInit takes nothing returns nothing + call s__LoP_Tip_create(LoPTip__PERIODIC_TIPS , "You can use the |cffffff00-rect|r command to spawn a Rect Generator. This allows you to do stuff like save terrain, create terrain fog to make areas darker or brighter, or move a lot of units at once. Read the tooltips (you can use -seln rect to select your generator after you have spawned one)!") + call s__LoP_Tip_create(LoPTip__PERIODIC_TIPS , "You can copy any unit using the |cffffff00-copy|r command. Well... almost any unit.") + call s__LoP_Tip_create(LoPTip__PERIODIC_TIPS , "When selecting an active rect generator, some commands (like |cffffff00-give|r, |cffffff00'color|r, |cffffff00-select no|r and others) will apply to all units inside of the generator.") + call s__LoP_Tip_create(LoPTip__PERIODIC_TIPS , "You can use the |cffffff00-seln|r command to select any deco builder that you currently have? For example, |cffffff00-seln wat|r will select your water builder. |cffffff00-seln wa|r will select your water and wall builders.") + call s__LoP_Tip_create(LoPTip__PERIODIC_TIPS , "The |cffffff00-select no|r command, which allows you to make your decorations unselectable, reduces the lag from having too many units in the map. Use it!") + call s__LoP_Tip_create(LoPTip__PERIODIC_TIPS , "The Titan can turn almost any unit into a hero, using the |cffffff00-makehero|r command. Some units, like builders and decorations, can't become heroes.") + call s__LoP_Tip_create(LoPTip__PERIODIC_TIPS , "You can set the default color of all your units with the |cffffff00-setcolor|r command. This will not alter your player color in the chat or F11 screen.") + call s__LoP_Tip_create(LoPTip__PERIODIC_TIPS , "You can use the |cffffff00-tag|r command instead of |cffffff00-anim|r. For example, |cffffff00-tag work|r or |cffffff00-tag upgrade first|r. Tags, unlike animations, are saved by the Save System. They also consistently apply to units, even when they take other actions.") + call s__LoP_Tip_create(LoPTip__PERIODIC_TIPS , "Rect Generators can be used to save terrain. Use the |cffffff00-rect|r command to spawn a generator, expand its rectangle to encompass the region you want, then use the |cffffff00-tsav|r command while selecting the Generator to save. You can then use the |cffffff00-request|r command to retrieve the terrain. |cffff0000Warning:|r Saving two saves with the same name will overwrite them.") + call s__LoP_Tip_create(LoPTip__PERIODIC_TIPS , "This map employs a multipatrol system. Whenever a unit is issued a Patrol order, it retains all its past patrol points and patrols all of them. Patrol points are saved by the Save System. Check F9 for commands.") + call s__LoP_Tip_create(LoPTip__PERIODIC_TIPS , "This map contains many camera commands, so you can take screenshots of your builds from any angle! There is also a third person camera. Check F9 for more info.") - call TimerStart(CreateTimer(), (10.) * 60. + (0.), true, function LoPTip___onTimer) // INLINED!! + call TimerStart(CreateTimer(), (10.) * 60. + (0.), true, function LoPTip__onTimer) // INLINED!! endfunction @@ -10333,60 +10333,60 @@ endfunction //textmacro instance: TableStruct_NewReadonlyStructField("items", "Table") function s__MultiBoard__get_items takes integer this returns integer - return (LoadInteger(ConstTable___ht, (((s__MultiBoard_items_impl))), (this))) // INLINED!! + return (LoadInteger(ConstTable__ht, (((s__MultiBoard_items_impl))), (this))) // INLINED!! endfunction function s__MultiBoard__set_items takes integer this,integer new_items returns nothing - call SaveInteger(ConstTable___ht, (((s__MultiBoard_items_impl))), (this), ( new_items)) // INLINED!! + call SaveInteger(ConstTable__ht, (((s__MultiBoard_items_impl))), (this), ( new_items)) // INLINED!! endfunction function s__MultiBoard_itemsClear takes integer this returns nothing - call RemoveSavedInteger(ConstTable___ht, (((s__MultiBoard_items_impl))), (this)) // INLINED!! + call RemoveSavedInteger(ConstTable__ht, (((s__MultiBoard_items_impl))), (this)) // INLINED!! endfunction function s__MultiBoard_itemsExists takes integer this returns boolean - return (HaveSavedInteger(ConstTable___ht, (((s__MultiBoard_items_impl))), (this))) // INLINED!! + return (HaveSavedInteger(ConstTable__ht, (((s__MultiBoard_items_impl))), (this))) // INLINED!! endfunction //end of: TableStruct_NewReadonlyStructField("items", "Table") //textmacro instance: TableStruct_NewReadonlyPrimitiveField("cols", "integer") function s__MultiBoard__get_cols takes integer this returns integer - return (LoadInteger(ConstTable___ht, (((((s__MultiBoard_cols_impl))))), (this))) // INLINED!! + return (LoadInteger(ConstTable__ht, (((((s__MultiBoard_cols_impl))))), (this))) // INLINED!! endfunction function s__MultiBoard__set_cols takes integer this,integer new_cols returns nothing - call SaveInteger(ConstTable___ht, (((((s__MultiBoard_cols_impl))))), (this), ( new_cols)) // INLINED!! + call SaveInteger(ConstTable__ht, (((((s__MultiBoard_cols_impl))))), (this), ( new_cols)) // INLINED!! endfunction function s__MultiBoard_colsClear takes integer this returns nothing - call RemoveSavedInteger(ConstTable___ht, (((((s__MultiBoard_cols_impl))))), (this)) // INLINED!! + call RemoveSavedInteger(ConstTable__ht, (((((s__MultiBoard_cols_impl))))), (this)) // INLINED!! endfunction function s__MultiBoard_colsExists takes integer this returns boolean - return (HaveSavedInteger(ConstTable___ht, (((((s__MultiBoard_cols_impl))))), (this))) // INLINED!! + return (HaveSavedInteger(ConstTable__ht, (((((s__MultiBoard_cols_impl))))), (this))) // INLINED!! endfunction //end of: TableStruct_NewReadonlyPrimitiveField("cols", "integer") //textmacro instance: TableStruct_NewReadonlyPrimitiveField("rows", "integer") function s__MultiBoard__get_rows takes integer this returns integer - return (LoadInteger(ConstTable___ht, (((((s__MultiBoard_rows_impl))))), (this))) // INLINED!! + return (LoadInteger(ConstTable__ht, (((((s__MultiBoard_rows_impl))))), (this))) // INLINED!! endfunction function s__MultiBoard__set_rows takes integer this,integer new_rows returns nothing - call SaveInteger(ConstTable___ht, (((((s__MultiBoard_rows_impl))))), (this), ( new_rows)) // INLINED!! + call SaveInteger(ConstTable__ht, (((((s__MultiBoard_rows_impl))))), (this), ( new_rows)) // INLINED!! endfunction function s__MultiBoard_rowsClear takes integer this returns nothing - call RemoveSavedInteger(ConstTable___ht, (((((s__MultiBoard_rows_impl))))), (this)) // INLINED!! + call RemoveSavedInteger(ConstTable__ht, (((((s__MultiBoard_rows_impl))))), (this)) // INLINED!! endfunction function s__MultiBoard_rowsExists takes integer this returns boolean - return (HaveSavedInteger(ConstTable___ht, (((((s__MultiBoard_rows_impl))))), (this))) // INLINED!! + return (HaveSavedInteger(ConstTable__ht, (((((s__MultiBoard_rows_impl))))), (this))) // INLINED!! endfunction //end of: TableStruct_NewReadonlyPrimitiveField("rows", "integer") //textmacro instance: TableStruct_NewReadonlyHandleField("multiboard", "multiboard") function s__MultiBoard__get_multiboard takes integer this returns multiboard - return (LoadMultiboardHandle(ConstTable___ht, (((((s__MultiBoard_multiboard_impl))))), (this))) // INLINED!! + return (LoadMultiboardHandle(ConstTable__ht, (((((s__MultiBoard_multiboard_impl))))), (this))) // INLINED!! endfunction function s__MultiBoard__set_multiboard takes integer this,multiboard new_multiboard returns nothing @@ -10394,36 +10394,36 @@ endfunction endfunction function s__MultiBoard_multiboardClear takes integer this returns nothing - call RemoveSavedHandle(ConstTable___ht, (((((s__MultiBoard_multiboard_impl))))), (this)) // INLINED!! + call RemoveSavedHandle(ConstTable__ht, (((((s__MultiBoard_multiboard_impl))))), (this)) // INLINED!! endfunction function s__MultiBoard_multiboardExists takes integer this returns boolean - return (HaveSavedHandle(ConstTable___ht, (((((s__MultiBoard_multiboard_impl))))), (this))) // INLINED!! + return (HaveSavedHandle(ConstTable__ht, (((((s__MultiBoard_multiboard_impl))))), (this))) // INLINED!! endfunction //end of: TableStruct_NewReadonlyHandleField("multiboard", "multiboard") function s__MultiBoard_get takes integer this,integer i,integer j returns multiboarditem - return (LoadMultiboardItemHandle(Table___ht, ((((LoadInteger(Table___ht, ((LoadInteger(ConstTable___ht, (((s__MultiBoard_items_impl))), ((this))))), (i)))))), (j))) // INLINED!! + return (LoadMultiboardItemHandle(Table__ht, ((((LoadInteger(Table__ht, ((LoadInteger(ConstTable__ht, (((s__MultiBoard_items_impl))), ((this))))), (i)))))), (j))) // INLINED!! endfunction function s__MultiBoard_setValue takes integer this,integer i,integer j,string value returns nothing - call MultiboardSetItemValue((LoadMultiboardItemHandle(Table___ht, ((((LoadInteger(Table___ht, ((LoadInteger(ConstTable___ht, (((s__MultiBoard_items_impl))), (((this)))))), ((i ))))))), (( j)))), value) // INLINED!! + call MultiboardSetItemValue((LoadMultiboardItemHandle(Table__ht, ((((LoadInteger(Table__ht, ((LoadInteger(ConstTable__ht, (((s__MultiBoard_items_impl))), (((this)))))), ((i ))))))), (( j)))), value) // INLINED!! endfunction function s__MultiBoard_setValueColor takes integer this,integer i,integer j,integer r,integer g,integer b,integer a returns nothing - call MultiboardSetItemValueColor((LoadMultiboardItemHandle(Table___ht, ((((LoadInteger(Table___ht, ((LoadInteger(ConstTable___ht, (((s__MultiBoard_items_impl))), (((this)))))), ((i ))))))), (( j)))), r, g, b, a) // INLINED!! + call MultiboardSetItemValueColor((LoadMultiboardItemHandle(Table__ht, ((((LoadInteger(Table__ht, ((LoadInteger(ConstTable__ht, (((s__MultiBoard_items_impl))), (((this)))))), ((i ))))))), (( j)))), r, g, b, a) // INLINED!! endfunction function s__MultiBoard_setIcon takes integer this,integer i,integer j,string iconFileName returns nothing - call MultiboardSetItemIcon((LoadMultiboardItemHandle(Table___ht, ((((LoadInteger(Table___ht, ((LoadInteger(ConstTable___ht, (((s__MultiBoard_items_impl))), (((this)))))), ((i ))))))), (( j)))), iconFileName) // INLINED!! + call MultiboardSetItemIcon((LoadMultiboardItemHandle(Table__ht, ((((LoadInteger(Table__ht, ((LoadInteger(ConstTable__ht, (((s__MultiBoard_items_impl))), (((this)))))), ((i ))))))), (( j)))), iconFileName) // INLINED!! endfunction function s__MultiBoard_setStyle takes integer this,integer i,integer j,boolean showValue,boolean showIcon returns nothing - call MultiboardSetItemStyle((LoadMultiboardItemHandle(Table___ht, ((((LoadInteger(Table___ht, ((LoadInteger(ConstTable___ht, (((s__MultiBoard_items_impl))), (((this)))))), ((i ))))))), (( j)))), showValue, showIcon) // INLINED!! + call MultiboardSetItemStyle((LoadMultiboardItemHandle(Table__ht, ((((LoadInteger(Table__ht, ((LoadInteger(ConstTable__ht, (((s__MultiBoard_items_impl))), (((this)))))), ((i ))))))), (( j)))), showValue, showIcon) // INLINED!! endfunction function s__MultiBoard_setWidth takes integer this,integer i,integer j,real width returns nothing - call MultiboardSetItemWidth((LoadMultiboardItemHandle(Table___ht, ((((LoadInteger(Table___ht, ((LoadInteger(ConstTable___ht, (((s__MultiBoard_items_impl))), (((this)))))), ((i ))))))), (( j)))), width) // INLINED!! + call MultiboardSetItemWidth((LoadMultiboardItemHandle(Table__ht, ((((LoadInteger(Table__ht, ((LoadInteger(ConstTable__ht, (((s__MultiBoard_items_impl))), (((this)))))), ((i ))))))), (( j)))), width) // INLINED!! endfunction function s__MultiBoard_refresh takes multiboard mb returns integer @@ -10431,36 +10431,36 @@ endfunction local integer rows= MultiboardGetRowCount(mb) local integer cols= MultiboardGetColumnCount(mb) - local integer oldCols= (LoadInteger(ConstTable___ht, (((((s__MultiBoard_cols_impl))))), ((this)))) // INLINED!! - local integer oldRows= (LoadInteger(ConstTable___ht, (((((s__MultiBoard_rows_impl))))), ((this)))) // INLINED!! + local integer oldCols= (LoadInteger(ConstTable__ht, (((((s__MultiBoard_cols_impl))))), ((this)))) // INLINED!! + local integer oldRows= (LoadInteger(ConstTable__ht, (((((s__MultiBoard_rows_impl))))), ((this)))) // INLINED!! local integer i= 0 local integer j - if (LoadInteger(ConstTable___ht, (((s__MultiBoard_items_impl))), ((this)))) == 0 then // INLINED!! - call SaveInteger(ConstTable___ht, (((s__MultiBoard_items_impl))), ((this)), ( (s__Table_create()))) // INLINED!! + if (LoadInteger(ConstTable__ht, (((s__MultiBoard_items_impl))), ((this)))) == 0 then // INLINED!! + call SaveInteger(ConstTable__ht, (((s__MultiBoard_items_impl))), ((this)), ( (s__Table_create()))) // INLINED!! call s__TableStruct_setHandle(s__MultiBoard_multiboard_impl , (this) , (mb)) // INLINED!! endif loop exitwhen i >= rows if i >= oldRows then - call SaveInteger(Table___ht, ((LoadInteger(ConstTable___ht, (((s__MultiBoard_items_impl))), ((this))))), (i), ( s__Table_create())) // INLINED!! + call SaveInteger(Table__ht, ((LoadInteger(ConstTable__ht, (((s__MultiBoard_items_impl))), ((this))))), (i), ( s__Table_create())) // INLINED!! set j=0 else set j=cols loop exitwhen j >= oldCols - call MultiboardReleaseItem((LoadMultiboardItemHandle(Table___ht, ((((LoadInteger(Table___ht, ((LoadInteger(ConstTable___ht, (((s__MultiBoard_items_impl))), ((this))))), (i)))))), (j)))) // INLINED!! - call RemoveSavedHandle(Table___ht, ((((LoadInteger(Table___ht, ((LoadInteger(ConstTable___ht, (((s__MultiBoard_items_impl))), ((this))))), (i)))))), (j)) // INLINED!! + call MultiboardReleaseItem((LoadMultiboardItemHandle(Table__ht, ((((LoadInteger(Table__ht, ((LoadInteger(ConstTable__ht, (((s__MultiBoard_items_impl))), ((this))))), (i)))))), (j)))) // INLINED!! + call RemoveSavedHandle(Table__ht, ((((LoadInteger(Table__ht, ((LoadInteger(ConstTable__ht, (((s__MultiBoard_items_impl))), ((this))))), (i)))))), (j)) // INLINED!! set j=j + 1 endloop set j=oldCols endif - call SaveInteger(Table___ht, ((LoadInteger(ConstTable___ht, (((s__MultiBoard_items_impl))), ((this))))), (0), ( s__Table_create())) // INLINED!! + call SaveInteger(Table__ht, ((LoadInteger(ConstTable__ht, (((s__MultiBoard_items_impl))), ((this))))), (0), ( s__Table_create())) // INLINED!! loop exitwhen j >= cols - call SaveMultiboardItemHandle(Table___ht, ((((LoadInteger(Table___ht, ((LoadInteger(ConstTable___ht, (((s__MultiBoard_items_impl))), ((this))))), (i)))))), (j), ( MultiboardGetItem(mb, i, j))) // INLINED!! + call SaveMultiboardItemHandle(Table__ht, ((((LoadInteger(Table__ht, ((LoadInteger(ConstTable__ht, (((s__MultiBoard_items_impl))), ((this))))), (i)))))), (j), ( MultiboardGetItem(mb, i, j))) // INLINED!! set j=j + 1 endloop set i=i + 1 @@ -10471,25 +10471,25 @@ endfunction set j=0 loop exitwhen j >= oldCols - call MultiboardReleaseItem((LoadMultiboardItemHandle(Table___ht, ((((LoadInteger(Table___ht, ((LoadInteger(ConstTable___ht, (((s__MultiBoard_items_impl))), ((this))))), (i)))))), (j)))) // INLINED!! + call MultiboardReleaseItem((LoadMultiboardItemHandle(Table__ht, ((((LoadInteger(Table__ht, ((LoadInteger(ConstTable__ht, (((s__MultiBoard_items_impl))), ((this))))), (i)))))), (j)))) // INLINED!! set j=j + 1 endloop - call s__Table_destroy((LoadInteger(Table___ht, ((LoadInteger(ConstTable___ht, (((s__MultiBoard_items_impl))), ((this))))), (i)))) // INLINED!! + call s__Table_destroy((LoadInteger(Table__ht, ((LoadInteger(ConstTable__ht, (((s__MultiBoard_items_impl))), ((this))))), (i)))) // INLINED!! set i=i + 1 endloop - call SaveInteger(ConstTable___ht, (((((s__MultiBoard_cols_impl))))), ((this)), ( (cols))) // INLINED!! - call SaveInteger(ConstTable___ht, (((((s__MultiBoard_rows_impl))))), ((this)), ( (rows))) // INLINED!! + call SaveInteger(ConstTable__ht, (((((s__MultiBoard_cols_impl))))), ((this)), ( (cols))) // INLINED!! + call SaveInteger(ConstTable__ht, (((((s__MultiBoard_rows_impl))))), ((this)), ( (rows))) // INLINED!! return this endfunction // TODO: function s__MultiBoard_destroy takes integer this returns nothing - call RemoveSavedInteger(ConstTable___ht, (((s__MultiBoard_items_impl))), ((this))) // INLINED!! - call RemoveSavedInteger(ConstTable___ht, (((((s__MultiBoard_rows_impl))))), ((this))) // INLINED!! - call RemoveSavedInteger(ConstTable___ht, (((((s__MultiBoard_cols_impl))))), ((this))) // INLINED!! - call RemoveSavedHandle(ConstTable___ht, (((((s__MultiBoard_multiboard_impl))))), ((this))) // INLINED!! + call RemoveSavedInteger(ConstTable__ht, (((s__MultiBoard_items_impl))), ((this))) // INLINED!! + call RemoveSavedInteger(ConstTable__ht, (((((s__MultiBoard_rows_impl))))), ((this))) // INLINED!! + call RemoveSavedInteger(ConstTable__ht, (((((s__MultiBoard_cols_impl))))), ((this))) // INLINED!! + call RemoveSavedHandle(ConstTable__ht, (((((s__MultiBoard_multiboard_impl))))), ((this))) // INLINED!! endfunction @@ -10515,132 +10515,132 @@ endfunction //textmacro instance: TableStruct_NewPrimitiveField("style", "integer") function s__TerrainFog__get_style takes integer this returns integer - return (LoadInteger(ConstTable___ht, (((((s__TerrainFog_style_impl))))), (this))) // INLINED!! + return (LoadInteger(ConstTable__ht, (((((s__TerrainFog_style_impl))))), (this))) // INLINED!! endfunction function s__TerrainFog__set_style takes integer this,integer new_style returns nothing - call SaveInteger(ConstTable___ht, (((((s__TerrainFog_style_impl))))), (this), ( new_style)) // INLINED!! + call SaveInteger(ConstTable__ht, (((((s__TerrainFog_style_impl))))), (this), ( new_style)) // INLINED!! endfunction function s__TerrainFog_styleClear takes integer this returns nothing - call RemoveSavedInteger(ConstTable___ht, (((((s__TerrainFog_style_impl))))), (this)) // INLINED!! + call RemoveSavedInteger(ConstTable__ht, (((((s__TerrainFog_style_impl))))), (this)) // INLINED!! endfunction function s__TerrainFog_styleExists takes integer this returns boolean - return (HaveSavedInteger(ConstTable___ht, (((((s__TerrainFog_style_impl))))), (this))) // INLINED!! + return (HaveSavedInteger(ConstTable__ht, (((((s__TerrainFog_style_impl))))), (this))) // INLINED!! endfunction //end of: TableStruct_NewPrimitiveField("style", "integer") //textmacro instance: TableStruct_NewPrimitiveField("zStart", "real") function s__TerrainFog__get_zStart takes integer this returns real - return (LoadReal(ConstTable___ht, (((((s__TerrainFog_zStart_impl))))), (this))) // INLINED!! + return (LoadReal(ConstTable__ht, (((((s__TerrainFog_zStart_impl))))), (this))) // INLINED!! endfunction function s__TerrainFog__set_zStart takes integer this,real new_zStart returns nothing - call SaveReal(ConstTable___ht, (((((s__TerrainFog_zStart_impl))))), (this), (( new_zStart)*1.0)) // INLINED!! + call SaveReal(ConstTable__ht, (((((s__TerrainFog_zStart_impl))))), (this), (( new_zStart)*1.0)) // INLINED!! endfunction function s__TerrainFog_zStartClear takes integer this returns nothing - call RemoveSavedReal(ConstTable___ht, (((((s__TerrainFog_zStart_impl))))), (this)) // INLINED!! + call RemoveSavedReal(ConstTable__ht, (((((s__TerrainFog_zStart_impl))))), (this)) // INLINED!! endfunction function s__TerrainFog_zStartExists takes integer this returns boolean - return (HaveSavedReal(ConstTable___ht, (((((s__TerrainFog_zStart_impl))))), (this))) // INLINED!! + return (HaveSavedReal(ConstTable__ht, (((((s__TerrainFog_zStart_impl))))), (this))) // INLINED!! endfunction //end of: TableStruct_NewPrimitiveField("zStart", "real") //textmacro instance: TableStruct_NewPrimitiveField("zEnd", "real") function s__TerrainFog__get_zEnd takes integer this returns real - return (LoadReal(ConstTable___ht, (((((s__TerrainFog_zEnd_impl))))), (this))) // INLINED!! + return (LoadReal(ConstTable__ht, (((((s__TerrainFog_zEnd_impl))))), (this))) // INLINED!! endfunction function s__TerrainFog__set_zEnd takes integer this,real new_zEnd returns nothing - call SaveReal(ConstTable___ht, (((((s__TerrainFog_zEnd_impl))))), (this), (( new_zEnd)*1.0)) // INLINED!! + call SaveReal(ConstTable__ht, (((((s__TerrainFog_zEnd_impl))))), (this), (( new_zEnd)*1.0)) // INLINED!! endfunction function s__TerrainFog_zEndClear takes integer this returns nothing - call RemoveSavedReal(ConstTable___ht, (((((s__TerrainFog_zEnd_impl))))), (this)) // INLINED!! + call RemoveSavedReal(ConstTable__ht, (((((s__TerrainFog_zEnd_impl))))), (this)) // INLINED!! endfunction function s__TerrainFog_zEndExists takes integer this returns boolean - return (HaveSavedReal(ConstTable___ht, (((((s__TerrainFog_zEnd_impl))))), (this))) // INLINED!! + return (HaveSavedReal(ConstTable__ht, (((((s__TerrainFog_zEnd_impl))))), (this))) // INLINED!! endfunction //end of: TableStruct_NewPrimitiveField("zEnd", "real") //textmacro instance: TableStruct_NewPrimitiveField("density", "real") function s__TerrainFog__get_density takes integer this returns real - return (LoadReal(ConstTable___ht, (((((s__TerrainFog_density_impl))))), (this))) // INLINED!! + return (LoadReal(ConstTable__ht, (((((s__TerrainFog_density_impl))))), (this))) // INLINED!! endfunction function s__TerrainFog__set_density takes integer this,real new_density returns nothing - call SaveReal(ConstTable___ht, (((((s__TerrainFog_density_impl))))), (this), (( new_density)*1.0)) // INLINED!! + call SaveReal(ConstTable__ht, (((((s__TerrainFog_density_impl))))), (this), (( new_density)*1.0)) // INLINED!! endfunction function s__TerrainFog_densityClear takes integer this returns nothing - call RemoveSavedReal(ConstTable___ht, (((((s__TerrainFog_density_impl))))), (this)) // INLINED!! + call RemoveSavedReal(ConstTable__ht, (((((s__TerrainFog_density_impl))))), (this)) // INLINED!! endfunction function s__TerrainFog_densityExists takes integer this returns boolean - return (HaveSavedReal(ConstTable___ht, (((((s__TerrainFog_density_impl))))), (this))) // INLINED!! + return (HaveSavedReal(ConstTable__ht, (((((s__TerrainFog_density_impl))))), (this))) // INLINED!! endfunction //end of: TableStruct_NewPrimitiveField("density", "real") //textmacro instance: TableStruct_NewPrimitiveField("red", "real") function s__TerrainFog__get_red takes integer this returns real - return (LoadReal(ConstTable___ht, (((((s__TerrainFog_red_impl))))), (this))) // INLINED!! + return (LoadReal(ConstTable__ht, (((((s__TerrainFog_red_impl))))), (this))) // INLINED!! endfunction function s__TerrainFog__set_red takes integer this,real new_red returns nothing - call SaveReal(ConstTable___ht, (((((s__TerrainFog_red_impl))))), (this), (( new_red)*1.0)) // INLINED!! + call SaveReal(ConstTable__ht, (((((s__TerrainFog_red_impl))))), (this), (( new_red)*1.0)) // INLINED!! endfunction function s__TerrainFog_redClear takes integer this returns nothing - call RemoveSavedReal(ConstTable___ht, (((((s__TerrainFog_red_impl))))), (this)) // INLINED!! + call RemoveSavedReal(ConstTable__ht, (((((s__TerrainFog_red_impl))))), (this)) // INLINED!! endfunction function s__TerrainFog_redExists takes integer this returns boolean - return (HaveSavedReal(ConstTable___ht, (((((s__TerrainFog_red_impl))))), (this))) // INLINED!! + return (HaveSavedReal(ConstTable__ht, (((((s__TerrainFog_red_impl))))), (this))) // INLINED!! endfunction //end of: TableStruct_NewPrimitiveField("red", "real") //textmacro instance: TableStruct_NewPrimitiveField("green", "real") function s__TerrainFog__get_green takes integer this returns real - return (LoadReal(ConstTable___ht, (((((s__TerrainFog_green_impl))))), (this))) // INLINED!! + return (LoadReal(ConstTable__ht, (((((s__TerrainFog_green_impl))))), (this))) // INLINED!! endfunction function s__TerrainFog__set_green takes integer this,real new_green returns nothing - call SaveReal(ConstTable___ht, (((((s__TerrainFog_green_impl))))), (this), (( new_green)*1.0)) // INLINED!! + call SaveReal(ConstTable__ht, (((((s__TerrainFog_green_impl))))), (this), (( new_green)*1.0)) // INLINED!! endfunction function s__TerrainFog_greenClear takes integer this returns nothing - call RemoveSavedReal(ConstTable___ht, (((((s__TerrainFog_green_impl))))), (this)) // INLINED!! + call RemoveSavedReal(ConstTable__ht, (((((s__TerrainFog_green_impl))))), (this)) // INLINED!! endfunction function s__TerrainFog_greenExists takes integer this returns boolean - return (HaveSavedReal(ConstTable___ht, (((((s__TerrainFog_green_impl))))), (this))) // INLINED!! + return (HaveSavedReal(ConstTable__ht, (((((s__TerrainFog_green_impl))))), (this))) // INLINED!! endfunction //end of: TableStruct_NewPrimitiveField("green", "real") //textmacro instance: TableStruct_NewPrimitiveField("blue", "real") function s__TerrainFog__get_blue takes integer this returns real - return (LoadReal(ConstTable___ht, (((((s__TerrainFog_blue_impl))))), (this))) // INLINED!! + return (LoadReal(ConstTable__ht, (((((s__TerrainFog_blue_impl))))), (this))) // INLINED!! endfunction function s__TerrainFog__set_blue takes integer this,real new_blue returns nothing - call SaveReal(ConstTable___ht, (((((s__TerrainFog_blue_impl))))), (this), (( new_blue)*1.0)) // INLINED!! + call SaveReal(ConstTable__ht, (((((s__TerrainFog_blue_impl))))), (this), (( new_blue)*1.0)) // INLINED!! endfunction function s__TerrainFog_blueClear takes integer this returns nothing - call RemoveSavedReal(ConstTable___ht, (((((s__TerrainFog_blue_impl))))), (this)) // INLINED!! + call RemoveSavedReal(ConstTable__ht, (((((s__TerrainFog_blue_impl))))), (this)) // INLINED!! endfunction function s__TerrainFog_blueExists takes integer this returns boolean - return (HaveSavedReal(ConstTable___ht, (((((s__TerrainFog_blue_impl))))), (this))) // INLINED!! + return (HaveSavedReal(ConstTable__ht, (((((s__TerrainFog_blue_impl))))), (this))) // INLINED!! endfunction //end of: TableStruct_NewPrimitiveField("blue", "real") function s__TerrainFog_applyForPlayer takes integer this,player whichPlayer returns nothing if GetLocalPlayer() == whichPlayer then - call SetTerrainFogEx((LoadInteger(ConstTable___ht, (((((s__TerrainFog_style_impl))))), ((this)))), (LoadReal(ConstTable___ht, (((((s__TerrainFog_zStart_impl))))), ((this)))), (LoadReal(ConstTable___ht, (((((s__TerrainFog_zEnd_impl))))), ((this)))), (LoadReal(ConstTable___ht, (((((s__TerrainFog_density_impl))))), ((this)))), (LoadReal(ConstTable___ht, (((((s__TerrainFog_red_impl))))), ((this)))), (LoadReal(ConstTable___ht, (((((s__TerrainFog_green_impl))))), ((this)))), (LoadReal(ConstTable___ht, (((((s__TerrainFog_blue_impl))))), ((this))))) // INLINED!! + call SetTerrainFogEx((LoadInteger(ConstTable__ht, (((((s__TerrainFog_style_impl))))), ((this)))), (LoadReal(ConstTable__ht, (((((s__TerrainFog_zStart_impl))))), ((this)))), (LoadReal(ConstTable__ht, (((((s__TerrainFog_zEnd_impl))))), ((this)))), (LoadReal(ConstTable__ht, (((((s__TerrainFog_density_impl))))), ((this)))), (LoadReal(ConstTable__ht, (((((s__TerrainFog_red_impl))))), ((this)))), (LoadReal(ConstTable__ht, (((((s__TerrainFog_green_impl))))), ((this)))), (LoadReal(ConstTable__ht, (((((s__TerrainFog_blue_impl))))), ((this))))) // INLINED!! endif endfunction function s__TerrainFog_apply takes integer this returns nothing - call SetTerrainFogEx((LoadInteger(ConstTable___ht, (((((s__TerrainFog_style_impl))))), ((this)))), (LoadReal(ConstTable___ht, (((((s__TerrainFog_zStart_impl))))), ((this)))), (LoadReal(ConstTable___ht, (((((s__TerrainFog_zEnd_impl))))), ((this)))), (LoadReal(ConstTable___ht, (((((s__TerrainFog_density_impl))))), ((this)))), (LoadReal(ConstTable___ht, (((((s__TerrainFog_red_impl))))), ((this)))), (LoadReal(ConstTable___ht, (((((s__TerrainFog_green_impl))))), ((this)))), (LoadReal(ConstTable___ht, (((((s__TerrainFog_blue_impl))))), ((this))))) // INLINED!! + call SetTerrainFogEx((LoadInteger(ConstTable__ht, (((((s__TerrainFog_style_impl))))), ((this)))), (LoadReal(ConstTable__ht, (((((s__TerrainFog_zStart_impl))))), ((this)))), (LoadReal(ConstTable__ht, (((((s__TerrainFog_zEnd_impl))))), ((this)))), (LoadReal(ConstTable__ht, (((((s__TerrainFog_density_impl))))), ((this)))), (LoadReal(ConstTable__ht, (((((s__TerrainFog_red_impl))))), ((this)))), (LoadReal(ConstTable__ht, (((((s__TerrainFog_green_impl))))), ((this)))), (LoadReal(ConstTable__ht, (((((s__TerrainFog_blue_impl))))), ((this))))) // INLINED!! endfunction function s__TerrainFog_create takes nothing returns integer @@ -10648,13 +10648,13 @@ endfunction endfunction function s__TerrainFog_destroy takes integer this returns nothing - call RemoveSavedInteger(ConstTable___ht, (((((s__TerrainFog_style_impl))))), ((this))) // INLINED!! - call RemoveSavedReal(ConstTable___ht, (((((s__TerrainFog_zStart_impl))))), ((this))) // INLINED!! - call RemoveSavedReal(ConstTable___ht, (((((s__TerrainFog_zEnd_impl))))), ((this))) // INLINED!! - call RemoveSavedReal(ConstTable___ht, (((((s__TerrainFog_density_impl))))), ((this))) // INLINED!! - call RemoveSavedReal(ConstTable___ht, (((((s__TerrainFog_red_impl))))), ((this))) // INLINED!! - call RemoveSavedReal(ConstTable___ht, (((((s__TerrainFog_green_impl))))), ((this))) // INLINED!! - call RemoveSavedReal(ConstTable___ht, (((((s__TerrainFog_blue_impl))))), ((this))) // INLINED!! + call RemoveSavedInteger(ConstTable__ht, (((((s__TerrainFog_style_impl))))), ((this))) // INLINED!! + call RemoveSavedReal(ConstTable__ht, (((((s__TerrainFog_zStart_impl))))), ((this))) // INLINED!! + call RemoveSavedReal(ConstTable__ht, (((((s__TerrainFog_zEnd_impl))))), ((this))) // INLINED!! + call RemoveSavedReal(ConstTable__ht, (((((s__TerrainFog_density_impl))))), ((this))) // INLINED!! + call RemoveSavedReal(ConstTable__ht, (((((s__TerrainFog_red_impl))))), ((this))) // INLINED!! + call RemoveSavedReal(ConstTable__ht, (((((s__TerrainFog_green_impl))))), ((this))) // INLINED!! + call RemoveSavedReal(ConstTable__ht, (((((s__TerrainFog_blue_impl))))), ((this))) // INLINED!! call GMUI_RecycleIndex((GMUI_GENERIC_KEY) , (this)) // INLINED!! endfunction @@ -10664,26 +10664,26 @@ endfunction //textmacro instance: TableStruct_NewStructField("fog", "TerrainFog") function s__RectEnvironment__get_fog takes integer this returns integer - return (LoadInteger(ConstTable___ht, (((s__RectEnvironment_fog_impl))), (this))) // INLINED!! + return (LoadInteger(ConstTable__ht, (((s__RectEnvironment_fog_impl))), (this))) // INLINED!! endfunction function s__RectEnvironment__set_fog takes integer this,integer new_fog returns nothing - call SaveInteger(ConstTable___ht, (((s__RectEnvironment_fog_impl))), (this), ( new_fog)) // INLINED!! + call SaveInteger(ConstTable__ht, (((s__RectEnvironment_fog_impl))), (this), ( new_fog)) // INLINED!! endfunction function s__RectEnvironment_fogClear takes integer this returns nothing - call RemoveSavedInteger(ConstTable___ht, (((s__RectEnvironment_fog_impl))), (this)) // INLINED!! + call RemoveSavedInteger(ConstTable__ht, (((s__RectEnvironment_fog_impl))), (this)) // INLINED!! endfunction function s__RectEnvironment_fogExists takes integer this returns boolean - return (HaveSavedInteger(ConstTable___ht, (((s__RectEnvironment_fog_impl))), (this))) // INLINED!! + return (HaveSavedInteger(ConstTable__ht, (((s__RectEnvironment_fog_impl))), (this))) // INLINED!! endfunction //end of: TableStruct_NewStructField("fog", "TerrainFog") function s__RectEnvironment_apply takes integer this returns nothing - local integer fog= (LoadInteger(ConstTable___ht, (((s__RectEnvironment_fog_impl))), ((this)))) // INLINED!! - if (LoadInteger(ConstTable___ht, (((s__RectEnvironment_fog_impl))), ((this)))) != 0 then // INLINED!! - call s__TerrainFog_apply((LoadInteger(ConstTable___ht, (((s__RectEnvironment_fog_impl))), ((this))))) // INLINED!! + local integer fog= (LoadInteger(ConstTable__ht, (((s__RectEnvironment_fog_impl))), ((this)))) // INLINED!! + if (LoadInteger(ConstTable__ht, (((s__RectEnvironment_fog_impl))), ((this)))) != 0 then // INLINED!! + call s__TerrainFog_apply((LoadInteger(ConstTable__ht, (((s__RectEnvironment_fog_impl))), ((this))))) // INLINED!! else call ResetTerrainFog() endif @@ -10694,7 +10694,7 @@ endfunction endfunction function s__RectEnvironment_destroy takes integer this returns nothing - call RemoveSavedInteger(ConstTable___ht, (((s__RectEnvironment_fog_impl))), ((this))) // INLINED!! + call RemoveSavedInteger(ConstTable__ht, (((s__RectEnvironment_fog_impl))), ((this))) // INLINED!! endfunction @@ -10715,20 +10715,20 @@ endfunction //end of: TableStruct_NewConstTableField("private","data") function s__TerrainType2Id__staticgetindex takes integer key returns integer - return (LoadInteger(ConstTable___ht, ((s__TerrainType2Id_data_impl)), (key))) // INLINED!! + return (LoadInteger(ConstTable__ht, ((s__TerrainType2Id_data_impl)), (key))) // INLINED!! endfunction function s__TerrainType2Id__staticsetindex takes integer key,integer value returns nothing - call SaveInteger(ConstTable___ht, ((s__TerrainType2Id_data_impl)), (key), ( value)) // INLINED!! + call SaveInteger(ConstTable__ht, ((s__TerrainType2Id_data_impl)), (key), ( value)) // INLINED!! endfunction function GUMS_GetTerrainTileIndex takes integer terrainType returns integer - return (LoadInteger(ConstTable___ht, ((s__TerrainType2Id_data_impl)), ((terrainType)))) // INLINED!! + return (LoadInteger(ConstTable__ht, ((s__TerrainType2Id_data_impl)), ((terrainType)))) // INLINED!! endfunction -//Implemented from module TerrainTools__InitModule: - function s__TerrainTools__InitStruct_TerrainTools__InitModule__onInit takes nothing returns nothing +//Implemented from module TerrainTools___InitModule: + function s__TerrainTools___InitStruct_TerrainTools___InitModule__onInit takes nothing returns nothing local integer i= 0 // Terrain Settings @@ -10768,7 +10768,7 @@ endfunction set i=0 loop exitwhen i > 15 - call SaveInteger(ConstTable___ht, ((s__TerrainType2Id_data_impl)), ((udg_TileSystem_TILES[i])), ( ( i))) // INLINED!! + call SaveInteger(ConstTable__ht, ((s__TerrainType2Id_data_impl)), ((udg_TileSystem_TILES[i])), ( ( i))) // INLINED!! set i=i + 1 endloop endfunction @@ -10782,8 +10782,8 @@ endfunction //textmacro instance: TableStruct_NewConstTableField("","tab") - constant function s__ToggleAura__Globals__get_tab takes nothing returns integer - return s__ToggleAura__Globals_tab_impl + constant function s__ToggleAura___Globals__get_tab takes nothing returns integer + return s__ToggleAura___Globals_tab_impl endfunction @@ -10792,9 +10792,9 @@ endfunction //end of: TableStruct_NewConstTableField("","tab") -function ToggleAura__onCast takes nothing returns nothing +function ToggleAura___onCast takes nothing returns nothing local integer activeAbility= udg_Spell__Ability - local integer auraAbility= (LoadInteger(ConstTable___ht, ((s__ToggleAura__Globals_tab_impl)), (activeAbility))) // INLINED!! + local integer auraAbility= (LoadInteger(ConstTable__ht, ((s__ToggleAura___Globals_tab_impl)), (activeAbility))) // INLINED!! local unit trigU= udg_Spell__Caster if auraAbility != 0 then @@ -10810,56 +10810,56 @@ endfunction function ToggleAura_Initialize takes nothing returns nothing local trigger trig= CreateTrigger() - call TriggerAddAction(trig, function ToggleAura__onCast) + call TriggerAddAction(trig, function ToggleAura___onCast) // Configuration here. // ================================= // 1st argument: active ability // 2nd argument: actual aura ability //textmacro instance: ToggleAura_InitAura("A04L", "AHab") // Brilliance - call SaveInteger(ConstTable___ht, ((s__ToggleAura__Globals_tab_impl)), ('A04L'), ( 'AHab')) // INLINED!! + call SaveInteger(ConstTable__ht, ((s__ToggleAura___Globals_tab_impl)), ('A04L'), ( 'AHab')) // INLINED!! set udg_Spell__Ability='A04L' set udg_Spell__Trigger_OnEffect=trig call TriggerExecute(gg_trg_Spell_System) //end of: ToggleAura_InitAura("A04L", "AHab") // Brilliance //textmacro instance: ToggleAura_InitAura("A03P", "A0A2") // Command - call SaveInteger(ConstTable___ht, ((s__ToggleAura__Globals_tab_impl)), ('A03P'), ( 'A0A2')) // INLINED!! + call SaveInteger(ConstTable__ht, ((s__ToggleAura___Globals_tab_impl)), ('A03P'), ( 'A0A2')) // INLINED!! set udg_Spell__Ability='A03P' set udg_Spell__Trigger_OnEffect=trig call TriggerExecute(gg_trg_Spell_System) //end of: ToggleAura_InitAura("A03P", "A0A2") // Command //textmacro instance: ToggleAura_InitAura("A03I", "AHad") // Devotion - call SaveInteger(ConstTable___ht, ((s__ToggleAura__Globals_tab_impl)), ('A03I'), ( 'AHad')) // INLINED!! + call SaveInteger(ConstTable__ht, ((s__ToggleAura___Globals_tab_impl)), ('A03I'), ( 'AHad')) // INLINED!! set udg_Spell__Ability='A03I' set udg_Spell__Trigger_OnEffect=trig call TriggerExecute(gg_trg_Spell_System) //end of: ToggleAura_InitAura("A03I", "AHad") // Devotion //textmacro instance: ToggleAura_InitAura("A03Q", "AOr2") // Endurance - call SaveInteger(ConstTable___ht, ((s__ToggleAura__Globals_tab_impl)), ('A03Q'), ( 'AOr2')) // INLINED!! + call SaveInteger(ConstTable__ht, ((s__ToggleAura___Globals_tab_impl)), ('A03Q'), ( 'AOr2')) // INLINED!! set udg_Spell__Ability='A03Q' set udg_Spell__Trigger_OnEffect=trig call TriggerExecute(gg_trg_Spell_System) //end of: ToggleAura_InitAura("A03Q", "AOr2") // Endurance //textmacro instance: ToggleAura_InitAura("A04D", "AEah") // Thorns - call SaveInteger(ConstTable___ht, ((s__ToggleAura__Globals_tab_impl)), ('A04D'), ( 'AEah')) // INLINED!! + call SaveInteger(ConstTable__ht, ((s__ToggleAura___Globals_tab_impl)), ('A04D'), ( 'AEah')) // INLINED!! set udg_Spell__Ability='A04D' set udg_Spell__Trigger_OnEffect=trig call TriggerExecute(gg_trg_Spell_System) //end of: ToggleAura_InitAura("A04D", "AEah") // Thorns //textmacro instance: ToggleAura_InitAura("A040", "AEar") // Trueshot - call SaveInteger(ConstTable___ht, ((s__ToggleAura__Globals_tab_impl)), ('A040'), ( 'AEar')) // INLINED!! + call SaveInteger(ConstTable__ht, ((s__ToggleAura___Globals_tab_impl)), ('A040'), ( 'AEar')) // INLINED!! set udg_Spell__Ability='A040' set udg_Spell__Trigger_OnEffect=trig call TriggerExecute(gg_trg_Spell_System) //end of: ToggleAura_InitAura("A040", "AEar") // Trueshot //textmacro instance: ToggleAura_InitAura("A03S", "AUau") // Unholy - call SaveInteger(ConstTable___ht, ((s__ToggleAura__Globals_tab_impl)), ('A03S'), ( 'AUau')) // INLINED!! + call SaveInteger(ConstTable__ht, ((s__ToggleAura___Globals_tab_impl)), ('A03S'), ( 'AUau')) // INLINED!! set udg_Spell__Ability='A03S' set udg_Spell__Trigger_OnEffect=trig call TriggerExecute(gg_trg_Spell_System) //end of: ToggleAura_InitAura("A03S", "AUau") // Unholy //textmacro instance: ToggleAura_InitAura("A046", "AUav") // Vampiric - call SaveInteger(ConstTable___ht, ((s__ToggleAura__Globals_tab_impl)), ('A046'), ( 'AUav')) // INLINED!! + call SaveInteger(ConstTable__ht, ((s__ToggleAura___Globals_tab_impl)), ('A046'), ( 'AUav')) // INLINED!! set udg_Spell__Ability='A046' set udg_Spell__Trigger_OnEffect=trig call TriggerExecute(gg_trg_Spell_System) @@ -10878,59 +10878,59 @@ endfunction //textmacro instance: TableStruct_NewStaticPrimitiveField("lastCameraX", "real") function s__AutoRectEnvironment__Globals__get_lastCameraX takes nothing returns real - return (LoadReal(ConstTable___ht, (((((s__AutoRectEnvironment__Globals_static_members_key))))), (s__AutoRectEnvironment__Globals_lastCameraX_impl))) // INLINED!! + return (LoadReal(ConstTable__ht, (((((s__AutoRectEnvironment__Globals_static_members_key))))), (s__AutoRectEnvironment__Globals_lastCameraX_impl))) // INLINED!! endfunction function s__AutoRectEnvironment__Globals__set_lastCameraX takes real new_lastCameraX returns nothing - call SaveReal(ConstTable___ht, (((((s__AutoRectEnvironment__Globals_static_members_key))))), (s__AutoRectEnvironment__Globals_lastCameraX_impl), (( new_lastCameraX)*1.0)) // INLINED!! + call SaveReal(ConstTable__ht, (((((s__AutoRectEnvironment__Globals_static_members_key))))), (s__AutoRectEnvironment__Globals_lastCameraX_impl), (( new_lastCameraX)*1.0)) // INLINED!! endfunction function s__AutoRectEnvironment__Globals_lastCameraXClear takes nothing returns nothing - call RemoveSavedReal(ConstTable___ht, (((((s__AutoRectEnvironment__Globals_static_members_key))))), (s__AutoRectEnvironment__Globals_lastCameraX_impl)) // INLINED!! + call RemoveSavedReal(ConstTable__ht, (((((s__AutoRectEnvironment__Globals_static_members_key))))), (s__AutoRectEnvironment__Globals_lastCameraX_impl)) // INLINED!! endfunction function s__AutoRectEnvironment__Globals_lastCameraXExists takes nothing returns boolean - return (HaveSavedReal(ConstTable___ht, (((((s__AutoRectEnvironment__Globals_static_members_key))))), (s__AutoRectEnvironment__Globals_lastCameraX_impl))) // INLINED!! + return (HaveSavedReal(ConstTable__ht, (((((s__AutoRectEnvironment__Globals_static_members_key))))), (s__AutoRectEnvironment__Globals_lastCameraX_impl))) // INLINED!! endfunction //end of: TableStruct_NewStaticPrimitiveField("lastCameraX", "real") //textmacro instance: TableStruct_NewStaticPrimitiveField("lastCameraY", "real") function s__AutoRectEnvironment__Globals__get_lastCameraY takes nothing returns real - return (LoadReal(ConstTable___ht, (((((s__AutoRectEnvironment__Globals_static_members_key))))), (s__AutoRectEnvironment__Globals_lastCameraY_impl))) // INLINED!! + return (LoadReal(ConstTable__ht, (((((s__AutoRectEnvironment__Globals_static_members_key))))), (s__AutoRectEnvironment__Globals_lastCameraY_impl))) // INLINED!! endfunction function s__AutoRectEnvironment__Globals__set_lastCameraY takes real new_lastCameraY returns nothing - call SaveReal(ConstTable___ht, (((((s__AutoRectEnvironment__Globals_static_members_key))))), (s__AutoRectEnvironment__Globals_lastCameraY_impl), (( new_lastCameraY)*1.0)) // INLINED!! + call SaveReal(ConstTable__ht, (((((s__AutoRectEnvironment__Globals_static_members_key))))), (s__AutoRectEnvironment__Globals_lastCameraY_impl), (( new_lastCameraY)*1.0)) // INLINED!! endfunction function s__AutoRectEnvironment__Globals_lastCameraYClear takes nothing returns nothing - call RemoveSavedReal(ConstTable___ht, (((((s__AutoRectEnvironment__Globals_static_members_key))))), (s__AutoRectEnvironment__Globals_lastCameraY_impl)) // INLINED!! + call RemoveSavedReal(ConstTable__ht, (((((s__AutoRectEnvironment__Globals_static_members_key))))), (s__AutoRectEnvironment__Globals_lastCameraY_impl)) // INLINED!! endfunction function s__AutoRectEnvironment__Globals_lastCameraYExists takes nothing returns boolean - return (HaveSavedReal(ConstTable___ht, (((((s__AutoRectEnvironment__Globals_static_members_key))))), (s__AutoRectEnvironment__Globals_lastCameraY_impl))) // INLINED!! + return (HaveSavedReal(ConstTable__ht, (((((s__AutoRectEnvironment__Globals_static_members_key))))), (s__AutoRectEnvironment__Globals_lastCameraY_impl))) // INLINED!! endfunction //end of: TableStruct_NewStaticPrimitiveField("lastCameraY", "real") //textmacro instance: TableStruct_NewStaticPrimitiveField("rectWasMoved", "boolean") function s__AutoRectEnvironment__Globals__get_rectWasMoved takes nothing returns boolean - return (LoadBoolean(ConstTable___ht, (((((s__AutoRectEnvironment__Globals_static_members_key))))), (s__AutoRectEnvironment__Globals_rectWasMoved_impl))) // INLINED!! + return (LoadBoolean(ConstTable__ht, (((((s__AutoRectEnvironment__Globals_static_members_key))))), (s__AutoRectEnvironment__Globals_rectWasMoved_impl))) // INLINED!! endfunction function s__AutoRectEnvironment__Globals__set_rectWasMoved takes boolean new_rectWasMoved returns nothing - call SaveBoolean(ConstTable___ht, (((((s__AutoRectEnvironment__Globals_static_members_key))))), (s__AutoRectEnvironment__Globals_rectWasMoved_impl), ( new_rectWasMoved)) // INLINED!! + call SaveBoolean(ConstTable__ht, (((((s__AutoRectEnvironment__Globals_static_members_key))))), (s__AutoRectEnvironment__Globals_rectWasMoved_impl), ( new_rectWasMoved)) // INLINED!! endfunction function s__AutoRectEnvironment__Globals_rectWasMovedClear takes nothing returns nothing - call RemoveSavedBoolean(ConstTable___ht, (((((s__AutoRectEnvironment__Globals_static_members_key))))), (s__AutoRectEnvironment__Globals_rectWasMoved_impl)) // INLINED!! + call RemoveSavedBoolean(ConstTable__ht, (((((s__AutoRectEnvironment__Globals_static_members_key))))), (s__AutoRectEnvironment__Globals_rectWasMoved_impl)) // INLINED!! endfunction function s__AutoRectEnvironment__Globals_rectWasMovedExists takes nothing returns boolean - return (HaveSavedBoolean(ConstTable___ht, (((((s__AutoRectEnvironment__Globals_static_members_key))))), (s__AutoRectEnvironment__Globals_rectWasMoved_impl))) // INLINED!! + return (HaveSavedBoolean(ConstTable__ht, (((((s__AutoRectEnvironment__Globals_static_members_key))))), (s__AutoRectEnvironment__Globals_rectWasMoved_impl))) // INLINED!! endfunction //end of: TableStruct_NewStaticPrimitiveField("rectWasMoved", "boolean") //textmacro instance: TableStruct_NewStaticHandleField("lastCameraRect", "rect") function s__AutoRectEnvironment__Globals__get_lastCameraRect takes nothing returns rect - return (LoadRectHandle(ConstTable___ht, (((((s__AutoRectEnvironment__Globals_static_members_key))))), (s__AutoRectEnvironment__Globals_lastCameraRect_impl))) // INLINED!! + return (LoadRectHandle(ConstTable__ht, (((((s__AutoRectEnvironment__Globals_static_members_key))))), (s__AutoRectEnvironment__Globals_lastCameraRect_impl))) // INLINED!! endfunction function s__AutoRectEnvironment__Globals__set_lastCameraRect takes rect new_lastCameraRect returns nothing @@ -10938,11 +10938,11 @@ endfunction endfunction function s__AutoRectEnvironment__Globals_lastCameraRectClear takes nothing returns nothing - call RemoveSavedHandle(ConstTable___ht, (((((s__AutoRectEnvironment__Globals_static_members_key))))), (s__AutoRectEnvironment__Globals_lastCameraRect_impl)) // INLINED!! + call RemoveSavedHandle(ConstTable__ht, (((((s__AutoRectEnvironment__Globals_static_members_key))))), (s__AutoRectEnvironment__Globals_lastCameraRect_impl)) // INLINED!! endfunction function s__AutoRectEnvironment__Globals_lastCameraRectExists takes nothing returns boolean - return (HaveSavedHandle(ConstTable___ht, (((((s__AutoRectEnvironment__Globals_static_members_key))))), (s__AutoRectEnvironment__Globals_lastCameraRect_impl))) // INLINED!! + return (HaveSavedHandle(ConstTable__ht, (((((s__AutoRectEnvironment__Globals_static_members_key))))), (s__AutoRectEnvironment__Globals_lastCameraRect_impl))) // INLINED!! endfunction //end of: TableStruct_NewStaticHandleField("lastCameraRect", "rect") @@ -10962,19 +10962,19 @@ endfunction //textmacro instance: TableStruct_NewStructField("rects", "LinkedHashSet") function s__AutoRectEnvironment__AutoRectBlock__get_rects takes integer this returns integer - return (LoadInteger(ConstTable___ht, (((s__AutoRectEnvironment__AutoRectBlock_rects_impl))), (this))) // INLINED!! + return (LoadInteger(ConstTable__ht, (((s__AutoRectEnvironment__AutoRectBlock_rects_impl))), (this))) // INLINED!! endfunction function s__AutoRectEnvironment__AutoRectBlock__set_rects takes integer this,integer new_rects returns nothing - call SaveInteger(ConstTable___ht, (((s__AutoRectEnvironment__AutoRectBlock_rects_impl))), (this), ( new_rects)) // INLINED!! + call SaveInteger(ConstTable__ht, (((s__AutoRectEnvironment__AutoRectBlock_rects_impl))), (this), ( new_rects)) // INLINED!! endfunction function s__AutoRectEnvironment__AutoRectBlock_rectsClear takes integer this returns nothing - call RemoveSavedInteger(ConstTable___ht, (((s__AutoRectEnvironment__AutoRectBlock_rects_impl))), (this)) // INLINED!! + call RemoveSavedInteger(ConstTable__ht, (((s__AutoRectEnvironment__AutoRectBlock_rects_impl))), (this)) // INLINED!! endfunction function s__AutoRectEnvironment__AutoRectBlock_rectsExists takes integer this returns boolean - return (HaveSavedInteger(ConstTable___ht, (((s__AutoRectEnvironment__AutoRectBlock_rects_impl))), (this))) // INLINED!! + return (HaveSavedInteger(ConstTable__ht, (((s__AutoRectEnvironment__AutoRectBlock_rects_impl))), (this))) // INLINED!! endfunction //end of: TableStruct_NewStructField("rects", "LinkedHashSet") @@ -10999,7 +10999,7 @@ function RegisterRectImpl takes rect r returns nothing set y=y0 loop exitwhen y > maxY - call GLHS___AddBefore((((LoadInteger(ConstTable___ht, (((s__AutoRectEnvironment__AutoRectBlock_rects_impl))), (((GetCustomTileId(s__AutoRectEnvironment__AutoRectBlock_BLOCK_SIZE , ((x )*1.0) , (( y)*1.0))))))))) , (0 ) , ( (GetHandleId(r)))) // INLINED!! + call GLHS__AddBefore((((LoadInteger(ConstTable__ht, (((s__AutoRectEnvironment__AutoRectBlock_rects_impl))), (((GetCustomTileId(s__AutoRectEnvironment__AutoRectBlock_BLOCK_SIZE , ((x )*1.0) , (( y)*1.0))))))))) , (0 ) , ( (GetHandleId(r)))) // INLINED!! set y=y + s__AutoRectEnvironment__AutoRectBlock_BLOCK_SIZE endloop @@ -11024,7 +11024,7 @@ function DeregisterRectImpl takes rect r returns nothing set y=y0 loop exitwhen y > maxY - call s__LinkedHashSet_delete(((LoadInteger(ConstTable___ht, (((s__AutoRectEnvironment__AutoRectBlock_rects_impl))), (((GetCustomTileId(s__AutoRectEnvironment__AutoRectBlock_BLOCK_SIZE , ((x )*1.0) , (( y)*1.0)))))))),(GetHandleId(r))) // INLINED!! + call s__LinkedHashSet_delete(((LoadInteger(ConstTable__ht, (((s__AutoRectEnvironment__AutoRectBlock_rects_impl))), (((GetCustomTileId(s__AutoRectEnvironment__AutoRectBlock_BLOCK_SIZE , ((x )*1.0) , (( y)*1.0)))))))),(GetHandleId(r))) // INLINED!! set y=y + s__AutoRectEnvironment__AutoRectBlock_BLOCK_SIZE endloop @@ -11036,9 +11036,9 @@ endfunction function AutoRectEnvironment_RegisterRect takes rect r returns nothing local integer rId= GetHandleId(r) - if not (HaveSavedHandle(ConstTable___ht, ((((s__AutoRectEnvironment__Globals_id2_impl)))), (rId))) then // INLINED!! + if not (HaveSavedHandle(ConstTable__ht, ((((s__AutoRectEnvironment__Globals_id2_impl)))), (rId))) then // INLINED!! - call SaveRectHandle(ConstTable___ht, ((((s__AutoRectEnvironment__Globals_id2_impl)))), (rId), ( r)) // INLINED!! + call SaveRectHandle(ConstTable__ht, ((((s__AutoRectEnvironment__Globals_id2_impl)))), (rId), ( r)) // INLINED!! call RegisterRectImpl(r) endif endfunction @@ -11047,21 +11047,21 @@ function AutoRectEnvironment_DeRegisterRect takes rect r returns nothing local integer rId= GetHandleId(r) // This rect can be different for each player. Null the handle to reduce reference counter. - if r == (LoadRectHandle(ConstTable___ht, (((((s__AutoRectEnvironment__Globals_static_members_key))))), (s__AutoRectEnvironment__Globals_lastCameraRect_impl))) then // INLINED!! + if r == (LoadRectHandle(ConstTable__ht, (((((s__AutoRectEnvironment__Globals_static_members_key))))), (s__AutoRectEnvironment__Globals_lastCameraRect_impl))) then // INLINED!! call s__TableStruct_setHandle(s__AutoRectEnvironment__Globals_static_members_key , s__AutoRectEnvironment__Globals_lastCameraRect_impl , (null)) // This possibly avoids desyncs. // INLINED!! endif - if (HaveSavedHandle(ConstTable___ht, ((((s__AutoRectEnvironment__Globals_id2_impl)))), (rId))) then // INLINED!! - call SaveBoolean(ConstTable___ht, (((((s__AutoRectEnvironment__Globals_static_members_key))))), (s__AutoRectEnvironment__Globals_rectWasMoved_impl), ( (true))) // INLINED!! - call RemoveSavedHandle(ConstTable___ht, ((((s__AutoRectEnvironment__Globals_id2_impl)))), (rId)) // INLINED!! + if (HaveSavedHandle(ConstTable__ht, ((((s__AutoRectEnvironment__Globals_id2_impl)))), (rId))) then // INLINED!! + call SaveBoolean(ConstTable__ht, (((((s__AutoRectEnvironment__Globals_static_members_key))))), (s__AutoRectEnvironment__Globals_rectWasMoved_impl), ( (true))) // INLINED!! + call RemoveSavedHandle(ConstTable__ht, ((((s__AutoRectEnvironment__Globals_id2_impl)))), (rId)) // INLINED!! call DeregisterRectImpl(r) endif endfunction function AutoRectEnvironment_MoveRect takes rect r,real newCenterX,real newCenterY returns nothing - if (HaveSavedHandle(ConstTable___ht, ((((s__AutoRectEnvironment__Globals_id2_impl)))), (GetHandleId(r)))) then // INLINED!! - call SaveBoolean(ConstTable___ht, (((((s__AutoRectEnvironment__Globals_static_members_key))))), (s__AutoRectEnvironment__Globals_rectWasMoved_impl), ( (true))) // INLINED!! + if (HaveSavedHandle(ConstTable__ht, ((((s__AutoRectEnvironment__Globals_id2_impl)))), (GetHandleId(r)))) then // INLINED!! + call SaveBoolean(ConstTable__ht, (((((s__AutoRectEnvironment__Globals_static_members_key))))), (s__AutoRectEnvironment__Globals_rectWasMoved_impl), ( (true))) // INLINED!! call RegisterRectImpl(r) call MoveRectTo(r, newCenterX, newCenterY) call DeregisterRectImpl(r) @@ -11070,8 +11070,8 @@ function AutoRectEnvironment_MoveRect takes rect r,real newCenterX,real newCente endfunction function AutoRectEnvironment_SetRect takes rect r,real minx,real miny,real maxx,real maxy returns nothing - if (HaveSavedHandle(ConstTable___ht, ((((s__AutoRectEnvironment__Globals_id2_impl)))), (GetHandleId(r)))) then // INLINED!! - call SaveBoolean(ConstTable___ht, (((((s__AutoRectEnvironment__Globals_static_members_key))))), (s__AutoRectEnvironment__Globals_rectWasMoved_impl), ( (true))) // INLINED!! + if (HaveSavedHandle(ConstTable__ht, ((((s__AutoRectEnvironment__Globals_id2_impl)))), (GetHandleId(r)))) then // INLINED!! + call SaveBoolean(ConstTable__ht, (((((s__AutoRectEnvironment__Globals_static_members_key))))), (s__AutoRectEnvironment__Globals_rectWasMoved_impl), ( (true))) // INLINED!! call RegisterRectImpl(r) call SetRect(r, minx, miny, maxx, maxy) call DeregisterRectImpl(r) @@ -11097,32 +11097,32 @@ function onTimer takes nothing returns nothing local integer rectSet - if (LoadRectHandle(ConstTable___ht, (((((s__AutoRectEnvironment__Globals_static_members_key))))), (s__AutoRectEnvironment__Globals_lastCameraRect_impl))) != null then // INLINED!! - if GetRectMinX((LoadRectHandle(ConstTable___ht, (((((s__AutoRectEnvironment__Globals_static_members_key))))), (s__AutoRectEnvironment__Globals_lastCameraRect_impl)))) <= x and x <= GetRectMaxX((LoadRectHandle(ConstTable___ht, (((((s__AutoRectEnvironment__Globals_static_members_key))))), (s__AutoRectEnvironment__Globals_lastCameraRect_impl)))) and GetRectMinY((LoadRectHandle(ConstTable___ht, (((((s__AutoRectEnvironment__Globals_static_members_key))))), (s__AutoRectEnvironment__Globals_lastCameraRect_impl)))) <= y and y <= GetRectMaxY((LoadRectHandle(ConstTable___ht, (((((s__AutoRectEnvironment__Globals_static_members_key))))), (s__AutoRectEnvironment__Globals_lastCameraRect_impl)))) then // INLINED!! + if (LoadRectHandle(ConstTable__ht, (((((s__AutoRectEnvironment__Globals_static_members_key))))), (s__AutoRectEnvironment__Globals_lastCameraRect_impl))) != null then // INLINED!! + if GetRectMinX((LoadRectHandle(ConstTable__ht, (((((s__AutoRectEnvironment__Globals_static_members_key))))), (s__AutoRectEnvironment__Globals_lastCameraRect_impl)))) <= x and x <= GetRectMaxX((LoadRectHandle(ConstTable__ht, (((((s__AutoRectEnvironment__Globals_static_members_key))))), (s__AutoRectEnvironment__Globals_lastCameraRect_impl)))) and GetRectMinY((LoadRectHandle(ConstTable__ht, (((((s__AutoRectEnvironment__Globals_static_members_key))))), (s__AutoRectEnvironment__Globals_lastCameraRect_impl)))) <= y and y <= GetRectMaxY((LoadRectHandle(ConstTable__ht, (((((s__AutoRectEnvironment__Globals_static_members_key))))), (s__AutoRectEnvironment__Globals_lastCameraRect_impl)))) then // INLINED!! // call BJDebugMsg("In last rect.") - call s__RectEnvironment_apply((GetHandleId(((LoadRectHandle(ConstTable___ht, (((((s__AutoRectEnvironment__Globals_static_members_key))))), (s__AutoRectEnvironment__Globals_lastCameraRect_impl))))))) // INLINED!! + call s__RectEnvironment_apply((GetHandleId(((LoadRectHandle(ConstTable__ht, (((((s__AutoRectEnvironment__Globals_static_members_key))))), (s__AutoRectEnvironment__Globals_lastCameraRect_impl))))))) // INLINED!! return else // Do not set Globals.lastCameraRect to null, it's likely the camera will soon return to the last rect. endif endif - if (LoadBoolean(ConstTable___ht, (((((s__AutoRectEnvironment__Globals_static_members_key))))), (s__AutoRectEnvironment__Globals_rectWasMoved_impl))) then // INLINED!! - call SaveBoolean(ConstTable___ht, (((((s__AutoRectEnvironment__Globals_static_members_key))))), (s__AutoRectEnvironment__Globals_rectWasMoved_impl), ( (false))) // INLINED!! + if (LoadBoolean(ConstTable__ht, (((((s__AutoRectEnvironment__Globals_static_members_key))))), (s__AutoRectEnvironment__Globals_rectWasMoved_impl))) then // INLINED!! + call SaveBoolean(ConstTable__ht, (((((s__AutoRectEnvironment__Globals_static_members_key))))), (s__AutoRectEnvironment__Globals_rectWasMoved_impl), ( (false))) // INLINED!! else - if (LoadReal(ConstTable___ht, (((((s__AutoRectEnvironment__Globals_static_members_key))))), (s__AutoRectEnvironment__Globals_lastCameraX_impl))) == x and (LoadReal(ConstTable___ht, (((((s__AutoRectEnvironment__Globals_static_members_key))))), (s__AutoRectEnvironment__Globals_lastCameraY_impl))) == y then // INLINED!! + if (LoadReal(ConstTable__ht, (((((s__AutoRectEnvironment__Globals_static_members_key))))), (s__AutoRectEnvironment__Globals_lastCameraX_impl))) == x and (LoadReal(ConstTable__ht, (((((s__AutoRectEnvironment__Globals_static_members_key))))), (s__AutoRectEnvironment__Globals_lastCameraY_impl))) == y then // INLINED!! //call BJDebugMsg("Camera did not move, no rects moved: do nothing.") return endif endif - set rectSet=(LoadInteger(ConstTable___ht, (((s__AutoRectEnvironment__AutoRectBlock_rects_impl))), (((GetCustomTileId(s__AutoRectEnvironment__AutoRectBlock_BLOCK_SIZE , ((x )*1.0) , (( y)*1.0))))))) // INLINED!! - if not ((LoadInteger((Lists___hashTable), (((rectSet)) ), ( 0))) == (0)) then // INLINED!! + set rectSet=(LoadInteger(ConstTable__ht, (((s__AutoRectEnvironment__AutoRectBlock_rects_impl))), (((GetCustomTileId(s__AutoRectEnvironment__AutoRectBlock_BLOCK_SIZE , ((x )*1.0) , (( y)*1.0))))))) // INLINED!! + if not ((LoadInteger((Lists__hashTable), (((rectSet)) ), ( 0))) == (0)) then // INLINED!! // call BJDebugMsg(I2S(AutoRectBlock.get(x, y))) - set i=(LoadInteger((Lists___hashTable), ((rectSet) ), ( 0))) // INLINED!! + set i=(LoadInteger((Lists__hashTable), ((rectSet) ), ( 0))) // INLINED!! loop exitwhen i == (0) // INLINED!! - set r=(LoadRectHandle(ConstTable___ht, ((((s__AutoRectEnvironment__Globals_id2_impl)))), (i))) // INLINED!! + set r=(LoadRectHandle(ConstTable__ht, ((((s__AutoRectEnvironment__Globals_id2_impl)))), (i))) // INLINED!! if GetRectMinX(r) <= x and x <= GetRectMaxX(r) and GetRectMinY(r) <= y and y <= GetRectMaxY(r) then // call BJDebugMsg("Found rect!") @@ -11131,7 +11131,7 @@ function onTimer takes nothing returns nothing exitwhen true endif - set i=(LoadInteger((Lists___hashTable), ((rectSet) ), ( (i)))) // INLINED!! + set i=(LoadInteger((Lists__hashTable), ((rectSet) ), ( (i)))) // INLINED!! endloop // No rect was found @@ -11145,8 +11145,8 @@ function onTimer takes nothing returns nothing call s__RectEnvironment_apply((0)) endif - call SaveReal(ConstTable___ht, (((((s__AutoRectEnvironment__Globals_static_members_key))))), (s__AutoRectEnvironment__Globals_lastCameraX_impl), (( ((x)*1.0))*1.0)) // INLINED!! - call SaveReal(ConstTable___ht, (((((s__AutoRectEnvironment__Globals_static_members_key))))), (s__AutoRectEnvironment__Globals_lastCameraY_impl), (( ((y)*1.0))*1.0)) // INLINED!! + call SaveReal(ConstTable__ht, (((((s__AutoRectEnvironment__Globals_static_members_key))))), (s__AutoRectEnvironment__Globals_lastCameraX_impl), (( ((x)*1.0))*1.0)) // INLINED!! + call SaveReal(ConstTable__ht, (((((s__AutoRectEnvironment__Globals_static_members_key))))), (s__AutoRectEnvironment__Globals_lastCameraY_impl), (( ((y)*1.0))*1.0)) // INLINED!! endfunction @@ -11161,7 +11161,7 @@ endfunction set lastId=(GetCustomTileId(s__AutoRectEnvironment__AutoRectBlock_BLOCK_SIZE , ((s__WorldBounds_maxX )*1.0) , (( s__WorldBounds_maxY)*1.0))) // INLINED!! loop exitwhen i > lastId - call SaveInteger(ConstTable___ht, (((s__AutoRectEnvironment__AutoRectBlock_rects_impl))), (((i))), ( ((GMUI_GetIndex((Lists_RECYCLE_KEY)))))) // INLINED!! + call SaveInteger(ConstTable__ht, (((s__AutoRectEnvironment__AutoRectBlock_rects_impl))), (((i))), ( ((GMUI_GetIndex((Lists_RECYCLE_KEY)))))) // INLINED!! set i=i + 1 endloop @@ -11173,59 +11173,59 @@ endfunction //textmacro instance: TableStruct_NewReadonlyStaticPrimitiveField("hours", "integer") function s__GameTime__get_hours takes nothing returns integer - return (LoadInteger(ConstTable___ht, (((((s__GameTime_static_members_key))))), (s__GameTime_hours_impl))) // INLINED!! + return (LoadInteger(ConstTable__ht, (((((s__GameTime_static_members_key))))), (s__GameTime_hours_impl))) // INLINED!! endfunction function s__GameTime__set_hours takes integer new_hours returns nothing - call SaveInteger(ConstTable___ht, (((((s__GameTime_static_members_key))))), (s__GameTime_hours_impl), ( new_hours)) // INLINED!! + call SaveInteger(ConstTable__ht, (((((s__GameTime_static_members_key))))), (s__GameTime_hours_impl), ( new_hours)) // INLINED!! endfunction function s__GameTime_hoursClear takes nothing returns nothing - call RemoveSavedInteger(ConstTable___ht, (((((s__GameTime_static_members_key))))), (s__GameTime_hours_impl)) // INLINED!! + call RemoveSavedInteger(ConstTable__ht, (((((s__GameTime_static_members_key))))), (s__GameTime_hours_impl)) // INLINED!! endfunction function s__GameTime_hoursExists takes nothing returns boolean - return (HaveSavedInteger(ConstTable___ht, (((((s__GameTime_static_members_key))))), (s__GameTime_hours_impl))) // INLINED!! + return (HaveSavedInteger(ConstTable__ht, (((((s__GameTime_static_members_key))))), (s__GameTime_hours_impl))) // INLINED!! endfunction //end of: TableStruct_NewReadonlyStaticPrimitiveField("hours", "integer") //textmacro instance: TableStruct_NewReadonlyStaticPrimitiveField("minutes", "integer") function s__GameTime__get_minutes takes nothing returns integer - return (LoadInteger(ConstTable___ht, (((((s__GameTime_static_members_key))))), (s__GameTime_minutes_impl))) // INLINED!! + return (LoadInteger(ConstTable__ht, (((((s__GameTime_static_members_key))))), (s__GameTime_minutes_impl))) // INLINED!! endfunction function s__GameTime__set_minutes takes integer new_minutes returns nothing - call SaveInteger(ConstTable___ht, (((((s__GameTime_static_members_key))))), (s__GameTime_minutes_impl), ( new_minutes)) // INLINED!! + call SaveInteger(ConstTable__ht, (((((s__GameTime_static_members_key))))), (s__GameTime_minutes_impl), ( new_minutes)) // INLINED!! endfunction function s__GameTime_minutesClear takes nothing returns nothing - call RemoveSavedInteger(ConstTable___ht, (((((s__GameTime_static_members_key))))), (s__GameTime_minutes_impl)) // INLINED!! + call RemoveSavedInteger(ConstTable__ht, (((((s__GameTime_static_members_key))))), (s__GameTime_minutes_impl)) // INLINED!! endfunction function s__GameTime_minutesExists takes nothing returns boolean - return (HaveSavedInteger(ConstTable___ht, (((((s__GameTime_static_members_key))))), (s__GameTime_minutes_impl))) // INLINED!! + return (HaveSavedInteger(ConstTable__ht, (((((s__GameTime_static_members_key))))), (s__GameTime_minutes_impl))) // INLINED!! endfunction //end of: TableStruct_NewReadonlyStaticPrimitiveField("minutes", "integer") //textmacro instance: TableStruct_NewReadonlyStaticPrimitiveField("seconds", "integer") function s__GameTime__get_seconds takes nothing returns integer - return (LoadInteger(ConstTable___ht, (((((s__GameTime_static_members_key))))), (s__GameTime_seconds_impl))) // INLINED!! + return (LoadInteger(ConstTable__ht, (((((s__GameTime_static_members_key))))), (s__GameTime_seconds_impl))) // INLINED!! endfunction function s__GameTime__set_seconds takes integer new_seconds returns nothing - call SaveInteger(ConstTable___ht, (((((s__GameTime_static_members_key))))), (s__GameTime_seconds_impl), ( new_seconds)) // INLINED!! + call SaveInteger(ConstTable__ht, (((((s__GameTime_static_members_key))))), (s__GameTime_seconds_impl), ( new_seconds)) // INLINED!! endfunction function s__GameTime_secondsClear takes nothing returns nothing - call RemoveSavedInteger(ConstTable___ht, (((((s__GameTime_static_members_key))))), (s__GameTime_seconds_impl)) // INLINED!! + call RemoveSavedInteger(ConstTable__ht, (((((s__GameTime_static_members_key))))), (s__GameTime_seconds_impl)) // INLINED!! endfunction function s__GameTime_secondsExists takes nothing returns boolean - return (HaveSavedInteger(ConstTable___ht, (((((s__GameTime_static_members_key))))), (s__GameTime_seconds_impl))) // INLINED!! + return (HaveSavedInteger(ConstTable__ht, (((((s__GameTime_static_members_key))))), (s__GameTime_seconds_impl))) // INLINED!! endfunction //end of: TableStruct_NewReadonlyStaticPrimitiveField("seconds", "integer") //textmacro instance: TableStruct_NewReadonlyStaticHandleField("timer", "timer") function s__GameTime__get_timer takes nothing returns timer - return (LoadTimerHandle(ConstTable___ht, (((((s__GameTime_static_members_key))))), (s__GameTime_timer_impl))) // INLINED!! + return (LoadTimerHandle(ConstTable__ht, (((((s__GameTime_static_members_key))))), (s__GameTime_timer_impl))) // INLINED!! endfunction function s__GameTime__set_timer takes timer new_timer returns nothing @@ -11233,16 +11233,16 @@ endfunction endfunction function s__GameTime_timerClear takes nothing returns nothing - call RemoveSavedHandle(ConstTable___ht, (((((s__GameTime_static_members_key))))), (s__GameTime_timer_impl)) // INLINED!! + call RemoveSavedHandle(ConstTable__ht, (((((s__GameTime_static_members_key))))), (s__GameTime_timer_impl)) // INLINED!! endfunction function s__GameTime_timerExists takes nothing returns boolean - return (HaveSavedHandle(ConstTable___ht, (((((s__GameTime_static_members_key))))), (s__GameTime_timer_impl))) // INLINED!! + return (HaveSavedHandle(ConstTable__ht, (((((s__GameTime_static_members_key))))), (s__GameTime_timer_impl))) // INLINED!! endfunction //end of: TableStruct_NewReadonlyStaticHandleField("timer", "timer") //textmacro instance: TableStruct_NewReadonlyStaticHandleField("multiboard", "multiboard") function s__GameTime__get_multiboard takes nothing returns multiboard - return (LoadMultiboardHandle(ConstTable___ht, (((((s__GameTime_static_members_key))))), (s__GameTime_multiboard_impl))) // INLINED!! + return (LoadMultiboardHandle(ConstTable__ht, (((((s__GameTime_static_members_key))))), (s__GameTime_multiboard_impl))) // INLINED!! endfunction function s__GameTime__set_multiboard takes multiboard new_multiboard returns nothing @@ -11250,100 +11250,100 @@ endfunction endfunction function s__GameTime_multiboardClear takes nothing returns nothing - call RemoveSavedHandle(ConstTable___ht, (((((s__GameTime_static_members_key))))), (s__GameTime_multiboard_impl)) // INLINED!! + call RemoveSavedHandle(ConstTable__ht, (((((s__GameTime_static_members_key))))), (s__GameTime_multiboard_impl)) // INLINED!! endfunction function s__GameTime_multiboardExists takes nothing returns boolean - return (HaveSavedHandle(ConstTable___ht, (((((s__GameTime_static_members_key))))), (s__GameTime_multiboard_impl))) // INLINED!! + return (HaveSavedHandle(ConstTable__ht, (((((s__GameTime_static_members_key))))), (s__GameTime_multiboard_impl))) // INLINED!! endfunction //end of: TableStruct_NewReadonlyStaticHandleField("multiboard", "multiboard") function s__GameTime_toString takes nothing returns string - return I2S((LoadInteger(ConstTable___ht, (((((s__GameTime_static_members_key))))), (s__GameTime_hours_impl)))) + " : " + I2S((LoadInteger(ConstTable___ht, (((((s__GameTime_static_members_key))))), (s__GameTime_minutes_impl)))) + " : " + I2S((LoadInteger(ConstTable___ht, (((((s__GameTime_static_members_key))))), (s__GameTime_seconds_impl)))) // INLINED!! + return I2S((LoadInteger(ConstTable__ht, (((((s__GameTime_static_members_key))))), (s__GameTime_hours_impl)))) + " : " + I2S((LoadInteger(ConstTable__ht, (((((s__GameTime_static_members_key))))), (s__GameTime_minutes_impl)))) + " : " + I2S((LoadInteger(ConstTable__ht, (((((s__GameTime_static_members_key))))), (s__GameTime_seconds_impl)))) // INLINED!! endfunction function s__GameTime_toStringEx takes string sep returns string - return I2S((LoadInteger(ConstTable___ht, (((((s__GameTime_static_members_key))))), (s__GameTime_hours_impl)))) + sep + I2S((LoadInteger(ConstTable___ht, (((((s__GameTime_static_members_key))))), (s__GameTime_minutes_impl)))) + sep + I2S((LoadInteger(ConstTable___ht, (((((s__GameTime_static_members_key))))), (s__GameTime_seconds_impl)))) // INLINED!! + return I2S((LoadInteger(ConstTable__ht, (((((s__GameTime_static_members_key))))), (s__GameTime_hours_impl)))) + sep + I2S((LoadInteger(ConstTable__ht, (((((s__GameTime_static_members_key))))), (s__GameTime_minutes_impl)))) + sep + I2S((LoadInteger(ConstTable__ht, (((((s__GameTime_static_members_key))))), (s__GameTime_seconds_impl)))) // INLINED!! endfunction function s__GameTime_asMinutes takes nothing returns real - return 60. * (LoadInteger(ConstTable___ht, (((((s__GameTime_static_members_key))))), (s__GameTime_hours_impl))) + (LoadInteger(ConstTable___ht, (((((s__GameTime_static_members_key))))), (s__GameTime_minutes_impl))) + (LoadInteger(ConstTable___ht, (((((s__GameTime_static_members_key))))), (s__GameTime_seconds_impl))) / 60. // INLINED!! + return 60. * (LoadInteger(ConstTable__ht, (((((s__GameTime_static_members_key))))), (s__GameTime_hours_impl))) + (LoadInteger(ConstTable__ht, (((((s__GameTime_static_members_key))))), (s__GameTime_minutes_impl))) + (LoadInteger(ConstTable__ht, (((((s__GameTime_static_members_key))))), (s__GameTime_seconds_impl))) / 60. // INLINED!! endfunction function s__GameTime_asHours takes nothing returns real - return (LoadInteger(ConstTable___ht, (((((s__GameTime_static_members_key))))), (s__GameTime_hours_impl))) + (LoadInteger(ConstTable___ht, (((((s__GameTime_static_members_key))))), (s__GameTime_minutes_impl))) / 60. + (LoadInteger(ConstTable___ht, (((((s__GameTime_static_members_key))))), (s__GameTime_seconds_impl))) / 3600. // INLINED!! + return (LoadInteger(ConstTable__ht, (((((s__GameTime_static_members_key))))), (s__GameTime_hours_impl))) + (LoadInteger(ConstTable__ht, (((((s__GameTime_static_members_key))))), (s__GameTime_minutes_impl))) / 60. + (LoadInteger(ConstTable__ht, (((((s__GameTime_static_members_key))))), (s__GameTime_seconds_impl))) / 3600. // INLINED!! endfunction function s__GameTime_asSeconds takes nothing returns integer - return (LoadInteger(ConstTable___ht, (((((s__GameTime_static_members_key))))), (s__GameTime_hours_impl))) * 3600 + (LoadInteger(ConstTable___ht, (((((s__GameTime_static_members_key))))), (s__GameTime_minutes_impl))) * 60 + (LoadInteger(ConstTable___ht, (((((s__GameTime_static_members_key))))), (s__GameTime_seconds_impl))) // INLINED!! + return (LoadInteger(ConstTable__ht, (((((s__GameTime_static_members_key))))), (s__GameTime_hours_impl))) * 3600 + (LoadInteger(ConstTable__ht, (((((s__GameTime_static_members_key))))), (s__GameTime_minutes_impl))) * 60 + (LoadInteger(ConstTable__ht, (((((s__GameTime_static_members_key))))), (s__GameTime_seconds_impl))) // INLINED!! endfunction function s__GameTime_onTimer takes nothing returns nothing - local integer sec= (LoadInteger(ConstTable___ht, (((((s__GameTime_static_members_key))))), (s__GameTime_seconds_impl))) // INLINED!! + local integer sec= (LoadInteger(ConstTable__ht, (((((s__GameTime_static_members_key))))), (s__GameTime_seconds_impl))) // INLINED!! local string s - if sec == 0 and (LoadInteger(ConstTable___ht, (((((s__GameTime_static_members_key))))), (s__GameTime_minutes_impl))) == 0 and (LoadInteger(ConstTable___ht, (((((s__GameTime_static_members_key))))), (s__GameTime_hours_impl))) == 0 then // INLINED!! + if sec == 0 and (LoadInteger(ConstTable__ht, (((((s__GameTime_static_members_key))))), (s__GameTime_minutes_impl))) == 0 and (LoadInteger(ConstTable__ht, (((((s__GameTime_static_members_key))))), (s__GameTime_hours_impl))) == 0 then // INLINED!! call s__TableStruct_setHandle(s__GameTime_static_members_key , s__GameTime_multiboard_impl , (CreateMultiboard())) // INLINED!! - call MultiboardSetRowCount((LoadMultiboardHandle(ConstTable___ht, (((((s__GameTime_static_members_key))))), (s__GameTime_multiboard_impl))), 1) // INLINED!! - call MultiboardSetColumnCount((LoadMultiboardHandle(ConstTable___ht, (((((s__GameTime_static_members_key))))), (s__GameTime_multiboard_impl))), 5) // INLINED!! - call MultiboardSetTitleText((LoadMultiboardHandle(ConstTable___ht, (((((s__GameTime_static_members_key))))), (s__GameTime_multiboard_impl))), "Elapsed Time") // INLINED!! + call MultiboardSetRowCount((LoadMultiboardHandle(ConstTable__ht, (((((s__GameTime_static_members_key))))), (s__GameTime_multiboard_impl))), 1) // INLINED!! + call MultiboardSetColumnCount((LoadMultiboardHandle(ConstTable__ht, (((((s__GameTime_static_members_key))))), (s__GameTime_multiboard_impl))), 5) // INLINED!! + call MultiboardSetTitleText((LoadMultiboardHandle(ConstTable__ht, (((((s__GameTime_static_members_key))))), (s__GameTime_multiboard_impl))), "Elapsed Time") // INLINED!! - set sec=s__MultiBoard_refresh((LoadMultiboardHandle(ConstTable___ht, (((((s__GameTime_static_members_key))))), (s__GameTime_multiboard_impl)))) // INLINED!! - call MultiboardSetItemStyle((LoadMultiboardItemHandle(Table___ht, ((((LoadInteger(Table___ht, ((LoadInteger(ConstTable___ht, (((s__MultiBoard_items_impl))), ((((sec))))))), (((0 ) ))))))), (( ( 0 ))))), ( true ), ( false)) // INLINED!! - call MultiboardSetItemStyle((LoadMultiboardItemHandle(Table___ht, ((((LoadInteger(Table___ht, ((LoadInteger(ConstTable___ht, (((s__MultiBoard_items_impl))), ((((sec))))))), (((0 ) ))))))), (( ( 1 ))))), ( true ), ( false)) // INLINED!! - call MultiboardSetItemStyle((LoadMultiboardItemHandle(Table___ht, ((((LoadInteger(Table___ht, ((LoadInteger(ConstTable___ht, (((s__MultiBoard_items_impl))), ((((sec))))))), (((0 ) ))))))), (( ( 2 ))))), ( true ), ( false)) // INLINED!! - call MultiboardSetItemStyle((LoadMultiboardItemHandle(Table___ht, ((((LoadInteger(Table___ht, ((LoadInteger(ConstTable___ht, (((s__MultiBoard_items_impl))), ((((sec))))))), (((0 ) ))))))), (( ( 3 ))))), ( true ), ( false)) // INLINED!! - call MultiboardSetItemStyle((LoadMultiboardItemHandle(Table___ht, ((((LoadInteger(Table___ht, ((LoadInteger(ConstTable___ht, (((s__MultiBoard_items_impl))), ((((sec))))))), (((0 ) ))))))), (( ( 4 ))))), ( true ), ( false)) // INLINED!! - call MultiboardSetItemWidth((LoadMultiboardItemHandle(Table___ht, ((((LoadInteger(Table___ht, ((LoadInteger(ConstTable___ht, (((s__MultiBoard_items_impl))), ((((sec))))))), (((0 ) ))))))), (( ( 0 ))))), (( 0.015)*1.0)) // INLINED!! - call MultiboardSetItemWidth((LoadMultiboardItemHandle(Table___ht, ((((LoadInteger(Table___ht, ((LoadInteger(ConstTable___ht, (((s__MultiBoard_items_impl))), ((((sec))))))), (((0 ) ))))))), (( ( 1 ))))), (( 0.005)*1.0)) // INLINED!! - call MultiboardSetItemWidth((LoadMultiboardItemHandle(Table___ht, ((((LoadInteger(Table___ht, ((LoadInteger(ConstTable___ht, (((s__MultiBoard_items_impl))), ((((sec))))))), (((0 ) ))))))), (( ( 2 ))))), (( 0.015)*1.0)) // INLINED!! - call MultiboardSetItemWidth((LoadMultiboardItemHandle(Table___ht, ((((LoadInteger(Table___ht, ((LoadInteger(ConstTable___ht, (((s__MultiBoard_items_impl))), ((((sec))))))), (((0 ) ))))))), (( ( 3 ))))), (( 0.005)*1.0)) // INLINED!! - call MultiboardSetItemWidth((LoadMultiboardItemHandle(Table___ht, ((((LoadInteger(Table___ht, ((LoadInteger(ConstTable___ht, (((s__MultiBoard_items_impl))), ((((sec))))))), (((0 ) ))))))), (( ( 4 ))))), (( 0.015)*1.0)) // INLINED!! + set sec=s__MultiBoard_refresh((LoadMultiboardHandle(ConstTable__ht, (((((s__GameTime_static_members_key))))), (s__GameTime_multiboard_impl)))) // INLINED!! + call MultiboardSetItemStyle((LoadMultiboardItemHandle(Table__ht, ((((LoadInteger(Table__ht, ((LoadInteger(ConstTable__ht, (((s__MultiBoard_items_impl))), ((((sec))))))), (((0 ) ))))))), (( ( 0 ))))), ( true ), ( false)) // INLINED!! + call MultiboardSetItemStyle((LoadMultiboardItemHandle(Table__ht, ((((LoadInteger(Table__ht, ((LoadInteger(ConstTable__ht, (((s__MultiBoard_items_impl))), ((((sec))))))), (((0 ) ))))))), (( ( 1 ))))), ( true ), ( false)) // INLINED!! + call MultiboardSetItemStyle((LoadMultiboardItemHandle(Table__ht, ((((LoadInteger(Table__ht, ((LoadInteger(ConstTable__ht, (((s__MultiBoard_items_impl))), ((((sec))))))), (((0 ) ))))))), (( ( 2 ))))), ( true ), ( false)) // INLINED!! + call MultiboardSetItemStyle((LoadMultiboardItemHandle(Table__ht, ((((LoadInteger(Table__ht, ((LoadInteger(ConstTable__ht, (((s__MultiBoard_items_impl))), ((((sec))))))), (((0 ) ))))))), (( ( 3 ))))), ( true ), ( false)) // INLINED!! + call MultiboardSetItemStyle((LoadMultiboardItemHandle(Table__ht, ((((LoadInteger(Table__ht, ((LoadInteger(ConstTable__ht, (((s__MultiBoard_items_impl))), ((((sec))))))), (((0 ) ))))))), (( ( 4 ))))), ( true ), ( false)) // INLINED!! + call MultiboardSetItemWidth((LoadMultiboardItemHandle(Table__ht, ((((LoadInteger(Table__ht, ((LoadInteger(ConstTable__ht, (((s__MultiBoard_items_impl))), ((((sec))))))), (((0 ) ))))))), (( ( 0 ))))), (( 0.015)*1.0)) // INLINED!! + call MultiboardSetItemWidth((LoadMultiboardItemHandle(Table__ht, ((((LoadInteger(Table__ht, ((LoadInteger(ConstTable__ht, (((s__MultiBoard_items_impl))), ((((sec))))))), (((0 ) ))))))), (( ( 1 ))))), (( 0.005)*1.0)) // INLINED!! + call MultiboardSetItemWidth((LoadMultiboardItemHandle(Table__ht, ((((LoadInteger(Table__ht, ((LoadInteger(ConstTable__ht, (((s__MultiBoard_items_impl))), ((((sec))))))), (((0 ) ))))))), (( ( 2 ))))), (( 0.015)*1.0)) // INLINED!! + call MultiboardSetItemWidth((LoadMultiboardItemHandle(Table__ht, ((((LoadInteger(Table__ht, ((LoadInteger(ConstTable__ht, (((s__MultiBoard_items_impl))), ((((sec))))))), (((0 ) ))))))), (( ( 3 ))))), (( 0.005)*1.0)) // INLINED!! + call MultiboardSetItemWidth((LoadMultiboardItemHandle(Table__ht, ((((LoadInteger(Table__ht, ((LoadInteger(ConstTable__ht, (((s__MultiBoard_items_impl))), ((((sec))))))), (((0 ) ))))))), (( ( 4 ))))), (( 0.015)*1.0)) // INLINED!! set sec=0 endif if sec == 59 then - if (LoadInteger(ConstTable___ht, (((((s__GameTime_static_members_key))))), (s__GameTime_minutes_impl))) == 59 then // INLINED!! - call SaveInteger(ConstTable___ht, (((((s__GameTime_static_members_key))))), (s__GameTime_hours_impl), ( ((LoadInteger(ConstTable___ht, (((((s__GameTime_static_members_key))))), (s__GameTime_hours_impl))) + 1))) // INLINED!! - call SaveInteger(ConstTable___ht, (((((s__GameTime_static_members_key))))), (s__GameTime_minutes_impl), ( (0))) // INLINED!! + if (LoadInteger(ConstTable__ht, (((((s__GameTime_static_members_key))))), (s__GameTime_minutes_impl))) == 59 then // INLINED!! + call SaveInteger(ConstTable__ht, (((((s__GameTime_static_members_key))))), (s__GameTime_hours_impl), ( ((LoadInteger(ConstTable__ht, (((((s__GameTime_static_members_key))))), (s__GameTime_hours_impl))) + 1))) // INLINED!! + call SaveInteger(ConstTable__ht, (((((s__GameTime_static_members_key))))), (s__GameTime_minutes_impl), ( (0))) // INLINED!! else - call SaveInteger(ConstTable___ht, (((((s__GameTime_static_members_key))))), (s__GameTime_minutes_impl), ( ((LoadInteger(ConstTable___ht, (((((s__GameTime_static_members_key))))), (s__GameTime_minutes_impl))) + 1))) // INLINED!! + call SaveInteger(ConstTable__ht, (((((s__GameTime_static_members_key))))), (s__GameTime_minutes_impl), ( ((LoadInteger(ConstTable__ht, (((((s__GameTime_static_members_key))))), (s__GameTime_minutes_impl))) + 1))) // INLINED!! endif - call SaveInteger(ConstTable___ht, (((((s__GameTime_static_members_key))))), (s__GameTime_seconds_impl), ( (0))) // INLINED!! + call SaveInteger(ConstTable__ht, (((((s__GameTime_static_members_key))))), (s__GameTime_seconds_impl), ( (0))) // INLINED!! else - call SaveInteger(ConstTable___ht, (((((s__GameTime_static_members_key))))), (s__GameTime_seconds_impl), ( (sec + 1))) // INLINED!! + call SaveInteger(ConstTable__ht, (((((s__GameTime_static_members_key))))), (s__GameTime_seconds_impl), ( (sec + 1))) // INLINED!! endif - set sec=GetHandleId((LoadMultiboardHandle(ConstTable___ht, (((((s__GameTime_static_members_key))))), (s__GameTime_multiboard_impl)))) // INLINED!! + set sec=GetHandleId((LoadMultiboardHandle(ConstTable__ht, (((((s__GameTime_static_members_key))))), (s__GameTime_multiboard_impl)))) // INLINED!! //call MultiboardSuppressDisplay(false) - set s=I2S((LoadInteger(ConstTable___ht, (((((s__GameTime_static_members_key))))), (s__GameTime_hours_impl)))) // INLINED!! + set s=I2S((LoadInteger(ConstTable__ht, (((((s__GameTime_static_members_key))))), (s__GameTime_hours_impl)))) // INLINED!! if StringLength(s) == 1 then set s="0" + s endif - call MultiboardSetItemValue((LoadMultiboardItemHandle(Table___ht, ((((LoadInteger(Table___ht, ((LoadInteger(ConstTable___ht, (((s__MultiBoard_items_impl))), ((((sec))))))), (((0 ) ))))))), (( ( 0 ))))), ( s)) // INLINED!! - call MultiboardSetItemValue((LoadMultiboardItemHandle(Table___ht, ((((LoadInteger(Table___ht, ((LoadInteger(ConstTable___ht, (((s__MultiBoard_items_impl))), ((((sec))))))), (((0 ) ))))))), (( ( 1 ))))), ( ":")) // INLINED!! - set s=I2S((LoadInteger(ConstTable___ht, (((((s__GameTime_static_members_key))))), (s__GameTime_minutes_impl)))) // INLINED!! + call MultiboardSetItemValue((LoadMultiboardItemHandle(Table__ht, ((((LoadInteger(Table__ht, ((LoadInteger(ConstTable__ht, (((s__MultiBoard_items_impl))), ((((sec))))))), (((0 ) ))))))), (( ( 0 ))))), ( s)) // INLINED!! + call MultiboardSetItemValue((LoadMultiboardItemHandle(Table__ht, ((((LoadInteger(Table__ht, ((LoadInteger(ConstTable__ht, (((s__MultiBoard_items_impl))), ((((sec))))))), (((0 ) ))))))), (( ( 1 ))))), ( ":")) // INLINED!! + set s=I2S((LoadInteger(ConstTable__ht, (((((s__GameTime_static_members_key))))), (s__GameTime_minutes_impl)))) // INLINED!! if StringLength(s) == 1 then set s="0" + s endif - call MultiboardSetItemValue((LoadMultiboardItemHandle(Table___ht, ((((LoadInteger(Table___ht, ((LoadInteger(ConstTable___ht, (((s__MultiBoard_items_impl))), ((((sec))))))), (((0 ) ))))))), (( ( 2 ))))), ( s)) // INLINED!! - call MultiboardSetItemValue((LoadMultiboardItemHandle(Table___ht, ((((LoadInteger(Table___ht, ((LoadInteger(ConstTable___ht, (((s__MultiBoard_items_impl))), ((((sec))))))), (((0 ) ))))))), (( ( 3 ))))), ( ":")) // INLINED!! - set s=I2S((LoadInteger(ConstTable___ht, (((((s__GameTime_static_members_key))))), (s__GameTime_seconds_impl)))) // INLINED!! + call MultiboardSetItemValue((LoadMultiboardItemHandle(Table__ht, ((((LoadInteger(Table__ht, ((LoadInteger(ConstTable__ht, (((s__MultiBoard_items_impl))), ((((sec))))))), (((0 ) ))))))), (( ( 2 ))))), ( s)) // INLINED!! + call MultiboardSetItemValue((LoadMultiboardItemHandle(Table__ht, ((((LoadInteger(Table__ht, ((LoadInteger(ConstTable__ht, (((s__MultiBoard_items_impl))), ((((sec))))))), (((0 ) ))))))), (( ( 3 ))))), ( ":")) // INLINED!! + set s=I2S((LoadInteger(ConstTable__ht, (((((s__GameTime_static_members_key))))), (s__GameTime_seconds_impl)))) // INLINED!! if StringLength(s) == 1 then set s="0" + s endif - call MultiboardSetItemValue((LoadMultiboardItemHandle(Table___ht, ((((LoadInteger(Table___ht, ((LoadInteger(ConstTable___ht, (((s__MultiBoard_items_impl))), ((((sec))))))), (((0 ) ))))))), (( ( 4 ))))), ( s)) // INLINED!! + call MultiboardSetItemValue((LoadMultiboardItemHandle(Table__ht, ((((LoadInteger(Table__ht, ((LoadInteger(ConstTable__ht, (((s__MultiBoard_items_impl))), ((((sec))))))), (((0 ) ))))))), (( ( 4 ))))), ( s)) // INLINED!! - call MultiboardDisplay((LoadMultiboardHandle(ConstTable___ht, (((((s__GameTime_static_members_key))))), (s__GameTime_multiboard_impl))), true) // INLINED!! + call MultiboardDisplay((LoadMultiboardHandle(ConstTable__ht, (((((s__GameTime_static_members_key))))), (s__GameTime_multiboard_impl))), true) // INLINED!! endfunction function s__GameTime_onInit takes nothing returns nothing call s__TableStruct_setHandle(s__GameTime_static_members_key , s__GameTime_timer_impl , (CreateTimer())) // INLINED!! - call TimerStart((LoadTimerHandle(ConstTable___ht, (((((s__GameTime_static_members_key))))), (s__GameTime_timer_impl))), 1., true, function s__GameTime_onTimer) // INLINED!! + call TimerStart((LoadTimerHandle(ConstTable__ht, (((((s__GameTime_static_members_key))))), (s__GameTime_timer_impl))), 1., true, function s__GameTime_onTimer) // INLINED!! endfunction @@ -11364,7 +11364,7 @@ endfunction //textmacro instance: TableStruct_NewHandleField("boolexpr","boolexpr") function s__LoP_Command__get_boolexpr takes integer this returns boolexpr - return (LoadBooleanExprHandle(ConstTable___ht, (((((s__LoP_Command_boolexpr_impl))))), (this))) // INLINED!! + return (LoadBooleanExprHandle(ConstTable__ht, (((((s__LoP_Command_boolexpr_impl))))), (this))) // INLINED!! endfunction function s__LoP_Command__set_boolexpr takes integer this,boolexpr new_boolexpr returns nothing @@ -11372,55 +11372,55 @@ endfunction endfunction function s__LoP_Command_boolexprClear takes integer this returns nothing - call RemoveSavedHandle(ConstTable___ht, (((((s__LoP_Command_boolexpr_impl))))), (this)) // INLINED!! + call RemoveSavedHandle(ConstTable__ht, (((((s__LoP_Command_boolexpr_impl))))), (this)) // INLINED!! endfunction function s__LoP_Command_boolexprExists takes integer this returns boolean - return (HaveSavedHandle(ConstTable___ht, (((((s__LoP_Command_boolexpr_impl))))), (this))) // INLINED!! + return (HaveSavedHandle(ConstTable__ht, (((((s__LoP_Command_boolexpr_impl))))), (this))) // INLINED!! endfunction //end of: TableStruct_NewHandleField("boolexpr","boolexpr") //textmacro instance: TableStruct_NewPrimitiveField("string","string") function s__LoP_Command__get_string takes integer this returns string - return (LoadStr(ConstTable___ht, (((((s__LoP_Command_string_impl))))), (this))) // INLINED!! + return (LoadStr(ConstTable__ht, (((((s__LoP_Command_string_impl))))), (this))) // INLINED!! endfunction function s__LoP_Command__set_string takes integer this,string new_string returns nothing - call SaveStr(ConstTable___ht, (((((s__LoP_Command_string_impl))))), (this), ( new_string)) // INLINED!! + call SaveStr(ConstTable__ht, (((((s__LoP_Command_string_impl))))), (this), ( new_string)) // INLINED!! endfunction function s__LoP_Command_stringClear takes integer this returns nothing - call RemoveSavedString(ConstTable___ht, (((((s__LoP_Command_string_impl))))), (this)) // INLINED!! + call RemoveSavedString(ConstTable__ht, (((((s__LoP_Command_string_impl))))), (this)) // INLINED!! endfunction function s__LoP_Command_stringExists takes integer this returns boolean - return (HaveSavedString(ConstTable___ht, (((((s__LoP_Command_string_impl))))), (this))) // INLINED!! + return (HaveSavedString(ConstTable__ht, (((((s__LoP_Command_string_impl))))), (this))) // INLINED!! endfunction //end of: TableStruct_NewPrimitiveField("string","string") //textmacro instance: TableStruct_NewPrimitiveField("accessLevel","integer") function s__LoP_Command__get_accessLevel takes integer this returns integer - return (LoadInteger(ConstTable___ht, (((((s__LoP_Command_accessLevel_impl))))), (this))) // INLINED!! + return (LoadInteger(ConstTable__ht, (((((s__LoP_Command_accessLevel_impl))))), (this))) // INLINED!! endfunction function s__LoP_Command__set_accessLevel takes integer this,integer new_accessLevel returns nothing - call SaveInteger(ConstTable___ht, (((((s__LoP_Command_accessLevel_impl))))), (this), ( new_accessLevel)) // INLINED!! + call SaveInteger(ConstTable__ht, (((((s__LoP_Command_accessLevel_impl))))), (this), ( new_accessLevel)) // INLINED!! endfunction function s__LoP_Command_accessLevelClear takes integer this returns nothing - call RemoveSavedInteger(ConstTable___ht, (((((s__LoP_Command_accessLevel_impl))))), (this)) // INLINED!! + call RemoveSavedInteger(ConstTable__ht, (((((s__LoP_Command_accessLevel_impl))))), (this)) // INLINED!! endfunction function s__LoP_Command_accessLevelExists takes integer this returns boolean - return (HaveSavedInteger(ConstTable___ht, (((((s__LoP_Command_accessLevel_impl))))), (this))) // INLINED!! + return (HaveSavedInteger(ConstTable__ht, (((((s__LoP_Command_accessLevel_impl))))), (this))) // INLINED!! endfunction //end of: TableStruct_NewPrimitiveField("accessLevel","integer") function s__LoP_Command_create takes string str,integer access,boolexpr expr returns integer local integer this= (StringHash((str))) // INLINED!! - if not (HaveSavedString(ConstTable___ht, (((((s__LoP_Command_string_impl))))), ((this)))) then // INLINED!! + if not (HaveSavedString(ConstTable__ht, (((((s__LoP_Command_string_impl))))), ((this)))) then // INLINED!! call s__TableStruct_setHandle(s__LoP_Command_boolexpr_impl , (this) , (expr)) // INLINED!! - call SaveStr(ConstTable___ht, (((((s__LoP_Command_string_impl))))), ((this)), ( (str))) // INLINED!! - call SaveInteger(ConstTable___ht, (((((s__LoP_Command_accessLevel_impl))))), ((this)), ( (access))) // INLINED!! - elseif (LoadStr(ConstTable___ht, (((((s__LoP_Command_string_impl))))), ((this)))) == str then // INLINED!! + call SaveStr(ConstTable__ht, (((((s__LoP_Command_string_impl))))), ((this)), ( (str))) // INLINED!! + call SaveInteger(ConstTable__ht, (((((s__LoP_Command_accessLevel_impl))))), ((this)), ( (access))) // INLINED!! + elseif (LoadStr(ConstTable__ht, (((((s__LoP_Command_string_impl))))), ((this)))) == str then // INLINED!! // Updating command. else // Hash collision @@ -11439,7 +11439,7 @@ endfunction //textmacro instance: TableStruct_NewStaticHandleField("trigger","trigger") function s__LoPCommands_Globals__get_trigger takes nothing returns trigger - return (LoadTriggerHandle(ConstTable___ht, (((((s__LoPCommands_Globals_static_members_key))))), (s__LoPCommands_Globals_trigger_impl))) // INLINED!! + return (LoadTriggerHandle(ConstTable__ht, (((((s__LoPCommands_Globals_static_members_key))))), (s__LoPCommands_Globals_trigger_impl))) // INLINED!! endfunction function s__LoPCommands_Globals__set_trigger takes trigger new_trigger returns nothing @@ -11447,16 +11447,16 @@ endfunction endfunction function s__LoPCommands_Globals_triggerClear takes nothing returns nothing - call RemoveSavedHandle(ConstTable___ht, (((((s__LoPCommands_Globals_static_members_key))))), (s__LoPCommands_Globals_trigger_impl)) // INLINED!! + call RemoveSavedHandle(ConstTable__ht, (((((s__LoPCommands_Globals_static_members_key))))), (s__LoPCommands_Globals_trigger_impl)) // INLINED!! endfunction function s__LoPCommands_Globals_triggerExists takes nothing returns boolean - return (HaveSavedHandle(ConstTable___ht, (((((s__LoPCommands_Globals_static_members_key))))), (s__LoPCommands_Globals_trigger_impl))) // INLINED!! + return (HaveSavedHandle(ConstTable__ht, (((((s__LoPCommands_Globals_static_members_key))))), (s__LoPCommands_Globals_trigger_impl))) // INLINED!! endfunction //end of: TableStruct_NewStaticHandleField("trigger","trigger") //textmacro instance: TableStruct_NewStaticHandleField("evaluator","trigger") function s__LoPCommands_Globals__get_evaluator takes nothing returns trigger - return (LoadTriggerHandle(ConstTable___ht, (((((s__LoPCommands_Globals_static_members_key))))), (s__LoPCommands_Globals_evaluator_impl))) // INLINED!! + return (LoadTriggerHandle(ConstTable__ht, (((((s__LoPCommands_Globals_static_members_key))))), (s__LoPCommands_Globals_evaluator_impl))) // INLINED!! endfunction function s__LoPCommands_Globals__set_evaluator takes trigger new_evaluator returns nothing @@ -11464,17 +11464,17 @@ endfunction endfunction function s__LoPCommands_Globals_evaluatorClear takes nothing returns nothing - call RemoveSavedHandle(ConstTable___ht, (((((s__LoPCommands_Globals_static_members_key))))), (s__LoPCommands_Globals_evaluator_impl)) // INLINED!! + call RemoveSavedHandle(ConstTable__ht, (((((s__LoPCommands_Globals_static_members_key))))), (s__LoPCommands_Globals_evaluator_impl)) // INLINED!! endfunction function s__LoPCommands_Globals_evaluatorExists takes nothing returns boolean - return (HaveSavedHandle(ConstTable___ht, (((((s__LoPCommands_Globals_static_members_key))))), (s__LoPCommands_Globals_evaluator_impl))) // INLINED!! + return (HaveSavedHandle(ConstTable__ht, (((((s__LoPCommands_Globals_static_members_key))))), (s__LoPCommands_Globals_evaluator_impl))) // INLINED!! endfunction //end of: TableStruct_NewStaticHandleField("evaluator","trigger") -function LoPCommands___onChatMessage takes nothing returns boolean +function LoPCommands__onChatMessage takes nothing returns boolean local string chatMsg local integer cutToComma local string beforeSpace @@ -11485,7 +11485,7 @@ function LoPCommands___onChatMessage takes nothing returns boolean local integer accessLevel - if not (not (HaveSavedBoolean(ConstTable___ht, (((((s__LoP_PlayerData_commandsEnabled_internal_impl))))), ((((GetPlayerId((GetTriggerPlayer()))))))))) then // INLINED!! + if not (not (HaveSavedBoolean(ConstTable__ht, (((((s__LoP_PlayerData_commandsEnabled_internal_impl))))), ((((GetPlayerId((GetTriggerPlayer()))))))))) then // INLINED!! return false endif @@ -11507,10 +11507,10 @@ function LoPCommands___onChatMessage takes nothing returns boolean endif - if beforeSpace == (LoadStr(ConstTable___ht, (((((s__LoP_Command_string_impl))))), ((command)))) and accessLevel >= (LoadInteger(ConstTable___ht, (((((s__LoP_Command_accessLevel_impl))))), ((command)))) then // INLINED!! - set evaluator=(LoadTriggerHandle(ConstTable___ht, (((((s__LoPCommands_Globals_static_members_key))))), (s__LoPCommands_Globals_evaluator_impl))) // INLINED!! + if beforeSpace == (LoadStr(ConstTable__ht, (((((s__LoP_Command_string_impl))))), ((command)))) and accessLevel >= (LoadInteger(ConstTable__ht, (((((s__LoP_Command_accessLevel_impl))))), ((command)))) then // INLINED!! + set evaluator=(LoadTriggerHandle(ConstTable__ht, (((((s__LoPCommands_Globals_static_members_key))))), (s__LoPCommands_Globals_evaluator_impl))) // INLINED!! - set condition=TriggerAddCondition(evaluator, (LoadBooleanExprHandle(ConstTable___ht, (((((s__LoP_Command_boolexpr_impl))))), ((command))))) // INLINED!! + set condition=TriggerAddCondition(evaluator, (LoadBooleanExprHandle(ConstTable__ht, (((((s__LoP_Command_boolexpr_impl))))), ((command))))) // INLINED!! call s__Args_setString(0 , beforeSpace) call s__Args_setString(1 , arguments) @@ -11544,7 +11544,7 @@ function onInit takes nothing returns nothing endif set playerId=playerId + 1 endloop - call TriggerAddCondition(trig, Condition(function LoPCommands___onChatMessage)) + call TriggerAddCondition(trig, Condition(function LoPCommands__onChatMessage)) set trig=null endfunction @@ -11585,14 +11585,14 @@ function InitDecoTents takes nothing returns nothing //textmacro instance: DecoBuilders_MakeTents("Special") set decoTentCount=1 loop - exitwhen decoNumber > (LoadInteger(ConstTable___ht, (((((s__LoP_DecoBuilders_static_members_key))))), (s__LoP_DecoBuilders_SpecialDecoLastIndex_impl))) // INLINED!! + exitwhen decoNumber > (LoadInteger(ConstTable__ht, (((((s__LoP_DecoBuilders_static_members_key))))), (s__LoP_DecoBuilders_SpecialDecoLastIndex_impl))) // INLINED!! set decoTent=CreateUnit(Player(PLAYER_NEUTRAL_PASSIVE), 'n03H', xCur, yCur, bj_UNIT_FACING) call BlzSetUnitName(decoTent, "Deco Tent Special " + I2S(decoTentCount)) call SetUnitVertexColor(decoTent, Special_RED, Special_GREEN, Special_BLUE, Special_ALPHA) set i=0 loop - exitwhen i >= bj_MAX_STOCK_UNIT_SLOTS or decoNumber > (LoadInteger(ConstTable___ht, (((((s__LoP_DecoBuilders_static_members_key))))), (s__LoP_DecoBuilders_SpecialDecoLastIndex_impl))) // INLINED!! + exitwhen i >= bj_MAX_STOCK_UNIT_SLOTS or decoNumber > (LoadInteger(ConstTable__ht, (((((s__LoP_DecoBuilders_static_members_key))))), (s__LoP_DecoBuilders_SpecialDecoLastIndex_impl))) // INLINED!! call AddUnitToStock(decoTent, s__LoP_DecoBuilders_rawcodes[decoNumber], 1, 3) set i=i + 1 set decoNumber=decoNumber + 1 @@ -11610,14 +11610,14 @@ function InitDecoTents takes nothing returns nothing //textmacro instance: DecoBuilders_MakeTents("Basic") set decoTentCount=1 loop - exitwhen decoNumber > (LoadInteger(ConstTable___ht, (((((s__LoP_DecoBuilders_static_members_key))))), (s__LoP_DecoBuilders_BasicDecoLastIndex_impl))) // INLINED!! + exitwhen decoNumber > (LoadInteger(ConstTable__ht, (((((s__LoP_DecoBuilders_static_members_key))))), (s__LoP_DecoBuilders_BasicDecoLastIndex_impl))) // INLINED!! set decoTent=CreateUnit(Player(PLAYER_NEUTRAL_PASSIVE), 'n03H', xCur, yCur, bj_UNIT_FACING) call BlzSetUnitName(decoTent, "Deco Tent Basic " + I2S(decoTentCount)) call SetUnitVertexColor(decoTent, Basic_RED, Basic_GREEN, Basic_BLUE, Basic_ALPHA) set i=0 loop - exitwhen i >= bj_MAX_STOCK_UNIT_SLOTS or decoNumber > (LoadInteger(ConstTable___ht, (((((s__LoP_DecoBuilders_static_members_key))))), (s__LoP_DecoBuilders_BasicDecoLastIndex_impl))) // INLINED!! + exitwhen i >= bj_MAX_STOCK_UNIT_SLOTS or decoNumber > (LoadInteger(ConstTable__ht, (((((s__LoP_DecoBuilders_static_members_key))))), (s__LoP_DecoBuilders_BasicDecoLastIndex_impl))) // INLINED!! call AddUnitToStock(decoTent, s__LoP_DecoBuilders_rawcodes[decoNumber], 1, 3) set i=i + 1 set decoNumber=decoNumber + 1 @@ -11635,14 +11635,14 @@ function InitDecoTents takes nothing returns nothing //textmacro instance: DecoBuilders_MakeTents("Adv") set decoTentCount=1 loop - exitwhen decoNumber > (LoadInteger(ConstTable___ht, (((((s__LoP_DecoBuilders_static_members_key))))), (s__LoP_DecoBuilders_AdvDecoLastIndex_impl))) // INLINED!! + exitwhen decoNumber > (LoadInteger(ConstTable__ht, (((((s__LoP_DecoBuilders_static_members_key))))), (s__LoP_DecoBuilders_AdvDecoLastIndex_impl))) // INLINED!! set decoTent=CreateUnit(Player(PLAYER_NEUTRAL_PASSIVE), 'n03H', xCur, yCur, bj_UNIT_FACING) call BlzSetUnitName(decoTent, "Deco Tent Adv " + I2S(decoTentCount)) call SetUnitVertexColor(decoTent, Adv_RED, Adv_GREEN, Adv_BLUE, Adv_ALPHA) set i=0 loop - exitwhen i >= bj_MAX_STOCK_UNIT_SLOTS or decoNumber > (LoadInteger(ConstTable___ht, (((((s__LoP_DecoBuilders_static_members_key))))), (s__LoP_DecoBuilders_AdvDecoLastIndex_impl))) // INLINED!! + exitwhen i >= bj_MAX_STOCK_UNIT_SLOTS or decoNumber > (LoadInteger(ConstTable__ht, (((((s__LoP_DecoBuilders_static_members_key))))), (s__LoP_DecoBuilders_AdvDecoLastIndex_impl))) // INLINED!! call AddUnitToStock(decoTent, s__LoP_DecoBuilders_rawcodes[decoNumber], 1, 3) set i=i + 1 set decoNumber=decoNumber + 1 @@ -12821,53 +12821,53 @@ endfunction //textmacro instance: TableStruct_NewReadonlyStructField("onDeath_impl","BoolExprEvaluator") function s__UnitEvents__get_onDeath_impl takes integer this returns integer - return (LoadInteger(ConstTable___ht, (((s__UnitEvents_onDeath_impl_impl))), (this))) // INLINED!! + return (LoadInteger(ConstTable__ht, (((s__UnitEvents_onDeath_impl_impl))), (this))) // INLINED!! endfunction function s__UnitEvents__set_onDeath_impl takes integer this,integer new_onDeath_impl returns nothing - call SaveInteger(ConstTable___ht, (((s__UnitEvents_onDeath_impl_impl))), (this), ( new_onDeath_impl)) // INLINED!! + call SaveInteger(ConstTable__ht, (((s__UnitEvents_onDeath_impl_impl))), (this), ( new_onDeath_impl)) // INLINED!! endfunction function s__UnitEvents_onDeath_implClear takes integer this returns nothing - call RemoveSavedInteger(ConstTable___ht, (((s__UnitEvents_onDeath_impl_impl))), (this)) // INLINED!! + call RemoveSavedInteger(ConstTable__ht, (((s__UnitEvents_onDeath_impl_impl))), (this)) // INLINED!! endfunction function s__UnitEvents_onDeath_implExists takes integer this returns boolean - return (HaveSavedInteger(ConstTable___ht, (((s__UnitEvents_onDeath_impl_impl))), (this))) // INLINED!! + return (HaveSavedInteger(ConstTable__ht, (((s__UnitEvents_onDeath_impl_impl))), (this))) // INLINED!! endfunction //end of: TableStruct_NewReadonlyStructField("onDeath_impl","BoolExprEvaluator") //textmacro instance: TableStruct_NewReadonlyStructField("onRemove_impl","BoolExprEvaluator") function s__UnitEvents__get_onRemove_impl takes integer this returns integer - return (LoadInteger(ConstTable___ht, (((s__UnitEvents_onRemove_impl_impl))), (this))) // INLINED!! + return (LoadInteger(ConstTable__ht, (((s__UnitEvents_onRemove_impl_impl))), (this))) // INLINED!! endfunction function s__UnitEvents__set_onRemove_impl takes integer this,integer new_onRemove_impl returns nothing - call SaveInteger(ConstTable___ht, (((s__UnitEvents_onRemove_impl_impl))), (this), ( new_onRemove_impl)) // INLINED!! + call SaveInteger(ConstTable__ht, (((s__UnitEvents_onRemove_impl_impl))), (this), ( new_onRemove_impl)) // INLINED!! endfunction function s__UnitEvents_onRemove_implClear takes integer this returns nothing - call RemoveSavedInteger(ConstTable___ht, (((s__UnitEvents_onRemove_impl_impl))), (this)) // INLINED!! + call RemoveSavedInteger(ConstTable__ht, (((s__UnitEvents_onRemove_impl_impl))), (this)) // INLINED!! endfunction function s__UnitEvents_onRemove_implExists takes integer this returns boolean - return (HaveSavedInteger(ConstTable___ht, (((s__UnitEvents_onRemove_impl_impl))), (this))) // INLINED!! + return (HaveSavedInteger(ConstTable__ht, (((s__UnitEvents_onRemove_impl_impl))), (this))) // INLINED!! endfunction //end of: TableStruct_NewReadonlyStructField("onRemove_impl","BoolExprEvaluator") //textmacro instance: TableStruct_NewReadonlyPrimitiveField("removeOnDeath","boolean") function s__UnitEvents__get_removeOnDeath takes integer this returns boolean - return (LoadBoolean(ConstTable___ht, (((((s__UnitEvents_removeOnDeath_impl))))), (this))) // INLINED!! + return (LoadBoolean(ConstTable__ht, (((((s__UnitEvents_removeOnDeath_impl))))), (this))) // INLINED!! endfunction function s__UnitEvents__set_removeOnDeath takes integer this,boolean new_removeOnDeath returns nothing - call SaveBoolean(ConstTable___ht, (((((s__UnitEvents_removeOnDeath_impl))))), (this), ( new_removeOnDeath)) // INLINED!! + call SaveBoolean(ConstTable__ht, (((((s__UnitEvents_removeOnDeath_impl))))), (this), ( new_removeOnDeath)) // INLINED!! endfunction function s__UnitEvents_removeOnDeathClear takes integer this returns nothing - call RemoveSavedBoolean(ConstTable___ht, (((((s__UnitEvents_removeOnDeath_impl))))), (this)) // INLINED!! + call RemoveSavedBoolean(ConstTable__ht, (((((s__UnitEvents_removeOnDeath_impl))))), (this)) // INLINED!! endfunction function s__UnitEvents_removeOnDeathExists takes integer this returns boolean - return (HaveSavedBoolean(ConstTable___ht, (((((s__UnitEvents_removeOnDeath_impl))))), (this))) // INLINED!! + return (HaveSavedBoolean(ConstTable__ht, (((((s__UnitEvents_removeOnDeath_impl))))), (this))) // INLINED!! endfunction //end of: TableStruct_NewReadonlyPrimitiveField("removeOnDeath","boolean") @@ -12876,17 +12876,17 @@ endfunction endfunction function s__UnitEvents_destroy takes integer this returns nothing - if (LoadInteger(ConstTable___ht, (((s__UnitEvents_onDeath_impl_impl))), ((this)))) != 0 then // INLINED!! - call s__BoolExprEvaluator_destroy((LoadInteger(ConstTable___ht, (((s__UnitEvents_onDeath_impl_impl))), ((this))))) // INLINED!! + if (LoadInteger(ConstTable__ht, (((s__UnitEvents_onDeath_impl_impl))), ((this)))) != 0 then // INLINED!! + call s__BoolExprEvaluator_destroy((LoadInteger(ConstTable__ht, (((s__UnitEvents_onDeath_impl_impl))), ((this))))) // INLINED!! endif - if (LoadInteger(ConstTable___ht, (((s__UnitEvents_onRemove_impl_impl))), ((this)))) != 0 then // INLINED!! - call s__BoolExprEvaluator_destroy((LoadInteger(ConstTable___ht, (((s__UnitEvents_onRemove_impl_impl))), ((this))))) // INLINED!! + if (LoadInteger(ConstTable__ht, (((s__UnitEvents_onRemove_impl_impl))), ((this)))) != 0 then // INLINED!! + call s__BoolExprEvaluator_destroy((LoadInteger(ConstTable__ht, (((s__UnitEvents_onRemove_impl_impl))), ((this))))) // INLINED!! endif - call RemoveSavedInteger(ConstTable___ht, (((s__UnitEvents_onRemove_impl_impl))), ((this))) // INLINED!! - call RemoveSavedInteger(ConstTable___ht, (((s__UnitEvents_onDeath_impl_impl))), ((this))) // INLINED!! - call RemoveSavedBoolean(ConstTable___ht, (((((s__UnitEvents_removeOnDeath_impl))))), ((this))) // INLINED!! + call RemoveSavedInteger(ConstTable__ht, (((s__UnitEvents_onRemove_impl_impl))), ((this))) // INLINED!! + call RemoveSavedInteger(ConstTable__ht, (((s__UnitEvents_onDeath_impl_impl))), ((this))) // INLINED!! + call RemoveSavedBoolean(ConstTable__ht, (((((s__UnitEvents_removeOnDeath_impl))))), ((this))) // INLINED!! endfunction @@ -12895,21 +12895,21 @@ endfunction endfunction function s__UnitEvents_evalOnRemove takes unit whichUnit returns nothing - if (LoadInteger(ConstTable___ht, (((s__UnitEvents_onRemove_impl_impl))), (((GetHandleId((whichUnit))))))) != 0 then // INLINED!! + if (LoadInteger(ConstTable__ht, (((s__UnitEvents_onRemove_impl_impl))), (((GetHandleId((whichUnit))))))) != 0 then // INLINED!! call s__Args_setAgent(s__Args_unit_impl , ((0 ) ) , ( ( whichUnit))) // INLINED!! - call TriggerEvaluate((LoadTriggerHandle(ConstTable___ht, (((((s__BoolExprEvaluator_trigger_impl))))), (((sc__UnitEvents__get_onRemove((GetHandleId((whichUnit)))))))))) // INLINED!! + call TriggerEvaluate((LoadTriggerHandle(ConstTable__ht, (((((s__BoolExprEvaluator_trigger_impl))))), (((sc__UnitEvents__get_onRemove((GetHandleId((whichUnit)))))))))) // INLINED!! call s__Args_freeHandle(s__Args_unit_impl , ((0))) // INLINED!! endif call s__UnitEvents_destroy((GetHandleId((whichUnit)))) // INLINED!! endfunction function s__UnitEvents_evalOnDeath takes unit whichUnit returns nothing - if (LoadInteger(ConstTable___ht, (((s__UnitEvents_onDeath_impl_impl))), (((GetHandleId((whichUnit))))))) != 0 then // INLINED!! + if (LoadInteger(ConstTable__ht, (((s__UnitEvents_onDeath_impl_impl))), (((GetHandleId((whichUnit))))))) != 0 then // INLINED!! call s__Args_setAgent(s__Args_unit_impl , ((0 ) ) , ( ( whichUnit))) // INLINED!! - call TriggerEvaluate((LoadTriggerHandle(ConstTable___ht, (((((s__BoolExprEvaluator_trigger_impl))))), (((sc__UnitEvents__get_onDeath((GetHandleId((whichUnit)))))))))) // INLINED!! + call TriggerEvaluate((LoadTriggerHandle(ConstTable__ht, (((((s__BoolExprEvaluator_trigger_impl))))), (((sc__UnitEvents__get_onDeath((GetHandleId((whichUnit)))))))))) // INLINED!! call s__Args_freeHandle(s__Args_unit_impl , ((0))) // INLINED!! endif - if (LoadBoolean(ConstTable___ht, (((((s__UnitEvents_removeOnDeath_impl))))), (((GetHandleId((whichUnit))))))) then // INLINED!! + if (LoadBoolean(ConstTable__ht, (((((s__UnitEvents_removeOnDeath_impl))))), (((GetHandleId((whichUnit))))))) then // INLINED!! call s__UnitEvents_evalOnRemove(whichUnit) call RemoveUnit(whichUnit) endif @@ -12918,29 +12918,29 @@ endfunction function s__UnitEvents_setRemoveOnDeath takes integer this returns nothing - call SaveBoolean(ConstTable___ht, (((((s__UnitEvents_removeOnDeath_impl))))), ((this)), ( (true))) // INLINED!! + call SaveBoolean(ConstTable__ht, (((((s__UnitEvents_removeOnDeath_impl))))), ((this)), ( (true))) // INLINED!! endfunction function s__UnitEvents__get_onDeath takes integer this returns integer - if (LoadInteger(ConstTable___ht, (((s__UnitEvents_onDeath_impl_impl))), ((this)))) == 0 then // INLINED!! - call SaveInteger(ConstTable___ht, (((s__UnitEvents_onDeath_impl_impl))), ((this)), ( (s__BoolExprEvaluator_create()))) // INLINED!! + if (LoadInteger(ConstTable__ht, (((s__UnitEvents_onDeath_impl_impl))), ((this)))) == 0 then // INLINED!! + call SaveInteger(ConstTable__ht, (((s__UnitEvents_onDeath_impl_impl))), ((this)), ( (s__BoolExprEvaluator_create()))) // INLINED!! endif - return (LoadInteger(ConstTable___ht, (((s__UnitEvents_onDeath_impl_impl))), ((this)))) // INLINED!! + return (LoadInteger(ConstTable__ht, (((s__UnitEvents_onDeath_impl_impl))), ((this)))) // INLINED!! endfunction function s__UnitEvents__set_onDeath takes integer this,integer eval returns nothing - call SaveInteger(ConstTable___ht, (((s__UnitEvents_onDeath_impl_impl))), ((this)), ( (eval))) // INLINED!! + call SaveInteger(ConstTable__ht, (((s__UnitEvents_onDeath_impl_impl))), ((this)), ( (eval))) // INLINED!! endfunction function s__UnitEvents__get_onRemove takes integer this returns integer - if (LoadInteger(ConstTable___ht, (((s__UnitEvents_onRemove_impl_impl))), ((this)))) == 0 then // INLINED!! - call SaveInteger(ConstTable___ht, (((s__UnitEvents_onRemove_impl_impl))), ((this)), ( (s__BoolExprEvaluator_create()))) // INLINED!! + if (LoadInteger(ConstTable__ht, (((s__UnitEvents_onRemove_impl_impl))), ((this)))) == 0 then // INLINED!! + call SaveInteger(ConstTable__ht, (((s__UnitEvents_onRemove_impl_impl))), ((this)), ( (s__BoolExprEvaluator_create()))) // INLINED!! endif - return (LoadInteger(ConstTable___ht, (((s__UnitEvents_onRemove_impl_impl))), ((this)))) // INLINED!! + return (LoadInteger(ConstTable__ht, (((s__UnitEvents_onRemove_impl_impl))), ((this)))) // INLINED!! endfunction function s__UnitEvents__set_onRemove takes integer this,integer eval returns nothing - call SaveInteger(ConstTable___ht, (((s__UnitEvents_onRemove_impl_impl))), ((this)), ( (eval))) // INLINED!! + call SaveInteger(ConstTable__ht, (((s__UnitEvents_onRemove_impl_impl))), ((this)), ( (eval))) // INLINED!! endfunction @@ -12973,127 +12973,127 @@ endfunction //CONSTANTS THAT RETURN THE INTEGER ADDRESS OF A GUDR MEMBER IN THE HASHTABLE //textmacro instance: GUDR_INDEX("RECT", "0") - constant function s__UserDefinedRects___Indices__get_RECT takes nothing returns integer + constant function s__UserDefinedRects__Indices__get_RECT takes nothing returns integer return 0 endfunction //end of: GUDR_INDEX("RECT", "0") //textmacro instance: GUDR_INDEX("LIGHT_T", "1") - constant function s__UserDefinedRects___Indices__get_LIGHT_T takes nothing returns integer + constant function s__UserDefinedRects__Indices__get_LIGHT_T takes nothing returns integer return 1 endfunction //end of: GUDR_INDEX("LIGHT_T", "1") //textmacro instance: GUDR_INDEX("LIGHT_B", "2") - constant function s__UserDefinedRects___Indices__get_LIGHT_B takes nothing returns integer + constant function s__UserDefinedRects__Indices__get_LIGHT_B takes nothing returns integer return 2 endfunction //end of: GUDR_INDEX("LIGHT_B", "2") //textmacro instance: GUDR_INDEX("LIGHT_L", "3") - constant function s__UserDefinedRects___Indices__get_LIGHT_L takes nothing returns integer + constant function s__UserDefinedRects__Indices__get_LIGHT_L takes nothing returns integer return 3 endfunction //end of: GUDR_INDEX("LIGHT_L", "3") //textmacro instance: GUDR_INDEX("LIGHT_R", "4") - constant function s__UserDefinedRects___Indices__get_LIGHT_R takes nothing returns integer + constant function s__UserDefinedRects__Indices__get_LIGHT_R takes nothing returns integer return 4 endfunction //end of: GUDR_INDEX("LIGHT_R", "4") //textmacro instance: GUDR_INDEX("WEATHER", "5") - constant function s__UserDefinedRects___Indices__get_WEATHER takes nothing returns integer + constant function s__UserDefinedRects__Indices__get_WEATHER takes nothing returns integer return 5 endfunction //end of: GUDR_INDEX("WEATHER", "5") //textmacro instance: GUDR_INDEX("GROUP", "6") - constant function s__UserDefinedRects___Indices__get_GROUP takes nothing returns integer + constant function s__UserDefinedRects__Indices__get_GROUP takes nothing returns integer return 6 endfunction //end of: GUDR_INDEX("GROUP", "6") //textmacro instance: GUDR_INDEX("HIDDEN", "7") - constant function s__UserDefinedRects___Indices__get_HIDDEN takes nothing returns integer + constant function s__UserDefinedRects__Indices__get_HIDDEN takes nothing returns integer return 7 endfunction //end of: GUDR_INDEX("HIDDEN", "7") //textmacro instance: GUDR_INDEX("WEATHER_TYPE", "8") - constant function s__UserDefinedRects___Indices__get_WEATHER_TYPE takes nothing returns integer + constant function s__UserDefinedRects__Indices__get_WEATHER_TYPE takes nothing returns integer return 8 endfunction //end of: GUDR_INDEX("WEATHER_TYPE", "8") //============================= //FUNCTIONS THAT RETURN BOOLEANS function GUDR_IsUnitIdGenerator takes integer unitHandle returns boolean - return HaveSavedHandle(UserDefinedRects___hashTable, unitHandle, (0)) // INLINED!! + return HaveSavedHandle(UserDefinedRects__hashTable, unitHandle, (0)) // INLINED!! endfunction function GUDR_IsUnitGenerator takes unit whichUnit returns boolean - return (HaveSavedHandle(UserDefinedRects___hashTable, (GetHandleId(whichUnit)), (0))) // INLINED!! + return (HaveSavedHandle(UserDefinedRects__hashTable, (GetHandleId(whichUnit)), (0))) // INLINED!! endfunction function GUDR_IsGeneratorIdHidden takes integer generatorId returns boolean - return LoadBoolean(UserDefinedRects___hashTable, generatorId, (7)) // INLINED!! + return LoadBoolean(UserDefinedRects__hashTable, generatorId, (7)) // INLINED!! endfunction function GUDR_IsGeneratorHidden takes unit generator returns boolean - return (LoadBoolean(UserDefinedRects___hashTable, (GetHandleId(generator)), (7))) // INLINED!! + return (LoadBoolean(UserDefinedRects__hashTable, (GetHandleId(generator)), (7))) // INLINED!! endfunction function GUDR_GeneratorIdHasGroup takes integer generatorId returns boolean - return HaveSavedHandle(UserDefinedRects___hashTable, generatorId, (6)) // INLINED!! + return HaveSavedHandle(UserDefinedRects__hashTable, generatorId, (6)) // INLINED!! endfunction function GUDR_GeneratorHasGroup takes unit generator returns boolean - return (HaveSavedHandle(UserDefinedRects___hashTable, (GetHandleId(generator)), (6))) // INLINED!! + return (HaveSavedHandle(UserDefinedRects__hashTable, (GetHandleId(generator)), (6))) // INLINED!! endfunction function GUDR_GeneratorIdHasWeather takes integer generatorId returns boolean - return HaveSavedInteger(UserDefinedRects___hashTable, generatorId, (5)) // INLINED!! + return HaveSavedInteger(UserDefinedRects__hashTable, generatorId, (5)) // INLINED!! endfunction function GUDR_GeneratorHasWeather takes unit generator returns boolean - return (HaveSavedInteger(UserDefinedRects___hashTable, (GetHandleId(generator)), (5))) // INLINED!! + return (HaveSavedInteger(UserDefinedRects__hashTable, (GetHandleId(generator)), (5))) // INLINED!! endfunction //============================= //FUNCTIONS TO GET GUDR MEMBERS //Handle Id as parameter function GUDR_GetGeneratorIdRect takes integer generatorId returns rect - return LoadRectHandle(UserDefinedRects___hashTable, generatorId, (0)) // INLINED!! + return LoadRectHandle(UserDefinedRects__hashTable, generatorId, (0)) // INLINED!! endfunction function GUDR_GetGeneratorIdWeatherEffect takes integer generatorId returns weathereffect - return UserDefinedRects___weatherEffects[LoadInteger(UserDefinedRects___hashTable, generatorId, (5))] // INLINED!! + return UserDefinedRects__weatherEffects[LoadInteger(UserDefinedRects__hashTable, generatorId, (5))] // INLINED!! endfunction function GUDR_GetGeneratorIdGroup takes integer generatorId returns group - return LoadGroupHandle(UserDefinedRects___hashTable, generatorId, (6)) // INLINED!! + return LoadGroupHandle(UserDefinedRects__hashTable, generatorId, (6)) // INLINED!! endfunction function GUDR_GetGeneratorIdWeatherType takes integer generatorId returns integer - return LoadInteger(UserDefinedRects___hashTable, generatorId, (8)) // INLINED!! + return LoadInteger(UserDefinedRects__hashTable, generatorId, (8)) // INLINED!! endfunction //Unit as parameter function GUDR_GetGeneratorRect takes unit generator returns rect - return (LoadRectHandle(UserDefinedRects___hashTable, (GetHandleId(generator)), (0))) // INLINED!! + return (LoadRectHandle(UserDefinedRects__hashTable, (GetHandleId(generator)), (0))) // INLINED!! endfunction function GUDR_GetGeneratorWeatherEffect takes unit generator returns weathereffect - return (UserDefinedRects___weatherEffects[LoadInteger(UserDefinedRects___hashTable, (GetHandleId(generator)), (5))]) // INLINED!! + return (UserDefinedRects__weatherEffects[LoadInteger(UserDefinedRects__hashTable, (GetHandleId(generator)), (5))]) // INLINED!! endfunction function GUDR_GetGeneratorGroup takes unit generator returns group - return (LoadGroupHandle(UserDefinedRects___hashTable, (GetHandleId(generator)), (6))) // INLINED!! + return (LoadGroupHandle(UserDefinedRects__hashTable, (GetHandleId(generator)), (6))) // INLINED!! endfunction function GUDR_GetGeneratorWeatherType takes unit generator returns integer - return (LoadInteger(UserDefinedRects___hashTable, (GetHandleId(generator)), (8))) // INLINED!! + return (LoadInteger(UserDefinedRects__hashTable, (GetHandleId(generator)), (8))) // INLINED!! endfunction function GUDR_ConvertWeatherType takes integer weatherType returns integer - return LoadInteger(UserDefinedRects___hashTable, 0, weatherType) + return LoadInteger(UserDefinedRects__hashTable, 0, weatherType) endfunction -function UserDefinedRects___GetGeneratorIdLightning takes integer genId,integer i returns lightning - return LoadLightningHandle(UserDefinedRects___hashTable, genId, i) +function UserDefinedRects__GetGeneratorIdLightning takes integer genId,integer i returns lightning + return LoadLightningHandle(UserDefinedRects__hashTable, genId, i) endfunction //============================= @@ -13105,11 +13105,11 @@ function GUDR_SwapGroup_UnitsInsideUDR takes group whichGroup,boolean includeGen set firstOfGroup=FirstOfGroup(whichGroup) set genId=GetHandleId(firstOfGroup) - if (HaveSavedHandle(UserDefinedRects___hashTable, (genId), (0))) then // INLINED!! + if (HaveSavedHandle(UserDefinedRects__hashTable, (genId), (0))) then // INLINED!! set bj_groupRandomCurrentPick=firstOfGroup call GroupClear(whichGroup) - call GroupEnumUnitsInRect(whichGroup, (LoadRectHandle(UserDefinedRects___hashTable, (genId), (0))), filter) // INLINED!! + call GroupEnumUnitsInRect(whichGroup, (LoadRectHandle(UserDefinedRects__hashTable, (genId), (0))), filter) // INLINED!! if not includeGenerator then call GroupRemoveUnit(whichGroup, firstOfGroup) @@ -13136,7 +13136,7 @@ function GUDR_PlayerGetSelectedGeneratorId takes player whichPlayer returns inte call DestroyGroup(slctGrp) set slctGrp=null - if (HaveSavedHandle(UserDefinedRects___hashTable, (unitId), (0))) then // INLINED!! + if (HaveSavedHandle(UserDefinedRects__hashTable, (unitId), (0))) then // INLINED!! set bj_groupRandomCurrentPick=firstOfGroup set firstOfGroup=null return unitId @@ -13152,12 +13152,12 @@ function ChangeGUDRWeatherNew takes unit whichUnit,integer changeWeather,integer local integer unitId= GetHandleId(whichUnit) local integer weatherId - if not (HaveSavedHandle(UserDefinedRects___hashTable, (unitId), (0))) then // INLINED!! + if not (HaveSavedHandle(UserDefinedRects__hashTable, (unitId), (0))) then // INLINED!! return 0 endif if finalWeather < 1 or finalWeather > 21 then - set curWeather=(LoadInteger(UserDefinedRects___hashTable, (unitId), (8))) // INLINED!! + set curWeather=(LoadInteger(UserDefinedRects__hashTable, (unitId), (8))) // INLINED!! set finalWeather=curWeather + changeWeather endif @@ -13174,15 +13174,15 @@ function ChangeGUDRWeatherNew takes unit whichUnit,integer changeWeather,integer endloop endif - call SaveInteger(UserDefinedRects___hashTable, unitId, (8), finalWeather) // INLINED!! + call SaveInteger(UserDefinedRects__hashTable, unitId, (8), finalWeather) // INLINED!! // Update Weather, if it exists. - set weatherId=LoadInteger(UserDefinedRects___hashTable, unitId, 5) + set weatherId=LoadInteger(UserDefinedRects__hashTable, unitId, 5) if weatherId > 0 then - call EnableWeatherEffect(UserDefinedRects___weatherEffects[weatherId], false) //BUG: If weather effect is not disabled before destruction, it's sound effect will remain - call RemoveWeatherEffect(UserDefinedRects___weatherEffects[weatherId]) - set UserDefinedRects___weatherEffects[weatherId]=AddWeatherEffect((LoadRectHandle(UserDefinedRects___hashTable, (unitId), (0))), (LoadInteger(UserDefinedRects___hashTable, 0, (finalWeather)))) // INLINED!! - call EnableWeatherEffect(UserDefinedRects___weatherEffects[weatherId], true) + call EnableWeatherEffect(UserDefinedRects__weatherEffects[weatherId], false) //BUG: If weather effect is not disabled before destruction, it's sound effect will remain + call RemoveWeatherEffect(UserDefinedRects__weatherEffects[weatherId]) + set UserDefinedRects__weatherEffects[weatherId]=AddWeatherEffect((LoadRectHandle(UserDefinedRects__hashTable, (unitId), (0))), (LoadInteger(UserDefinedRects__hashTable, 0, (finalWeather)))) // INLINED!! + call EnableWeatherEffect(UserDefinedRects__weatherEffects[weatherId], true) endif return finalWeather @@ -13191,7 +13191,7 @@ endfunction function GroupGUDRFilter takes nothing returns boolean local unit filterUnit= GetFilterUnit() - if (HaveSavedHandle(UserDefinedRects___hashTable, (GetHandleId((filterUnit))), (0))) or GetOwningPlayer(filterUnit) != bj_forceRandomCurrentPick then // INLINED!! + if (HaveSavedHandle(UserDefinedRects__hashTable, (GetHandleId((filterUnit))), (0))) or GetOwningPlayer(filterUnit) != bj_forceRandomCurrentPick then // INLINED!! set filterUnit=null return false endif @@ -13207,11 +13207,11 @@ function GroupGUDR takes unit whichUnit,boolean unlock returns boolean local unit firstUnit local player storeGlobal= bj_forceRandomCurrentPick - if not (HaveSavedHandle(UserDefinedRects___hashTable, (unitId), (0))) then // INLINED!! + if not (HaveSavedHandle(UserDefinedRects__hashTable, (unitId), (0))) then // INLINED!! return false endif - set g=(LoadGroupHandle(UserDefinedRects___hashTable, (unitId), (6))) // INLINED!! + set g=(LoadGroupHandle(UserDefinedRects__hashTable, (unitId), (6))) // INLINED!! //Save the GURD's owner in the Hashtable for use in the EnumFilter function set firstUnit=FirstOfGroup(g) @@ -13231,7 +13231,7 @@ function GroupGUDR takes unit whichUnit,boolean unlock returns boolean //We only want to add new units to the group if the user doesn't want to unlock it if not unlock then set bj_forceRandomCurrentPick=GetOwningPlayer(whichUnit) - call GroupEnumUnitsInRect(g, (LoadRectHandle(UserDefinedRects___hashTable, (unitId), (0))), Condition(function GroupGUDRFilter)) // INLINED!! + call GroupEnumUnitsInRect(g, (LoadRectHandle(UserDefinedRects__hashTable, (unitId), (0))), Condition(function GroupGUDRFilter)) // INLINED!! set bj_forceRandomCurrentPick=storeGlobal endif @@ -13245,7 +13245,7 @@ function CreateWeather takes unit whichUnit returns boolean local integer instance local integer genId= GetHandleId(whichUnit) - if not (HaveSavedHandle(UserDefinedRects___hashTable, (genId), (0))) then // INLINED!! + if not (HaveSavedHandle(UserDefinedRects__hashTable, (genId), (0))) then // INLINED!! return false endif @@ -13258,34 +13258,34 @@ function CreateWeather takes unit whichUnit returns boolean - set instance=GMUI_GetIndex(UserDefinedRects___RECYCLE_KEY) + set instance=GMUI_GetIndex(UserDefinedRects__RECYCLE_KEY) - call SaveInteger(UserDefinedRects___hashTable, GetHandleId(whichUnit), (5), instance) // INLINED!! - set UserDefinedRects___weatherEffects[instance]=AddWeatherEffect((LoadRectHandle(UserDefinedRects___hashTable, (genId), (0))), (LoadInteger(UserDefinedRects___hashTable, 0, ((LoadInteger(UserDefinedRects___hashTable, (genId), (8))))))) // INLINED!! - call EnableWeatherEffect(UserDefinedRects___weatherEffects[instance], true) + call SaveInteger(UserDefinedRects__hashTable, GetHandleId(whichUnit), (5), instance) // INLINED!! + set UserDefinedRects__weatherEffects[instance]=AddWeatherEffect((LoadRectHandle(UserDefinedRects__hashTable, (genId), (0))), (LoadInteger(UserDefinedRects__hashTable, 0, ((LoadInteger(UserDefinedRects__hashTable, (genId), (8))))))) // INLINED!! + call EnableWeatherEffect(UserDefinedRects__weatherEffects[instance], true) return true endfunction function DestroyWeather takes unit whichUnit returns boolean - local integer instance= LoadInteger(UserDefinedRects___hashTable, GetHandleId(whichUnit), (5)) // INLINED!! + local integer instance= LoadInteger(UserDefinedRects__hashTable, GetHandleId(whichUnit), (5)) // INLINED!! if instance < 1 then return false // False for effect not destroyed, unit did not have weather attached. endif - call EnableWeatherEffect(UserDefinedRects___weatherEffects[instance], false) // BUG: If weather effect is not disabled before destruction, it's sound effect will remain - call RemoveWeatherEffect(UserDefinedRects___weatherEffects[instance]) - set UserDefinedRects___weatherEffects[instance]=null // Null to free handles for other systems - call RemoveSavedInteger(UserDefinedRects___hashTable, GetHandleId(whichUnit), (5)) // INLINED!! + call EnableWeatherEffect(UserDefinedRects__weatherEffects[instance], false) // BUG: If weather effect is not disabled before destruction, it's sound effect will remain + call RemoveWeatherEffect(UserDefinedRects__weatherEffects[instance]) + set UserDefinedRects__weatherEffects[instance]=null // Null to free handles for other systems + call RemoveSavedInteger(UserDefinedRects__hashTable, GetHandleId(whichUnit), (5)) // INLINED!! - call GMUI_RecycleIndex(UserDefinedRects___RECYCLE_KEY , instance) + call GMUI_RecycleIndex(UserDefinedRects__RECYCLE_KEY , instance) return true // True for effect destroyed. @@ -13295,15 +13295,15 @@ function ToggleGUDRVisibility takes unit whichUnit,boolean toggle,boolean show r local real alpha local integer unitId= GetHandleId(whichUnit) - if not (HaveSavedHandle(UserDefinedRects___hashTable, (unitId), (0))) then // INLINED!! + if not (HaveSavedHandle(UserDefinedRects__hashTable, (unitId), (0))) then // INLINED!! return false endif if toggle then //If user wants to switch the current value, change the value of show to opposite of current value - set show=not LoadBoolean(UserDefinedRects___hashTable, unitId, (7)) // INLINED!! + set show=not LoadBoolean(UserDefinedRects__hashTable, unitId, (7)) // INLINED!! endif - call SaveBoolean(UserDefinedRects___hashTable, unitId, (7), show) //Save current show/hide boolean // INLINED!! + call SaveBoolean(UserDefinedRects__hashTable, unitId, (7), show) //Save current show/hide boolean // INLINED!! //Convert Boolean to Real T/F = 1/0 if show then @@ -13315,10 +13315,10 @@ function ToggleGUDRVisibility takes unit whichUnit,boolean toggle,boolean show r //After it has been decided if the GUDR should be shown or hidden, apply the choice call SetUnitVertexColor(whichUnit, 255, 255, 255, 255 * R2I(alpha)) - call SetLightningColor(LoadLightningHandle(UserDefinedRects___hashTable, unitId, (1)), 1, 1, 1, alpha) // INLINED!! - call SetLightningColor(LoadLightningHandle(UserDefinedRects___hashTable, unitId, (2)), 1, 1, 1, alpha) // INLINED!! - call SetLightningColor(LoadLightningHandle(UserDefinedRects___hashTable, unitId, (3)), 1, 1, 1, alpha) // INLINED!! - call SetLightningColor(LoadLightningHandle(UserDefinedRects___hashTable, unitId, (4)), 1, 1, 1, alpha) // INLINED!! + call SetLightningColor(LoadLightningHandle(UserDefinedRects__hashTable, unitId, (1)), 1, 1, 1, alpha) // INLINED!! + call SetLightningColor(LoadLightningHandle(UserDefinedRects__hashTable, unitId, (2)), 1, 1, 1, alpha) // INLINED!! + call SetLightningColor(LoadLightningHandle(UserDefinedRects__hashTable, unitId, (3)), 1, 1, 1, alpha) // INLINED!! + call SetLightningColor(LoadLightningHandle(UserDefinedRects__hashTable, unitId, (4)), 1, 1, 1, alpha) // INLINED!! return true endfunction @@ -13334,11 +13334,11 @@ function MoveGUDR takes unit centerUnit,real offsetX,real offsetY,boolean expand local real minY local real maxY - if not (HaveSavedHandle(UserDefinedRects___hashTable, (unitId), (0))) then // INLINED!! + if not (HaveSavedHandle(UserDefinedRects__hashTable, (unitId), (0))) then // INLINED!! return false endif - set userDefRect=(LoadRectHandle(UserDefinedRects___hashTable, (unitId), (0))) // INLINED!! + set userDefRect=(LoadRectHandle(UserDefinedRects__hashTable, (unitId), (0))) // INLINED!! //If user wants to expand or contract the current region, Load the current value of its borders if expand then @@ -13353,10 +13353,10 @@ function MoveGUDR takes unit centerUnit,real offsetX,real offsetY,boolean expand set maxY=centerY + offsetY //Update Lightnings - call MoveLightning(LoadLightningHandle(UserDefinedRects___hashTable, unitId, (1)), true, minX, maxY, maxX, maxY) // INLINED!! - call MoveLightning(LoadLightningHandle(UserDefinedRects___hashTable, unitId, (2)), true, minX, minY, maxX, minY) // INLINED!! - call MoveLightning(LoadLightningHandle(UserDefinedRects___hashTable, unitId, (3)), true, minX, minY, minX, maxY) // INLINED!! - call MoveLightning(LoadLightningHandle(UserDefinedRects___hashTable, unitId, (4)), true, maxX, minY, maxX, maxY) // INLINED!! + call MoveLightning(LoadLightningHandle(UserDefinedRects__hashTable, unitId, (1)), true, minX, maxY, maxX, maxY) // INLINED!! + call MoveLightning(LoadLightningHandle(UserDefinedRects__hashTable, unitId, (2)), true, minX, minY, maxX, minY) // INLINED!! + call MoveLightning(LoadLightningHandle(UserDefinedRects__hashTable, unitId, (3)), true, minX, minY, minX, maxY) // INLINED!! + call MoveLightning(LoadLightningHandle(UserDefinedRects__hashTable, unitId, (4)), true, maxX, minY, maxX, maxY) // INLINED!! //Update Rect @@ -13366,12 +13366,12 @@ function MoveGUDR takes unit centerUnit,real offsetX,real offsetY,boolean expand // Update Weather Effect - set weatherId=LoadInteger(UserDefinedRects___hashTable, unitId, 5) + set weatherId=LoadInteger(UserDefinedRects__hashTable, unitId, 5) if weatherId > 0 then - call EnableWeatherEffect(UserDefinedRects___weatherEffects[weatherId], false) //BUG: If weather effect is not disabled before destruction, it's sound effect will remain - call RemoveWeatherEffect(UserDefinedRects___weatherEffects[weatherId]) - set UserDefinedRects___weatherEffects[weatherId]=AddWeatherEffect(userDefRect, (LoadInteger(UserDefinedRects___hashTable, 0, ((LoadInteger(UserDefinedRects___hashTable, (unitId), (8))))))) // INLINED!! - call EnableWeatherEffect(UserDefinedRects___weatherEffects[weatherId], true) + call EnableWeatherEffect(UserDefinedRects__weatherEffects[weatherId], false) //BUG: If weather effect is not disabled before destruction, it's sound effect will remain + call RemoveWeatherEffect(UserDefinedRects__weatherEffects[weatherId]) + set UserDefinedRects__weatherEffects[weatherId]=AddWeatherEffect(userDefRect, (LoadInteger(UserDefinedRects__hashTable, 0, ((LoadInteger(UserDefinedRects__hashTable, (unitId), (8))))))) // INLINED!! + call EnableWeatherEffect(UserDefinedRects__weatherEffects[weatherId], true) endif set userDefRect=null @@ -13389,7 +13389,7 @@ function CreateGUDR takes unit centerUnit returns boolean local integer fog - if (HaveSavedHandle(UserDefinedRects___hashTable, (unitId), (0))) then // INLINED!! + if (HaveSavedHandle(UserDefinedRects__hashTable, (unitId), (0))) then // INLINED!! return false endif @@ -13397,19 +13397,19 @@ function CreateGUDR takes unit centerUnit returns boolean set fog=(GMUI_GetIndex((GMUI_GENERIC_KEY))) // INLINED!! - call SaveInteger(ConstTable___ht, (((s__RectEnvironment_fog_impl))), (((GetHandleId((userDefRect))))), ( (fog))) // INLINED!! - call SaveInteger(ConstTable___ht, (((((s__TerrainFog_style_impl))))), ((fog)), ( (s__TerrainFog_EXPONENTIAL))) // INLINED!! + call SaveInteger(ConstTable__ht, (((s__RectEnvironment_fog_impl))), (((GetHandleId((userDefRect))))), ( (fog))) // INLINED!! + call SaveInteger(ConstTable__ht, (((((s__TerrainFog_style_impl))))), ((fog)), ( (s__TerrainFog_EXPONENTIAL))) // INLINED!! call AutoRectEnvironment_RegisterRect(userDefRect) - call SaveRectHandle(UserDefinedRects___hashTable, unitId, (0), userDefRect) // INLINED!! - call SaveLightningHandle(UserDefinedRects___hashTable, unitId, (1), AddLightning("DRAM", true, centerX - 32, centerY + 32, centerX + 32, centerY + 32)) // INLINED!! - call SaveLightningHandle(UserDefinedRects___hashTable, unitId, (2), AddLightning("DRAM", true, centerX - 32, centerY - 32, centerX + 32, centerY - 32)) // INLINED!! - call SaveLightningHandle(UserDefinedRects___hashTable, unitId, (3), AddLightning("DRAM", true, centerX - 32, centerY - 32, centerX - 32, centerY + 32)) // INLINED!! - call SaveLightningHandle(UserDefinedRects___hashTable, unitId, (4), AddLightning("DRAM", true, centerX + 32, centerY - 32, centerX + 32, centerY + 32)) // INLINED!! - call SaveGroupHandle(UserDefinedRects___hashTable, unitId, (6), CreateGroup()) // INLINED!! - call SaveBoolean(UserDefinedRects___hashTable, unitId, (7), true) //Save show/hide boolean as true, because nothing is being hidden // INLINED!! - call SaveInteger(UserDefinedRects___hashTable, unitId, (8), 1) //Save 1 as it is the value of 'RAhr' // INLINED!! + call SaveRectHandle(UserDefinedRects__hashTable, unitId, (0), userDefRect) // INLINED!! + call SaveLightningHandle(UserDefinedRects__hashTable, unitId, (1), AddLightning("DRAM", true, centerX - 32, centerY + 32, centerX + 32, centerY + 32)) // INLINED!! + call SaveLightningHandle(UserDefinedRects__hashTable, unitId, (2), AddLightning("DRAM", true, centerX - 32, centerY - 32, centerX + 32, centerY - 32)) // INLINED!! + call SaveLightningHandle(UserDefinedRects__hashTable, unitId, (3), AddLightning("DRAM", true, centerX - 32, centerY - 32, centerX - 32, centerY + 32)) // INLINED!! + call SaveLightningHandle(UserDefinedRects__hashTable, unitId, (4), AddLightning("DRAM", true, centerX + 32, centerY - 32, centerX + 32, centerY + 32)) // INLINED!! + call SaveGroupHandle(UserDefinedRects__hashTable, unitId, (6), CreateGroup()) // INLINED!! + call SaveBoolean(UserDefinedRects__hashTable, unitId, (7), true) //Save show/hide boolean as true, because nothing is being hidden // INLINED!! + call SaveInteger(UserDefinedRects__hashTable, unitId, (8), 1) //Save 1 as it is the value of 'RAhr' // INLINED!! set userDefRect=null return true @@ -13417,10 +13417,10 @@ endfunction function DestroyGUDR takes unit centerUnit returns nothing local integer unitId= GetHandleId(centerUnit) - local rect udr= (LoadRectHandle(UserDefinedRects___hashTable, (unitId), (0))) // INLINED!! + local rect udr= (LoadRectHandle(UserDefinedRects__hashTable, (unitId), (0))) // INLINED!! - local integer fog= (LoadInteger(ConstTable___ht, (((s__RectEnvironment_fog_impl))), (((GetHandleId((udr))))))) // INLINED!! + local integer fog= (LoadInteger(ConstTable__ht, (((s__RectEnvironment_fog_impl))), (((GetHandleId((udr))))))) // INLINED!! if udr == null then @@ -13437,44 +13437,44 @@ function DestroyGUDR takes unit centerUnit returns nothing call DestroyWeather(centerUnit) call GroupGUDR(centerUnit , true) - call DestroyLightning((LoadLightningHandle(UserDefinedRects___hashTable, (unitId ), ( (1))))) // INLINED!! - call DestroyLightning((LoadLightningHandle(UserDefinedRects___hashTable, (unitId ), ( (2))))) // INLINED!! - call DestroyLightning((LoadLightningHandle(UserDefinedRects___hashTable, (unitId ), ( (3))))) // INLINED!! - call DestroyLightning((LoadLightningHandle(UserDefinedRects___hashTable, (unitId ), ( (4))))) // INLINED!! + call DestroyLightning((LoadLightningHandle(UserDefinedRects__hashTable, (unitId ), ( (1))))) // INLINED!! + call DestroyLightning((LoadLightningHandle(UserDefinedRects__hashTable, (unitId ), ( (2))))) // INLINED!! + call DestroyLightning((LoadLightningHandle(UserDefinedRects__hashTable, (unitId ), ( (3))))) // INLINED!! + call DestroyLightning((LoadLightningHandle(UserDefinedRects__hashTable, (unitId ), ( (4))))) // INLINED!! call RemoveRect(udr) - call DestroyGroup((LoadGroupHandle(UserDefinedRects___hashTable, (unitId), (6)))) // INLINED!! + call DestroyGroup((LoadGroupHandle(UserDefinedRects__hashTable, (unitId), (6)))) // INLINED!! - call FlushChildHashtable(UserDefinedRects___hashTable, unitId) + call FlushChildHashtable(UserDefinedRects__hashTable, unitId) set udr=null endfunction -function UserDefinedRects___onInit takes nothing returns nothing +function UserDefinedRects__onInit takes nothing returns nothing - call SaveInteger(UserDefinedRects___hashTable, 0, 1, 'RAhr') - call SaveInteger(UserDefinedRects___hashTable, 0, 2, 'RAlr') - call SaveInteger(UserDefinedRects___hashTable, 0, 3, 'MEds') - call SaveInteger(UserDefinedRects___hashTable, 0, 4, 'FDbh') - call SaveInteger(UserDefinedRects___hashTable, 0, 5, 'FDbl') - call SaveInteger(UserDefinedRects___hashTable, 0, 6, 'FDgh') - call SaveInteger(UserDefinedRects___hashTable, 0, 7, 'FDgl') - call SaveInteger(UserDefinedRects___hashTable, 0, 8, 'FDrh') - call SaveInteger(UserDefinedRects___hashTable, 0, 9, 'FDrl') - call SaveInteger(UserDefinedRects___hashTable, 0, 10, 'FDwh') - call SaveInteger(UserDefinedRects___hashTable, 0, 11, 'FDwl') - call SaveInteger(UserDefinedRects___hashTable, 0, 12, 'RLhr') - call SaveInteger(UserDefinedRects___hashTable, 0, 13, 'RLlr') - call SaveInteger(UserDefinedRects___hashTable, 0, 14, 'SNbs') - call SaveInteger(UserDefinedRects___hashTable, 0, 15, 'SNhs') - call SaveInteger(UserDefinedRects___hashTable, 0, 16, 'SNls') - call SaveInteger(UserDefinedRects___hashTable, 0, 17, 'WOcw') - call SaveInteger(UserDefinedRects___hashTable, 0, 18, 'WOlw') - call SaveInteger(UserDefinedRects___hashTable, 0, 19, 'LRaa') - call SaveInteger(UserDefinedRects___hashTable, 0, 20, 'LRma') - call SaveInteger(UserDefinedRects___hashTable, 0, 21, 'WNcw') + call SaveInteger(UserDefinedRects__hashTable, 0, 1, 'RAhr') + call SaveInteger(UserDefinedRects__hashTable, 0, 2, 'RAlr') + call SaveInteger(UserDefinedRects__hashTable, 0, 3, 'MEds') + call SaveInteger(UserDefinedRects__hashTable, 0, 4, 'FDbh') + call SaveInteger(UserDefinedRects__hashTable, 0, 5, 'FDbl') + call SaveInteger(UserDefinedRects__hashTable, 0, 6, 'FDgh') + call SaveInteger(UserDefinedRects__hashTable, 0, 7, 'FDgl') + call SaveInteger(UserDefinedRects__hashTable, 0, 8, 'FDrh') + call SaveInteger(UserDefinedRects__hashTable, 0, 9, 'FDrl') + call SaveInteger(UserDefinedRects__hashTable, 0, 10, 'FDwh') + call SaveInteger(UserDefinedRects__hashTable, 0, 11, 'FDwl') + call SaveInteger(UserDefinedRects__hashTable, 0, 12, 'RLhr') + call SaveInteger(UserDefinedRects__hashTable, 0, 13, 'RLlr') + call SaveInteger(UserDefinedRects__hashTable, 0, 14, 'SNbs') + call SaveInteger(UserDefinedRects__hashTable, 0, 15, 'SNhs') + call SaveInteger(UserDefinedRects__hashTable, 0, 16, 'SNls') + call SaveInteger(UserDefinedRects__hashTable, 0, 17, 'WOcw') + call SaveInteger(UserDefinedRects__hashTable, 0, 18, 'WOlw') + call SaveInteger(UserDefinedRects__hashTable, 0, 19, 'LRaa') + call SaveInteger(UserDefinedRects__hashTable, 0, 20, 'LRma') + call SaveInteger(UserDefinedRects__hashTable, 0, 21, 'WNcw') endfunction ////////////////////////////////////////////////////// @@ -13885,27 +13885,27 @@ endfunction //end of: TableStruct_NewConstTableField("private","linkedListPrev") function s__RectGenerator__FogStyle_next takes integer this returns integer - return (LoadInteger(ConstTable___ht, ((s__RectGenerator__FogStyle_linkedListNext_impl)), (this))) // INLINED!! + return (LoadInteger(ConstTable__ht, ((s__RectGenerator__FogStyle_linkedListNext_impl)), (this))) // INLINED!! endfunction function s__RectGenerator__FogStyle_prev takes integer this returns integer - return (LoadInteger(ConstTable___ht, ((s__RectGenerator__FogStyle_linkedListPrev_impl)), (this))) // INLINED!! + return (LoadInteger(ConstTable__ht, ((s__RectGenerator__FogStyle_linkedListPrev_impl)), (this))) // INLINED!! endfunction function s__RectGenerator__FogStyle_setNext takes integer this,integer nextStyle returns nothing - call SaveInteger(ConstTable___ht, ((s__RectGenerator__FogStyle_linkedListNext_impl)), (this), ( nextStyle)) // INLINED!! + call SaveInteger(ConstTable__ht, ((s__RectGenerator__FogStyle_linkedListNext_impl)), (this), ( nextStyle)) // INLINED!! endfunction function s__RectGenerator__FogStyle_setPrev takes integer this,integer prevStyle returns nothing - call SaveInteger(ConstTable___ht, ((s__RectGenerator__FogStyle_linkedListPrev_impl)), (this), ( prevStyle)) // INLINED!! + call SaveInteger(ConstTable__ht, ((s__RectGenerator__FogStyle_linkedListPrev_impl)), (this), ( prevStyle)) // INLINED!! endfunction function s__RectGenerator__FogStyle_getString takes integer this returns string - return (LoadStr(ConstTable___ht, ((((s__RectGenerator__FogStyle_strings_impl)))), (this))) // INLINED!! + return (LoadStr(ConstTable__ht, ((((s__RectGenerator__FogStyle_strings_impl)))), (this))) // INLINED!! endfunction function s__RectGenerator__FogStyle_setString takes integer this,string str returns nothing - call SaveStr(ConstTable___ht, ((((s__RectGenerator__FogStyle_strings_impl)))), (this), ( str)) // INLINED!! + call SaveStr(ConstTable__ht, ((((s__RectGenerator__FogStyle_strings_impl)))), (this), ( str)) // INLINED!! endfunction @@ -13918,8 +13918,8 @@ function RectGenerator__GroupLoop takes nothing returns nothing local unit udr= GetTriggerUnit() local unit enumUnit= GetEnumUnit() - if (HaveSavedHandle(UserDefinedRects___hashTable, (GetHandleId((enumUnit))), (0))) or GetOwningPlayer(enumUnit) != GetOwningPlayer(udr) then // INLINED!! - call GroupRemoveUnit((LoadGroupHandle(UserDefinedRects___hashTable, (GetHandleId((udr))), (6))), enumUnit) // INLINED!! + if (HaveSavedHandle(UserDefinedRects__hashTable, (GetHandleId((enumUnit))), (0))) or GetOwningPlayer(enumUnit) != GetOwningPlayer(udr) then // INLINED!! + call GroupRemoveUnit((LoadGroupHandle(UserDefinedRects__hashTable, (GetHandleId((udr))), (6))), enumUnit) // INLINED!! else call SetUnitPosition(enumUnit, GetUnitX(enumUnit) + GetSpellTargetX() - GetUnitX(udr), GetUnitY(enumUnit) + GetSpellTargetY() - GetUnitY(udr)) endif @@ -13933,8 +13933,8 @@ endfunction local unit udr= GetTriggerUnit() local unit enumUnit= GetEnumUnit() - if (HaveSavedHandle(UserDefinedRects___hashTable, (GetHandleId((enumUnit))), (0))) or GetOwningPlayer(enumUnit) != GetOwningPlayer(udr) then // INLINED!! - call GroupRemoveUnit((LoadGroupHandle(UserDefinedRects___hashTable, (GetHandleId((udr))), (6))), enumUnit) // INLINED!! + if (HaveSavedHandle(UserDefinedRects__hashTable, (GetHandleId((enumUnit))), (0))) or GetOwningPlayer(enumUnit) != GetOwningPlayer(udr) then // INLINED!! + call GroupRemoveUnit((LoadGroupHandle(UserDefinedRects__hashTable, (GetHandleId((udr))), (6))), enumUnit) // INLINED!! else call SetUnitPosition(enumUnit, GetUnitX(enumUnit) + GetTileCenterCoordinate(GetSpellTargetX()) - GetUnitX(udr), GetUnitY(enumUnit) + GetTileCenterCoordinate(GetSpellTargetY()) - GetUnitY(udr)) endif @@ -14332,8 +14332,8 @@ function RectGenerator__onCast takes nothing returns boolean endif - if CountUnitsInGroup((LoadGroupHandle(UserDefinedRects___hashTable, (GetHandleId((GetTriggerUnit()))), (6)))) <= RectGenerator__MAXIMUM_MOVE_LIMIT then // INLINED!! - call ForGroup((LoadGroupHandle(UserDefinedRects___hashTable, (GetHandleId((GetTriggerUnit()))), (6))), function RectGenerator__GroupLoop) // INLINED!! + if CountUnitsInGroup((LoadGroupHandle(UserDefinedRects__hashTable, (GetHandleId((GetTriggerUnit()))), (6)))) <= RectGenerator__MAXIMUM_MOVE_LIMIT then // INLINED!! + call ForGroup((LoadGroupHandle(UserDefinedRects__hashTable, (GetHandleId((GetTriggerUnit()))), (6))), function RectGenerator__GroupLoop) // INLINED!! call SetUnitPosition(GetTriggerUnit(), GetSpellTargetX(), GetSpellTargetY()) call MoveGUDR(GetTriggerUnit() , 0 , 0 , true) else @@ -14355,14 +14355,14 @@ function RectGenerator__onCast takes nothing returns boolean call ChangeGUDRWeatherNew(GetTriggerUnit() , - 1 , 0) elseif abilityId == RectGenerator_TOGGLE_WEATHER then - if (HaveSavedInteger(UserDefinedRects___hashTable, (GetHandleId((GetTriggerUnit()))), (5))) then // INLINED!! + if (HaveSavedInteger(UserDefinedRects__hashTable, (GetHandleId((GetTriggerUnit()))), (5))) then // INLINED!! call DestroyWeather(GetTriggerUnit()) else call CreateWeather(GetTriggerUnit()) endif elseif abilityId == RectGenerator_CREATE_OR_DESTROY then - if (HaveSavedHandle(UserDefinedRects___hashTable, (GetHandleId((GetTriggerUnit()))), (0))) then // INLINED!! + if (HaveSavedHandle(UserDefinedRects__hashTable, (GetHandleId((GetTriggerUnit()))), (0))) then // INLINED!! call DestroyGUDR(GetTriggerUnit()) else call CreateGUDR(GetTriggerUnit()) @@ -14372,99 +14372,99 @@ function RectGenerator__onCast takes nothing returns boolean call GroupGUDR(GetTriggerUnit() , true) else - if (LoadInteger(ConstTable___ht, (((s__RectEnvironment_fog_impl))), (((GetHandleId(((LoadRectHandle(UserDefinedRects___hashTable, (GetHandleId((GetTriggerUnit()))), (0)))))))))) == 0 then // INLINED!! + if (LoadInteger(ConstTable__ht, (((s__RectEnvironment_fog_impl))), (((GetHandleId(((LoadRectHandle(UserDefinedRects__hashTable, (GetHandleId((GetTriggerUnit()))), (0)))))))))) == 0 then // INLINED!! elseif abilityId == RectGenerator_FOG_RED_UP then - if (LoadReal(ConstTable___ht, (((((s__TerrainFog_red_impl))))), (((LoadInteger(ConstTable___ht, (((s__RectEnvironment_fog_impl))), (((GetHandleId(((LoadRectHandle(UserDefinedRects___hashTable, (GetHandleId((GetTriggerUnit()))), (0)))))))))))))) <= .96 then // INLINED!! - call SaveReal(ConstTable___ht, (((((s__TerrainFog_red_impl))))), (((LoadInteger(ConstTable___ht, (((s__RectEnvironment_fog_impl))), (((GetHandleId(((LoadRectHandle(UserDefinedRects___hashTable, (GetHandleId((GetTriggerUnit()))), (0)))))))))))), (( (((LoadReal(ConstTable___ht, (((((s__TerrainFog_red_impl))))), (((LoadInteger(ConstTable___ht, (((s__RectEnvironment_fog_impl))), (((GetHandleId(((LoadRectHandle(UserDefinedRects___hashTable, (GetHandleId((GetTriggerUnit()))), (0)))))))))))))) + .05)*1.0))*1.0)) // INLINED!! + if (LoadReal(ConstTable__ht, (((((s__TerrainFog_red_impl))))), (((LoadInteger(ConstTable__ht, (((s__RectEnvironment_fog_impl))), (((GetHandleId(((LoadRectHandle(UserDefinedRects__hashTable, (GetHandleId((GetTriggerUnit()))), (0)))))))))))))) <= .96 then // INLINED!! + call SaveReal(ConstTable__ht, (((((s__TerrainFog_red_impl))))), (((LoadInteger(ConstTable__ht, (((s__RectEnvironment_fog_impl))), (((GetHandleId(((LoadRectHandle(UserDefinedRects__hashTable, (GetHandleId((GetTriggerUnit()))), (0)))))))))))), (( (((LoadReal(ConstTable__ht, (((((s__TerrainFog_red_impl))))), (((LoadInteger(ConstTable__ht, (((s__RectEnvironment_fog_impl))), (((GetHandleId(((LoadRectHandle(UserDefinedRects__hashTable, (GetHandleId((GetTriggerUnit()))), (0)))))))))))))) + .05)*1.0))*1.0)) // INLINED!! else - call SaveReal(ConstTable___ht, (((((s__TerrainFog_red_impl))))), (((LoadInteger(ConstTable___ht, (((s__RectEnvironment_fog_impl))), (((GetHandleId(((LoadRectHandle(UserDefinedRects___hashTable, (GetHandleId((GetTriggerUnit()))), (0)))))))))))), (( ((0.)*1.0))*1.0)) // INLINED!! + call SaveReal(ConstTable__ht, (((((s__TerrainFog_red_impl))))), (((LoadInteger(ConstTable__ht, (((s__RectEnvironment_fog_impl))), (((GetHandleId(((LoadRectHandle(UserDefinedRects__hashTable, (GetHandleId((GetTriggerUnit()))), (0)))))))))))), (( ((0.)*1.0))*1.0)) // INLINED!! endif - call DisplayTextToPlayer(GetOwningPlayer(GetTriggerUnit()), 0, 0, ("Fog " + ("|c00ff0000Red|r" ) + " set to: " + I2S(R2I((( (LoadReal(ConstTable___ht, (((((s__TerrainFog_red_impl))))), (((LoadInteger(ConstTable___ht, (((s__RectEnvironment_fog_impl))), (((GetHandleId(((LoadRectHandle(UserDefinedRects___hashTable, (GetHandleId((GetTriggerUnit()))), (0)))))))))))))))*1.0) * 100. + .5)) + "%")) // INLINED!! + call DisplayTextToPlayer(GetOwningPlayer(GetTriggerUnit()), 0, 0, ("Fog " + ("|c00ff0000Red|r" ) + " set to: " + I2S(R2I((( (LoadReal(ConstTable__ht, (((((s__TerrainFog_red_impl))))), (((LoadInteger(ConstTable__ht, (((s__RectEnvironment_fog_impl))), (((GetHandleId(((LoadRectHandle(UserDefinedRects__hashTable, (GetHandleId((GetTriggerUnit()))), (0)))))))))))))))*1.0) * 100. + .5)) + "%")) // INLINED!! elseif abilityId == RectGenerator_FOG_RED_DOWN then - if (LoadReal(ConstTable___ht, (((((s__TerrainFog_red_impl))))), (((LoadInteger(ConstTable___ht, (((s__RectEnvironment_fog_impl))), (((GetHandleId(((LoadRectHandle(UserDefinedRects___hashTable, (GetHandleId((GetTriggerUnit()))), (0)))))))))))))) >= 0.01 then // INLINED!! - call SaveReal(ConstTable___ht, (((((s__TerrainFog_red_impl))))), (((LoadInteger(ConstTable___ht, (((s__RectEnvironment_fog_impl))), (((GetHandleId(((LoadRectHandle(UserDefinedRects___hashTable, (GetHandleId((GetTriggerUnit()))), (0)))))))))))), (( (((LoadReal(ConstTable___ht, (((((s__TerrainFog_red_impl))))), (((LoadInteger(ConstTable___ht, (((s__RectEnvironment_fog_impl))), (((GetHandleId(((LoadRectHandle(UserDefinedRects___hashTable, (GetHandleId((GetTriggerUnit()))), (0)))))))))))))) - .05)*1.0))*1.0)) // INLINED!! + if (LoadReal(ConstTable__ht, (((((s__TerrainFog_red_impl))))), (((LoadInteger(ConstTable__ht, (((s__RectEnvironment_fog_impl))), (((GetHandleId(((LoadRectHandle(UserDefinedRects__hashTable, (GetHandleId((GetTriggerUnit()))), (0)))))))))))))) >= 0.01 then // INLINED!! + call SaveReal(ConstTable__ht, (((((s__TerrainFog_red_impl))))), (((LoadInteger(ConstTable__ht, (((s__RectEnvironment_fog_impl))), (((GetHandleId(((LoadRectHandle(UserDefinedRects__hashTable, (GetHandleId((GetTriggerUnit()))), (0)))))))))))), (( (((LoadReal(ConstTable__ht, (((((s__TerrainFog_red_impl))))), (((LoadInteger(ConstTable__ht, (((s__RectEnvironment_fog_impl))), (((GetHandleId(((LoadRectHandle(UserDefinedRects__hashTable, (GetHandleId((GetTriggerUnit()))), (0)))))))))))))) - .05)*1.0))*1.0)) // INLINED!! else - call SaveReal(ConstTable___ht, (((((s__TerrainFog_red_impl))))), (((LoadInteger(ConstTable___ht, (((s__RectEnvironment_fog_impl))), (((GetHandleId(((LoadRectHandle(UserDefinedRects___hashTable, (GetHandleId((GetTriggerUnit()))), (0)))))))))))), (( ((1.)*1.0))*1.0)) // INLINED!! + call SaveReal(ConstTable__ht, (((((s__TerrainFog_red_impl))))), (((LoadInteger(ConstTable__ht, (((s__RectEnvironment_fog_impl))), (((GetHandleId(((LoadRectHandle(UserDefinedRects__hashTable, (GetHandleId((GetTriggerUnit()))), (0)))))))))))), (( ((1.)*1.0))*1.0)) // INLINED!! endif - call DisplayTextToPlayer(GetOwningPlayer(GetTriggerUnit()), 0, 0, ("Fog " + ("|c00ff0000Red|r" ) + " set to: " + I2S(R2I((( (LoadReal(ConstTable___ht, (((((s__TerrainFog_red_impl))))), (((LoadInteger(ConstTable___ht, (((s__RectEnvironment_fog_impl))), (((GetHandleId(((LoadRectHandle(UserDefinedRects___hashTable, (GetHandleId((GetTriggerUnit()))), (0)))))))))))))))*1.0) * 100. + .5)) + "%")) // INLINED!! + call DisplayTextToPlayer(GetOwningPlayer(GetTriggerUnit()), 0, 0, ("Fog " + ("|c00ff0000Red|r" ) + " set to: " + I2S(R2I((( (LoadReal(ConstTable__ht, (((((s__TerrainFog_red_impl))))), (((LoadInteger(ConstTable__ht, (((s__RectEnvironment_fog_impl))), (((GetHandleId(((LoadRectHandle(UserDefinedRects__hashTable, (GetHandleId((GetTriggerUnit()))), (0)))))))))))))))*1.0) * 100. + .5)) + "%")) // INLINED!! elseif abilityId == RectGenerator_FOG_BLUE_UP then - if (LoadReal(ConstTable___ht, (((((s__TerrainFog_blue_impl))))), (((LoadInteger(ConstTable___ht, (((s__RectEnvironment_fog_impl))), (((GetHandleId(((LoadRectHandle(UserDefinedRects___hashTable, (GetHandleId((GetTriggerUnit()))), (0)))))))))))))) <= .96 then // INLINED!! - call SaveReal(ConstTable___ht, (((((s__TerrainFog_blue_impl))))), (((LoadInteger(ConstTable___ht, (((s__RectEnvironment_fog_impl))), (((GetHandleId(((LoadRectHandle(UserDefinedRects___hashTable, (GetHandleId((GetTriggerUnit()))), (0)))))))))))), (( (((LoadReal(ConstTable___ht, (((((s__TerrainFog_blue_impl))))), (((LoadInteger(ConstTable___ht, (((s__RectEnvironment_fog_impl))), (((GetHandleId(((LoadRectHandle(UserDefinedRects___hashTable, (GetHandleId((GetTriggerUnit()))), (0)))))))))))))) + .05)*1.0))*1.0)) // INLINED!! + if (LoadReal(ConstTable__ht, (((((s__TerrainFog_blue_impl))))), (((LoadInteger(ConstTable__ht, (((s__RectEnvironment_fog_impl))), (((GetHandleId(((LoadRectHandle(UserDefinedRects__hashTable, (GetHandleId((GetTriggerUnit()))), (0)))))))))))))) <= .96 then // INLINED!! + call SaveReal(ConstTable__ht, (((((s__TerrainFog_blue_impl))))), (((LoadInteger(ConstTable__ht, (((s__RectEnvironment_fog_impl))), (((GetHandleId(((LoadRectHandle(UserDefinedRects__hashTable, (GetHandleId((GetTriggerUnit()))), (0)))))))))))), (( (((LoadReal(ConstTable__ht, (((((s__TerrainFog_blue_impl))))), (((LoadInteger(ConstTable__ht, (((s__RectEnvironment_fog_impl))), (((GetHandleId(((LoadRectHandle(UserDefinedRects__hashTable, (GetHandleId((GetTriggerUnit()))), (0)))))))))))))) + .05)*1.0))*1.0)) // INLINED!! else - call SaveReal(ConstTable___ht, (((((s__TerrainFog_blue_impl))))), (((LoadInteger(ConstTable___ht, (((s__RectEnvironment_fog_impl))), (((GetHandleId(((LoadRectHandle(UserDefinedRects___hashTable, (GetHandleId((GetTriggerUnit()))), (0)))))))))))), (( ((0.)*1.0))*1.0)) // INLINED!! + call SaveReal(ConstTable__ht, (((((s__TerrainFog_blue_impl))))), (((LoadInteger(ConstTable__ht, (((s__RectEnvironment_fog_impl))), (((GetHandleId(((LoadRectHandle(UserDefinedRects__hashTable, (GetHandleId((GetTriggerUnit()))), (0)))))))))))), (( ((0.)*1.0))*1.0)) // INLINED!! endif - call DisplayTextToPlayer(GetOwningPlayer(GetTriggerUnit()), 0, 0, ("Fog " + ("|c000000ffBlue|r" ) + " set to: " + I2S(R2I((( (LoadReal(ConstTable___ht, (((((s__TerrainFog_blue_impl))))), (((LoadInteger(ConstTable___ht, (((s__RectEnvironment_fog_impl))), (((GetHandleId(((LoadRectHandle(UserDefinedRects___hashTable, (GetHandleId((GetTriggerUnit()))), (0)))))))))))))))*1.0) * 100. + .5)) + "%")) // INLINED!! + call DisplayTextToPlayer(GetOwningPlayer(GetTriggerUnit()), 0, 0, ("Fog " + ("|c000000ffBlue|r" ) + " set to: " + I2S(R2I((( (LoadReal(ConstTable__ht, (((((s__TerrainFog_blue_impl))))), (((LoadInteger(ConstTable__ht, (((s__RectEnvironment_fog_impl))), (((GetHandleId(((LoadRectHandle(UserDefinedRects__hashTable, (GetHandleId((GetTriggerUnit()))), (0)))))))))))))))*1.0) * 100. + .5)) + "%")) // INLINED!! elseif abilityId == RectGenerator_FOG_BLUE_DOWN then - if (LoadReal(ConstTable___ht, (((((s__TerrainFog_blue_impl))))), (((LoadInteger(ConstTable___ht, (((s__RectEnvironment_fog_impl))), (((GetHandleId(((LoadRectHandle(UserDefinedRects___hashTable, (GetHandleId((GetTriggerUnit()))), (0)))))))))))))) >= 0.01 then // INLINED!! - call SaveReal(ConstTable___ht, (((((s__TerrainFog_blue_impl))))), (((LoadInteger(ConstTable___ht, (((s__RectEnvironment_fog_impl))), (((GetHandleId(((LoadRectHandle(UserDefinedRects___hashTable, (GetHandleId((GetTriggerUnit()))), (0)))))))))))), (( (((LoadReal(ConstTable___ht, (((((s__TerrainFog_blue_impl))))), (((LoadInteger(ConstTable___ht, (((s__RectEnvironment_fog_impl))), (((GetHandleId(((LoadRectHandle(UserDefinedRects___hashTable, (GetHandleId((GetTriggerUnit()))), (0)))))))))))))) - .05)*1.0))*1.0)) // INLINED!! + if (LoadReal(ConstTable__ht, (((((s__TerrainFog_blue_impl))))), (((LoadInteger(ConstTable__ht, (((s__RectEnvironment_fog_impl))), (((GetHandleId(((LoadRectHandle(UserDefinedRects__hashTable, (GetHandleId((GetTriggerUnit()))), (0)))))))))))))) >= 0.01 then // INLINED!! + call SaveReal(ConstTable__ht, (((((s__TerrainFog_blue_impl))))), (((LoadInteger(ConstTable__ht, (((s__RectEnvironment_fog_impl))), (((GetHandleId(((LoadRectHandle(UserDefinedRects__hashTable, (GetHandleId((GetTriggerUnit()))), (0)))))))))))), (( (((LoadReal(ConstTable__ht, (((((s__TerrainFog_blue_impl))))), (((LoadInteger(ConstTable__ht, (((s__RectEnvironment_fog_impl))), (((GetHandleId(((LoadRectHandle(UserDefinedRects__hashTable, (GetHandleId((GetTriggerUnit()))), (0)))))))))))))) - .05)*1.0))*1.0)) // INLINED!! else - call SaveReal(ConstTable___ht, (((((s__TerrainFog_blue_impl))))), (((LoadInteger(ConstTable___ht, (((s__RectEnvironment_fog_impl))), (((GetHandleId(((LoadRectHandle(UserDefinedRects___hashTable, (GetHandleId((GetTriggerUnit()))), (0)))))))))))), (( ((1.)*1.0))*1.0)) // INLINED!! + call SaveReal(ConstTable__ht, (((((s__TerrainFog_blue_impl))))), (((LoadInteger(ConstTable__ht, (((s__RectEnvironment_fog_impl))), (((GetHandleId(((LoadRectHandle(UserDefinedRects__hashTable, (GetHandleId((GetTriggerUnit()))), (0)))))))))))), (( ((1.)*1.0))*1.0)) // INLINED!! endif - call DisplayTextToPlayer(GetOwningPlayer(GetTriggerUnit()), 0, 0, ("Fog " + ("|c000000ffBlue|r" ) + " set to: " + I2S(R2I((( (LoadReal(ConstTable___ht, (((((s__TerrainFog_blue_impl))))), (((LoadInteger(ConstTable___ht, (((s__RectEnvironment_fog_impl))), (((GetHandleId(((LoadRectHandle(UserDefinedRects___hashTable, (GetHandleId((GetTriggerUnit()))), (0)))))))))))))))*1.0) * 100. + .5)) + "%")) // INLINED!! + call DisplayTextToPlayer(GetOwningPlayer(GetTriggerUnit()), 0, 0, ("Fog " + ("|c000000ffBlue|r" ) + " set to: " + I2S(R2I((( (LoadReal(ConstTable__ht, (((((s__TerrainFog_blue_impl))))), (((LoadInteger(ConstTable__ht, (((s__RectEnvironment_fog_impl))), (((GetHandleId(((LoadRectHandle(UserDefinedRects__hashTable, (GetHandleId((GetTriggerUnit()))), (0)))))))))))))))*1.0) * 100. + .5)) + "%")) // INLINED!! elseif abilityId == RectGenerator_FOG_GREEN_UP then - if (LoadReal(ConstTable___ht, (((((s__TerrainFog_green_impl))))), (((LoadInteger(ConstTable___ht, (((s__RectEnvironment_fog_impl))), (((GetHandleId(((LoadRectHandle(UserDefinedRects___hashTable, (GetHandleId((GetTriggerUnit()))), (0)))))))))))))) <= .96 then // INLINED!! - call SaveReal(ConstTable___ht, (((((s__TerrainFog_green_impl))))), (((LoadInteger(ConstTable___ht, (((s__RectEnvironment_fog_impl))), (((GetHandleId(((LoadRectHandle(UserDefinedRects___hashTable, (GetHandleId((GetTriggerUnit()))), (0)))))))))))), (( (((LoadReal(ConstTable___ht, (((((s__TerrainFog_green_impl))))), (((LoadInteger(ConstTable___ht, (((s__RectEnvironment_fog_impl))), (((GetHandleId(((LoadRectHandle(UserDefinedRects___hashTable, (GetHandleId((GetTriggerUnit()))), (0)))))))))))))) + .05)*1.0))*1.0)) // INLINED!! + if (LoadReal(ConstTable__ht, (((((s__TerrainFog_green_impl))))), (((LoadInteger(ConstTable__ht, (((s__RectEnvironment_fog_impl))), (((GetHandleId(((LoadRectHandle(UserDefinedRects__hashTable, (GetHandleId((GetTriggerUnit()))), (0)))))))))))))) <= .96 then // INLINED!! + call SaveReal(ConstTable__ht, (((((s__TerrainFog_green_impl))))), (((LoadInteger(ConstTable__ht, (((s__RectEnvironment_fog_impl))), (((GetHandleId(((LoadRectHandle(UserDefinedRects__hashTable, (GetHandleId((GetTriggerUnit()))), (0)))))))))))), (( (((LoadReal(ConstTable__ht, (((((s__TerrainFog_green_impl))))), (((LoadInteger(ConstTable__ht, (((s__RectEnvironment_fog_impl))), (((GetHandleId(((LoadRectHandle(UserDefinedRects__hashTable, (GetHandleId((GetTriggerUnit()))), (0)))))))))))))) + .05)*1.0))*1.0)) // INLINED!! else - call SaveReal(ConstTable___ht, (((((s__TerrainFog_green_impl))))), (((LoadInteger(ConstTable___ht, (((s__RectEnvironment_fog_impl))), (((GetHandleId(((LoadRectHandle(UserDefinedRects___hashTable, (GetHandleId((GetTriggerUnit()))), (0)))))))))))), (( ((0.)*1.0))*1.0)) // INLINED!! + call SaveReal(ConstTable__ht, (((((s__TerrainFog_green_impl))))), (((LoadInteger(ConstTable__ht, (((s__RectEnvironment_fog_impl))), (((GetHandleId(((LoadRectHandle(UserDefinedRects__hashTable, (GetHandleId((GetTriggerUnit()))), (0)))))))))))), (( ((0.)*1.0))*1.0)) // INLINED!! endif - call DisplayTextToPlayer(GetOwningPlayer(GetTriggerUnit()), 0, 0, ("Fog " + ("|c0000ff00Green|r" ) + " set to: " + I2S(R2I((( (LoadReal(ConstTable___ht, (((((s__TerrainFog_green_impl))))), (((LoadInteger(ConstTable___ht, (((s__RectEnvironment_fog_impl))), (((GetHandleId(((LoadRectHandle(UserDefinedRects___hashTable, (GetHandleId((GetTriggerUnit()))), (0)))))))))))))))*1.0) * 100. + .5)) + "%")) // INLINED!! + call DisplayTextToPlayer(GetOwningPlayer(GetTriggerUnit()), 0, 0, ("Fog " + ("|c0000ff00Green|r" ) + " set to: " + I2S(R2I((( (LoadReal(ConstTable__ht, (((((s__TerrainFog_green_impl))))), (((LoadInteger(ConstTable__ht, (((s__RectEnvironment_fog_impl))), (((GetHandleId(((LoadRectHandle(UserDefinedRects__hashTable, (GetHandleId((GetTriggerUnit()))), (0)))))))))))))))*1.0) * 100. + .5)) + "%")) // INLINED!! elseif abilityId == RectGenerator_FOG_GREEN_DOWN then - if (LoadReal(ConstTable___ht, (((((s__TerrainFog_green_impl))))), (((LoadInteger(ConstTable___ht, (((s__RectEnvironment_fog_impl))), (((GetHandleId(((LoadRectHandle(UserDefinedRects___hashTable, (GetHandleId((GetTriggerUnit()))), (0)))))))))))))) >= 0.01 then // INLINED!! - call SaveReal(ConstTable___ht, (((((s__TerrainFog_green_impl))))), (((LoadInteger(ConstTable___ht, (((s__RectEnvironment_fog_impl))), (((GetHandleId(((LoadRectHandle(UserDefinedRects___hashTable, (GetHandleId((GetTriggerUnit()))), (0)))))))))))), (( (((LoadReal(ConstTable___ht, (((((s__TerrainFog_green_impl))))), (((LoadInteger(ConstTable___ht, (((s__RectEnvironment_fog_impl))), (((GetHandleId(((LoadRectHandle(UserDefinedRects___hashTable, (GetHandleId((GetTriggerUnit()))), (0)))))))))))))) - .05)*1.0))*1.0)) // INLINED!! + if (LoadReal(ConstTable__ht, (((((s__TerrainFog_green_impl))))), (((LoadInteger(ConstTable__ht, (((s__RectEnvironment_fog_impl))), (((GetHandleId(((LoadRectHandle(UserDefinedRects__hashTable, (GetHandleId((GetTriggerUnit()))), (0)))))))))))))) >= 0.01 then // INLINED!! + call SaveReal(ConstTable__ht, (((((s__TerrainFog_green_impl))))), (((LoadInteger(ConstTable__ht, (((s__RectEnvironment_fog_impl))), (((GetHandleId(((LoadRectHandle(UserDefinedRects__hashTable, (GetHandleId((GetTriggerUnit()))), (0)))))))))))), (( (((LoadReal(ConstTable__ht, (((((s__TerrainFog_green_impl))))), (((LoadInteger(ConstTable__ht, (((s__RectEnvironment_fog_impl))), (((GetHandleId(((LoadRectHandle(UserDefinedRects__hashTable, (GetHandleId((GetTriggerUnit()))), (0)))))))))))))) - .05)*1.0))*1.0)) // INLINED!! else - call SaveReal(ConstTable___ht, (((((s__TerrainFog_green_impl))))), (((LoadInteger(ConstTable___ht, (((s__RectEnvironment_fog_impl))), (((GetHandleId(((LoadRectHandle(UserDefinedRects___hashTable, (GetHandleId((GetTriggerUnit()))), (0)))))))))))), (( ((1.)*1.0))*1.0)) // INLINED!! + call SaveReal(ConstTable__ht, (((((s__TerrainFog_green_impl))))), (((LoadInteger(ConstTable__ht, (((s__RectEnvironment_fog_impl))), (((GetHandleId(((LoadRectHandle(UserDefinedRects__hashTable, (GetHandleId((GetTriggerUnit()))), (0)))))))))))), (( ((1.)*1.0))*1.0)) // INLINED!! endif - call DisplayTextToPlayer(GetOwningPlayer(GetTriggerUnit()), 0, 0, ("Fog " + ("|c0000ff00Green|r" ) + " set to: " + I2S(R2I((( (LoadReal(ConstTable___ht, (((((s__TerrainFog_green_impl))))), (((LoadInteger(ConstTable___ht, (((s__RectEnvironment_fog_impl))), (((GetHandleId(((LoadRectHandle(UserDefinedRects___hashTable, (GetHandleId((GetTriggerUnit()))), (0)))))))))))))))*1.0) * 100. + .5)) + "%")) // INLINED!! + call DisplayTextToPlayer(GetOwningPlayer(GetTriggerUnit()), 0, 0, ("Fog " + ("|c0000ff00Green|r" ) + " set to: " + I2S(R2I((( (LoadReal(ConstTable__ht, (((((s__TerrainFog_green_impl))))), (((LoadInteger(ConstTable__ht, (((s__RectEnvironment_fog_impl))), (((GetHandleId(((LoadRectHandle(UserDefinedRects__hashTable, (GetHandleId((GetTriggerUnit()))), (0)))))))))))))))*1.0) * 100. + .5)) + "%")) // INLINED!! elseif abilityId == RectGenerator_FOG_DENSITY_UP then - call SaveReal(ConstTable___ht, (((((s__TerrainFog_density_impl))))), (((LoadInteger(ConstTable___ht, (((s__RectEnvironment_fog_impl))), (((GetHandleId(((LoadRectHandle(UserDefinedRects___hashTable, (GetHandleId((GetTriggerUnit()))), (0)))))))))))), (( (((LoadReal(ConstTable___ht, (((((s__TerrainFog_density_impl))))), (((LoadInteger(ConstTable___ht, (((s__RectEnvironment_fog_impl))), (((GetHandleId(((LoadRectHandle(UserDefinedRects___hashTable, (GetHandleId((GetTriggerUnit()))), (0)))))))))))))) + .00005)*1.0))*1.0)) // INLINED!! - call DisplayTextToPlayer(GetOwningPlayer(GetTriggerUnit()), 0, 0, "Fog Density set to: " + R2S((LoadReal(ConstTable___ht, (((((s__TerrainFog_density_impl))))), (((LoadInteger(ConstTable___ht, (((s__RectEnvironment_fog_impl))), (((GetHandleId(((LoadRectHandle(UserDefinedRects___hashTable, (GetHandleId((GetTriggerUnit()))), (0)))))))))))))) * 100) + "%") // INLINED!! + call SaveReal(ConstTable__ht, (((((s__TerrainFog_density_impl))))), (((LoadInteger(ConstTable__ht, (((s__RectEnvironment_fog_impl))), (((GetHandleId(((LoadRectHandle(UserDefinedRects__hashTable, (GetHandleId((GetTriggerUnit()))), (0)))))))))))), (( (((LoadReal(ConstTable__ht, (((((s__TerrainFog_density_impl))))), (((LoadInteger(ConstTable__ht, (((s__RectEnvironment_fog_impl))), (((GetHandleId(((LoadRectHandle(UserDefinedRects__hashTable, (GetHandleId((GetTriggerUnit()))), (0)))))))))))))) + .00005)*1.0))*1.0)) // INLINED!! + call DisplayTextToPlayer(GetOwningPlayer(GetTriggerUnit()), 0, 0, "Fog Density set to: " + R2S((LoadReal(ConstTable__ht, (((((s__TerrainFog_density_impl))))), (((LoadInteger(ConstTable__ht, (((s__RectEnvironment_fog_impl))), (((GetHandleId(((LoadRectHandle(UserDefinedRects__hashTable, (GetHandleId((GetTriggerUnit()))), (0)))))))))))))) * 100) + "%") // INLINED!! elseif abilityId == RectGenerator_FOG_DENSITY_DOWN then - if (LoadReal(ConstTable___ht, (((((s__TerrainFog_density_impl))))), (((LoadInteger(ConstTable___ht, (((s__RectEnvironment_fog_impl))), (((GetHandleId(((LoadRectHandle(UserDefinedRects___hashTable, (GetHandleId((GetTriggerUnit()))), (0)))))))))))))) >= 0.00006 then // INLINED!! - call SaveReal(ConstTable___ht, (((((s__TerrainFog_density_impl))))), (((LoadInteger(ConstTable___ht, (((s__RectEnvironment_fog_impl))), (((GetHandleId(((LoadRectHandle(UserDefinedRects___hashTable, (GetHandleId((GetTriggerUnit()))), (0)))))))))))), (( (((LoadReal(ConstTable___ht, (((((s__TerrainFog_density_impl))))), (((LoadInteger(ConstTable___ht, (((s__RectEnvironment_fog_impl))), (((GetHandleId(((LoadRectHandle(UserDefinedRects___hashTable, (GetHandleId((GetTriggerUnit()))), (0)))))))))))))) - .00005)*1.0))*1.0)) // INLINED!! + if (LoadReal(ConstTable__ht, (((((s__TerrainFog_density_impl))))), (((LoadInteger(ConstTable__ht, (((s__RectEnvironment_fog_impl))), (((GetHandleId(((LoadRectHandle(UserDefinedRects__hashTable, (GetHandleId((GetTriggerUnit()))), (0)))))))))))))) >= 0.00006 then // INLINED!! + call SaveReal(ConstTable__ht, (((((s__TerrainFog_density_impl))))), (((LoadInteger(ConstTable__ht, (((s__RectEnvironment_fog_impl))), (((GetHandleId(((LoadRectHandle(UserDefinedRects__hashTable, (GetHandleId((GetTriggerUnit()))), (0)))))))))))), (( (((LoadReal(ConstTable__ht, (((((s__TerrainFog_density_impl))))), (((LoadInteger(ConstTable__ht, (((s__RectEnvironment_fog_impl))), (((GetHandleId(((LoadRectHandle(UserDefinedRects__hashTable, (GetHandleId((GetTriggerUnit()))), (0)))))))))))))) - .00005)*1.0))*1.0)) // INLINED!! else - call SaveReal(ConstTable___ht, (((((s__TerrainFog_density_impl))))), (((LoadInteger(ConstTable___ht, (((s__RectEnvironment_fog_impl))), (((GetHandleId(((LoadRectHandle(UserDefinedRects___hashTable, (GetHandleId((GetTriggerUnit()))), (0)))))))))))), (( ((0.)*1.0))*1.0)) // INLINED!! + call SaveReal(ConstTable__ht, (((((s__TerrainFog_density_impl))))), (((LoadInteger(ConstTable__ht, (((s__RectEnvironment_fog_impl))), (((GetHandleId(((LoadRectHandle(UserDefinedRects__hashTable, (GetHandleId((GetTriggerUnit()))), (0)))))))))))), (( ((0.)*1.0))*1.0)) // INLINED!! endif - call DisplayTextToPlayer(GetOwningPlayer(GetTriggerUnit()), 0, 0, "Fog Density set to: " + R2S((LoadReal(ConstTable___ht, (((((s__TerrainFog_density_impl))))), (((LoadInteger(ConstTable___ht, (((s__RectEnvironment_fog_impl))), (((GetHandleId(((LoadRectHandle(UserDefinedRects___hashTable, (GetHandleId((GetTriggerUnit()))), (0)))))))))))))) * 100) + "%") // INLINED!! + call DisplayTextToPlayer(GetOwningPlayer(GetTriggerUnit()), 0, 0, "Fog Density set to: " + R2S((LoadReal(ConstTable__ht, (((((s__TerrainFog_density_impl))))), (((LoadInteger(ConstTable__ht, (((s__RectEnvironment_fog_impl))), (((GetHandleId(((LoadRectHandle(UserDefinedRects__hashTable, (GetHandleId((GetTriggerUnit()))), (0)))))))))))))) * 100) + "%") // INLINED!! elseif abilityId == RectGenerator_FOG_ZSTART_UP then - call SaveReal(ConstTable___ht, (((((s__TerrainFog_zStart_impl))))), (((LoadInteger(ConstTable___ht, (((s__RectEnvironment_fog_impl))), (((GetHandleId(((LoadRectHandle(UserDefinedRects___hashTable, (GetHandleId((GetTriggerUnit()))), (0)))))))))))), (( (((LoadReal(ConstTable___ht, (((((s__TerrainFog_zStart_impl))))), (((LoadInteger(ConstTable___ht, (((s__RectEnvironment_fog_impl))), (((GetHandleId(((LoadRectHandle(UserDefinedRects___hashTable, (GetHandleId((GetTriggerUnit()))), (0)))))))))))))) + 1000.)*1.0))*1.0)) // INLINED!! - call DisplayTextToPlayer(GetOwningPlayer(GetTriggerUnit()), 0, 0, ( "Fog zStart set to: " + R2S((LoadReal(ConstTable___ht, (((((s__TerrainFog_zStart_impl))))), (((LoadInteger(ConstTable___ht, (((s__RectEnvironment_fog_impl))), (((GetHandleId(((LoadRectHandle(UserDefinedRects___hashTable, (GetHandleId((GetTriggerUnit()))), (0))))))))))))))) )) // INLINED!! + call SaveReal(ConstTable__ht, (((((s__TerrainFog_zStart_impl))))), (((LoadInteger(ConstTable__ht, (((s__RectEnvironment_fog_impl))), (((GetHandleId(((LoadRectHandle(UserDefinedRects__hashTable, (GetHandleId((GetTriggerUnit()))), (0)))))))))))), (( (((LoadReal(ConstTable__ht, (((((s__TerrainFog_zStart_impl))))), (((LoadInteger(ConstTable__ht, (((s__RectEnvironment_fog_impl))), (((GetHandleId(((LoadRectHandle(UserDefinedRects__hashTable, (GetHandleId((GetTriggerUnit()))), (0)))))))))))))) + 1000.)*1.0))*1.0)) // INLINED!! + call DisplayTextToPlayer(GetOwningPlayer(GetTriggerUnit()), 0, 0, ( "Fog zStart set to: " + R2S((LoadReal(ConstTable__ht, (((((s__TerrainFog_zStart_impl))))), (((LoadInteger(ConstTable__ht, (((s__RectEnvironment_fog_impl))), (((GetHandleId(((LoadRectHandle(UserDefinedRects__hashTable, (GetHandleId((GetTriggerUnit()))), (0))))))))))))))) )) // INLINED!! elseif abilityId == RectGenerator_FOG_ZSTART_DOWN then - if (LoadReal(ConstTable___ht, (((((s__TerrainFog_zStart_impl))))), (((LoadInteger(ConstTable___ht, (((s__RectEnvironment_fog_impl))), (((GetHandleId(((LoadRectHandle(UserDefinedRects___hashTable, (GetHandleId((GetTriggerUnit()))), (0)))))))))))))) >= 1200. then // INLINED!! - call SaveReal(ConstTable___ht, (((((s__TerrainFog_zStart_impl))))), (((LoadInteger(ConstTable___ht, (((s__RectEnvironment_fog_impl))), (((GetHandleId(((LoadRectHandle(UserDefinedRects___hashTable, (GetHandleId((GetTriggerUnit()))), (0)))))))))))), (( (((LoadReal(ConstTable___ht, (((((s__TerrainFog_zStart_impl))))), (((LoadInteger(ConstTable___ht, (((s__RectEnvironment_fog_impl))), (((GetHandleId(((LoadRectHandle(UserDefinedRects___hashTable, (GetHandleId((GetTriggerUnit()))), (0)))))))))))))) - 1000.)*1.0))*1.0)) // INLINED!! + if (LoadReal(ConstTable__ht, (((((s__TerrainFog_zStart_impl))))), (((LoadInteger(ConstTable__ht, (((s__RectEnvironment_fog_impl))), (((GetHandleId(((LoadRectHandle(UserDefinedRects__hashTable, (GetHandleId((GetTriggerUnit()))), (0)))))))))))))) >= 1200. then // INLINED!! + call SaveReal(ConstTable__ht, (((((s__TerrainFog_zStart_impl))))), (((LoadInteger(ConstTable__ht, (((s__RectEnvironment_fog_impl))), (((GetHandleId(((LoadRectHandle(UserDefinedRects__hashTable, (GetHandleId((GetTriggerUnit()))), (0)))))))))))), (( (((LoadReal(ConstTable__ht, (((((s__TerrainFog_zStart_impl))))), (((LoadInteger(ConstTable__ht, (((s__RectEnvironment_fog_impl))), (((GetHandleId(((LoadRectHandle(UserDefinedRects__hashTable, (GetHandleId((GetTriggerUnit()))), (0)))))))))))))) - 1000.)*1.0))*1.0)) // INLINED!! else - call SaveReal(ConstTable___ht, (((((s__TerrainFog_zStart_impl))))), (((LoadInteger(ConstTable___ht, (((s__RectEnvironment_fog_impl))), (((GetHandleId(((LoadRectHandle(UserDefinedRects___hashTable, (GetHandleId((GetTriggerUnit()))), (0)))))))))))), (( ((0.)*1.0))*1.0)) // INLINED!! + call SaveReal(ConstTable__ht, (((((s__TerrainFog_zStart_impl))))), (((LoadInteger(ConstTable__ht, (((s__RectEnvironment_fog_impl))), (((GetHandleId(((LoadRectHandle(UserDefinedRects__hashTable, (GetHandleId((GetTriggerUnit()))), (0)))))))))))), (( ((0.)*1.0))*1.0)) // INLINED!! endif - call DisplayTextToPlayer(GetOwningPlayer(GetTriggerUnit()), 0, 0, ( "Fog zStart set to: " + R2S((LoadReal(ConstTable___ht, (((((s__TerrainFog_zStart_impl))))), (((LoadInteger(ConstTable___ht, (((s__RectEnvironment_fog_impl))), (((GetHandleId(((LoadRectHandle(UserDefinedRects___hashTable, (GetHandleId((GetTriggerUnit()))), (0))))))))))))))) )) // INLINED!! + call DisplayTextToPlayer(GetOwningPlayer(GetTriggerUnit()), 0, 0, ( "Fog zStart set to: " + R2S((LoadReal(ConstTable__ht, (((((s__TerrainFog_zStart_impl))))), (((LoadInteger(ConstTable__ht, (((s__RectEnvironment_fog_impl))), (((GetHandleId(((LoadRectHandle(UserDefinedRects__hashTable, (GetHandleId((GetTriggerUnit()))), (0))))))))))))))) )) // INLINED!! elseif abilityId == RectGenerator_FOG_ZEND_UP then - call SaveReal(ConstTable___ht, (((((s__TerrainFog_zEnd_impl))))), (((LoadInteger(ConstTable___ht, (((s__RectEnvironment_fog_impl))), (((GetHandleId(((LoadRectHandle(UserDefinedRects___hashTable, (GetHandleId((GetTriggerUnit()))), (0)))))))))))), (( (((LoadReal(ConstTable___ht, (((((s__TerrainFog_zEnd_impl))))), (((LoadInteger(ConstTable___ht, (((s__RectEnvironment_fog_impl))), (((GetHandleId(((LoadRectHandle(UserDefinedRects___hashTable, (GetHandleId((GetTriggerUnit()))), (0)))))))))))))) + 500.)*1.0))*1.0)) // INLINED!! - call DisplayTextToPlayer(GetOwningPlayer(GetTriggerUnit()), 0, 0, ( "Fog zEnd set to: " + R2S((LoadReal(ConstTable___ht, (((((s__TerrainFog_zEnd_impl))))), (((LoadInteger(ConstTable___ht, (((s__RectEnvironment_fog_impl))), (((GetHandleId(((LoadRectHandle(UserDefinedRects___hashTable, (GetHandleId((GetTriggerUnit()))), (0))))))))))))))) )) // INLINED!! + call SaveReal(ConstTable__ht, (((((s__TerrainFog_zEnd_impl))))), (((LoadInteger(ConstTable__ht, (((s__RectEnvironment_fog_impl))), (((GetHandleId(((LoadRectHandle(UserDefinedRects__hashTable, (GetHandleId((GetTriggerUnit()))), (0)))))))))))), (( (((LoadReal(ConstTable__ht, (((((s__TerrainFog_zEnd_impl))))), (((LoadInteger(ConstTable__ht, (((s__RectEnvironment_fog_impl))), (((GetHandleId(((LoadRectHandle(UserDefinedRects__hashTable, (GetHandleId((GetTriggerUnit()))), (0)))))))))))))) + 500.)*1.0))*1.0)) // INLINED!! + call DisplayTextToPlayer(GetOwningPlayer(GetTriggerUnit()), 0, 0, ( "Fog zEnd set to: " + R2S((LoadReal(ConstTable__ht, (((((s__TerrainFog_zEnd_impl))))), (((LoadInteger(ConstTable__ht, (((s__RectEnvironment_fog_impl))), (((GetHandleId(((LoadRectHandle(UserDefinedRects__hashTable, (GetHandleId((GetTriggerUnit()))), (0))))))))))))))) )) // INLINED!! elseif abilityId == RectGenerator_FOG_ZEND_DOWN then - if (LoadReal(ConstTable___ht, (((((s__TerrainFog_zEnd_impl))))), (((LoadInteger(ConstTable___ht, (((s__RectEnvironment_fog_impl))), (((GetHandleId(((LoadRectHandle(UserDefinedRects___hashTable, (GetHandleId((GetTriggerUnit()))), (0)))))))))))))) >= 1200. then // INLINED!! - call SaveReal(ConstTable___ht, (((((s__TerrainFog_zEnd_impl))))), (((LoadInteger(ConstTable___ht, (((s__RectEnvironment_fog_impl))), (((GetHandleId(((LoadRectHandle(UserDefinedRects___hashTable, (GetHandleId((GetTriggerUnit()))), (0)))))))))))), (( (((LoadReal(ConstTable___ht, (((((s__TerrainFog_zEnd_impl))))), (((LoadInteger(ConstTable___ht, (((s__RectEnvironment_fog_impl))), (((GetHandleId(((LoadRectHandle(UserDefinedRects___hashTable, (GetHandleId((GetTriggerUnit()))), (0)))))))))))))) - 500.)*1.0))*1.0)) // INLINED!! + if (LoadReal(ConstTable__ht, (((((s__TerrainFog_zEnd_impl))))), (((LoadInteger(ConstTable__ht, (((s__RectEnvironment_fog_impl))), (((GetHandleId(((LoadRectHandle(UserDefinedRects__hashTable, (GetHandleId((GetTriggerUnit()))), (0)))))))))))))) >= 1200. then // INLINED!! + call SaveReal(ConstTable__ht, (((((s__TerrainFog_zEnd_impl))))), (((LoadInteger(ConstTable__ht, (((s__RectEnvironment_fog_impl))), (((GetHandleId(((LoadRectHandle(UserDefinedRects__hashTable, (GetHandleId((GetTriggerUnit()))), (0)))))))))))), (( (((LoadReal(ConstTable__ht, (((((s__TerrainFog_zEnd_impl))))), (((LoadInteger(ConstTable__ht, (((s__RectEnvironment_fog_impl))), (((GetHandleId(((LoadRectHandle(UserDefinedRects__hashTable, (GetHandleId((GetTriggerUnit()))), (0)))))))))))))) - 500.)*1.0))*1.0)) // INLINED!! else - call SaveReal(ConstTable___ht, (((((s__TerrainFog_zEnd_impl))))), (((LoadInteger(ConstTable___ht, (((s__RectEnvironment_fog_impl))), (((GetHandleId(((LoadRectHandle(UserDefinedRects___hashTable, (GetHandleId((GetTriggerUnit()))), (0)))))))))))), (( ((0.)*1.0))*1.0)) // INLINED!! + call SaveReal(ConstTable__ht, (((((s__TerrainFog_zEnd_impl))))), (((LoadInteger(ConstTable__ht, (((s__RectEnvironment_fog_impl))), (((GetHandleId(((LoadRectHandle(UserDefinedRects__hashTable, (GetHandleId((GetTriggerUnit()))), (0)))))))))))), (( ((0.)*1.0))*1.0)) // INLINED!! endif - call DisplayTextToPlayer(GetOwningPlayer(GetTriggerUnit()), 0, 0, ( "Fog zEnd set to: " + R2S((LoadReal(ConstTable___ht, (((((s__TerrainFog_zEnd_impl))))), (((LoadInteger(ConstTable___ht, (((s__RectEnvironment_fog_impl))), (((GetHandleId(((LoadRectHandle(UserDefinedRects___hashTable, (GetHandleId((GetTriggerUnit()))), (0))))))))))))))) )) // INLINED!! + call DisplayTextToPlayer(GetOwningPlayer(GetTriggerUnit()), 0, 0, ( "Fog zEnd set to: " + R2S((LoadReal(ConstTable__ht, (((((s__TerrainFog_zEnd_impl))))), (((LoadInteger(ConstTable__ht, (((s__RectEnvironment_fog_impl))), (((GetHandleId(((LoadRectHandle(UserDefinedRects__hashTable, (GetHandleId((GetTriggerUnit()))), (0))))))))))))))) )) // INLINED!! elseif abilityId == RectGenerator_FOG_STYLE_UP then - call SaveInteger(ConstTable___ht, (((((s__TerrainFog_style_impl))))), (((LoadInteger(ConstTable___ht, (((s__RectEnvironment_fog_impl))), (((GetHandleId(((LoadRectHandle(UserDefinedRects___hashTable, (GetHandleId((GetTriggerUnit()))), (0)))))))))))), ( ((LoadInteger(ConstTable___ht, ((s__RectGenerator__FogStyle_linkedListNext_impl)), ((((LoadInteger(ConstTable___ht, (((((s__TerrainFog_style_impl))))), (((LoadInteger(ConstTable___ht, (((s__RectEnvironment_fog_impl))), (((GetHandleId(((LoadRectHandle(UserDefinedRects___hashTable, (GetHandleId((GetTriggerUnit()))), (0)))))))))))))))))))))) // INLINED!! - call DisplayTextToPlayer(GetOwningPlayer(GetTriggerUnit()), 0, 0, "Fog Style set to: " + (LoadStr(ConstTable___ht, ((((s__RectGenerator__FogStyle_strings_impl)))), ((((LoadInteger(ConstTable___ht, (((((s__TerrainFog_style_impl))))), (((LoadInteger(ConstTable___ht, (((s__RectEnvironment_fog_impl))), (((GetHandleId(((LoadRectHandle(UserDefinedRects___hashTable, (GetHandleId((GetTriggerUnit()))), (0)))))))))))))))))))) // INLINED!! + call SaveInteger(ConstTable__ht, (((((s__TerrainFog_style_impl))))), (((LoadInteger(ConstTable__ht, (((s__RectEnvironment_fog_impl))), (((GetHandleId(((LoadRectHandle(UserDefinedRects__hashTable, (GetHandleId((GetTriggerUnit()))), (0)))))))))))), ( ((LoadInteger(ConstTable__ht, ((s__RectGenerator__FogStyle_linkedListNext_impl)), ((((LoadInteger(ConstTable__ht, (((((s__TerrainFog_style_impl))))), (((LoadInteger(ConstTable__ht, (((s__RectEnvironment_fog_impl))), (((GetHandleId(((LoadRectHandle(UserDefinedRects__hashTable, (GetHandleId((GetTriggerUnit()))), (0)))))))))))))))))))))) // INLINED!! + call DisplayTextToPlayer(GetOwningPlayer(GetTriggerUnit()), 0, 0, "Fog Style set to: " + (LoadStr(ConstTable__ht, ((((s__RectGenerator__FogStyle_strings_impl)))), ((((LoadInteger(ConstTable__ht, (((((s__TerrainFog_style_impl))))), (((LoadInteger(ConstTable__ht, (((s__RectEnvironment_fog_impl))), (((GetHandleId(((LoadRectHandle(UserDefinedRects__hashTable, (GetHandleId((GetTriggerUnit()))), (0)))))))))))))))))))) // INLINED!! elseif abilityId == RectGenerator_FOG_STYLE_DOWN then - call SaveInteger(ConstTable___ht, (((((s__TerrainFog_style_impl))))), (((LoadInteger(ConstTable___ht, (((s__RectEnvironment_fog_impl))), (((GetHandleId(((LoadRectHandle(UserDefinedRects___hashTable, (GetHandleId((GetTriggerUnit()))), (0)))))))))))), ( ((LoadInteger(ConstTable___ht, ((s__RectGenerator__FogStyle_linkedListPrev_impl)), ((((LoadInteger(ConstTable___ht, (((((s__TerrainFog_style_impl))))), (((LoadInteger(ConstTable___ht, (((s__RectEnvironment_fog_impl))), (((GetHandleId(((LoadRectHandle(UserDefinedRects___hashTable, (GetHandleId((GetTriggerUnit()))), (0)))))))))))))))))))))) // INLINED!! - call DisplayTextToPlayer(GetOwningPlayer(GetTriggerUnit()), 0, 0, "Fog Style set to: " + (LoadStr(ConstTable___ht, ((((s__RectGenerator__FogStyle_strings_impl)))), ((((LoadInteger(ConstTable___ht, (((((s__TerrainFog_style_impl))))), (((LoadInteger(ConstTable___ht, (((s__RectEnvironment_fog_impl))), (((GetHandleId(((LoadRectHandle(UserDefinedRects___hashTable, (GetHandleId((GetTriggerUnit()))), (0)))))))))))))))))))) // INLINED!! + call SaveInteger(ConstTable__ht, (((((s__TerrainFog_style_impl))))), (((LoadInteger(ConstTable__ht, (((s__RectEnvironment_fog_impl))), (((GetHandleId(((LoadRectHandle(UserDefinedRects__hashTable, (GetHandleId((GetTriggerUnit()))), (0)))))))))))), ( ((LoadInteger(ConstTable__ht, ((s__RectGenerator__FogStyle_linkedListPrev_impl)), ((((LoadInteger(ConstTable__ht, (((((s__TerrainFog_style_impl))))), (((LoadInteger(ConstTable__ht, (((s__RectEnvironment_fog_impl))), (((GetHandleId(((LoadRectHandle(UserDefinedRects__hashTable, (GetHandleId((GetTriggerUnit()))), (0)))))))))))))))))))))) // INLINED!! + call DisplayTextToPlayer(GetOwningPlayer(GetTriggerUnit()), 0, 0, "Fog Style set to: " + (LoadStr(ConstTable__ht, ((((s__RectGenerator__FogStyle_strings_impl)))), ((((LoadInteger(ConstTable__ht, (((((s__TerrainFog_style_impl))))), (((LoadInteger(ConstTable__ht, (((s__RectEnvironment_fog_impl))), (((GetHandleId(((LoadRectHandle(UserDefinedRects__hashTable, (GetHandleId((GetTriggerUnit()))), (0)))))))))))))))))))) // INLINED!! endif @@ -14476,8 +14476,8 @@ function RectGenerator__onCast takes nothing returns boolean call SetUnitY(GetTriggerUnit(), GetUnitY(GetTriggerUnit()) - 32) endif - if CountUnitsInGroup((LoadGroupHandle(UserDefinedRects___hashTable, (GetHandleId((GetTriggerUnit()))), (6)))) <= RectGenerator__MAXIMUM_MOVE_LIMIT then // INLINED!! - call ForGroup((LoadGroupHandle(UserDefinedRects___hashTable, (GetHandleId((GetTriggerUnit()))), (6))), function RectGenerator__GroupLoopTerrain) // INLINED!! + if CountUnitsInGroup((LoadGroupHandle(UserDefinedRects__hashTable, (GetHandleId((GetTriggerUnit()))), (6)))) <= RectGenerator__MAXIMUM_MOVE_LIMIT then // INLINED!! + call ForGroup((LoadGroupHandle(UserDefinedRects__hashTable, (GetHandleId((GetTriggerUnit()))), (6))), function RectGenerator__GroupLoopTerrain) // INLINED!! call SetUnitPosition(GetTriggerUnit(), GetTileCenterCoordinate(GetSpellTargetX()), GetTileCenterCoordinate(GetSpellTargetY())) call MoveGUDR(GetTriggerUnit() , 0 , 0 , true) else @@ -14555,21 +14555,21 @@ function RectGenerator__onInit takes nothing returns nothing - call SaveStr(ConstTable___ht, ((((s__RectGenerator__FogStyle_strings_impl)))), (((s__TerrainFog_LINEAR))), ( ("Linear"))) // INLINED!! - call SaveStr(ConstTable___ht, ((((s__RectGenerator__FogStyle_strings_impl)))), (((s__TerrainFog_EXPONENTIAL))), ( ("Exponential 1"))) // INLINED!! - call SaveStr(ConstTable___ht, ((((s__RectGenerator__FogStyle_strings_impl)))), (((s__TerrainFog_EXPONENTIAL2))), ( ("Exponential 2"))) // INLINED!! + call SaveStr(ConstTable__ht, ((((s__RectGenerator__FogStyle_strings_impl)))), (((s__TerrainFog_LINEAR))), ( ("Linear"))) // INLINED!! + call SaveStr(ConstTable__ht, ((((s__RectGenerator__FogStyle_strings_impl)))), (((s__TerrainFog_EXPONENTIAL))), ( ("Exponential 1"))) // INLINED!! + call SaveStr(ConstTable__ht, ((((s__RectGenerator__FogStyle_strings_impl)))), (((s__TerrainFog_EXPONENTIAL2))), ( ("Exponential 2"))) // INLINED!! //textmacro instance: udrAddon_LinkStyles("TerrainFog.LINEAR", "TerrainFog.EXPONENTIAL") - call SaveInteger(ConstTable___ht, ((s__RectGenerator__FogStyle_linkedListNext_impl)), (((s__TerrainFog_LINEAR))), ( (s__TerrainFog_EXPONENTIAL))) // INLINED!! - call SaveInteger(ConstTable___ht, ((s__RectGenerator__FogStyle_linkedListPrev_impl)), (((s__TerrainFog_EXPONENTIAL))), ( (s__TerrainFog_LINEAR))) // INLINED!! + call SaveInteger(ConstTable__ht, ((s__RectGenerator__FogStyle_linkedListNext_impl)), (((s__TerrainFog_LINEAR))), ( (s__TerrainFog_EXPONENTIAL))) // INLINED!! + call SaveInteger(ConstTable__ht, ((s__RectGenerator__FogStyle_linkedListPrev_impl)), (((s__TerrainFog_EXPONENTIAL))), ( (s__TerrainFog_LINEAR))) // INLINED!! //end of: udrAddon_LinkStyles("TerrainFog.LINEAR", "TerrainFog.EXPONENTIAL") //textmacro instance: udrAddon_LinkStyles("TerrainFog.EXPONENTIAL", "TerrainFog.EXPONENTIAL2") - call SaveInteger(ConstTable___ht, ((s__RectGenerator__FogStyle_linkedListNext_impl)), (((s__TerrainFog_EXPONENTIAL))), ( (s__TerrainFog_EXPONENTIAL2))) // INLINED!! - call SaveInteger(ConstTable___ht, ((s__RectGenerator__FogStyle_linkedListPrev_impl)), (((s__TerrainFog_EXPONENTIAL2))), ( (s__TerrainFog_EXPONENTIAL))) // INLINED!! + call SaveInteger(ConstTable__ht, ((s__RectGenerator__FogStyle_linkedListNext_impl)), (((s__TerrainFog_EXPONENTIAL))), ( (s__TerrainFog_EXPONENTIAL2))) // INLINED!! + call SaveInteger(ConstTable__ht, ((s__RectGenerator__FogStyle_linkedListPrev_impl)), (((s__TerrainFog_EXPONENTIAL2))), ( (s__TerrainFog_EXPONENTIAL))) // INLINED!! //end of: udrAddon_LinkStyles("TerrainFog.EXPONENTIAL", "TerrainFog.EXPONENTIAL2") //textmacro instance: udrAddon_LinkStyles("TerrainFog.EXPONENTIAL2", "TerrainFog.LINEAR") - call SaveInteger(ConstTable___ht, ((s__RectGenerator__FogStyle_linkedListNext_impl)), (((s__TerrainFog_EXPONENTIAL2))), ( (s__TerrainFog_LINEAR))) // INLINED!! - call SaveInteger(ConstTable___ht, ((s__RectGenerator__FogStyle_linkedListPrev_impl)), (((s__TerrainFog_LINEAR))), ( (s__TerrainFog_EXPONENTIAL2))) // INLINED!! + call SaveInteger(ConstTable__ht, ((s__RectGenerator__FogStyle_linkedListNext_impl)), (((s__TerrainFog_EXPONENTIAL2))), ( (s__TerrainFog_LINEAR))) // INLINED!! + call SaveInteger(ConstTable__ht, ((s__RectGenerator__FogStyle_linkedListPrev_impl)), (((s__TerrainFog_LINEAR))), ( (s__TerrainFog_EXPONENTIAL2))) // INLINED!! //end of: udrAddon_LinkStyles("TerrainFog.EXPONENTIAL2", "TerrainFog.LINEAR") @@ -16235,7 +16235,7 @@ endfunction //textmacro instance: TableStruct_NewHandleField("unit","unit") function s__UnitVisualMods__TimerData__get_unit takes integer this returns unit - return (LoadUnitHandle(ConstTable___ht, (((((s__UnitVisualMods__TimerData_unit_impl))))), (this))) // INLINED!! + return (LoadUnitHandle(ConstTable__ht, (((((s__UnitVisualMods__TimerData_unit_impl))))), (this))) // INLINED!! endfunction function s__UnitVisualMods__TimerData__set_unit takes integer this,unit new_unit returns nothing @@ -16243,11 +16243,11 @@ endfunction endfunction function s__UnitVisualMods__TimerData_unitClear takes integer this returns nothing - call RemoveSavedHandle(ConstTable___ht, (((((s__UnitVisualMods__TimerData_unit_impl))))), (this)) // INLINED!! + call RemoveSavedHandle(ConstTable__ht, (((((s__UnitVisualMods__TimerData_unit_impl))))), (this)) // INLINED!! endfunction function s__UnitVisualMods__TimerData_unitExists takes integer this returns boolean - return (HaveSavedHandle(ConstTable___ht, (((((s__UnitVisualMods__TimerData_unit_impl))))), (this))) // INLINED!! + return (HaveSavedHandle(ConstTable__ht, (((((s__UnitVisualMods__TimerData_unit_impl))))), (this))) // INLINED!! endfunction //end of: TableStruct_NewHandleField("unit","unit") @@ -16256,7 +16256,7 @@ endfunction endfunction function s__UnitVisualMods__TimerData_destroy takes integer this returns nothing - call RemoveSavedHandle(ConstTable___ht, (((((s__UnitVisualMods__TimerData_unit_impl))))), ((this))) // INLINED!! + call RemoveSavedHandle(ConstTable__ht, (((((s__UnitVisualMods__TimerData_unit_impl))))), ((this))) // INLINED!! endfunction @@ -16268,7 +16268,7 @@ endfunction function UnitVisualMods__onTimer3 takes nothing returns nothing local timer t= GetExpiredTimer() local integer tData= (GetHandleId((t))) // INLINED!! - local unit u= (LoadUnitHandle(ConstTable___ht, (((((s__UnitVisualMods__TimerData_unit_impl))))), ((tData)))) // INLINED!! + local unit u= (LoadUnitHandle(ConstTable__ht, (((((s__UnitVisualMods__TimerData_unit_impl))))), ((tData)))) // INLINED!! call UnitRemoveAbility(u, 'DEDF') @@ -16277,7 +16277,7 @@ function UnitVisualMods__onTimer3 takes nothing returns nothing call PauseTimer(t) call DestroyTimer(t) - call RemoveSavedHandle(ConstTable___ht, (((((s__UnitVisualMods__TimerData_unit_impl))))), (((tData)))) // INLINED!! + call RemoveSavedHandle(ConstTable__ht, (((((s__UnitVisualMods__TimerData_unit_impl))))), (((tData)))) // INLINED!! set t=null set u=null @@ -16296,7 +16296,7 @@ endfunction function UnitVisualMods__onTimer2 takes nothing returns nothing local timer t= GetExpiredTimer() - local unit u= (LoadUnitHandle(ConstTable___ht, (((((s__UnitVisualMods__TimerData_unit_impl))))), (((GetHandleId((t))))))) // INLINED!! + local unit u= (LoadUnitHandle(ConstTable__ht, (((((s__UnitVisualMods__TimerData_unit_impl))))), (((GetHandleId((t))))))) // INLINED!! // Here, we make sure that units below the building don't stop it from instantly rooting (they have to move away first) call GroupEnumUnitsInRange(ENUM_GROUP, GetUnitX(u), GetUnitY(u), 1000., Filter(function UnitVisualMods__FilterHide)) @@ -16553,8 +16553,8 @@ endfunction //textmacro instance: TableStruct_NewConstTableField("","destructablesTab") - constant function s__LoPWidgets___Globals__get_destructablesTab takes nothing returns integer - return s__LoPWidgets___Globals_destructablesTab_impl + constant function s__LoPWidgets__Globals__get_destructablesTab takes nothing returns integer + return s__LoPWidgets__Globals_destructablesTab_impl endfunction @@ -16570,33 +16570,33 @@ endfunction //textmacro instance: TableStruct_NewPrimitiveField("isHeroic","boolean") function s__LoP_UnitData__get_isHeroic takes integer this returns boolean - return (LoadBoolean(ConstTable___ht, (((((s__LoP_UnitData_isHeroic_impl))))), (this))) // INLINED!! + return (LoadBoolean(ConstTable__ht, (((((s__LoP_UnitData_isHeroic_impl))))), (this))) // INLINED!! endfunction function s__LoP_UnitData__set_isHeroic takes integer this,boolean new_isHeroic returns nothing - call SaveBoolean(ConstTable___ht, (((((s__LoP_UnitData_isHeroic_impl))))), (this), ( new_isHeroic)) // INLINED!! + call SaveBoolean(ConstTable__ht, (((((s__LoP_UnitData_isHeroic_impl))))), (this), ( new_isHeroic)) // INLINED!! endfunction function s__LoP_UnitData_isHeroicClear takes integer this returns nothing - call RemoveSavedBoolean(ConstTable___ht, (((((s__LoP_UnitData_isHeroic_impl))))), (this)) // INLINED!! + call RemoveSavedBoolean(ConstTable__ht, (((((s__LoP_UnitData_isHeroic_impl))))), (this)) // INLINED!! endfunction function s__LoP_UnitData_isHeroicExists takes integer this returns boolean - return (HaveSavedBoolean(ConstTable___ht, (((((s__LoP_UnitData_isHeroic_impl))))), (this))) // INLINED!! + return (HaveSavedBoolean(ConstTable__ht, (((((s__LoP_UnitData_isHeroic_impl))))), (this))) // INLINED!! endfunction //end of: TableStruct_NewPrimitiveField("isHeroic","boolean") function s__LoP_UnitData_destroy takes integer this returns nothing - call RemoveSavedBoolean(ConstTable___ht, (((((s__LoP_UnitData_isHeroic_impl))))), ((this))) // INLINED!! + call RemoveSavedBoolean(ConstTable__ht, (((((s__LoP_UnitData_isHeroic_impl))))), ((this))) // INLINED!! endfunction // Destructables function LoP_IsDestructableProtected takes destructable dest returns boolean - return (HaveSavedBoolean(ConstTable___ht, ((((s__LoPWidgets___Globals_destructablesTab_impl)))), (GetHandleId(dest)))) // INLINED!! + return (HaveSavedBoolean(ConstTable__ht, ((((s__LoPWidgets__Globals_destructablesTab_impl)))), (GetHandleId(dest)))) // INLINED!! endfunction function LoP_ProtectDestructable takes destructable dest returns nothing - call SaveBoolean(ConstTable___ht, ((((s__LoPWidgets___Globals_destructablesTab_impl)))), (GetHandleId(dest)), ( true)) // INLINED!! + call SaveBoolean(ConstTable__ht, ((((s__LoPWidgets__Globals_destructablesTab_impl)))), (GetHandleId(dest)), ( true)) // INLINED!! endfunction // Units @@ -16648,7 +16648,7 @@ function LoP_onDeath takes unit whichUnit returns nothing if ( ((GetOwningPlayer(whichUnit)) != Player(PLAYER_NEUTRAL_PASSIVE)) and (not IsUnitType((whichUnit), UNIT_TYPE_STRUCTURE)) ) then // INLINED!! call Limit_UnregisterUnitEx((whichUnit) , null) // INLINED!! endif - if (LoadBoolean(ConstTable___ht, (((((s__LoP_UnitData_isHeroic_impl))))), (((GetHandleId((whichUnit))))))) then // INLINED!! + if (LoadBoolean(ConstTable__ht, (((((s__LoP_UnitData_isHeroic_impl))))), (((GetHandleId((whichUnit))))))) then // INLINED!! call DisableTrigger(gg_trg_System_Cleanup_Owner_Change) call SetUnitOwner(whichUnit, Player(bj_PLAYER_NEUTRAL_EXTRA), false) call EnableTrigger(gg_trg_System_Cleanup_Owner_Change) @@ -16679,7 +16679,7 @@ endfunction //textmacro instance: TableStruct_NewStaticHandleField("dummy","unit") function s__LoPHeroicUnit_Globals__get_dummy takes nothing returns unit - return (LoadUnitHandle(ConstTable___ht, (((((s__LoPHeroicUnit_Globals_static_members_key))))), (s__LoPHeroicUnit_Globals_dummy_impl))) // INLINED!! + return (LoadUnitHandle(ConstTable__ht, (((((s__LoPHeroicUnit_Globals_static_members_key))))), (s__LoPHeroicUnit_Globals_dummy_impl))) // INLINED!! endfunction function s__LoPHeroicUnit_Globals__set_dummy takes unit new_dummy returns nothing @@ -16687,11 +16687,11 @@ endfunction endfunction function s__LoPHeroicUnit_Globals_dummyClear takes nothing returns nothing - call RemoveSavedHandle(ConstTable___ht, (((((s__LoPHeroicUnit_Globals_static_members_key))))), (s__LoPHeroicUnit_Globals_dummy_impl)) // INLINED!! + call RemoveSavedHandle(ConstTable__ht, (((((s__LoPHeroicUnit_Globals_static_members_key))))), (s__LoPHeroicUnit_Globals_dummy_impl)) // INLINED!! endfunction function s__LoPHeroicUnit_Globals_dummyExists takes nothing returns boolean - return (HaveSavedHandle(ConstTable___ht, (((((s__LoPHeroicUnit_Globals_static_members_key))))), (s__LoPHeroicUnit_Globals_dummy_impl))) // INLINED!! + return (HaveSavedHandle(ConstTable__ht, (((((s__LoPHeroicUnit_Globals_static_members_key))))), (s__LoPHeroicUnit_Globals_dummy_impl))) // INLINED!! endfunction //end of: TableStruct_NewStaticHandleField("dummy","unit") @@ -16743,8 +16743,8 @@ endfunction function RefreshHeroIcons takes player whichPlayer returns nothing // Refresh hero icons on the left side of the screen call DisableTrigger(gg_trg_System_Cleanup_Owner_Change) - call SetUnitOwner((LoadUnitHandle(ConstTable___ht, (((((s__LoPHeroicUnit_Globals_static_members_key))))), (s__LoPHeroicUnit_Globals_dummy_impl))), whichPlayer, false) // INLINED!! - call SetUnitOwner((LoadUnitHandle(ConstTable___ht, (((((s__LoPHeroicUnit_Globals_static_members_key))))), (s__LoPHeroicUnit_Globals_dummy_impl))), Player(bj_PLAYER_NEUTRAL_EXTRA), false) // INLINED!! + call SetUnitOwner((LoadUnitHandle(ConstTable__ht, (((((s__LoPHeroicUnit_Globals_static_members_key))))), (s__LoPHeroicUnit_Globals_dummy_impl))), whichPlayer, false) // INLINED!! + call SetUnitOwner((LoadUnitHandle(ConstTable__ht, (((((s__LoPHeroicUnit_Globals_static_members_key))))), (s__LoPHeroicUnit_Globals_dummy_impl))), Player(bj_PLAYER_NEUTRAL_EXTRA), false) // INLINED!! call EnableTrigger(gg_trg_System_Cleanup_Owner_Change) endfunction @@ -16832,13 +16832,13 @@ function LoP_onRemoval takes unit whichUnit returns nothing endif - if (LoadBoolean(ConstTable___ht, (((((s__LoP_UnitData_isHeroic_impl))))), (((GetHandleId((whichUnit))))))) then // INLINED!! + if (LoadBoolean(ConstTable__ht, (((((s__LoP_UnitData_isHeroic_impl))))), (((GetHandleId((whichUnit))))))) then // INLINED!! call DisableTrigger(gg_trg_System_Cleanup_Owner_Change) call SetUnitOwner(whichUnit, Player(bj_PLAYER_NEUTRAL_EXTRA), false) call EnableTrigger(gg_trg_System_Cleanup_Owner_Change) endif - call RemoveSavedBoolean(ConstTable___ht, (((((s__LoP_UnitData_isHeroic_impl))))), ((((GetHandleId((whichUnit))))))) // INLINED!! + call RemoveSavedBoolean(ConstTable__ht, (((((s__LoP_UnitData_isHeroic_impl))))), ((((GetHandleId((whichUnit))))))) // INLINED!! endif endfunction @@ -16906,11 +16906,11 @@ endfunction function Save_GetGUDRSaveString takes integer generatorId returns string - local rect userRect= (LoadRectHandle(UserDefinedRects___hashTable, (generatorId), (0))) // INLINED!! + local rect userRect= (LoadRectHandle(UserDefinedRects__hashTable, (generatorId), (0))) // INLINED!! local real length= GetRectMaxX(userRect) - GetRectCenterX(userRect) local real height= GetRectMaxY(userRect) - GetRectCenterY(userRect) - local integer weatherType= (LoadInteger(UserDefinedRects___hashTable, (generatorId), (8))) // INLINED!! + local integer weatherType= (LoadInteger(UserDefinedRects__hashTable, (generatorId), (8))) // INLINED!! local boolean hidden return R2S(length) + "=" + R2S(height) + "=" + I2S(weatherType) + "=" @@ -17256,31 +17256,31 @@ endfunction //library Mimic: -function Mimic__MAX_INVENTORY takes nothing returns integer +function Mimic___MAX_INVENTORY takes nothing returns integer return bj_MAX_INVENTORY endfunction //textmacro instance: TableStruct_NewHandleField("original","unit") - function s__Mimic__UnitData__get_original takes integer this returns unit - return (LoadUnitHandle(ConstTable___ht, (((((s__Mimic__UnitData_original_impl))))), (this))) // INLINED!! + function s__Mimic___UnitData__get_original takes integer this returns unit + return (LoadUnitHandle(ConstTable__ht, (((((s__Mimic___UnitData_original_impl))))), (this))) // INLINED!! endfunction - function s__Mimic__UnitData__set_original takes integer this,unit new_original returns nothing - call s__TableStruct_setHandle(s__Mimic__UnitData_original_impl , this , new_original) + function s__Mimic___UnitData__set_original takes integer this,unit new_original returns nothing + call s__TableStruct_setHandle(s__Mimic___UnitData_original_impl , this , new_original) endfunction - function s__Mimic__UnitData_originalClear takes integer this returns nothing - call RemoveSavedHandle(ConstTable___ht, (((((s__Mimic__UnitData_original_impl))))), (this)) // INLINED!! + function s__Mimic___UnitData_originalClear takes integer this returns nothing + call RemoveSavedHandle(ConstTable__ht, (((((s__Mimic___UnitData_original_impl))))), (this)) // INLINED!! endfunction - function s__Mimic__UnitData_originalExists takes integer this returns boolean - return (HaveSavedHandle(ConstTable___ht, (((((s__Mimic__UnitData_original_impl))))), (this))) // INLINED!! + function s__Mimic___UnitData_originalExists takes integer this returns boolean + return (HaveSavedHandle(ConstTable__ht, (((((s__Mimic___UnitData_original_impl))))), (this))) // INLINED!! endfunction //end of: TableStruct_NewHandleField("original","unit") - function s__Mimic__UnitData_destroy takes integer this returns nothing - call RemoveSavedHandle(ConstTable___ht, (((((s__Mimic__UnitData_original_impl))))), ((this))) // INLINED!! + function s__Mimic___UnitData_destroy takes integer this returns nothing + call RemoveSavedHandle(ConstTable__ht, (((((s__Mimic___UnitData_original_impl))))), ((this))) // INLINED!! endfunction function HeroTransferInventory takes unit source,unit target returns nothing @@ -17300,10 +17300,10 @@ function HeroTransferInventory takes unit source,unit target returns nothing endfunction function RemoveUnitMimic takes unit mimic returns nothing - local unit original= (LoadUnitHandle(ConstTable___ht, (((((s__Mimic__UnitData_original_impl))))), (((GetHandleId(mimic)))))) // INLINED!! + local unit original= (LoadUnitHandle(ConstTable__ht, (((((s__Mimic___UnitData_original_impl))))), (((GetHandleId(mimic)))))) // INLINED!! if original != null then - call RemoveSavedHandle(ConstTable___ht, (((((s__Mimic__UnitData_original_impl))))), ((((GetHandleId(mimic)))))) // INLINED!! + call RemoveSavedHandle(ConstTable__ht, (((((s__Mimic___UnitData_original_impl))))), ((((GetHandleId(mimic)))))) // INLINED!! if UnitAlive(mimic) then call KillUnit(mimic) endif @@ -17329,18 +17329,18 @@ function RemoveUnitMimic takes unit mimic returns nothing endif endfunction -function Mimic__OnRemove takes nothing returns boolean - local unit original= (LoadUnitHandle(ConstTable___ht, (((((s__Mimic__UnitData_original_impl))))), (((GetHandleId((s__Args_getUnit((0))))))))) // INLINED!! +function Mimic___OnRemove takes nothing returns boolean + local unit original= (LoadUnitHandle(ConstTable__ht, (((((s__Mimic___UnitData_original_impl))))), (((GetHandleId((s__Args_getUnit((0))))))))) // INLINED!! call RemoveUnitMimic((s__Args_getUnit((0)))) // INLINED!! call RemoveUnit(original) set original=null return false endfunction -function Mimic__OnDeath takes nothing returns boolean +function Mimic___OnDeath takes nothing returns boolean call RemoveUnitMimic((s__Args_getUnit((0)))) // INLINED!! - call s__BoolExprEvaluator_deregister(s__UnitEvents__get_onRemove((GetHandleId(((s__Args_getUnit((0))))))),Condition(function Mimic__OnDeath)) // INLINED!! - call s__BoolExprEvaluator_deregister(s__UnitEvents__get_onRemove((GetHandleId(((s__Args_getUnit((0))))))),Condition(function Mimic__OnRemove)) // INLINED!! + call s__BoolExprEvaluator_deregister(s__UnitEvents__get_onRemove((GetHandleId(((s__Args_getUnit((0))))))),Condition(function Mimic___OnDeath)) // INLINED!! + call s__BoolExprEvaluator_deregister(s__UnitEvents__get_onRemove((GetHandleId(((s__Args_getUnit((0))))))),Condition(function Mimic___OnRemove)) // INLINED!! return false endfunction @@ -17356,13 +17356,13 @@ function CreateUnitMimic takes unit whichUnit,unit target returns nothing set mimicId=GetHandleId(mimic) if IsUnitType(mimic, UNIT_TYPE_HERO) or UnitMakeHeroic(mimic) then - if (LoadUnitHandle(ConstTable___ht, (((((s__Mimic__UnitData_original_impl))))), (((GetHandleId(whichUnit)))))) != null then // INLINED!! - set original=(LoadUnitHandle(ConstTable___ht, (((((s__Mimic__UnitData_original_impl))))), (((GetHandleId(whichUnit)))))) // INLINED!! + if (LoadUnitHandle(ConstTable__ht, (((((s__Mimic___UnitData_original_impl))))), (((GetHandleId(whichUnit)))))) != null then // INLINED!! + set original=(LoadUnitHandle(ConstTable__ht, (((((s__Mimic___UnitData_original_impl))))), (((GetHandleId(whichUnit)))))) // INLINED!! call HeroTransferInventory(whichUnit , mimic) - call s__BoolExprEvaluator_deregister(s__UnitEvents__get_onRemove((GetHandleId((whichUnit)))),Condition(function Mimic__OnRemove)) // INLINED!! - call RemoveSavedHandle(ConstTable___ht, (((((s__Mimic__UnitData_original_impl))))), ((((GetHandleId(whichUnit)))))) // INLINED!! + call s__BoolExprEvaluator_deregister(s__UnitEvents__get_onRemove((GetHandleId((whichUnit)))),Condition(function Mimic___OnRemove)) // INLINED!! + call RemoveSavedHandle(ConstTable__ht, (((((s__Mimic___UnitData_original_impl))))), ((((GetHandleId(whichUnit)))))) // INLINED!! call KillUnit(whichUnit) else set original=whichUnit @@ -17371,7 +17371,7 @@ function CreateUnitMimic takes unit whichUnit,unit target returns nothing call SetUnitOwner(original, Player(bj_PLAYER_NEUTRAL_EXTRA), false) endif - call s__TableStruct_setHandle(s__Mimic__UnitData_original_impl , ((mimicId)) , (original)) // INLINED!! + call s__TableStruct_setHandle(s__Mimic___UnitData_original_impl , ((mimicId)) , (original)) // INLINED!! call BlzSetUnitBaseDamage(mimic, BlzGetUnitBaseDamage(original, 1), 1) call BlzSetUnitBaseDamage(mimic, BlzGetUnitBaseDamage(original, 2), 2) @@ -17386,12 +17386,12 @@ function CreateUnitMimic takes unit whichUnit,unit target returns nothing call GUMSCopyValues(target , mimic) call DestroyEffect(AddSpecialEffect("Abilities\\Spells\\Orc\\FeralSpirit\\feralspirittarget.mdl", GetUnitX(mimic), GetUnitY(mimic))) - call s__BoolExprEvaluator_register(s__UnitEvents__get_onDeath((mimicId)),Condition(function Mimic__OnDeath)) - call s__BoolExprEvaluator_register(s__UnitEvents__get_onRemove((mimicId)),Condition(function Mimic__OnRemove)) - call SaveBoolean(ConstTable___ht, (((((s__UnitEvents_removeOnDeath_impl))))), ((((mimicId)))), ( (true))) // INLINED!! + call s__BoolExprEvaluator_register(s__UnitEvents__get_onDeath((mimicId)),Condition(function Mimic___OnDeath)) + call s__BoolExprEvaluator_register(s__UnitEvents__get_onRemove((mimicId)),Condition(function Mimic___OnRemove)) + call SaveBoolean(ConstTable__ht, (((((s__UnitEvents_removeOnDeath_impl))))), ((((mimicId)))), ( (true))) // INLINED!! if not IsUnitType(mimic, UNIT_TYPE_HERO) then call RefreshHeroIcons(GetOwningPlayer(mimic)) - call SaveBoolean(ConstTable___ht, (((((s__LoP_UnitData_isHeroic_impl))))), (((GetHandleId((mimic))))), ( (true))) // INLINED!! + call SaveBoolean(ConstTable__ht, (((((s__LoP_UnitData_isHeroic_impl))))), (((GetHandleId((mimic))))), ( (true))) // INLINED!! endif else call RemoveUnit(mimic) @@ -17417,11 +17417,11 @@ endfunction function Save_SaveUnitPatrolPoints takes integer unitHandleId returns nothing local integer i= 1 - local integer totalPoints= (LoadInteger(MultiPatrol___data, - (unitHandleId), (9997))) // INLINED!! + local integer totalPoints= (LoadInteger(MultiPatrol__data, - (unitHandleId), (9997))) // INLINED!! loop exitwhen i > totalPoints - call Preload("=p " + R2S((((LoadReal(MultiPatrol___data, (unitHandleId ), ( i))) )*1.0)) + "=" + R2S((( (LoadReal(MultiPatrol___data, (unitHandleId ), - ( i))))*1.0))) // INLINED!! + call Preload("=p " + R2S((((LoadReal(MultiPatrol__data, (unitHandleId ), ( i))) )*1.0)) + "=" + R2S((( (LoadReal(MultiPatrol__data, (unitHandleId ), - ( i))))*1.0))) // INLINED!! set i=i + 1 endloop endfunction @@ -17458,7 +17458,7 @@ function SaveForceLoop takes nothing returns boolean if (HaveSavedString(UnitVisualMods__hashTable, (unitHandleId), UnitVisualMods__NAME)) then // INLINED!! call Preload("=n " + GUMSGetUnitName(saveUnit)) endif - if (HaveSavedHandle(UserDefinedRects___hashTable, (unitHandleId), (0))) then // INLINED!! + if (HaveSavedHandle(UserDefinedRects__hashTable, (unitHandleId), (0))) then // INLINED!! call Preload(Save_GetGUDRSaveString(unitHandleId)) endif if (GetUnitAbilityLevel((saveUnit), 'Awrp') > 0) then // INLINED!! @@ -17468,7 +17468,7 @@ function SaveForceLoop takes nothing returns boolean call Preload("=w " + R2S(WaygateGetDestinationX(saveUnit)) + "=" + R2S(WaygateGetDestinationY(saveUnit)) + "=F=") endif endif - if ((LoadInteger(MultiPatrol___data, - ((unitHandleId)), (9996))) != 0) then // INLINED!! + if ((LoadInteger(MultiPatrol__data, - ((unitHandleId)), (9996))) != 0) then // INLINED!! call Save_SaveUnitPatrolPoints(unitHandleId) endif endif @@ -17541,7 +17541,7 @@ endfunction // // Warcraft III map script // Generated by the Warcraft III World Editor -// Date: Fri May 31 16:48:03 2019 +// Date: Fri May 31 17:19:26 2019 // Map Author: Guhun // //=========================================================================== @@ -19638,7 +19638,8 @@ function Trig_Init_Main_Actions takes nothing returns nothing call UnitAddItemByIdSwapped('I00D', gg_unit_H00V_0359) set bj_wantDestroyGroup=true call ForGroupBJ(GetUnitsOfPlayerMatching(Player(0), Condition(function Trig_Init_Main_Func035001002)), function Trig_Init_Main_Func035A) - call DisplayTextToForce(GetPlayersAll(), "TRIGSTR_002") + call DisplayTextToForce(GetPlayersAll(), "Map Initialization was Successful! Welcome to the Land of Plenty! +Check out F9 for new commands or if you never played Titan Land before.") endfunction //=========================================================================== @@ -19665,7 +19666,7 @@ function Trig_Init_0_seconds_Func092A takes nothing returns nothing endfunction function Trig_Init_0_seconds_Func096A takes nothing returns nothing - call SaveBoolean(ConstTable___ht, ((((s__LoPWidgets___Globals_destructablesTab_impl)))), (GetHandleId((GetEnumDestructable()))), ( true)) // INLINED!! + call SaveBoolean(ConstTable__ht, ((((s__LoPWidgets__Globals_destructablesTab_impl)))), (GetHandleId((GetEnumDestructable()))), ( true)) // INLINED!! endfunction function Trig_Init_0_seconds_Actions takes nothing returns nothing @@ -19675,10 +19676,27 @@ function Trig_Init_0_seconds_Actions takes nothing returns nothing // --------------- // Create Quests // --------------- - call CreateQuestBJ(bj_QUESTTYPE_REQ_DISCOVERED, "TRIGSTR_003", "TRIGSTR_001", "ReplaceableTextures\\CommandButtons\\BTNAmbush.blp") + call CreateQuestBJ(bj_QUESTTYPE_REQ_DISCOVERED, "First Person Camera", "This map employs Guhun's First Person Camera system, for a more immersive experience! + +To enter first person perspective, select a unit and then double-click the |c00ffff00Esc|r key. You will see a help message when you do this the first time. + +Commands: +|c00ffff00-first person|r and |c00ffff00-third person|r: Alternatives to double-clicking |c00ffff00Esc.|r +|c00ffff00-fixed camera|r and |c00ffff00-free camera|r: Alternatives to clicking |c00ffff00Esc|r while in first person. +|c00ffff00-help camera|r: Displays help text for the system.", "ReplaceableTextures\\CommandButtons\\BTNAmbush.blp") call InitQuests() - call CreateQuestBJ(bj_QUESTTYPE_OPT_DISCOVERED, "TRIGSTR_004", "TRIGSTR_005", "ReplaceableTextures\\CommandButtons\\BTNSpellBookBLS.blp") - call CreateQuestBJ(bj_QUESTTYPE_OPT_DISCOVERED, "TRIGSTR_006", "TRIGSTR_007", "ReplaceableTextures\\CommandButtons\\BTNSnazzyScroll.blp") + call CreateQuestBJ(bj_QUESTTYPE_OPT_DISCOVERED, "Changelog +", "Version 1.0.0 Features: +-Custom Races: +Humans,Orcs,Undead,Fleshless,Night Elves, Elves, Ogres, Bandits, Pirates, Murlocs, Naga +-Save/Load System +-Expanded terrain and a few tweaks to original +-New decos", "ReplaceableTextures\\CommandButtons\\BTNSpellBookBLS.blp") + call CreateQuestBJ(bj_QUESTTYPE_OPT_DISCOVERED, "Contact Me", "I'm mostly working on this project alone, so I would appreciate any help you can give me, any suggestions or any bug reports (please don't report buggy tooltips/icons yet) + +songuhun@hotmail.com +You can find me on The Hive Wokrshop: _Guhun_ +And discord: SonGuhun#4510", "ReplaceableTextures\\CommandButtons\\BTNSnazzyScroll.blp") // --------------- // --------------- // SCROLL SYSTEM SET ARRAYS @@ -19837,7 +19855,11 @@ function Trig_Init_Create_Events_Func004A takes nothing returns nothing call TriggerRegisterPlayerChatEvent(gg_trg_Commands_Real_Name, l__udg_temp_player, "-real ", false) // Systems call TriggerRegisterPlayerEventLeave(gg_trg_System_Detect_Leaver, l__udg_temp_player) - call DisplayTextToForce(udg_FORCES_PLAYER[( GetConvertedPlayerId(l__udg_temp_player) - 1 )], "TRIGSTR_008") + call DisplayTextToForce(udg_FORCES_PLAYER[( GetConvertedPlayerId(l__udg_temp_player) - 1 )], "Events Created Successfully. +------ +To get a race selector: |cffffff00-start|r +To get deco builders: |cffffff00-decos|r +To select unit/terrain/tree modification deco: |cffffff00-seln special|r") endif endfunction @@ -20143,11 +20165,11 @@ endfunction // scope LoPItemCleanup begins // The timer will remove dead items from the game every few seconds. Set the value below to determine that period. -constant function LoPItemCleanup___CleaningPeriod takes nothing returns real +constant function LoPItemCleanup__CleaningPeriod takes nothing returns real return 15.00 endfunction -function LoPItemCleanup___DestroyDeadItems takes nothing returns nothing +function LoPItemCleanup__DestroyDeadItems takes nothing returns nothing local timer t= GetExpiredTimer() local integer tKey= (GetHandleId((t))) // INLINED!! local integer aKey= (GetHandleId(((LoadTriggerHandle(ArrayAgent_hashTable, (tKey ), ( 0)))))) // INLINED!! @@ -20172,7 +20194,7 @@ function LoPItemCleanup___DestroyDeadItems takes nothing returns nothing set my_Item=null endfunction -function LoPItemCleanup___ForItem takes nothing returns nothing +function LoPItemCleanup__ForItem takes nothing returns nothing local integer aKey local integer size if GetWidgetLife(GetEnumItem()) == 0 then @@ -20183,16 +20205,16 @@ function LoPItemCleanup___ForItem takes nothing returns nothing endif endfunction -function LoPItemCleanup___TrigActions takes nothing returns nothing +function LoPItemCleanup__TrigActions takes nothing returns nothing local timer t local integer aKey= (GetHandleId((GetTriggeringTrigger()))) // INLINED!! call SaveInteger(ArrayAgent_hashTable, (aKey ), ( 0 ), ( 1)) // INLINED!! - call EnumItemsInRect(udg_WholeMapRegion, null, function LoPItemCleanup___ForItem) + call EnumItemsInRect(udg_WholeMapRegion, null, function LoPItemCleanup__ForItem) if (LoadInteger(ArrayAgent_hashTable, (aKey ), ( 0))) > 1 then // INLINED!! set t=CreateTimer() - call TimerStart(t, 1.5, false, function LoPItemCleanup___DestroyDeadItems) + call TimerStart(t, 1.5, false, function LoPItemCleanup__DestroyDeadItems) call SaveAgentHandle(ArrayAgent_hashTable, ((GetHandleId((t))) ), ( 0 ), ( GetTriggeringTrigger())) // INLINED!! set t=null else @@ -20200,11 +20222,11 @@ function LoPItemCleanup___TrigActions takes nothing returns nothing endif endfunction -function LoPItemCleanup___onInit takes nothing returns nothing +function LoPItemCleanup__onInit takes nothing returns nothing local trigger trig= CreateTrigger() call TriggerRegisterTimerEvent(trig, (15.00), true) // INLINED!! - call TriggerAddAction(trig, function LoPItemCleanup___TrigActions) + call TriggerAddAction(trig, function LoPItemCleanup__TrigActions) endfunction // scope LoPItemCleanup ends @@ -20431,7 +20453,7 @@ function Trig_System_Titan_GiveUnit_Conditions takes nothing returns boolean endfunction function Trig_System_Titan_GiveUnit_Actions takes nothing returns nothing - local player l__udg_temp_player= (LoadPlayerHandle(ConstTable___ht, ((((s__LoPInitPlayerCircles_Globals_regionTable_impl)))), (GetHandleId(GetTriggeringRegion())))) // INLINED!! + local player l__udg_temp_player= (LoadPlayerHandle(ConstTable__ht, ((((s__LoPInitPlayerCircles_Globals_regionTable_impl)))), (GetHandleId(GetTriggeringRegion())))) // INLINED!! call SetUnitPositionLoc(GetTriggerUnit(), udg_PLAYER_LOCATIONS[GetConvertedPlayerId(l__udg_temp_player)]) call SetUnitOwner(GetTriggerUnit(), l__udg_temp_player, true) endfunction @@ -20449,14 +20471,14 @@ endfunction // scope TitanPowers begins -function TitanPowers___GroupFilter takes nothing returns boolean +function TitanPowers__GroupFilter takes nothing returns boolean if not RectContainsUnit(gg_rct_Titan_Palace, GetFilterUnit()) then call SetUnitOwner(GetFilterUnit(), udg_PowerSystem_Player, true) endif return false endfunction -function TitanPowers___onOrder takes nothing returns boolean +function TitanPowers__onOrder takes nothing returns boolean if GetIssuedOrderIdBJ() != String2OrderIdBJ("smart") then return false @@ -20465,7 +20487,7 @@ function TitanPowers___onOrder takes nothing returns boolean call IssueImmediateOrderBJ(GetTriggerUnit(), "stop") if GetTriggerUnit() == (gg_unit_e00D_0409) then // INLINED!! if udg_PowerSystem_allFlag then - call GroupEnumUnitsOfPlayer(ENUM_GROUP, GetOwningPlayer(GetOrderTargetUnit()), Condition(function TitanPowers___GroupFilter)) + call GroupEnumUnitsOfPlayer(ENUM_GROUP, GetOwningPlayer(GetOrderTargetUnit()), Condition(function TitanPowers__GroupFilter)) set udg_PowerSystem_allFlag=false else call SetUnitOwner(GetOrderTargetUnit(), udg_PowerSystem_Player, true) @@ -20490,7 +20512,7 @@ function TitanPowers___onOrder takes nothing returns boolean endfunction //=========================================================================== -function TitanPowers___onInit takes nothing returns nothing +function TitanPowers__onInit takes nothing returns nothing local trigger trig= CreateTrigger() call TriggerRegisterUnitEvent(trig, (gg_unit_e007_0410), EVENT_UNIT_ISSUED_TARGET_ORDER) // INLINED!! call TriggerRegisterUnitEvent(trig, (gg_unit_e008_0406), EVENT_UNIT_ISSUED_TARGET_ORDER) // INLINED!! @@ -20499,7 +20521,7 @@ function TitanPowers___onInit takes nothing returns nothing call TriggerRegisterUnitEvent(trig, (gg_unit_e00B_0405), EVENT_UNIT_ISSUED_TARGET_ORDER) // INLINED!! call TriggerRegisterUnitEvent(trig, (gg_unit_e00A_0411), EVENT_UNIT_ISSUED_TARGET_ORDER) // INLINED!! call TriggerRegisterUnitEvent(trig, (gg_unit_e00D_0409), EVENT_UNIT_ISSUED_TARGET_ORDER) // INLINED!! - call TriggerAddCondition(trig, Condition(function TitanPowers___onOrder)) + call TriggerAddCondition(trig, Condition(function TitanPowers__onOrder)) endfunction // scope TitanPowers ends @@ -20512,7 +20534,8 @@ endfunction function Trig_System_PreventSave_Catch_Actions takes nothing returns nothing local integer l__udg_temp_integer local integer l__udg_temp_integer2= bj_MAX_PLAYERS - call DisplayTextToForce(GetPlayersAll(), "TRIGSTR_009") + call DisplayTextToForce(GetPlayersAll(), "Someone has attempted to save the game! Do NOT do this, for it can cause crashes! +Save aborted.") set l__udg_temp_integer=1 loop exitwhen l__udg_temp_integer > l__udg_temp_integer2 @@ -20561,7 +20584,7 @@ endfunction -function MakeHeroic___FilterUnitsMakeHero takes nothing returns boolean +function MakeHeroic__FilterUnitsMakeHero takes nothing returns boolean local unit filterU= GetFilterUnit() local boolean hasMana @@ -20577,7 +20600,7 @@ function MakeHeroic___FilterUnitsMakeHero takes nothing returns boolean call UnitAddAbility(filterU, 'A09Y') //call UnitMakeAbilityPermanent(filterU, true, 'A09Y' ) // call BlzSetUnitMaxHP() - call SaveBoolean(ConstTable___ht, (((((s__LoP_UnitData_isHeroic_impl))))), (((GetHandleId((filterU))))), ( (true))) // INLINED!! + call SaveBoolean(ConstTable__ht, (((((s__LoP_UnitData_isHeroic_impl))))), (((GetHandleId((filterU))))), ( (true))) // INLINED!! call GiveHeroStats(filterU) else @@ -20594,7 +20617,7 @@ endfunction function Trig_Commands_Make_Hero_Conditions takes nothing returns nothing if GetTriggerPlayer() == udg_GAME_MASTER then - call GroupEnumUnitsSelected(ENUM_GROUP, GetTriggerPlayer(), Condition(function MakeHeroic___FilterUnitsMakeHero)) + call GroupEnumUnitsSelected(ENUM_GROUP, GetTriggerPlayer(), Condition(function MakeHeroic__FilterUnitsMakeHero)) endif endfunction @@ -20603,7 +20626,7 @@ function InitTrig_Commands_Make_Hero takes nothing returns nothing call s__LoP_Command_create("-makehero" , ACCESS_TITAN , Condition(function Trig_Commands_Make_Hero_Conditions)) call s__TableStruct_setHandle(s__LoPHeroicUnit_Globals_static_members_key , s__LoPHeroicUnit_Globals_dummy_impl , (CreateUnit(Player(bj_PLAYER_NEUTRAL_EXTRA), 'Hpal', 0., 0., bj_UNIT_FACING))) // INLINED!! - call ShowUnit((LoadUnitHandle(ConstTable___ht, (((((s__LoPHeroicUnit_Globals_static_members_key))))), (s__LoPHeroicUnit_Globals_dummy_impl))), false) // INLINED!! + call ShowUnit((LoadUnitHandle(ConstTable__ht, (((((s__LoPHeroicUnit_Globals_static_members_key))))), (s__LoPHeroicUnit_Globals_dummy_impl))), false) // INLINED!! endfunction // scope MakeHeroic ends @@ -20758,7 +20781,7 @@ endfunction //=========================================================================== function MissingDecos_HelpMessage takes nothing returns string - return "\nHey there! In LoP, there are a total of |c00ffff00" + I2S((LoadInteger(ConstTable___ht, (((((s__LoP_DecoBuilders_static_members_key))))), (s__LoP_DecoBuilders_DecoLastIndex_impl))) + 1) + "|r Deco Builders.\n\nThis can make it quite hard for newer players to decide what to build and get going. It is recommended, if you have never played the game before, to go with only the basic deco builders. Please supply arguments to this command:\n\n |c00ffff00-decos special|r => Spawns only the special deco builders.\n\n |c00ffff00-decos basic|r => Spawns special decos and basic decos |c00ffff00(for new players)|r\n\n |c00ffff00-decos all|r => Spawns ALL deco builders |c00ffff00(for recurring players)|r\n " // INLINED!! + return "\nHey there! In LoP, there are a total of |c00ffff00" + I2S((LoadInteger(ConstTable__ht, (((((s__LoP_DecoBuilders_static_members_key))))), (s__LoP_DecoBuilders_DecoLastIndex_impl))) + 1) + "|r Deco Builders.\n\nThis can make it quite hard for newer players to decide what to build and get going. It is recommended, if you have never played the game before, to go with only the basic deco builders. Please supply arguments to this command:\n\n |c00ffff00-decos special|r => Spawns only the special deco builders.\n\n |c00ffff00-decos basic|r => Spawns special decos and basic decos |c00ffff00(for new players)|r\n\n |c00ffff00-decos all|r => Spawns ALL deco builders |c00ffff00(for recurring players)|r\n " // INLINED!! endfunction @@ -20782,16 +20805,16 @@ function Trig_Commands_Deco_Spawn_Conditions takes nothing returns boolean local integer lastIndex if arg == "special" then - set lastIndex=(LoadInteger(ConstTable___ht, (((((s__LoP_DecoBuilders_static_members_key))))), (s__LoP_DecoBuilders_SpecialDecoLastIndex_impl))) // INLINED!! + set lastIndex=(LoadInteger(ConstTable__ht, (((((s__LoP_DecoBuilders_static_members_key))))), (s__LoP_DecoBuilders_SpecialDecoLastIndex_impl))) // INLINED!! elseif arg == "basic" then - set lastIndex=(LoadInteger(ConstTable___ht, (((((s__LoP_DecoBuilders_static_members_key))))), (s__LoP_DecoBuilders_BasicDecoLastIndex_impl))) // INLINED!! + set lastIndex=(LoadInteger(ConstTable__ht, (((((s__LoP_DecoBuilders_static_members_key))))), (s__LoP_DecoBuilders_BasicDecoLastIndex_impl))) // INLINED!! elseif arg == "advanced" or arg == "adv" or arg == "all" then - set lastIndex=(LoadInteger(ConstTable___ht, (((((s__LoP_DecoBuilders_static_members_key))))), (s__LoP_DecoBuilders_AdvDecoLastIndex_impl))) // INLINED!! + set lastIndex=(LoadInteger(ConstTable__ht, (((((s__LoP_DecoBuilders_static_members_key))))), (s__LoP_DecoBuilders_AdvDecoLastIndex_impl))) // INLINED!! else - call DisplayTextToPlayer(GetTriggerPlayer(), 0, 0, ("\nHey there! In LoP, there are a total of |c00ffff00" + I2S((LoadInteger(ConstTable___ht, (((((s__LoP_DecoBuilders_static_members_key))))), (s__LoP_DecoBuilders_DecoLastIndex_impl))) + 1) + "|r Deco Builders.\n\nThis can make it quite hard for newer players to decide what to build and get going. It is recommended, if you have never played the game before, to go with only the basic deco builders. Please supply arguments to this command:\n\n |c00ffff00-decos special|r => Spawns only the special deco builders.\n\n |c00ffff00-decos basic|r => Spawns special decos and basic decos |c00ffff00(for new players)|r\n\n |c00ffff00-decos all|r => Spawns ALL deco builders |c00ffff00(for recurring players)|r\n ")) // INLINED!! + call DisplayTextToPlayer(GetTriggerPlayer(), 0, 0, ("\nHey there! In LoP, there are a total of |c00ffff00" + I2S((LoadInteger(ConstTable__ht, (((((s__LoP_DecoBuilders_static_members_key))))), (s__LoP_DecoBuilders_DecoLastIndex_impl))) + 1) + "|r Deco Builders.\n\nThis can make it quite hard for newer players to decide what to build and get going. It is recommended, if you have never played the game before, to go with only the basic deco builders. Please supply arguments to this command:\n\n |c00ffff00-decos special|r => Spawns only the special deco builders.\n\n |c00ffff00-decos basic|r => Spawns special decos and basic decos |c00ffff00(for new players)|r\n\n |c00ffff00-decos all|r => Spawns ALL deco builders |c00ffff00(for recurring players)|r\n ")) // INLINED!! return false endif @@ -21091,10 +21114,10 @@ function Trig_Commands_Copy_Conditions takes nothing returns boolean call GroupEnumUnitsSelected(g, GetTriggerPlayer(), null) - if (HaveSavedHandle(UserDefinedRects___hashTable, (GetHandleId((FirstOfGroup(g)))), (6))) then // INLINED!! + if (HaveSavedHandle(UserDefinedRects__hashTable, (GetHandleId((FirstOfGroup(g)))), (6))) then // INLINED!! set generator=FirstOfGroup(g) call DestroyGroup(g) - set g=(LoadGroupHandle(UserDefinedRects___hashTable, (GetHandleId((generator))), (6))) // INLINED!! + set g=(LoadGroupHandle(UserDefinedRects__hashTable, (GetHandleId((generator))), (6))) // INLINED!! endif call GroupRemoveGroup(udg_System_ProtectedGroup, g) @@ -21161,76 +21184,76 @@ endfunction //textmacro instance: TableStruct_NewStaticPrimitiveField("zoom","real") function s__CameraValues__get_zoom takes nothing returns real - return (LoadReal(ConstTable___ht, (((((s__CameraValues_static_members_key))))), (s__CameraValues_zoom_impl))) // INLINED!! + return (LoadReal(ConstTable__ht, (((((s__CameraValues_static_members_key))))), (s__CameraValues_zoom_impl))) // INLINED!! endfunction function s__CameraValues__set_zoom takes real new_zoom returns nothing - call SaveReal(ConstTable___ht, (((((s__CameraValues_static_members_key))))), (s__CameraValues_zoom_impl), (( new_zoom)*1.0)) // INLINED!! + call SaveReal(ConstTable__ht, (((((s__CameraValues_static_members_key))))), (s__CameraValues_zoom_impl), (( new_zoom)*1.0)) // INLINED!! endfunction function s__CameraValues_zoomClear takes nothing returns nothing - call RemoveSavedReal(ConstTable___ht, (((((s__CameraValues_static_members_key))))), (s__CameraValues_zoom_impl)) // INLINED!! + call RemoveSavedReal(ConstTable__ht, (((((s__CameraValues_static_members_key))))), (s__CameraValues_zoom_impl)) // INLINED!! endfunction function s__CameraValues_zoomExists takes nothing returns boolean - return (HaveSavedReal(ConstTable___ht, (((((s__CameraValues_static_members_key))))), (s__CameraValues_zoom_impl))) // INLINED!! + return (HaveSavedReal(ConstTable__ht, (((((s__CameraValues_static_members_key))))), (s__CameraValues_zoom_impl))) // INLINED!! endfunction //end of: TableStruct_NewStaticPrimitiveField("zoom","real") //textmacro instance: TableStruct_NewStaticPrimitiveField("rotate","real") function s__CameraValues__get_rotate takes nothing returns real - return (LoadReal(ConstTable___ht, (((((s__CameraValues_static_members_key))))), (s__CameraValues_rotate_impl))) // INLINED!! + return (LoadReal(ConstTable__ht, (((((s__CameraValues_static_members_key))))), (s__CameraValues_rotate_impl))) // INLINED!! endfunction function s__CameraValues__set_rotate takes real new_rotate returns nothing - call SaveReal(ConstTable___ht, (((((s__CameraValues_static_members_key))))), (s__CameraValues_rotate_impl), (( new_rotate)*1.0)) // INLINED!! + call SaveReal(ConstTable__ht, (((((s__CameraValues_static_members_key))))), (s__CameraValues_rotate_impl), (( new_rotate)*1.0)) // INLINED!! endfunction function s__CameraValues_rotateClear takes nothing returns nothing - call RemoveSavedReal(ConstTable___ht, (((((s__CameraValues_static_members_key))))), (s__CameraValues_rotate_impl)) // INLINED!! + call RemoveSavedReal(ConstTable__ht, (((((s__CameraValues_static_members_key))))), (s__CameraValues_rotate_impl)) // INLINED!! endfunction function s__CameraValues_rotateExists takes nothing returns boolean - return (HaveSavedReal(ConstTable___ht, (((((s__CameraValues_static_members_key))))), (s__CameraValues_rotate_impl))) // INLINED!! + return (HaveSavedReal(ConstTable__ht, (((((s__CameraValues_static_members_key))))), (s__CameraValues_rotate_impl))) // INLINED!! endfunction //end of: TableStruct_NewStaticPrimitiveField("rotate","real") //textmacro instance: TableStruct_NewStaticPrimitiveField("roll","real") function s__CameraValues__get_roll takes nothing returns real - return (LoadReal(ConstTable___ht, (((((s__CameraValues_static_members_key))))), (s__CameraValues_roll_impl))) // INLINED!! + return (LoadReal(ConstTable__ht, (((((s__CameraValues_static_members_key))))), (s__CameraValues_roll_impl))) // INLINED!! endfunction function s__CameraValues__set_roll takes real new_roll returns nothing - call SaveReal(ConstTable___ht, (((((s__CameraValues_static_members_key))))), (s__CameraValues_roll_impl), (( new_roll)*1.0)) // INLINED!! + call SaveReal(ConstTable__ht, (((((s__CameraValues_static_members_key))))), (s__CameraValues_roll_impl), (( new_roll)*1.0)) // INLINED!! endfunction function s__CameraValues_rollClear takes nothing returns nothing - call RemoveSavedReal(ConstTable___ht, (((((s__CameraValues_static_members_key))))), (s__CameraValues_roll_impl)) // INLINED!! + call RemoveSavedReal(ConstTable__ht, (((((s__CameraValues_static_members_key))))), (s__CameraValues_roll_impl)) // INLINED!! endfunction function s__CameraValues_rollExists takes nothing returns boolean - return (HaveSavedReal(ConstTable___ht, (((((s__CameraValues_static_members_key))))), (s__CameraValues_roll_impl))) // INLINED!! + return (HaveSavedReal(ConstTable__ht, (((((s__CameraValues_static_members_key))))), (s__CameraValues_roll_impl))) // INLINED!! endfunction //end of: TableStruct_NewStaticPrimitiveField("roll","real") //textmacro instance: TableStruct_NewStaticPrimitiveField("pitch","real") function s__CameraValues__get_pitch takes nothing returns real - return (LoadReal(ConstTable___ht, (((((s__CameraValues_static_members_key))))), (s__CameraValues_pitch_impl))) // INLINED!! + return (LoadReal(ConstTable__ht, (((((s__CameraValues_static_members_key))))), (s__CameraValues_pitch_impl))) // INLINED!! endfunction function s__CameraValues__set_pitch takes real new_pitch returns nothing - call SaveReal(ConstTable___ht, (((((s__CameraValues_static_members_key))))), (s__CameraValues_pitch_impl), (( new_pitch)*1.0)) // INLINED!! + call SaveReal(ConstTable__ht, (((((s__CameraValues_static_members_key))))), (s__CameraValues_pitch_impl), (( new_pitch)*1.0)) // INLINED!! endfunction function s__CameraValues_pitchClear takes nothing returns nothing - call RemoveSavedReal(ConstTable___ht, (((((s__CameraValues_static_members_key))))), (s__CameraValues_pitch_impl)) // INLINED!! + call RemoveSavedReal(ConstTable__ht, (((((s__CameraValues_static_members_key))))), (s__CameraValues_pitch_impl)) // INLINED!! endfunction function s__CameraValues_pitchExists takes nothing returns boolean - return (HaveSavedReal(ConstTable___ht, (((((s__CameraValues_static_members_key))))), (s__CameraValues_pitch_impl))) // INLINED!! + return (HaveSavedReal(ConstTable__ht, (((((s__CameraValues_static_members_key))))), (s__CameraValues_pitch_impl))) // INLINED!! endfunction //end of: TableStruct_NewStaticPrimitiveField("pitch","real") //textmacro instance: TableStruct_NewStaticHandleField("timer","timer") function s__CameraValues__get_timer takes nothing returns timer - return (LoadTimerHandle(ConstTable___ht, (((((s__CameraValues_static_members_key))))), (s__CameraValues_timer_impl))) // INLINED!! + return (LoadTimerHandle(ConstTable__ht, (((((s__CameraValues_static_members_key))))), (s__CameraValues_timer_impl))) // INLINED!! endfunction function s__CameraValues__set_timer takes timer new_timer returns nothing @@ -21238,27 +21261,27 @@ endfunction endfunction function s__CameraValues_timerClear takes nothing returns nothing - call RemoveSavedHandle(ConstTable___ht, (((((s__CameraValues_static_members_key))))), (s__CameraValues_timer_impl)) // INLINED!! + call RemoveSavedHandle(ConstTable__ht, (((((s__CameraValues_static_members_key))))), (s__CameraValues_timer_impl)) // INLINED!! endfunction function s__CameraValues_timerExists takes nothing returns boolean - return (HaveSavedHandle(ConstTable___ht, (((((s__CameraValues_static_members_key))))), (s__CameraValues_timer_impl))) // INLINED!! + return (HaveSavedHandle(ConstTable__ht, (((((s__CameraValues_static_members_key))))), (s__CameraValues_timer_impl))) // INLINED!! endfunction //end of: TableStruct_NewStaticHandleField("timer","timer") function s__CameraValues_onTimer takes nothing returns nothing - call SetCameraField(CAMERA_FIELD_TARGET_DISTANCE, (LoadReal(ConstTable___ht, (((((s__CameraValues_static_members_key))))), (s__CameraValues_zoom_impl))), 0) // INLINED!! - call SetCameraField(CAMERA_FIELD_ROTATION, (LoadReal(ConstTable___ht, (((((s__CameraValues_static_members_key))))), (s__CameraValues_rotate_impl))), 0) // INLINED!! - call SetCameraField(CAMERA_FIELD_ROLL, (LoadReal(ConstTable___ht, (((((s__CameraValues_static_members_key))))), (s__CameraValues_roll_impl))), 0) // INLINED!! - call SetCameraField(CAMERA_FIELD_ANGLE_OF_ATTACK, (LoadReal(ConstTable___ht, (((((s__CameraValues_static_members_key))))), (s__CameraValues_pitch_impl))), 0) // INLINED!! + call SetCameraField(CAMERA_FIELD_TARGET_DISTANCE, (LoadReal(ConstTable__ht, (((((s__CameraValues_static_members_key))))), (s__CameraValues_zoom_impl))), 0) // INLINED!! + call SetCameraField(CAMERA_FIELD_ROTATION, (LoadReal(ConstTable__ht, (((((s__CameraValues_static_members_key))))), (s__CameraValues_rotate_impl))), 0) // INLINED!! + call SetCameraField(CAMERA_FIELD_ROLL, (LoadReal(ConstTable__ht, (((((s__CameraValues_static_members_key))))), (s__CameraValues_roll_impl))), 0) // INLINED!! + call SetCameraField(CAMERA_FIELD_ANGLE_OF_ATTACK, (LoadReal(ConstTable__ht, (((((s__CameraValues_static_members_key))))), (s__CameraValues_pitch_impl))), 0) // INLINED!! endfunction function s__CameraValues_lock takes nothing returns nothing - call TimerStart((LoadTimerHandle(ConstTable___ht, (((((s__CameraValues_static_members_key))))), (s__CameraValues_timer_impl))), 0.03, true, function s__CameraValues_onTimer) // Need initialized timer: can't create a local time handle // INLINED!! + call TimerStart((LoadTimerHandle(ConstTable__ht, (((((s__CameraValues_static_members_key))))), (s__CameraValues_timer_impl))), 0.03, true, function s__CameraValues_onTimer) // Need initialized timer: can't create a local time handle // INLINED!! endfunction function s__CameraValues_unlock takes nothing returns nothing - call PauseTimer((LoadTimerHandle(ConstTable___ht, (((((s__CameraValues_static_members_key))))), (s__CameraValues_timer_impl)))) // INLINED!! + call PauseTimer((LoadTimerHandle(ConstTable__ht, (((((s__CameraValues_static_members_key))))), (s__CameraValues_timer_impl)))) // INLINED!! endfunction function Trig_Commands_Camera takes nothing returns boolean @@ -21271,7 +21294,7 @@ function Trig_Commands_Camera takes nothing returns boolean if command == "-zoom" then set value=S2R(args) if GetTriggerPlayer() == GetLocalPlayer() then - call SaveReal(ConstTable___ht, (((((s__CameraValues_static_members_key))))), (s__CameraValues_zoom_impl), (( ((value)*1.0))*1.0)) // INLINED!! + call SaveReal(ConstTable__ht, (((((s__CameraValues_static_members_key))))), (s__CameraValues_zoom_impl), (( ((value)*1.0))*1.0)) // INLINED!! call SetCameraField(CAMERA_FIELD_TARGET_DISTANCE, value, 0) endif else // general camera commands @@ -21283,22 +21306,22 @@ function Trig_Commands_Camera takes nothing returns boolean // Local player blocks inside because we don't want to create strings in local blocks!!! if ( field == "zoom" ) then if GetTriggerPlayer() == GetLocalPlayer() then - call SaveReal(ConstTable___ht, (((((s__CameraValues_static_members_key))))), (s__CameraValues_zoom_impl), (( ((value)*1.0))*1.0)) // INLINED!! + call SaveReal(ConstTable__ht, (((((s__CameraValues_static_members_key))))), (s__CameraValues_zoom_impl), (( ((value)*1.0))*1.0)) // INLINED!! call SetCameraField(CAMERA_FIELD_TARGET_DISTANCE, value, 0) endif elseif ( field == "rotate" ) then if GetTriggerPlayer() == GetLocalPlayer() then - call SaveReal(ConstTable___ht, (((((s__CameraValues_static_members_key))))), (s__CameraValues_rotate_impl), (( ((value)*1.0))*1.0)) // INLINED!! + call SaveReal(ConstTable__ht, (((((s__CameraValues_static_members_key))))), (s__CameraValues_rotate_impl), (( ((value)*1.0))*1.0)) // INLINED!! call SetCameraField(CAMERA_FIELD_ROTATION, value, 0) endif elseif ( field == "roll" ) then if GetTriggerPlayer() == GetLocalPlayer() then - call SaveReal(ConstTable___ht, (((((s__CameraValues_static_members_key))))), (s__CameraValues_roll_impl), (( ((value)*1.0))*1.0)) // INLINED!! + call SaveReal(ConstTable__ht, (((((s__CameraValues_static_members_key))))), (s__CameraValues_roll_impl), (( ((value)*1.0))*1.0)) // INLINED!! call SetCameraField(CAMERA_FIELD_ROLL, value, 0) endif elseif ( field == "pitch" ) then if GetTriggerPlayer() == GetLocalPlayer() then - call SaveReal(ConstTable___ht, (((((s__CameraValues_static_members_key))))), (s__CameraValues_pitch_impl), (( ((value)*1.0))*1.0)) // INLINED!! + call SaveReal(ConstTable__ht, (((((s__CameraValues_static_members_key))))), (s__CameraValues_pitch_impl), (( ((value)*1.0))*1.0)) // INLINED!! call SetCameraField(CAMERA_FIELD_ANGLE_OF_ATTACK, value, 0) endif endif @@ -21306,20 +21329,20 @@ function Trig_Commands_Camera takes nothing returns boolean // Lock/Unlock if ( field == "lock" ) then if GetTriggerPlayer() == GetLocalPlayer() then - call SaveReal(ConstTable___ht, (((((s__CameraValues_static_members_key))))), (s__CameraValues_zoom_impl), (( ((GetCameraField(CAMERA_FIELD_TARGET_DISTANCE))*1.0))*1.0)) // INLINED!! - call SaveReal(ConstTable___ht, (((((s__CameraValues_static_members_key))))), (s__CameraValues_rotate_impl), (( ((GetCameraField(CAMERA_FIELD_ROTATION) * bj_RADTODEG)*1.0))*1.0)) // INLINED!! - call SaveReal(ConstTable___ht, (((((s__CameraValues_static_members_key))))), (s__CameraValues_roll_impl), (( ((GetCameraField(CAMERA_FIELD_ROLL) * bj_RADTODEG)*1.0))*1.0)) // INLINED!! - call SaveReal(ConstTable___ht, (((((s__CameraValues_static_members_key))))), (s__CameraValues_pitch_impl), (( ((GetCameraField(CAMERA_FIELD_ANGLE_OF_ATTACK) * bj_RADTODEG)*1.0))*1.0)) // INLINED!! - call TimerStart((LoadTimerHandle(ConstTable___ht, (((((s__CameraValues_static_members_key))))), (s__CameraValues_timer_impl))), 0.03, true, function s__CameraValues_onTimer) // INLINED!! + call SaveReal(ConstTable__ht, (((((s__CameraValues_static_members_key))))), (s__CameraValues_zoom_impl), (( ((GetCameraField(CAMERA_FIELD_TARGET_DISTANCE))*1.0))*1.0)) // INLINED!! + call SaveReal(ConstTable__ht, (((((s__CameraValues_static_members_key))))), (s__CameraValues_rotate_impl), (( ((GetCameraField(CAMERA_FIELD_ROTATION) * bj_RADTODEG)*1.0))*1.0)) // INLINED!! + call SaveReal(ConstTable__ht, (((((s__CameraValues_static_members_key))))), (s__CameraValues_roll_impl), (( ((GetCameraField(CAMERA_FIELD_ROLL) * bj_RADTODEG)*1.0))*1.0)) // INLINED!! + call SaveReal(ConstTable__ht, (((((s__CameraValues_static_members_key))))), (s__CameraValues_pitch_impl), (( ((GetCameraField(CAMERA_FIELD_ANGLE_OF_ATTACK) * bj_RADTODEG)*1.0))*1.0)) // INLINED!! + call TimerStart((LoadTimerHandle(ConstTable__ht, (((((s__CameraValues_static_members_key))))), (s__CameraValues_timer_impl))), 0.03, true, function s__CameraValues_onTimer) // INLINED!! endif elseif ( field == "unlock" ) then if GetTriggerPlayer() == GetLocalPlayer() then - call PauseTimer((LoadTimerHandle(ConstTable___ht, (((((s__CameraValues_static_members_key))))), (s__CameraValues_timer_impl)))) // INLINED!! + call PauseTimer((LoadTimerHandle(ConstTable__ht, (((((s__CameraValues_static_members_key))))), (s__CameraValues_timer_impl)))) // INLINED!! endif // Presets elseif ( field == "far" ) then if GetTriggerPlayer() == GetLocalPlayer() then - call SaveReal(ConstTable___ht, (((((s__CameraValues_static_members_key))))), (s__CameraValues_zoom_impl), (( ((3000)*1.0))*1.0)) // INLINED!! + call SaveReal(ConstTable__ht, (((((s__CameraValues_static_members_key))))), (s__CameraValues_zoom_impl), (( ((3000)*1.0))*1.0)) // INLINED!! call SetCameraField(CAMERA_FIELD_TARGET_DISTANCE, 3000, 0) endif endif @@ -21513,7 +21536,7 @@ function Trig_CommandsR_Make_Titan_Actions takes nothing returns nothing call SetUnitOwner(gg_unit_e007_0410, udg_GAME_MASTER, false) else set udg_GAME_MASTER=GetTriggerPlayer() - call DisplayTextToForce(udg_FORCES_PLAYER[( GetConvertedPlayerId(GetTriggerPlayer()) - 1 )], "TRIGSTR_010") + call DisplayTextToForce(udg_FORCES_PLAYER[( GetConvertedPlayerId(GetTriggerPlayer()) - 1 )], "There is no player currently playing in this slot!") endif endfunction @@ -21532,8 +21555,8 @@ endfunction //textmacro instance: TableStruct_NewConstTableField("private","data") - constant function s__CommandsSetLimits___StringConvert__get_data takes nothing returns integer - return s__CommandsSetLimits___StringConvert_data_impl + constant function s__CommandsSetLimits__StringConvert__get_data takes nothing returns integer + return s__CommandsSetLimits__StringConvert_data_impl endfunction @@ -21542,18 +21565,18 @@ endfunction //end of: TableStruct_NewConstTableField("private","data") - function s__CommandsSetLimits___StringConvert__staticgetindex takes string s returns integer - return (LoadInteger(ConstTable___ht, ((s__CommandsSetLimits___StringConvert_data_impl)), (StringHash(s)))) // INLINED!! + function s__CommandsSetLimits__StringConvert__staticgetindex takes string s returns integer + return (LoadInteger(ConstTable__ht, ((s__CommandsSetLimits__StringConvert_data_impl)), (StringHash(s)))) // INLINED!! endfunction - function s__CommandsSetLimits___StringConvert__staticsetindex takes string s,integer value returns nothing - call SaveInteger(ConstTable___ht, ((s__CommandsSetLimits___StringConvert_data_impl)), (StringHash(s)), ( value)) // INLINED!! + function s__CommandsSetLimits__StringConvert__staticsetindex takes string s,integer value returns nothing + call SaveInteger(ConstTable__ht, ((s__CommandsSetLimits__StringConvert_data_impl)), (StringHash(s)), ( value)) // INLINED!! endfunction - function s__CommandsSetLimits___StringConvert_has takes string s returns boolean - return (HaveSavedInteger(ConstTable___ht, ((s__CommandsSetLimits___StringConvert_data_impl)), (StringHash(s)))) // INLINED!! + function s__CommandsSetLimits__StringConvert_has takes string s returns boolean + return (HaveSavedInteger(ConstTable__ht, ((s__CommandsSetLimits__StringConvert_data_impl)), (StringHash(s)))) // INLINED!! endfunction -function CommandsSetLimits___onCommand takes nothing returns boolean +function CommandsSetLimits__onCommand takes nothing returns boolean local string args= (s__Args_getString(1)) // INLINED!! local integer cutToComma= CutToCharacter(args , " ") local string unitType @@ -21563,9 +21586,9 @@ function CommandsSetLimits___onCommand takes nothing returns boolean set unitType=SubString(args, 0, cutToComma) set value=S2I(SubString(args, cutToComma + 1, StringLength(args))) - if (HaveSavedInteger(ConstTable___ht, ((s__CommandsSetLimits___StringConvert_data_impl)), (StringHash((unitType))))) then // INLINED!! - set udg_System_PArmyLimit[(LoadInteger(ConstTable___ht, ((s__CommandsSetLimits___StringConvert_data_impl)), (StringHash((unitType)))))]=value // INLINED!! - call DisplayTextToPlayer(GetTriggerPlayer(), 0, 0, "Unit limit set for " + Limit_GetCategoryName((LoadInteger(ConstTable___ht, ((s__CommandsSetLimits___StringConvert_data_impl)), (StringHash((unitType)))))) + ".") // INLINED!! + if (HaveSavedInteger(ConstTable__ht, ((s__CommandsSetLimits__StringConvert_data_impl)), (StringHash((unitType))))) then // INLINED!! + set udg_System_PArmyLimit[(LoadInteger(ConstTable__ht, ((s__CommandsSetLimits__StringConvert_data_impl)), (StringHash((unitType)))))]=value // INLINED!! + call DisplayTextToPlayer(GetTriggerPlayer(), 0, 0, "Unit limit set for " + Limit_GetCategoryName((LoadInteger(ConstTable__ht, ((s__CommandsSetLimits__StringConvert_data_impl)), (StringHash((unitType)))))) + ".") // INLINED!! else call DisplayTextToPlayer(GetTriggerPlayer(), 0, 0, "Unrecognized argument: " + unitType) endif @@ -21575,11 +21598,11 @@ endfunction //=========================================================================== function InitTrig_CommandsR_Set_Limits_for_Units takes nothing returns nothing - call s__LoP_Command_create("-limit" , ACCESS_TITAN , Condition(function CommandsSetLimits___onCommand)) + call s__LoP_Command_create("-limit" , ACCESS_TITAN , Condition(function CommandsSetLimits__onCommand)) - call SaveInteger(ConstTable___ht, ((s__CommandsSetLimits___StringConvert_data_impl)), (StringHash(("p"))), ( ( PlayerUnitLimit_PASSIVE))) // INLINED!! - call SaveInteger(ConstTable___ht, ((s__CommandsSetLimits___StringConvert_data_impl)), (StringHash(("g"))), ( ( PlayerUnitLimit_GROUND))) // INLINED!! - call SaveInteger(ConstTable___ht, ((s__CommandsSetLimits___StringConvert_data_impl)), (StringHash(("a"))), ( ( PlayerUnitLimit_AIR))) // INLINED!! + call SaveInteger(ConstTable__ht, ((s__CommandsSetLimits__StringConvert_data_impl)), (StringHash(("p"))), ( ( PlayerUnitLimit_PASSIVE))) // INLINED!! + call SaveInteger(ConstTable__ht, ((s__CommandsSetLimits__StringConvert_data_impl)), (StringHash(("g"))), ( ( PlayerUnitLimit_GROUND))) // INLINED!! + call SaveInteger(ConstTable__ht, ((s__CommandsSetLimits__StringConvert_data_impl)), (StringHash(("a"))), ( ( PlayerUnitLimit_AIR))) // INLINED!! endfunction // scope CommandsSetLimits ends @@ -21647,8 +21670,8 @@ function Trig_CommandsR_Fog_Conditions takes nothing returns boolean if chatStr == "reset" then - call s__TerrainFog_destroy((LoadInteger(ConstTable___ht, (((s__RectEnvironment_fog_impl))), (((0)))))) // INLINED!! - call SaveInteger(ConstTable___ht, (((s__RectEnvironment_fog_impl))), (((0))), ( (0))) // INLINED!! + call s__TerrainFog_destroy((LoadInteger(ConstTable__ht, (((s__RectEnvironment_fog_impl))), (((0)))))) // INLINED!! + call SaveInteger(ConstTable__ht, (((s__RectEnvironment_fog_impl))), (((0))), ( (0))) // INLINED!! return false endif @@ -21681,20 +21704,20 @@ function Trig_CommandsR_Fog_Conditions takes nothing returns boolean set chatStr=CutToCommaShorten(chatStr , cutToComma) - set fog=(LoadInteger(ConstTable___ht, (((s__RectEnvironment_fog_impl))), (((0))))) // INLINED!! + set fog=(LoadInteger(ConstTable__ht, (((s__RectEnvironment_fog_impl))), (((0))))) // INLINED!! if fog == 0 then set fog=(GMUI_GetIndex((GMUI_GENERIC_KEY))) // INLINED!! - call SaveInteger(ConstTable___ht, (((s__RectEnvironment_fog_impl))), (((0))), ( (fog))) // INLINED!! + call SaveInteger(ConstTable__ht, (((s__RectEnvironment_fog_impl))), (((0))), ( (fog))) // INLINED!! endif - call SaveInteger(ConstTable___ht, (((((s__TerrainFog_style_impl))))), ((fog)), ( (style))) // INLINED!! - call SaveReal(ConstTable___ht, (((((s__TerrainFog_zStart_impl))))), ((fog)), (( ((zStart)*1.0))*1.0)) // INLINED!! - call SaveReal(ConstTable___ht, (((((s__TerrainFog_zEnd_impl))))), ((fog)), (( ((zEnd)*1.0))*1.0)) // INLINED!! - call SaveReal(ConstTable___ht, (((((s__TerrainFog_density_impl))))), ((fog)), (( ((density * 0.01)*1.0))*1.0)) // INLINED!! - call SaveReal(ConstTable___ht, (((((s__TerrainFog_red_impl))))), ((fog)), (( ((red * 0.01)*1.0))*1.0)) // INLINED!! - call SaveReal(ConstTable___ht, (((((s__TerrainFog_green_impl))))), ((fog)), (( ((green * 0.01)*1.0))*1.0)) // INLINED!! - call SaveReal(ConstTable___ht, (((((s__TerrainFog_blue_impl))))), ((fog)), (( ((blue * 0.01)*1.0))*1.0)) // INLINED!! + call SaveInteger(ConstTable__ht, (((((s__TerrainFog_style_impl))))), ((fog)), ( (style))) // INLINED!! + call SaveReal(ConstTable__ht, (((((s__TerrainFog_zStart_impl))))), ((fog)), (( ((zStart)*1.0))*1.0)) // INLINED!! + call SaveReal(ConstTable__ht, (((((s__TerrainFog_zEnd_impl))))), ((fog)), (( ((zEnd)*1.0))*1.0)) // INLINED!! + call SaveReal(ConstTable__ht, (((((s__TerrainFog_density_impl))))), ((fog)), (( ((density * 0.01)*1.0))*1.0)) // INLINED!! + call SaveReal(ConstTable__ht, (((((s__TerrainFog_red_impl))))), ((fog)), (( ((red * 0.01)*1.0))*1.0)) // INLINED!! + call SaveReal(ConstTable__ht, (((((s__TerrainFog_green_impl))))), ((fog)), (( ((green * 0.01)*1.0))*1.0)) // INLINED!! + call SaveReal(ConstTable__ht, (((((s__TerrainFog_blue_impl))))), ((fog)), (( ((blue * 0.01)*1.0))*1.0)) // INLINED!! @@ -21932,7 +21955,8 @@ function Trig_CommandsD_Control_Actions takes nothing returns nothing set udg_Commands_Counter_Max=500 call ForGroupBJ(l__udg_temp_group, function Trig_CommandsD_Control_Func006Func002Func004A) else - call DisplayTextToForce(udg_FORCES_PLAYER[( GetConvertedPlayerId(GetTriggerPlayer()) - 1 )], "TRIGSTR_011") + call DisplayTextToForce(udg_FORCES_PLAYER[( GetConvertedPlayerId(GetTriggerPlayer()) - 1 )], "You already have too many units in your Controller Group. +Max: 500") endif else if ( Trig_CommandsD_Control_Func006Func003C() ) then @@ -22287,7 +22311,7 @@ endfunction //=========================================================================== function Trig_CommandsD_Rotate_Conditions takes nothing returns boolean local string args= I2S(S2I((s__Args_getString(1)))) // INLINED!! - call SaveInteger(ConstTable___ht, (((((s__LoP_PlayerData_rotationStep_impl))))), (((GetPlayerId((GetTriggerPlayer()))))), ( (S2I(args)))) // INLINED!! + call SaveInteger(ConstTable__ht, (((((s__LoP_PlayerData_rotationStep_impl))))), (((GetPlayerId((GetTriggerPlayer()))))), ( (S2I(args)))) // INLINED!! if GetLocalPlayer() == GetTriggerPlayer() then call BlzSetAbilityTooltip('A011', "Rotate " + args + " Degrees- [|cffffcc00R|r]", 1) @@ -22333,7 +22357,7 @@ endfunction //=========================================================================== // scope CommandsRoll begins -function CommandsRoll___onCommand takes nothing returns boolean +function CommandsRoll__onCommand takes nothing returns boolean local string args= (s__Args_getString(1)) // INLINED!! local integer cutToComma local integer diceMin @@ -22396,7 +22420,7 @@ endfunction //=========================================================================== function InitTrig_Commands_Roll takes nothing returns nothing - call s__LoP_Command_create("-roll" , ACCESS_USER , Condition(function CommandsRoll___onCommand)) + call s__LoP_Command_create("-roll" , ACCESS_USER , Condition(function CommandsRoll__onCommand)) endfunction // scope CommandsRoll ends @@ -22405,7 +22429,7 @@ endfunction //=========================================================================== // scope CommandsTips begins -function CommandsTips___onCommand takes nothing returns boolean +function CommandsTips__onCommand takes nothing returns boolean local string args= (s__Args_getString(1)) // INLINED!! if args == "on" then @@ -22421,8 +22445,8 @@ endfunction //=========================================================================== function InitTrig_Commands_Tips takes nothing returns nothing - call s__LoP_Command_create("-tips" , ACCESS_USER , Condition(function CommandsTips___onCommand)) - call s__LoP_Command_create("-hints" , ACCESS_USER , Condition(function CommandsTips___onCommand)) + call s__LoP_Command_create("-tips" , ACCESS_USER , Condition(function CommandsTips__onCommand)) + call s__LoP_Command_create("-hints" , ACCESS_USER , Condition(function CommandsTips__onCommand)) endfunction // scope CommandsTips ends @@ -22608,7 +22632,7 @@ endfunction //=========================================================================== // scope DecoModAbils begins - function DecoModAbils___PlayerNumber takes unit whichUnit returns integer + function DecoModAbils__PlayerNumber takes unit whichUnit returns integer return GetPlayerId(GetOwningPlayer(whichUnit)) + 1 endfunction @@ -22803,15 +22827,15 @@ endfunction // scope DecoMovement begins - function DecoMovement___PlayerNumber takes unit whichUnit returns integer + function DecoMovement__PlayerNumber takes unit whichUnit returns integer return GetPlayerId(GetOwningPlayer(whichUnit)) + 1 endfunction - function DecoMovement___X takes unit whichUnit returns real + function DecoMovement__X takes unit whichUnit returns real return GetUnitX(whichUnit) endfunction - function DecoMovement___Y takes unit whichUnit returns real + function DecoMovement__Y takes unit whichUnit returns real return GetUnitY(whichUnit) endfunction @@ -22890,7 +22914,7 @@ endfunction call GUMSSetUnitFacing(trigU , bj_RADTODEG * Atan2(GetSpellTargetY() - (GetUnitY((trigU))), GetSpellTargetX() - (GetUnitX((trigU))))) // INLINED!! elseif ( spellId == DecoMovement_ROTATE ) then - set spellId=(LoadInteger(ConstTable___ht, (((((s__LoP_PlayerData_rotationStep_impl))))), (((GetPlayerId((GetOwningPlayer(trigU)))))))) // INLINED!! + set spellId=(LoadInteger(ConstTable__ht, (((((s__LoP_PlayerData_rotationStep_impl))))), (((GetPlayerId((GetOwningPlayer(trigU)))))))) // INLINED!! set angle=I2R(( ( ( R2I(( GetUnitFacing(trigU) + 1 )) / spellId ) + 1 ) * spellId )) set angle=ModuloReal(angle, 360.) @@ -23031,7 +23055,7 @@ function Trig_TreeSystem_Cast_Ability_Conditions takes nothing returns boolean endfunction function Trig_TreeSystem_Cast_Ability_Func004Func003A takes nothing returns nothing - if not (HaveSavedBoolean(ConstTable___ht, ((((s__LoPWidgets___Globals_destructablesTab_impl)))), (GetHandleId((GetEnumDestructable()))))) then // INLINED!! + if not (HaveSavedBoolean(ConstTable__ht, ((((s__LoPWidgets__Globals_destructablesTab_impl)))), (GetHandleId((GetEnumDestructable()))))) then // INLINED!! call KillDestructable(GetEnumDestructable()) endif endfunction @@ -23055,7 +23079,7 @@ function Trig_TreeSystem_Cast_Ability_Func005C takes nothing returns boolean endfunction function Trig_TreeSystem_Cast_Ability_Func006Func003A takes nothing returns nothing - if IsDestructableTree(GetEnumDestructable()) and not (HaveSavedBoolean(ConstTable___ht, ((((s__LoPWidgets___Globals_destructablesTab_impl)))), (GetHandleId((GetEnumDestructable()))))) then // INLINED!! + if IsDestructableTree(GetEnumDestructable()) and not (HaveSavedBoolean(ConstTable__ht, ((((s__LoPWidgets__Globals_destructablesTab_impl)))), (GetHandleId((GetEnumDestructable()))))) then // INLINED!! call RemoveDestructable(GetEnumDestructable()) endif endfunction @@ -23122,8 +23146,8 @@ endfunction //textmacro instance: TableStruct_NewConstTableField("","timerData") - constant function s__TreeSystemChooseTree___Globals__get_timerData takes nothing returns integer - return s__TreeSystemChooseTree___Globals_timerData_impl + constant function s__TreeSystemChooseTree__Globals__get_timerData takes nothing returns integer + return s__TreeSystemChooseTree__Globals_timerData_impl endfunction @@ -23135,14 +23159,14 @@ endfunction function TreeIssueStopOrder takes nothing returns nothing local timer t= GetExpiredTimer() local integer tId= GetHandleId(t) - local unit deco= (LoadUnitHandle(ConstTable___ht, ((((s__TreeSystemChooseTree___Globals_timerData_impl)))), (GetHandleId(t)))) // INLINED!! + local unit deco= (LoadUnitHandle(ConstTable__ht, ((((s__TreeSystemChooseTree__Globals_timerData_impl)))), (GetHandleId(t)))) // INLINED!! call IssueImmediateOrder(deco, "stop") call PauseTimer(t) call DestroyTimer(t) - call RemoveSavedHandle(ConstTable___ht, ((((s__TreeSystemChooseTree___Globals_timerData_impl)))), (tId)) // INLINED!! + call RemoveSavedHandle(ConstTable__ht, ((((s__TreeSystemChooseTree__Globals_timerData_impl)))), (tId)) // INLINED!! set t=null set deco=null @@ -23158,7 +23182,7 @@ function Trig_TreeSystem_Choose_Tree_Conditions takes nothing returns boolean set t=CreateTimer() set udg_TreeSystem_TREES[GetPlayerId(GetOwningPlayer(GetTriggerUnit())) + 1]=GetDestructableTypeId(GetOrderTargetDestructable()) call TimerStart(t, 0, false, function TreeIssueStopOrder) - call SaveUnitHandle(ConstTable___ht, ((((s__TreeSystemChooseTree___Globals_timerData_impl)))), (GetHandleId(t)), ( GetTriggerUnit())) // INLINED!! + call SaveUnitHandle(ConstTable__ht, ((((s__TreeSystemChooseTree__Globals_timerData_impl)))), (GetHandleId(t)), ( GetTriggerUnit())) // INLINED!! set t=null endif endif @@ -23317,7 +23341,7 @@ endfunction //=========================================================================== // scope MultiPatrolCommands begins -function MultiPatrolCommands___CommandActions takes nothing returns nothing +function MultiPatrolCommands__CommandActions takes nothing returns nothing local group selectedGrp= CreateGroup() local unit u @@ -23346,10 +23370,10 @@ function MultiPatrolCommands___CommandActions takes nothing returns nothing set u=null endfunction -function MultiPatrolCommands___onInit takes nothing returns nothing +function MultiPatrolCommands__onInit takes nothing returns nothing local trigger trig= CreateTrigger() local integer i= 0 - call TriggerAddAction(trig, function MultiPatrolCommands___CommandActions) + call TriggerAddAction(trig, function MultiPatrolCommands__CommandActions) loop exitwhen i >= bj_MAX_PLAYERS @@ -23364,7 +23388,7 @@ endfunction // scope MultiPatrolOrder begins -function MultiPatrolOrder___IsUnitOnlySelected takes unit trigU returns boolean +function MultiPatrolOrder__IsUnitOnlySelected takes unit trigU returns boolean local group selectedGrp= CreateGroup() local unit firstOfGrp local integer groupCounter= 0 @@ -23390,10 +23414,10 @@ function MultiPatrolOrder___IsUnitOnlySelected takes unit trigU returns boolean return groupCounter == 1 and trigUnitInSelection endfunction -function MultiPatrolOrder___OnPatrolOrderCondition takes nothing returns boolean +function MultiPatrolOrder__OnPatrolOrderCondition takes nothing returns boolean local unit trigU= GetTriggerUnit() - if Patrol_IsValidPatrolOrder(GetIssuedOrderId()) and MultiPatrolOrder___IsUnitOnlySelected(trigU) then + if Patrol_IsValidPatrolOrder(GetIssuedOrderId()) and MultiPatrolOrder__IsUnitOnlySelected(trigU) then call Patrol_RegisterPoint(trigU , GetOrderPointX() , GetOrderPointY()) endif @@ -23402,11 +23426,11 @@ function MultiPatrolOrder___OnPatrolOrderCondition takes nothing returns boolean return false endfunction -function MultiPatrolOrder___onInit takes nothing returns nothing +function MultiPatrolOrder__onInit takes nothing returns nothing local trigger trig= CreateTrigger() call TriggerRegisterAnyUnitEventBJ(trig, EVENT_PLAYER_UNIT_ISSUED_POINT_ORDER) - call TriggerAddCondition(trig, Condition(function MultiPatrolOrder___OnPatrolOrderCondition)) + call TriggerAddCondition(trig, Condition(function MultiPatrolOrder__OnPatrolOrderCondition)) endfunction // scope MultiPatrolOrder ends @@ -24248,7 +24272,7 @@ function CheckDamagedLifeEvent takes boolean clear returns nothing endif //Kill the unit call DisableTrigger(udg_DamageEventTrigger) - call UnitDamageTarget(udg_DamageEventSource, udg_DamageEventTarget, -999, false, false, ATTACK_TYPE_CHAOS, DAMAGE_TYPE_UNIVERSAL, null) + call UnitDamageTarget(udg_DamageEventSource, udg_DamageEventTarget, - 999, false, false, ATTACK_TYPE_CHAOS, DAMAGE_TYPE_UNIVERSAL, null) call EnableTrigger(udg_DamageEventTrigger) endif elseif GetUnitAbilityLevel(udg_DamageEventTarget, udg_DamageBlockingAbility) > 0 then @@ -24671,7 +24695,7 @@ function DamageDetectionFunctions_Spell takes nothing returns nothing endif // Increase spell damage for heroic units to compensate for their magic damage reduction (50%) - if (LoadBoolean(ConstTable___ht, (((((s__LoP_UnitData_isHeroic_impl))))), (((GetHandleId((udg_DamageEventTarget))))))) then // INLINED!! + if (LoadBoolean(ConstTable__ht, (((((s__LoP_UnitData_isHeroic_impl))))), (((GetHandleId((udg_DamageEventTarget))))))) then // INLINED!! set udg_Damage_Mod_Multiplier=udg_Damage_Mod_Multiplier * 1.5 endif @@ -26261,7 +26285,7 @@ function SaveLoopActions2 takes nothing returns nothing - set rectangle=(LoadRectHandle(UserDefinedRects___hashTable, (genId), (0))) // INLINED!! + set rectangle=(LoadRectHandle(UserDefinedRects__hashTable, (genId), (0))) // INLINED!! if GetLocalPlayer() == saver then call PreloadGenClear() call PreloadGenStart() @@ -26307,7 +26331,7 @@ function SaveTiles takes nothing returns boolean set i=121 // exit loop, since we already traversed all of the rows endif - set saveStr=saveStr + LoadD2H((LoadInteger(ConstTable___ht, ((s__TerrainType2Id_data_impl)), (((GetTerrainType(udg_save_XYminmaxcur[playerNumber + 2 * bj_MAX_PLAYERS], udg_save_XYminmaxcur[playerNumber + 5 * bj_MAX_PLAYERS]))))))) + LoadD2H(GetTerrainVariance(udg_save_XYminmaxcur[playerNumber + 2 * bj_MAX_PLAYERS], udg_save_XYminmaxcur[playerNumber + 5 * bj_MAX_PLAYERS])) // INLINED!! + set saveStr=saveStr + LoadD2H((LoadInteger(ConstTable__ht, ((s__TerrainType2Id_data_impl)), (((GetTerrainType(udg_save_XYminmaxcur[playerNumber + 2 * bj_MAX_PLAYERS], udg_save_XYminmaxcur[playerNumber + 5 * bj_MAX_PLAYERS]))))))) + LoadD2H(GetTerrainVariance(udg_save_XYminmaxcur[playerNumber + 2 * bj_MAX_PLAYERS], udg_save_XYminmaxcur[playerNumber + 5 * bj_MAX_PLAYERS])) // INLINED!! set i=i + 1 if udg_save_XYminmaxcur[playerNumber + 2 * bj_MAX_PLAYERS] > udg_save_XYminmaxcur[playerNumber + bj_MAX_PLAYERS] then // x cur > x min @@ -26341,7 +26365,7 @@ function SaveTerrain takes nothing returns nothing return endif - set saveRect=(LoadRectHandle(UserDefinedRects___hashTable, (genId), (0))) // INLINED!! + set saveRect=(LoadRectHandle(UserDefinedRects__hashTable, (genId), (0))) // INLINED!! set udg_save_XYminmaxcur[playerNumber]=GetRectMinX(saveRect) set udg_save_XYminmaxcur[playerNumber + bj_MAX_PLAYERS]=GetRectMaxX(saveRect) set udg_save_XYminmaxcur[playerNumber + 3 * bj_MAX_PLAYERS]=GetRectMinY(saveRect) @@ -26467,9 +26491,9 @@ endfunction // TODO: Create function to set first patrol in the GPS library - if not ((LoadInteger(MultiPatrol___data, - ((GetHandleId((whichUnit)))), (9996))) != 0) then // INLINED!! + if not ((LoadInteger(MultiPatrol__data, - ((GetHandleId((whichUnit)))), (9996))) != 0) then // INLINED!! call SetUnitPosition(whichUnit, x, y) - call SaveInteger(MultiPatrol___data, - (GetHandleId(whichUnit) ), (9996), ( 1)) // INLINED!! + call SaveInteger(MultiPatrol__data, - (GetHandleId(whichUnit) ), (9996), ( 1)) // INLINED!! else call Patrol_RegisterPoint(whichUnit , x , y) endif @@ -27539,88 +27563,88 @@ endfunction //textmacro instance: TableStruct_NewHandleField("caster","unit") - function s__SpatialDistortion__TimerData__get_caster takes integer this returns unit - return (LoadUnitHandle(ConstTable___ht, (((((s__SpatialDistortion__TimerData_caster_impl))))), (this))) // INLINED!! + function s__SpatialDistortion___TimerData__get_caster takes integer this returns unit + return (LoadUnitHandle(ConstTable__ht, (((((s__SpatialDistortion___TimerData_caster_impl))))), (this))) // INLINED!! endfunction - function s__SpatialDistortion__TimerData__set_caster takes integer this,unit new_caster returns nothing - call s__TableStruct_setHandle(s__SpatialDistortion__TimerData_caster_impl , this , new_caster) + function s__SpatialDistortion___TimerData__set_caster takes integer this,unit new_caster returns nothing + call s__TableStruct_setHandle(s__SpatialDistortion___TimerData_caster_impl , this , new_caster) endfunction - function s__SpatialDistortion__TimerData_casterClear takes integer this returns nothing - call RemoveSavedHandle(ConstTable___ht, (((((s__SpatialDistortion__TimerData_caster_impl))))), (this)) // INLINED!! + function s__SpatialDistortion___TimerData_casterClear takes integer this returns nothing + call RemoveSavedHandle(ConstTable__ht, (((((s__SpatialDistortion___TimerData_caster_impl))))), (this)) // INLINED!! endfunction - function s__SpatialDistortion__TimerData_casterExists takes integer this returns boolean - return (HaveSavedHandle(ConstTable___ht, (((((s__SpatialDistortion__TimerData_caster_impl))))), (this))) // INLINED!! + function s__SpatialDistortion___TimerData_casterExists takes integer this returns boolean + return (HaveSavedHandle(ConstTable__ht, (((((s__SpatialDistortion___TimerData_caster_impl))))), (this))) // INLINED!! endfunction //end of: TableStruct_NewHandleField("caster","unit") //textmacro instance: TableStruct_NewPrimitiveField("counter","integer") - function s__SpatialDistortion__TimerData__get_counter takes integer this returns integer - return (LoadInteger(ConstTable___ht, (((((s__SpatialDistortion__TimerData_counter_impl))))), (this))) // INLINED!! + function s__SpatialDistortion___TimerData__get_counter takes integer this returns integer + return (LoadInteger(ConstTable__ht, (((((s__SpatialDistortion___TimerData_counter_impl))))), (this))) // INLINED!! endfunction - function s__SpatialDistortion__TimerData__set_counter takes integer this,integer new_counter returns nothing - call SaveInteger(ConstTable___ht, (((((s__SpatialDistortion__TimerData_counter_impl))))), (this), ( new_counter)) // INLINED!! + function s__SpatialDistortion___TimerData__set_counter takes integer this,integer new_counter returns nothing + call SaveInteger(ConstTable__ht, (((((s__SpatialDistortion___TimerData_counter_impl))))), (this), ( new_counter)) // INLINED!! endfunction - function s__SpatialDistortion__TimerData_counterClear takes integer this returns nothing - call RemoveSavedInteger(ConstTable___ht, (((((s__SpatialDistortion__TimerData_counter_impl))))), (this)) // INLINED!! + function s__SpatialDistortion___TimerData_counterClear takes integer this returns nothing + call RemoveSavedInteger(ConstTable__ht, (((((s__SpatialDistortion___TimerData_counter_impl))))), (this)) // INLINED!! endfunction - function s__SpatialDistortion__TimerData_counterExists takes integer this returns boolean - return (HaveSavedInteger(ConstTable___ht, (((((s__SpatialDistortion__TimerData_counter_impl))))), (this))) // INLINED!! + function s__SpatialDistortion___TimerData_counterExists takes integer this returns boolean + return (HaveSavedInteger(ConstTable__ht, (((((s__SpatialDistortion___TimerData_counter_impl))))), (this))) // INLINED!! endfunction //end of: TableStruct_NewPrimitiveField("counter","integer") //textmacro instance: TableStruct_NewPrimitiveField("x","real") - function s__SpatialDistortion__TimerData__get_x takes integer this returns real - return (LoadReal(ConstTable___ht, (((((s__SpatialDistortion__TimerData_x_impl))))), (this))) // INLINED!! + function s__SpatialDistortion___TimerData__get_x takes integer this returns real + return (LoadReal(ConstTable__ht, (((((s__SpatialDistortion___TimerData_x_impl))))), (this))) // INLINED!! endfunction - function s__SpatialDistortion__TimerData__set_x takes integer this,real new_x returns nothing - call SaveReal(ConstTable___ht, (((((s__SpatialDistortion__TimerData_x_impl))))), (this), (( new_x)*1.0)) // INLINED!! + function s__SpatialDistortion___TimerData__set_x takes integer this,real new_x returns nothing + call SaveReal(ConstTable__ht, (((((s__SpatialDistortion___TimerData_x_impl))))), (this), (( new_x)*1.0)) // INLINED!! endfunction - function s__SpatialDistortion__TimerData_xClear takes integer this returns nothing - call RemoveSavedReal(ConstTable___ht, (((((s__SpatialDistortion__TimerData_x_impl))))), (this)) // INLINED!! + function s__SpatialDistortion___TimerData_xClear takes integer this returns nothing + call RemoveSavedReal(ConstTable__ht, (((((s__SpatialDistortion___TimerData_x_impl))))), (this)) // INLINED!! endfunction - function s__SpatialDistortion__TimerData_xExists takes integer this returns boolean - return (HaveSavedReal(ConstTable___ht, (((((s__SpatialDistortion__TimerData_x_impl))))), (this))) // INLINED!! + function s__SpatialDistortion___TimerData_xExists takes integer this returns boolean + return (HaveSavedReal(ConstTable__ht, (((((s__SpatialDistortion___TimerData_x_impl))))), (this))) // INLINED!! endfunction //end of: TableStruct_NewPrimitiveField("x","real") //textmacro instance: TableStruct_NewPrimitiveField("y","real") - function s__SpatialDistortion__TimerData__get_y takes integer this returns real - return (LoadReal(ConstTable___ht, (((((s__SpatialDistortion__TimerData_y_impl))))), (this))) // INLINED!! + function s__SpatialDistortion___TimerData__get_y takes integer this returns real + return (LoadReal(ConstTable__ht, (((((s__SpatialDistortion___TimerData_y_impl))))), (this))) // INLINED!! endfunction - function s__SpatialDistortion__TimerData__set_y takes integer this,real new_y returns nothing - call SaveReal(ConstTable___ht, (((((s__SpatialDistortion__TimerData_y_impl))))), (this), (( new_y)*1.0)) // INLINED!! + function s__SpatialDistortion___TimerData__set_y takes integer this,real new_y returns nothing + call SaveReal(ConstTable__ht, (((((s__SpatialDistortion___TimerData_y_impl))))), (this), (( new_y)*1.0)) // INLINED!! endfunction - function s__SpatialDistortion__TimerData_yClear takes integer this returns nothing - call RemoveSavedReal(ConstTable___ht, (((((s__SpatialDistortion__TimerData_y_impl))))), (this)) // INLINED!! + function s__SpatialDistortion___TimerData_yClear takes integer this returns nothing + call RemoveSavedReal(ConstTable__ht, (((((s__SpatialDistortion___TimerData_y_impl))))), (this)) // INLINED!! endfunction - function s__SpatialDistortion__TimerData_yExists takes integer this returns boolean - return (HaveSavedReal(ConstTable___ht, (((((s__SpatialDistortion__TimerData_y_impl))))), (this))) // INLINED!! + function s__SpatialDistortion___TimerData_yExists takes integer this returns boolean + return (HaveSavedReal(ConstTable__ht, (((((s__SpatialDistortion___TimerData_y_impl))))), (this))) // INLINED!! endfunction //end of: TableStruct_NewPrimitiveField("y","real") - function s__SpatialDistortion__TimerData_flushCaster takes integer this returns nothing - call RemoveSavedHandle(ConstTable___ht, (((((s__SpatialDistortion__TimerData_caster_impl))))), ((this))) // INLINED!! + function s__SpatialDistortion___TimerData_flushCaster takes integer this returns nothing + call RemoveSavedHandle(ConstTable__ht, (((((s__SpatialDistortion___TimerData_caster_impl))))), ((this))) // INLINED!! endfunction - function s__SpatialDistortion__TimerData_flushCounter takes integer this returns nothing - call RemoveSavedInteger(ConstTable___ht, (((((s__SpatialDistortion__TimerData_counter_impl))))), ((this))) // INLINED!! + function s__SpatialDistortion___TimerData_flushCounter takes integer this returns nothing + call RemoveSavedInteger(ConstTable__ht, (((((s__SpatialDistortion___TimerData_counter_impl))))), ((this))) // INLINED!! endfunction - function s__SpatialDistortion__TimerData_flushX takes integer this returns nothing - call RemoveSavedReal(ConstTable___ht, (((((s__SpatialDistortion__TimerData_x_impl))))), ((this))) // INLINED!! + function s__SpatialDistortion___TimerData_flushX takes integer this returns nothing + call RemoveSavedReal(ConstTable__ht, (((((s__SpatialDistortion___TimerData_x_impl))))), ((this))) // INLINED!! endfunction - function s__SpatialDistortion__TimerData_flushY takes integer this returns nothing - call RemoveSavedReal(ConstTable___ht, (((((s__SpatialDistortion__TimerData_y_impl))))), ((this))) // INLINED!! + function s__SpatialDistortion___TimerData_flushY takes integer this returns nothing + call RemoveSavedReal(ConstTable__ht, (((((s__SpatialDistortion___TimerData_y_impl))))), ((this))) // INLINED!! endfunction -function SpatialDistortion__onExpire_EnumInRange takes nothing returns nothing +function SpatialDistortion___onExpire_EnumInRange takes nothing returns nothing local unit filterU= GetFilterUnit() local unit caster= s__Args_getUnit(0) @@ -27634,29 +27658,29 @@ function SpatialDistortion__onExpire_EnumInRange takes nothing returns nothing set caster=null endfunction -function SpatialDistortion__onExpire takes nothing returns nothing +function SpatialDistortion___onExpire takes nothing returns nothing local timer t= GetExpiredTimer() local integer tData= GetHandleId(t) - local real x= (LoadReal(ConstTable___ht, (((((s__SpatialDistortion__TimerData_x_impl))))), ((tData)))) // INLINED!! - local real y= (LoadReal(ConstTable___ht, (((((s__SpatialDistortion__TimerData_y_impl))))), ((tData)))) // INLINED!! + local real x= (LoadReal(ConstTable__ht, (((((s__SpatialDistortion___TimerData_x_impl))))), ((tData)))) // INLINED!! + local real y= (LoadReal(ConstTable__ht, (((((s__SpatialDistortion___TimerData_y_impl))))), ((tData)))) // INLINED!! - call s__Args_setAgent(s__Args_unit_impl , (0 ) , ( (LoadUnitHandle(ConstTable___ht, (((((s__SpatialDistortion__TimerData_caster_impl))))), ((tData)))))) // INLINED!! + call s__Args_setAgent(s__Args_unit_impl , (0 ) , ( (LoadUnitHandle(ConstTable__ht, (((((s__SpatialDistortion___TimerData_caster_impl))))), ((tData)))))) // INLINED!! call s__Args_setReal(0 , x) call s__Args_setReal(1 , y) - call GroupEnumUnitsInRange(ENUM_GROUP, x, y, 400, Filter(function SpatialDistortion__onExpire_EnumInRange)) + call GroupEnumUnitsInRange(ENUM_GROUP, x, y, 400, Filter(function SpatialDistortion___onExpire_EnumInRange)) call s__Args_freeReal(0) call s__Args_freeReal(1) call s__Args_freeHandle(s__Args_unit_impl , (0)) // INLINED!! - if (LoadInteger(ConstTable___ht, (((((s__SpatialDistortion__TimerData_counter_impl))))), ((tData)))) >= 4 then // INLINED!! - call RemoveSavedHandle(ConstTable___ht, (((((s__SpatialDistortion__TimerData_caster_impl))))), (((tData)))) // INLINED!! - call RemoveSavedInteger(ConstTable___ht, (((((s__SpatialDistortion__TimerData_counter_impl))))), (((tData)))) // INLINED!! - call RemoveSavedReal(ConstTable___ht, (((((s__SpatialDistortion__TimerData_x_impl))))), (((tData)))) // INLINED!! - call RemoveSavedReal(ConstTable___ht, (((((s__SpatialDistortion__TimerData_y_impl))))), (((tData)))) // INLINED!! + if (LoadInteger(ConstTable__ht, (((((s__SpatialDistortion___TimerData_counter_impl))))), ((tData)))) >= 4 then // INLINED!! + call RemoveSavedHandle(ConstTable__ht, (((((s__SpatialDistortion___TimerData_caster_impl))))), (((tData)))) // INLINED!! + call RemoveSavedInteger(ConstTable__ht, (((((s__SpatialDistortion___TimerData_counter_impl))))), (((tData)))) // INLINED!! + call RemoveSavedReal(ConstTable__ht, (((((s__SpatialDistortion___TimerData_x_impl))))), (((tData)))) // INLINED!! + call RemoveSavedReal(ConstTable__ht, (((((s__SpatialDistortion___TimerData_y_impl))))), (((tData)))) // INLINED!! call PauseTimer(t) call DestroyTimer(t) else - call SaveInteger(ConstTable___ht, (((((s__SpatialDistortion__TimerData_counter_impl))))), ((tData)), ( ((LoadInteger(ConstTable___ht, (((((s__SpatialDistortion__TimerData_counter_impl))))), ((tData)))) + 1))) // INLINED!! + call SaveInteger(ConstTable__ht, (((((s__SpatialDistortion___TimerData_counter_impl))))), ((tData)), ( ((LoadInteger(ConstTable__ht, (((((s__SpatialDistortion___TimerData_counter_impl))))), ((tData)))) + 1))) // INLINED!! endif set t=null @@ -27673,11 +27697,11 @@ function Trig_Spatial_Distortion_Cast_Conditions takes nothing returns boolean set t=CreateTimer() set tData=GetHandleId(t) - call s__TableStruct_setHandle(s__SpatialDistortion__TimerData_caster_impl , (tData) , (udg_Spell__Caster)) // INLINED!! - call SaveReal(ConstTable___ht, (((((s__SpatialDistortion__TimerData_x_impl))))), ((tData)), (( ((GetLocationX(udg_Spell__CastPoint))*1.0))*1.0)) // INLINED!! - call SaveReal(ConstTable___ht, (((((s__SpatialDistortion__TimerData_y_impl))))), ((tData)), (( ((GetLocationY(udg_Spell__CastPoint))*1.0))*1.0)) // INLINED!! - call SaveInteger(ConstTable___ht, (((((s__SpatialDistortion__TimerData_counter_impl))))), ((tData)), ( (0))) // INLINED!! - call TimerStart(t, 0.2, true, function SpatialDistortion__onExpire) + call s__TableStruct_setHandle(s__SpatialDistortion___TimerData_caster_impl , (tData) , (udg_Spell__Caster)) // INLINED!! + call SaveReal(ConstTable__ht, (((((s__SpatialDistortion___TimerData_x_impl))))), ((tData)), (( ((GetLocationX(udg_Spell__CastPoint))*1.0))*1.0)) // INLINED!! + call SaveReal(ConstTable__ht, (((((s__SpatialDistortion___TimerData_y_impl))))), ((tData)), (( ((GetLocationY(udg_Spell__CastPoint))*1.0))*1.0)) // INLINED!! + call SaveInteger(ConstTable__ht, (((((s__SpatialDistortion___TimerData_counter_impl))))), ((tData)), ( (0))) // INLINED!! + call TimerStart(t, 0.2, true, function SpatialDistortion___onExpire) set t=null return false @@ -27799,39 +27823,39 @@ endfunction //textmacro instance: TableStruct_NewHandleField("timer","timer") - function s__WillOfTheTribunal__CasterData__get_timer takes integer this returns timer - return (LoadTimerHandle(ConstTable___ht, (((((s__WillOfTheTribunal__CasterData_timer_impl))))), (this))) // INLINED!! + function s__WillOfTheTribunal___CasterData__get_timer takes integer this returns timer + return (LoadTimerHandle(ConstTable__ht, (((((s__WillOfTheTribunal___CasterData_timer_impl))))), (this))) // INLINED!! endfunction - function s__WillOfTheTribunal__CasterData__set_timer takes integer this,timer new_timer returns nothing - call s__TableStruct_setHandle(s__WillOfTheTribunal__CasterData_timer_impl , this , new_timer) + function s__WillOfTheTribunal___CasterData__set_timer takes integer this,timer new_timer returns nothing + call s__TableStruct_setHandle(s__WillOfTheTribunal___CasterData_timer_impl , this , new_timer) endfunction - function s__WillOfTheTribunal__CasterData_timerClear takes integer this returns nothing - call RemoveSavedHandle(ConstTable___ht, (((((s__WillOfTheTribunal__CasterData_timer_impl))))), (this)) // INLINED!! + function s__WillOfTheTribunal___CasterData_timerClear takes integer this returns nothing + call RemoveSavedHandle(ConstTable__ht, (((((s__WillOfTheTribunal___CasterData_timer_impl))))), (this)) // INLINED!! endfunction - function s__WillOfTheTribunal__CasterData_timerExists takes integer this returns boolean - return (HaveSavedHandle(ConstTable___ht, (((((s__WillOfTheTribunal__CasterData_timer_impl))))), (this))) // INLINED!! + function s__WillOfTheTribunal___CasterData_timerExists takes integer this returns boolean + return (HaveSavedHandle(ConstTable__ht, (((((s__WillOfTheTribunal___CasterData_timer_impl))))), (this))) // INLINED!! endfunction //end of: TableStruct_NewHandleField("timer","timer") - function s__WillOfTheTribunal__CasterData_destroy takes integer this returns nothing - call RemoveSavedHandle(ConstTable___ht, (((((s__WillOfTheTribunal__CasterData_timer_impl))))), ((this))) // INLINED!! + function s__WillOfTheTribunal___CasterData_destroy takes integer this returns nothing + call RemoveSavedHandle(ConstTable__ht, (((((s__WillOfTheTribunal___CasterData_timer_impl))))), ((this))) // INLINED!! endfunction //=========================================================================== // CONFIG (some of it is in the Object Editor ability) //=========================================================================== -constant function WillOfTheTribunal__ATTACK_SPEED_REDUCTION takes nothing returns integer +constant function WillOfTheTribunal___ATTACK_SPEED_REDUCTION takes nothing returns integer return - 20 endfunction -constant function WillOfTheTribunal__MOVE_SPEED_REDUCTION takes nothing returns real +constant function WillOfTheTribunal___MOVE_SPEED_REDUCTION takes nothing returns real return 0.5 endfunction -constant function WillOfTheTribunal__BASE_ORDER_ID takes nothing returns string +constant function WillOfTheTribunal___BASE_ORDER_ID takes nothing returns string return "entangle" endfunction @@ -27839,7 +27863,7 @@ endfunction // CODE //=========================================================================== // Spell end and cleanup -function WillOfTheTribunal__GroupRemoveDebuff takes nothing returns nothing +function WillOfTheTribunal___GroupRemoveDebuff takes nothing returns nothing local unit u= GetEnumUnit() call CSS_AddBonus(u , - (- 20) , 1) // INLINED!! call GMSS_UnitMultiplyMoveSpeedEx(((u ) ) , (( (( 1. / (0.5))*1.0))*1.0) , (0.000) , (522.0)) // INLINED!! @@ -27848,7 +27872,7 @@ endfunction //=========================================================================== // Spell Main Loop -function WillOfTheTribunal__WotTTimerAction takes nothing returns nothing +function WillOfTheTribunal___WotTTimerAction takes nothing returns nothing local timer t= GetExpiredTimer() local integer tKey= (GetHandleId((GetExpiredTimer()))) // INLINED!! local integer circleId= (LoadInteger(ArrayAgent_hashTable, (tKey ), ( 0))) // INLINED!! @@ -27859,7 +27883,7 @@ function WillOfTheTribunal__WotTTimerAction takes nothing returns nothing local integer i= 0 - if OrderId2String(GetUnitCurrentOrder((LoadUnitHandle(ArrayAgent_hashTable, (tKey ), ( 2))))) == ("entangle") and t == (LoadTimerHandle(ConstTable___ht, (((((s__WillOfTheTribunal__CasterData_timer_impl))))), ((casterData)))) then // INLINED!! + if OrderId2String(GetUnitCurrentOrder((LoadUnitHandle(ArrayAgent_hashTable, (tKey ), ( 2))))) == ("entangle") and t == (LoadTimerHandle(ConstTable__ht, (((((s__WillOfTheTribunal___CasterData_timer_impl))))), ((casterData)))) then // INLINED!! call UpdateGCOS(circleId) loop exitwhen i > 8 @@ -27867,12 +27891,12 @@ function WillOfTheTribunal__WotTTimerAction takes nothing returns nothing set i=i + 1 endloop else - if t == (LoadTimerHandle(ConstTable___ht, (((((s__WillOfTheTribunal__CasterData_timer_impl))))), ((casterData)))) then // INLINED!! - call RemoveSavedHandle(ConstTable___ht, (((((s__WillOfTheTribunal__CasterData_timer_impl))))), (((casterData)))) // INLINED!! + if t == (LoadTimerHandle(ConstTable__ht, (((((s__WillOfTheTribunal___CasterData_timer_impl))))), ((casterData)))) then // INLINED!! + call RemoveSavedHandle(ConstTable__ht, (((((s__WillOfTheTribunal___CasterData_timer_impl))))), (((casterData)))) // INLINED!! endif set slowGroup=(LoadGroupHandle(ArrayAgent_hashTable, (tKey ), ( 4))) // INLINED!! - call ForGroup(slowGroup, function WillOfTheTribunal__GroupRemoveDebuff) + call ForGroup(slowGroup, function WillOfTheTribunal___GroupRemoveDebuff) call DestroyGroup(slowGroup) call DestroyGCOS(circleId) @@ -27890,7 +27914,7 @@ endfunction //=========================================================================== // Spell Cast Event Response -function WillOfTheTribunal__onCast takes nothing returns nothing +function WillOfTheTribunal___onCast takes nothing returns nothing local integer circleId= CreateGCOS(0 , GetLocationX(udg_Spell__TargetPoint) , GetLocationY(udg_Spell__TargetPoint) , 200 , 200 , 16 , 0 , bj_PI / 4) local timer t= CreateTimer() local integer tKey= (GetHandleId((t))) // INLINED!! @@ -27905,10 +27929,10 @@ function WillOfTheTribunal__onCast takes nothing returns nothing call SaveAgentHandle(ArrayAgent_hashTable, (tKey ), ( 4 ), ( slowGroup)) // Save group in timer so it can be destroyed even if the dummy is deleted. // INLINED!! call SaveAgentHandle(ArrayAgent_hashTable, ((GetHandleId((dummy))) ), ( 0 ), ( slowGroup)) // INLINED!! - call s__TableStruct_setHandle(s__WillOfTheTribunal__CasterData_timer_impl , ((GetHandleId(udg_Spell__Caster))) , (t)) // INLINED!! + call s__TableStruct_setHandle(s__WillOfTheTribunal___CasterData_timer_impl , ((GetHandleId(udg_Spell__Caster))) , (t)) // INLINED!! - call TimerStart(t, 1, true, function WillOfTheTribunal__WotTTimerAction) + call TimerStart(t, 1, true, function WillOfTheTribunal___WotTTimerAction) set t=null set slowGroup=null set dummy=null @@ -27916,7 +27940,7 @@ endfunction //=========================================================================== // Dummy on damage trigger -function WillOfTheTribunal__onDamage takes nothing returns boolean +function WillOfTheTribunal___onDamage takes nothing returns boolean local group slowGroup= (LoadGroupHandle(ArrayAgent_hashTable, ((GetHandleId((udg_DamageEventSource))) ), ( 0))) // INLINED!! if not IsUnitInGroup(udg_DamageEventTarget, slowGroup) then call CSS_AddBonus(udg_DamageEventTarget , (- 20) , 1) // INLINED!! @@ -27933,10 +27957,10 @@ endfunction //=========================================================================== function InitTrig_Tyrael_WotT_Cast takes nothing returns nothing set gg_trg_Tyrael_WotT_Cast=CreateTrigger() - call TriggerAddAction(gg_trg_Tyrael_WotT_Cast, function WillOfTheTribunal__onCast) + call TriggerAddAction(gg_trg_Tyrael_WotT_Cast, function WillOfTheTribunal___onCast) //Tyrael - Will of the Tribunal: Slow damaged Units - call InitializeOnDamageTrigger(CreateTrigger() , 'A04B' , function WillOfTheTribunal__onDamage) + call InitializeOnDamageTrigger(CreateTrigger() , 'A04B' , function WillOfTheTribunal___onDamage) //------------------------------------------------- endfunction @@ -28737,7 +28761,7 @@ endfunction //textmacro instance: TableStruct_NewHandleField("caster","unit") function s__CometSpell___TimerData__get_caster takes integer this returns unit - return (LoadUnitHandle(ConstTable___ht, (((((s__CometSpell___TimerData_caster_impl))))), (this))) // INLINED!! + return (LoadUnitHandle(ConstTable__ht, (((((s__CometSpell___TimerData_caster_impl))))), (this))) // INLINED!! endfunction function s__CometSpell___TimerData__set_caster takes integer this,unit new_caster returns nothing @@ -28745,56 +28769,56 @@ endfunction endfunction function s__CometSpell___TimerData_casterClear takes integer this returns nothing - call RemoveSavedHandle(ConstTable___ht, (((((s__CometSpell___TimerData_caster_impl))))), (this)) // INLINED!! + call RemoveSavedHandle(ConstTable__ht, (((((s__CometSpell___TimerData_caster_impl))))), (this)) // INLINED!! endfunction function s__CometSpell___TimerData_casterExists takes integer this returns boolean - return (HaveSavedHandle(ConstTable___ht, (((((s__CometSpell___TimerData_caster_impl))))), (this))) // INLINED!! + return (HaveSavedHandle(ConstTable__ht, (((((s__CometSpell___TimerData_caster_impl))))), (this))) // INLINED!! endfunction //end of: TableStruct_NewHandleField("caster","unit") //textmacro instance: TableStruct_NewPrimitiveField("x","real") function s__CometSpell___TimerData__get_x takes integer this returns real - return (LoadReal(ConstTable___ht, (((((s__CometSpell___TimerData_x_impl))))), (this))) // INLINED!! + return (LoadReal(ConstTable__ht, (((((s__CometSpell___TimerData_x_impl))))), (this))) // INLINED!! endfunction function s__CometSpell___TimerData__set_x takes integer this,real new_x returns nothing - call SaveReal(ConstTable___ht, (((((s__CometSpell___TimerData_x_impl))))), (this), (( new_x)*1.0)) // INLINED!! + call SaveReal(ConstTable__ht, (((((s__CometSpell___TimerData_x_impl))))), (this), (( new_x)*1.0)) // INLINED!! endfunction function s__CometSpell___TimerData_xClear takes integer this returns nothing - call RemoveSavedReal(ConstTable___ht, (((((s__CometSpell___TimerData_x_impl))))), (this)) // INLINED!! + call RemoveSavedReal(ConstTable__ht, (((((s__CometSpell___TimerData_x_impl))))), (this)) // INLINED!! endfunction function s__CometSpell___TimerData_xExists takes integer this returns boolean - return (HaveSavedReal(ConstTable___ht, (((((s__CometSpell___TimerData_x_impl))))), (this))) // INLINED!! + return (HaveSavedReal(ConstTable__ht, (((((s__CometSpell___TimerData_x_impl))))), (this))) // INLINED!! endfunction //end of: TableStruct_NewPrimitiveField("x","real") //textmacro instance: TableStruct_NewPrimitiveField("y","real") function s__CometSpell___TimerData__get_y takes integer this returns real - return (LoadReal(ConstTable___ht, (((((s__CometSpell___TimerData_y_impl))))), (this))) // INLINED!! + return (LoadReal(ConstTable__ht, (((((s__CometSpell___TimerData_y_impl))))), (this))) // INLINED!! endfunction function s__CometSpell___TimerData__set_y takes integer this,real new_y returns nothing - call SaveReal(ConstTable___ht, (((((s__CometSpell___TimerData_y_impl))))), (this), (( new_y)*1.0)) // INLINED!! + call SaveReal(ConstTable__ht, (((((s__CometSpell___TimerData_y_impl))))), (this), (( new_y)*1.0)) // INLINED!! endfunction function s__CometSpell___TimerData_yClear takes integer this returns nothing - call RemoveSavedReal(ConstTable___ht, (((((s__CometSpell___TimerData_y_impl))))), (this)) // INLINED!! + call RemoveSavedReal(ConstTable__ht, (((((s__CometSpell___TimerData_y_impl))))), (this)) // INLINED!! endfunction function s__CometSpell___TimerData_yExists takes integer this returns boolean - return (HaveSavedReal(ConstTable___ht, (((((s__CometSpell___TimerData_y_impl))))), (this))) // INLINED!! + return (HaveSavedReal(ConstTable__ht, (((((s__CometSpell___TimerData_y_impl))))), (this))) // INLINED!! endfunction //end of: TableStruct_NewPrimitiveField("y","real") function s__CometSpell___TimerData_flushCaster takes integer this returns nothing - call RemoveSavedHandle(ConstTable___ht, (((((s__CometSpell___TimerData_caster_impl))))), ((this))) // INLINED!! + call RemoveSavedHandle(ConstTable__ht, (((((s__CometSpell___TimerData_caster_impl))))), ((this))) // INLINED!! endfunction function s__CometSpell___TimerData_flushX takes integer this returns nothing - call RemoveSavedReal(ConstTable___ht, (((((s__CometSpell___TimerData_x_impl))))), ((this))) // INLINED!! + call RemoveSavedReal(ConstTable__ht, (((((s__CometSpell___TimerData_x_impl))))), ((this))) // INLINED!! endfunction function s__CometSpell___TimerData_flushY takes integer this returns nothing - call RemoveSavedReal(ConstTable___ht, (((((s__CometSpell___TimerData_y_impl))))), ((this))) // INLINED!! + call RemoveSavedReal(ConstTable__ht, (((((s__CometSpell___TimerData_y_impl))))), ((this))) // INLINED!! endfunction function CometSpell___onExpire_EnumInRange takes nothing returns nothing @@ -28828,10 +28852,10 @@ endfunction function CometSpell___onExpire takes nothing returns nothing local timer t= GetExpiredTimer() local integer tData= GetHandleId(t) - local real x= (LoadReal(ConstTable___ht, (((((s__CometSpell___TimerData_x_impl))))), ((tData)))) // INLINED!! - local real y= (LoadReal(ConstTable___ht, (((((s__CometSpell___TimerData_y_impl))))), ((tData)))) // INLINED!! + local real x= (LoadReal(ConstTable__ht, (((((s__CometSpell___TimerData_x_impl))))), ((tData)))) // INLINED!! + local real y= (LoadReal(ConstTable__ht, (((((s__CometSpell___TimerData_y_impl))))), ((tData)))) // INLINED!! - call s__Args_setAgent(s__Args_unit_impl , (0 ) , ( (LoadUnitHandle(ConstTable___ht, (((((s__CometSpell___TimerData_caster_impl))))), ((tData)))))) // INLINED!! + call s__Args_setAgent(s__Args_unit_impl , (0 ) , ( (LoadUnitHandle(ConstTable__ht, (((((s__CometSpell___TimerData_caster_impl))))), ((tData)))))) // INLINED!! call s__Args_setReal(0 , x) call s__Args_setReal(1 , y) call GroupEnumUnitsInRange(ENUM_GROUP, x, y, 400, Filter(function CometSpell___onExpire_EnumInRange)) @@ -28840,9 +28864,9 @@ function CometSpell___onExpire takes nothing returns nothing call s__Args_freeHandle(s__Args_unit_impl , (0)) // INLINED!! - call RemoveSavedHandle(ConstTable___ht, (((((s__CometSpell___TimerData_caster_impl))))), (((tData)))) // INLINED!! - call RemoveSavedReal(ConstTable___ht, (((((s__CometSpell___TimerData_x_impl))))), (((tData)))) // INLINED!! - call RemoveSavedReal(ConstTable___ht, (((((s__CometSpell___TimerData_y_impl))))), (((tData)))) // INLINED!! + call RemoveSavedHandle(ConstTable__ht, (((((s__CometSpell___TimerData_caster_impl))))), (((tData)))) // INLINED!! + call RemoveSavedReal(ConstTable__ht, (((((s__CometSpell___TimerData_x_impl))))), (((tData)))) // INLINED!! + call RemoveSavedReal(ConstTable__ht, (((((s__CometSpell___TimerData_y_impl))))), (((tData)))) // INLINED!! call PauseTimer(t) call DestroyTimer(t) @@ -28863,8 +28887,8 @@ function CometSpell___Conditions takes nothing returns boolean set e=AddSpecialEffect("Abilities\\Spells\\NightElf\\Starfall\\StarfallTarget.mdl", GetLocationX(udg_Spell__TargetPoint), GetLocationY(udg_Spell__TargetPoint)) call s__TableStruct_setHandle(s__CometSpell___TimerData_caster_impl , (tData) , (udg_Spell__Caster)) // INLINED!! - call SaveReal(ConstTable___ht, (((((s__CometSpell___TimerData_x_impl))))), ((tData)), (( ((GetLocationX(udg_Spell__TargetPoint))*1.0))*1.0)) // INLINED!! - call SaveReal(ConstTable___ht, (((((s__CometSpell___TimerData_y_impl))))), ((tData)), (( ((GetLocationY(udg_Spell__TargetPoint))*1.0))*1.0)) // INLINED!! + call SaveReal(ConstTable__ht, (((((s__CometSpell___TimerData_x_impl))))), ((tData)), (( ((GetLocationX(udg_Spell__TargetPoint))*1.0))*1.0)) // INLINED!! + call SaveReal(ConstTable__ht, (((((s__CometSpell___TimerData_y_impl))))), ((tData)), (( ((GetLocationY(udg_Spell__TargetPoint))*1.0))*1.0)) // INLINED!! call BlzSetSpecialEffectPitch(e, bj_PI / 12.) call BlzSetSpecialEffectScale(e, 2.) call DestroyEffect(e) @@ -29152,7 +29176,7 @@ function Trig_Ability_Cooldown_Actions takes nothing returns nothing local integer l__udg_temp_integer local real l__udg_temp_real= 1. local integer order= GetUnitCurrentOrder(GetTriggerUnit()) - if (HaveSavedBoolean(ConstTable___ht, ((((s__Order_morphOrders_impl)))), ((order)))) or (HaveSavedBoolean(ConstTable___ht, ((((s__Order_necroticOrders_impl)))), ((order)))) or (HaveSavedBoolean(ConstTable___ht, ((((s__Order_generalOrders_impl)))), ((order)))) then // INLINED!! + if (HaveSavedBoolean(ConstTable__ht, ((((s__Order_morphOrders_impl)))), ((order)))) or (HaveSavedBoolean(ConstTable__ht, ((((s__Order_necroticOrders_impl)))), ((order)))) or (HaveSavedBoolean(ConstTable__ht, ((((s__Order_generalOrders_impl)))), ((order)))) then // INLINED!! return endif set l__udg_temp_integer=GetUnitAbilityLevelSwapped(GetSpellAbilityId(), GetTriggerUnit()) @@ -29541,7 +29565,7 @@ function InitCustomTriggers takes nothing returns nothing call s__LoP_Command_create("-var" , ACCESS_USER , Condition(function Trig_CommandsD_Variation_Conditions)) // INLINED!! call s__LoP_Command_create("-rotate" , ACCESS_USER , Condition(function Trig_CommandsD_Rotate_Conditions)) // INLINED!! call InitTrig_Commands_Spawn_Stuff() - call s__LoP_Command_create("-roll" , ACCESS_USER , Condition(function CommandsRoll___onCommand)) // INLINED!! + call s__LoP_Command_create("-roll" , ACCESS_USER , Condition(function CommandsRoll__onCommand)) // INLINED!! call InitTrig_Commands_Tips() call InitTrig_DecoBuilder_Movement() call InitTrig_DecoBuilder_Increase_Count() @@ -33313,17 +33337,17 @@ function main takes nothing returns nothing call CreateAllUnits() call InitBlizzard() -call ExecuteFunc("jasshelper__initstructs878053921") +call ExecuteFunc("jasshelper__initstructs879903343") call ExecuteFunc("DestructableLib__Initialization") -call ExecuteFunc("MultiPatrol___onInit") +call ExecuteFunc("MultiPatrol__onInit") call ExecuteFunc("FilterTransformations___onInit") call ExecuteFunc("onInit") -call ExecuteFunc("UserDefinedRects___onInit") +call ExecuteFunc("UserDefinedRects__onInit") call ExecuteFunc("RectGenerator__onInit") -call LoPItemCleanup___onInit() -call TitanPowers___onInit() -call MultiPatrolCommands___onInit() -call MultiPatrolOrder___onInit() +call LoPItemCleanup__onInit() +call TitanPowers__onInit() +call MultiPatrolCommands__onInit() +call MultiPatrolOrder__onInit() call InitGlobals() call InitCustomTriggers() @@ -33381,18 +33405,18 @@ endfunction //Struct method generated initializers/callers: function sa__UnitEvents__get_onDeath takes nothing returns boolean local integer this=f__arg_this - if (LoadInteger(ConstTable___ht, (((s__UnitEvents_onDeath_impl_impl))), ((this)))) == 0 then // INLINED!! - call SaveInteger(ConstTable___ht, (((s__UnitEvents_onDeath_impl_impl))), ((this)), ( (s__BoolExprEvaluator_create()))) // INLINED!! + if (LoadInteger(ConstTable__ht, (((s__UnitEvents_onDeath_impl_impl))), ((this)))) == 0 then // INLINED!! + call SaveInteger(ConstTable__ht, (((s__UnitEvents_onDeath_impl_impl))), ((this)), ( (s__BoolExprEvaluator_create()))) // INLINED!! endif -set f__result_integer= (LoadInteger(ConstTable___ht, (((s__UnitEvents_onDeath_impl_impl))), ((this)))) // INLINED!! +set f__result_integer= (LoadInteger(ConstTable__ht, (((s__UnitEvents_onDeath_impl_impl))), ((this)))) // INLINED!! return true endfunction function sa__UnitEvents__get_onRemove takes nothing returns boolean local integer this=f__arg_this - if (LoadInteger(ConstTable___ht, (((s__UnitEvents_onRemove_impl_impl))), ((this)))) == 0 then // INLINED!! - call SaveInteger(ConstTable___ht, (((s__UnitEvents_onRemove_impl_impl))), ((this)), ( (s__BoolExprEvaluator_create()))) // INLINED!! + if (LoadInteger(ConstTable__ht, (((s__UnitEvents_onRemove_impl_impl))), ((this)))) == 0 then // INLINED!! + call SaveInteger(ConstTable__ht, (((s__UnitEvents_onRemove_impl_impl))), ((this)), ( (s__BoolExprEvaluator_create()))) // INLINED!! endif -set f__result_integer= (LoadInteger(ConstTable___ht, (((s__UnitEvents_onRemove_impl_impl))), ((this)))) // INLINED!! +set f__result_integer= (LoadInteger(ConstTable__ht, (((s__UnitEvents_onRemove_impl_impl))), ((this)))) // INLINED!! return true endfunction function sa__ArrayList_create takes nothing returns boolean @@ -33408,31 +33432,31 @@ function sa__ArrayList_create takes nothing returns boolean call SaveInteger(GMUI_hashTable, (Lists_RECYCLE_KEY), 0, LoadInteger(GMUI_hashTable, (Lists_RECYCLE_KEY), this)) // INLINED!! call RemoveSavedInteger(GMUI_hashTable, (Lists_RECYCLE_KEY), this) // INLINED!! endif - call SaveInteger((Lists___hashTable), (this ), (- 1), ( 0)) // INLINED!! + call SaveInteger((Lists__hashTable), (this ), (- 1), ( 0)) // INLINED!! set f__result_integer= this return true endfunction function sa__ConstTable__getindex takes nothing returns boolean local integer this=f__arg_this local integer key=f__arg_integer1 -set f__result_integer= LoadInteger(ConstTable___ht, this, key) //return this.integer[key] +set f__result_integer= LoadInteger(ConstTable__ht, this, key) //return this.integer[key] return true endfunction function sa__ConstTable__setindex takes nothing returns boolean local integer this=f__arg_this local integer key=f__arg_integer1 local integer tb=f__arg_integer2 - call SaveInteger(ConstTable___ht, this, key, tb) //set this.integer[key] = tb + call SaveInteger(ConstTable__ht, this, key, tb) //set this.integer[key] = tb return true endfunction function sa__ConstTable_has takes nothing returns boolean local integer this=f__arg_this local integer key=f__arg_integer1 -set f__result_boolean= HaveSavedInteger(ConstTable___ht, this, key) //return this.integer.has(key) +set f__result_boolean= HaveSavedInteger(ConstTable__ht, this, key) //return this.integer.has(key) return true endfunction -function jasshelper__initstructs878053921 takes nothing returns nothing +function jasshelper__initstructs879903343 takes nothing returns nothing set st__UnitEvents__get_onDeath=CreateTrigger() call TriggerAddCondition(st__UnitEvents__get_onDeath,Condition( function sa__UnitEvents__get_onDeath)) set st__UnitEvents__get_onRemove=CreateTrigger() @@ -33556,19 +33580,19 @@ call ExecuteFunc("s__TileDefinition__TileDefinition_TileDefinition__Init__onInit -call ExecuteFunc("s__LoP_DecoBuilders_LoPDecoBuilders___InitModule__onInit") +call ExecuteFunc("s__LoP_DecoBuilders_LoPDecoBuilders__InitModule__onInit") -call ExecuteFunc("s__LoPTip___InitStruct_LoPTip___InitModule__onInit") +call ExecuteFunc("s__LoPTip__InitStruct_LoPTip__InitModule__onInit") -call ExecuteFunc("s__TerrainTools__InitStruct_TerrainTools__InitModule__onInit") +call ExecuteFunc("s__TerrainTools___InitStruct_TerrainTools___InitModule__onInit") diff --git a/release/table/w3i.ini b/release/table/w3i.ini index c53be06..4309f26 100644 --- a/release/table/w3i.ini +++ b/release/table/w3i.ini @@ -1,6 +1,6 @@ [map] file_version = 25 -map_version = 7630 +map_version = 7631 we_version = 6060 map_name = "Titan Land: LoP 1.1.6" author_name = "Guhun" @@ -61,7 +61,7 @@ path = "war3mapImported\\OrbitalRay.mdx" text = [=[ |cffffff00Terrain:|r titans_zealot & Guhun Thanks to testers: schreckank, mattcos, Urain, Frostbiter & contributers: Lesslife -Special thanks to Mori-chan, who gave me a lot of help and ideas regarding features. Special thanks to Aillish for her help and support. Special thanks to LichKing76 for his help and testing. +Special thanks to Mori. Special thanks to Aillish. Special thanks to LichKing76. |c00ffff00Titan Land Discord:|r https://discord.gg/FDAMDBS |c00ffff001.1.5:|r Polished all the edges of 1.1.0. Hopefully the next version will be 1.2.0 @@ -327,7 +327,7 @@ type = 1 race = 1 fix_start_position = 1 name = "Player 24" -start_position = {-27072.0000, 8448.0000} +start_position = {-27584.0000, 8640.0000} ally_low_flag = {} ally_high_flag = {23}