Functions | |
| void | sendBuildMessage (const string &buildMsg, unsigned int cityID) |
| const string | NETWORK_DATA ("receiveNetworkData:") |
| const string | COMMIT_TIME ("CommitTime") |
| const string | COMMAND_CHAT ("Chat") |
| const string | COMMAND_START_GAME ("StartGameCommand") |
| const string | COMMAND_SYNC ("CommandSync") |
| const string | RANDOM_SEED_VALUE ("RandomSeedValue") |
| const string | COMMAND_PRINT_A_RANDOM_NUMBER_TO_THE_CONSOLE ("PrintARandomNumberToTheConsole") |
| const string | COMMAND_TEXT_MESSAGE ("TextMessageCommand") |
| const string | COMMAND_MORE_MONEY ("CommandMoreMoney") |
| const string | COMMAND_SEND_MONEY ("CommandSendMoney") |
| const string | COMMAND_ASK_FOR_RANDOM_NUMBER ("CommandAskForRandomNumber") |
| const string | COMMAND_RANDOM_NUMBER_ANSWER ("CommandRandomNumberAnswer") |
| const string | COMMAND_SEND_JET_REINFORCEMENT ("CommandSendJetReinforcement") |
| const string | COMMAND_SEND_UNIT_REINFORCEMENT ("CommandSendUnitReinforcement") |
| const string | COMMAND_OVERHEAD ("OverheadCommand") |
| const string | REQUEST_NEW_LIGHT_TANK ("RequestNewLightTank") |
| const string | UNIT_NUMBER ("UnitNumber") |
| const string | COMMAND_GOAL ("CommandGoal") |
| const string | END_GAME_TICK ("EndGameTick") |
| const string | COMMAND_BUILD_LIGHTTANK ("BuildLightTank") |
| const string | COMMAND_BUILD_HEAVYTANK ("BuildHeavyTank") |
| const string | COMMAND_BUILD_ROCKET_LAUNCHER ("BuildRocketLauncher") |
| const string | COMMAND_BUILD_ARTILLERY ("BuildArtillery") |
| const string | COMMAND_BUILD_JET ("BuildJet") |
| const string | COMMAND_BUILD_ECON ("BuildEcon") |
| const string | COMMAND_SET_RALLY_POINT ("SetRallyPointForCity") |
| const string | COMMAND_BEGINBATTLE ("BeginBattle") |
| const string | COMMAND_BATTLEMODE ("BattlemodeCommand") |
| const string | COMMAND_BATTLE_ID ("BattleID") |
|
|
Referenced by Overhead::askForRandomNumbers(), and NetworkSubsystem::processNetworkData(). |
|
|
Referenced by BattleEntry::inputIssueGroupCommand(), BattleEntry::inputIssueJetsCommand(), and NetworkSubsystem::processNetworkData(). |
|
|
Referenced by BattleEntry::inputIssueGroupCommand(), BattleEntry::inputIssueJetsCommand(), and NetworkSubsystem::processNetworkData(). |
|
|
Referenced by NetworkSubsystem::processNetworkData(). |
|
|
Referenced by NetworkSubsystem::processNetworkData(). |
|
|
Referenced by NetworkSubsystem::processNetworkData(). |
|
|
Referenced by NetworkSubsystem::processNetworkData(). |
|
|
Referenced by NetworkSubsystem::processNetworkData(). |
|
|
Referenced by NetworkSubsystem::processNetworkData(). |
|
|
Referenced by NetworkSubsystem::processNetworkData(). |
|
|
Referenced by processIncomingMessages(), and updateMultiplayMenu(). |
|
|
Referenced by HUD::processMiniMapInput(), NetworkSubsystem::processNetworkData(), and Overhead::processOverheadInput(). |
|
|
Referenced by Overhead::processCommand(), and NetworkSubsystem::processNetworkData(). |
|
|
Referenced by existsGameTickEnd(), HUD::processMiniMapInput(), NetworkSubsystem::processNetworkData(), Overhead::processOverheadInput(), sendBuildMessage(), and sendGameTickEnd(). |
|
|
Referenced by NetworkSubsystem::processNetworkData(), and Overhead::sendMessageToPrintARandomNumberToTheConsole(). |
|
|
Referenced by NetworkSubsystem::processNetworkData(). |
|
|
Referenced by NetworkSubsystem::processNetworkData(), and sendReinforcement(). |
|
|
Referenced by Overhead::processCommand(), and NetworkSubsystem::processNetworkData(). |
|
|
Referenced by NetworkSubsystem::processNetworkData(), and sendReinforcement(). |
|
|
Referenced by NetworkSubsystem::processNetworkData(), and Overhead::processOverheadInput(). |
|
|
Referenced by processIncomingMessages(), and updateMultiplayMenu(). |
|
|
Referenced by NetworkData::addData(), and Overhead::overhead_update(). |
|
|
Referenced by Overhead::overhead_update(), and NetworkSubsystem::processNetworkData(). |
|
|
|
Referenced by existsGameTickEnd(), and sendGameTickEnd(). |
|
|
Referenced by NetworkSubsystem::loadNetworkData(), and NetworkSubsystem::receiveNetworkData(). |
|
|
Referenced by updateMultiplayMenu(). |
|
|
|
|
||||||||||||
|
Definition at line 30 of file Globals.cpp. References COMMAND_OVERHEAD(), COMMIT_TIME(), Globals::currGameTick, net_send(), and Globals::NETWORK_GAME_TICK_LAG(). Referenced by Overhead::processOverheadInput(), and HUD::processOverheadInput().
00031 {
00032 stringstream sstr;
00033 sstr << COMMAND_OVERHEAD << " " << COMMIT_TIME << " "
00034 << currGameTick + NETWORK_GAME_TICK_LAG << " " << buildMsg
00035 << " " << cityID;
00036 net_send(sstr.str());
00037 }
|
|
|
|
1.3-rc2