Skip to content

Commit

Permalink
Updated natives list to build 15976.
Browse files Browse the repository at this point in the history
  • Loading branch information
Zoxc committed Jul 11, 2010
1 parent 13faeac commit 6c85104
Showing 1 changed file with 60 additions and 19 deletions.
79 changes: 60 additions & 19 deletions Natives.galaxy
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ native int AIGetAirTownLocs(point p1);
native int AIRandomVal(int p1, int p2);
native void AINewChooseSubState(int p1, int p2, int p3, int p4, int p5);
native void AISetSubStateChance(int p1, int p2);
native void AISetSubStateChanceRace(int p1, int p2, int p3, int p4, int p5);
native int AIChooseSubState();
native bool AIWantsMultipleTransport(int p1);
native void AISetWantsMultipleTransport(int p1, bool p2);
Expand All @@ -48,10 +49,13 @@ native bool AIDefaultSuspectDetectionDanger(int p1);
native bool AIAnyWorkersFleeingNearby(int p1, point p2, fixed p3);
native int AIGetNumEnemies(int p1);
native int AIGetNumAllies(int p1);
native int AIGetEnemyRaceVal(int p1);
native point AIPlacementNearbyFindTest(int p1, point p2, fixed p3, string p4);
native void AIAddToExtraScoutGroup(int p1, unit p2);
native bool AIOfferNewScout(int p1, unit p2);
native void AIAddHealer(int p1, string p2, string p3, int p4);
native unit AIGetDropoffWithFewestGuards(int p1, string p2);
native bool AIHasNearbyAttackers(int p1, point p2, fixed p3);
native bool AIAnyAllyAttacking(int p1);
native point AIBestAllyAttackPoint(int p1, wave p2);
native bool AIAnyAllyNeedsDefending(int p1, wave p2);
Expand All @@ -76,6 +80,8 @@ native bool AIIsNotUsableInWaves(unit p1);
native void AISetUnitNotUsableInWaves(unit p1, bool p2);
native void AISetGroupNotUsableInWaves(unitgroup p1, bool p2);
native void AISetWantsToUpgrade(unit p1);
native void AISetUnitForceMover(unit p1, bool p2);
native void AISetGroupForceMover(unitgroup p1, bool p2);
native void AIInitCampaignTowns(int p1);
native void AIInitCampaignHarvest(int p1);
native void AIDeclareTown(int p1, int p2, point p3);
Expand All @@ -100,6 +106,7 @@ native int AIGetMaxPeonCount(int p1, int p2);
native int AIGetMineralAmountLeft(int p1, int p2);
native int AIGetGasAmountLeft(int p1, int p2);
native int AIGetMineralNumSpots(int p1, int p2);
native int AIGetHarvestableGasNumSpots(int p1, int p2);
native int AIGetRawGasNumSpots(int p1, int p2);
native point AIGetGatherLocation(int p1, int p2);
native point AIGetGatherDefLocation(int p1, int p2);
Expand Down Expand Up @@ -209,6 +216,7 @@ native void AISetFilterMarker(aifilter p1, int p2, int p3, marker p4);
native void AISetFilterSelf(aifilter p1, unit p2);
native void AISetFilterBits(aifilter p1, unitfilter p2);
native void AISetFilterRange(aifilter p1, unit p2, fixed p3);
native void AISetFilterInCombat(aifilter p1, bool p2);
native void AISetFilterLife(aifilter p1, fixed p2, fixed p3);
native void AISetFilterLifeLost(aifilter p1, fixed p2, fixed p3);
native void AISetFilterLifePercent(aifilter p1, fixed p2, fixed p3);
Expand Down Expand Up @@ -289,6 +297,7 @@ native wavetarget AIWaveTargetGatherD(int p1, int p2);
native wavetarget AIWaveTargetRegion(region p1, int p2);
native point AIWaveTargetGatherOPoint(int p1, int p2);
native point AIWaveTargetGatherDPoint(int p1, int p2);
native wavetarget AIWaveTargetGuardHomeUnit(unit p1);
native unit AIWaveTargetGetUnit(wavetarget p1);
native unitgroup AIWaveTargetGetUnitGroup(wavetarget p1);
native wavetarget AIWaveHarassRetreat(int p1, wave p2, fixed p3);
Expand Down Expand Up @@ -317,6 +326,7 @@ native void AIWaveSet(int p1, int p2, wave p3);
native int AIWaveType(wave p1);
native void AIWaveSetUserData(wave p1, int p2, int p3);
native int AIWaveGetUserData(wave p1, int p2);
native void AIWaveSetDeleteWhenEmpty(wave p1, bool p2);
native void AIWaveMerge(int p1, int p2, int p3);
native void AIWaveMergeMelee(int p1);
native wave WaveLastCreated();
Expand Down Expand Up @@ -369,10 +379,14 @@ native void AIAddBully(int p1, string p2, point p3, int p4);
native string AIGetBullyType(unit p1);
native void AchievementAward(int p1, string p2);
native void AchievementErase(int p1, string p2);
native void AchievementPanelSetCategory(playergroup p1, string p2);
native void AchievementPanelSetVisible(playergroup p1, bool p2);
native text AchievementPercentText(int p1, string p2);
native void AchievementTermQuantitySet(int p1, string p2, int p3);
native void AchievementsDisable(int p1);
native actorscope ActorScopeCreate(string p1);
native actorscope ActorScopeLastCreated();
native actorscope ActorScopeLastCreatedSend();
native actorscope ActorScopeFrom(string p1);
native actorscope ActorScopeFromActor(actor p1);
native actorscope ActorScopeFromUnit(unit p1);
Expand All @@ -384,6 +398,8 @@ native actor ActorScopeRefGet(actorscope p1, string p2);
native void ActorScopeRefSet(actorscope p1, string p2, actor p3);
native void ActorScopeSend(actorscope p1, string p2);
native actor ActorCreate(actorscope p1, string p2, string p3, string p4, string p5);
native actor ActorLastCreated();
native actor ActorLastCreatedSend();
native actor ActorFrom(string p1);
native actor ActorFromActor(actor p1, string p2);
native actor ActorFromScope(actorscope p1, string p2);
Expand Down Expand Up @@ -483,6 +499,7 @@ native void BattleReportSetDifficultyLevelBestTimeText(int p1, int p2, text p3);
native void BattleReportAddAchievement(int p1, string p2);
native void BattleReportSetSceneText(int p1, text p2);
native void BattleReportSetSceneImage(int p1, string p2);
native void BattleReportSetShownInMissionTotal(int p1, bool p2);
native void TriggerAddEventBattleReportPanelExit(trigger p1, int p2);
native void TriggerAddEventBattleReportPanelPlayMission(trigger p1, int p2);
native void TriggerAddEventBattleReportPanelPlayScene(trigger p1, int p2);
Expand All @@ -494,6 +511,8 @@ native int BoardCreate(int p1, int p2, text p3, color p4);
native int BoardLastCreated();
native void BoardDestroy(int p1);
native void BoardShowAll(bool p1, playergroup p2);
native void BoardSetPosition(int p1, int p2, int p3);
native void BoardResetPosition(int p1);
native void BoardTitleShow(int p1, playergroup p2, bool p3);
native void BoardTitleSetText(int p1, text p2);
native void BoardTitleSetColor(int p1, int p2, color p3);
Expand Down Expand Up @@ -726,8 +745,6 @@ native void DataTableSetReply(bool p1, string p2, int p3);
native int DataTableGetReply(bool p1, string p2);
native void DataTableSetRevealer(bool p1, string p2, revealer p3);
native revealer DataTableGetRevealer(bool p1, string p2);
native void DataTableSetRoom(bool p1, string p2, int p3);
native int DataTableGetRoom(bool p1, string p2);
native void DataTableSetSound(bool p1, string p2, sound p3);
native sound DataTableGetSound(bool p1, string p2);
native void DataTableSetSoundLink(bool p1, string p2, soundlink p3);
Expand Down Expand Up @@ -803,6 +820,7 @@ native void DialogControlSetVisible(int p1, playergroup p2, bool p3);
native void DialogControlSetEnabled(int p1, playergroup p2, bool p3);
native void DialogControlSetFullDialog(int p1, playergroup p2, bool p3);
native void DialogControlFadeTransparency(int p1, playergroup p2, fixed p3, fixed p4);
native int DialogControlGetDialog(int p1);
native int DialogControlGetType(int p1);
native int DialogControlGetWidth(int p1, int p2);
native int DialogControlGetHeight(int p1, int p2);
Expand Down Expand Up @@ -852,8 +870,8 @@ native void CreepSetSpeed(int p1, fixed p2);
native void PathingModify(region p1, int p2, bool p3);
native void PathingUpdate();
native void PathingReset();
native int PowerLevel(int p1, point p2);
native bool PowerIsProvidedBy(int p1, point p2, unit p3, int p4);
native int PowerLevel(int p1, point p2, string p3);
native bool PowerIsProvidedBy(int p1, point p2, string p3, unit p4, int p5);
native int CliffLevel(point p1);
native fixed WorldHeight(int p1, point p2);
native void GameSetLighting(string p1, fixed p2);
Expand All @@ -874,6 +892,7 @@ native bool GameIsDebugOptionSet(string p1, int p2);
native void GameSaveCreate(text p1, text p2, string p3, bool p4);
native text GameMapName();
native text GameMapDescription();
native bool GameMapIsBlizzard();
native fixed GameGetSpeed();
native void GameSetSpeedValue(int p1);
native int GameGetSpeedValue();
Expand Down Expand Up @@ -906,10 +925,15 @@ native string GameTerrainSet();
native void GameWaitForResourcesToComplete();
native void GameOver(int p1, int p2, bool p3, bool p4);
native void RestartGame(playergroup p1);
native void GameCheatAllow(int p1, bool p2);
native bool GameCheatsEnabled(int p1);
native void TriggerAddEventMapInit(trigger p1);
native void TriggerAddEventSaveGame(trigger p1);
native void TriggerAddEventSaveGameDone(trigger p1);
native void TriggerAddEventCheatUsed(trigger p1, int p2, int p3);
native void TriggerAddEventChatMessage(trigger p1, int p2, string p3, bool p4);
native string EventChatMessage(bool p1);
native int EventCheatUsed();
native void HelpPanelAddTip(playergroup p1, text p2, text p3, text p4, string p5);
native void HelpPanelAddHint(playergroup p1, text p2, text p3, string p4);
native void HelpPanelAddTutorial(playergroup p1, text p2, text p3, string p4, string p5, bool p6);
Expand Down Expand Up @@ -992,6 +1016,8 @@ native void MercenaryPurchase(int p1);
native bool MercenaryIsRecentlyPurchased(int p1);
native void MercenarySetSelected(playergroup p1, int p2);
native int MercenaryGetSelected(int p1);
native void MercenaryPanelSetCloseButtonEnabled(playergroup p1, bool p2);
native void MercenaryPanelSetDismissButtonEnabled(playergroup p1, bool p2);
native void TriggerAddEventMercenaryPanelExit(trigger p1, int p2);
native void TriggerAddEventMercenaryPanelPurchase(trigger p1, int p2);
native void TriggerAddEventMercenaryPanelSelectionChanged(trigger p1, int p2, int p3);
Expand Down Expand Up @@ -1118,6 +1144,10 @@ native void PlanetSetTechnologyUnitLink(int p1, string p2);
native void PlanetPanelSetContactButtonState(playergroup p1, int p2);
native int PlanetPanelGetContactButtonState(int p1);
native void PlanetPanelSetBackButtonEnabled(playergroup p1, bool p2);
native void PlanetPanelSetDismissButtonEnabled(playergroup p1, bool p2);
native void PlanetPanelSetBackButtonText(playergroup p1, text p2);
native void PlanetPanelSetBackButtonShortcut(playergroup p1, text p2);
native void PlanetPanelSetBackButtonTooltip(playergroup p1, text p2);
native void PlanetPanelSetBackgroundImage(playergroup p1, string p2);
native void TriggerAddEventPlanetMissionLaunched(trigger p1, int p2);
native void TriggerAddEventPlanetMissionSelected(trigger p1, int p2, int p3);
Expand All @@ -1127,6 +1157,7 @@ native void TriggerAddEventPlanetPanelBirthComplete(trigger p1, int p2);
native void TriggerAddEventPlanetPanelDeathComplete(trigger p1, int p2);
native int EventPlanetPanelMissionSelected();
native int EventPlanetPanelDifficultySelected();
native void VictoryPanelSetVictoryText(text p1);
native void VictoryPanelSetMissionTitle(text p1);
native void VictoryPanelSetMissionText(text p1);
native void VictoryPanelSetMissionTimeTitle(text p1);
Expand All @@ -1139,26 +1170,15 @@ native void VictoryPanelSetStatisticsTitle(text p1);
native void VictoryPanelSetCustomStatisticText(text p1);
native void VictoryPanelSetCustomStatisticValue(text p1);
native void VictoryPanelSetPlanetModelLink(string p1);
native void VictoryPanelSetBackgroundFilePath(string p1);
native void VictoryPanelSetSummaryBackgroundFilePath(string p1);
native void VictoryPanelAddCustomStatisticLine(text p1, text p2);
native void VictoryPanelClearCustomStatisticTable();
native void VictoryPanelAddTrackedStatistic(string p1);
native void VictoryPanelAddAchievement(string p1);
native void TriggerAddEventVictoryPanelExit(trigger p1, int p2);
native void TriggerAddEventVictoryPanelPlayMissionAgain(trigger p1, int p2);
native int EventVictoryPanelDifficultySelected();
native void RoomPanelSetPositionUnit(unit p1);
native void RoomPanelAddButton(playergroup p1, text p2, string p3);
native int RoomPanelLastAdded();
native void RoomPanelRemoveButton(int p1);
native void RoomPanelRemoveAllButtons(playergroup p1);
native void RoomPanelShowRoomButton(int p1, playergroup p2, bool p3);
native void RoomPanelSetButtonPressedIcon(int p1, string p2);
native void RoomPanelSetButtonEnabled(int p1, bool p2);
native void TriggerAddEventRoomPanelPressedButton(trigger p1, int p2, int p3);
native void TriggerAddEventRoomPanelCanceled(trigger p1, int p2);
native void TriggerAddEventRoomPanelMouseRollOver(trigger p1, int p2);
native void TriggerAddEventRoomPanelMouseRollOut(trigger p1, int p2);
native int EventRoomPanelButtonPressed();
native void PlayerModifyPropertyInt(int p1, int p2, int p3, int p4);
native void PlayerModifyPropertyFixed(int p1, int p2, int p3, fixed p4);
native int PlayerGetPropertyInt(int p1, int p2);
Expand Down Expand Up @@ -1199,6 +1219,7 @@ native void PlayerCreateEffectPoint(int p1, string p2, point p3);
native void PlayerCreateEffectUnit(int p1, string p2, unit p3);
native int PlayerValidateEffectPoint(int p1, string p2, point p3);
native int PlayerValidateEffectUnit(int p1, string p2, unit p3);
native void PlayerScoreValueEnableAll(int p1, bool p2);
native void PlayerScoreValueEnable(int p1, string p2, bool p3);
native fixed PlayerScoreValueGetAsFixed(int p1, string p2);
native int PlayerScoreValueGetAsInt(int p1, string p2);
Expand Down Expand Up @@ -1253,6 +1274,7 @@ native void PortraitWaitForLoad(int p1);
native int PortraitGetGame();
native int PortraitGetPlanetPanel();
native void PortraitSetModel(int p1, string p2, bool p3);
native void PortraitSetModelAnim(int p1, string p2, string p3, int p4, bool p5);
native void PortraitSetAnim(int p1, string p2);
native void PortraitSetCamera(int p1, string p2);
native void PortraitSetSize(int p1, int p2, int p3);
Expand Down Expand Up @@ -1512,6 +1534,8 @@ native timer EventTimer();
native int TimerWindowCreate(timer p1, text p2, bool p3, bool p4);
native int TimerWindowLastCreated();
native void TimerWindowDestroy(int p1);
native void TimerWindowSetPosition(int p1, int p2, int p3);
native void TimerWindowResetPosition(int p1);
native void TimerWindowShow(int p1, playergroup p2, bool p3);
native bool TimerWindowVisible(int p1, int p2);
native void TimerWindowSetTimer(int p1, timer p2);
Expand All @@ -1529,6 +1553,7 @@ native int TransmissionSend(playergroup p1, transmissionsource p2, int p3, strin
native int TransmissionLastSent();
native void TransmissionClear(int p1);
native void TransmissionClearAll();
native void TransmissionSetOption(int p1, bool p2);
native void TransmissionWait(int p1, fixed p2);
native trigger TriggerCreate(string p1);
native void TriggerDestroy(trigger p1);
Expand Down Expand Up @@ -1684,11 +1709,16 @@ native unit UnitRallyPointTargetUnit(unit p1, int p2, int p3);
native int UnitTechTreeBehaviorCount(unit p1, string p2, int p3);
native int UnitTechTreeUnitCount(unit p1, string p2, int p3);
native int UnitTechTreeUpgradeCount(unit p1, string p2, int p3);
native int UnitInventoryContainer(unit p1);
native int UnitInventoryCount(unit p1, int p2);
native unit UnitInventoryItem(unit p1, int p2);
native unitgroup UnitInventoryGroup(unit p1);
native unit UnitInventoryCreate(unit p1, string p2);
native unitgroup UnitInventoryGroup(unit p1);
native int UnitInventoryIndex(unit p1);
native unit UnitInventoryItem(unit p1, int p2);
native unit UnitInventoryLastCreated();
native void UnitInventoryMove(unit p1, int p2, int p3);
native int UnitInventorySlot(unit p1);
native unit UnitInventoryUnit(unit p1);
native void UnitWeaponAdd(unit p1, string p2, string p3);
native int UnitWeaponCount(unit p1);
native bool UnitWeaponCheck(unit p1, int p2, int p3);
Expand Down Expand Up @@ -1719,6 +1749,7 @@ native void TriggerAddEventUnitAttacked(trigger p1, unitref p2);
native void TriggerAddEventUnitAttributeChange(trigger p1, unitref p2);
native void TriggerAddEventUnitDamaged(trigger p1, unitref p2, int p3, int p4, string p5);
native void TriggerAddEventUnitBecomesIdle(trigger p1, unitref p2, bool p3);
native void TriggerAddEventUnitInventoryChange(trigger p1, unitref p2, int p3, unitref p4);
native unit EventUnit();
native unit EventUnitTarget();
native unit EventUnitCreatedUnit();
Expand All @@ -1733,6 +1764,11 @@ native string EventUnitDamageEffect();
native string EventUnitBehavior();
native fixed EventUnitXPDelta();
native int EventUnitAttributePoints();
native unit EventUnitInventoryItem();
native int EventUnitInventoryItemContainer();
native int EventUnitInventoryItemSlot();
native point EventUnitInventoryItemTargetPoint();
native unit EventUnitInventoryItemTargetUnit();
native void TriggerAddEventUnitProperty(trigger p1, unitref p2, int p3);
native void TriggerAddEventUnitRegion(trigger p1, unitref p2, region p3, bool p4);
native void TriggerAddEventUnitRange(trigger p1, unitref p2, unit p3, fixed p4, bool p5);
Expand Down Expand Up @@ -1814,6 +1850,8 @@ native void UIShowTextCrawl(playergroup p1, text p2, text p3, fixed p4, soundlin
native void UIHideTextCrawl(playergroup p1);
native void UIUnitColorStyleOverride(playergroup p1, int p2);
native void UIUnitColorStyleClearOverride(playergroup p1);
native void UIFlyerHelperOverride(playergroup p1, int p2);
native void UIFlyerHelperClearOverride(playergroup p1);
native void UISetNextLoadingScreen(string p1, text p2, text p3, text p4, text p5, bool p6);
native void UISetNextLoadingScreenImageScale(int p1);
native void UISetNextLoadingScreenTextPosition(int p1, int p2, int p3, int p4, int p5);
Expand All @@ -1836,12 +1874,15 @@ native void UIShowCustomDialog(playergroup p1, int p2, text p3, text p4, bool p5
native void UISetResourceTradeCountdownTime(int p1);
native void UISetButtonHighlighted(playergroup p1, abilcmd p2, bool p3);
native void UISetMiniMapBackGroundColor(color p1);
native void UISetMiniMapCameraFoVVisible(bool p1);
native void UISetCommandAllowed(playergroup p1, int p2, bool p3);
native void UISetCommandDisallowedMessage(playergroup p1, text p2);
native void UISetChallengeMode(playergroup p1, bool p2);
native void UISetChallengeScoreText(playergroup p1, string p2, text p3);
native void UISetChallengeHighScore(playergroup p1, string p2, int p3);
native void UISetChallengeCompleted(playergroup p1, string p2, bool p3);
native void UISetBattleNetButtonOffset(playergroup p1, int p2, int p3);
native void UIClearBattleNetButtonOffset(playergroup p1);
native void TriggerAddEventAbortMission(trigger p1, int p2);
native void TriggerAddEventCustomDialogDismissed(trigger p1, int p2, int p3);
native void TriggerAddEventGameMenuItemSelected(trigger p1, int p2, int p3);
Expand Down

0 comments on commit 6c85104

Please sign in to comment.