Home
last modified time | relevance | path

Searched refs:cClient (Results 1 – 25 of 98) sorted by relevance

1234

/dports/games/maxr/maxr-0.2.9/src/game/logic/
H A Dclientevents.h32 class cClient; variable
113 void sendClan (const cClient& client);
115 void sendUnitUpgrades (const cClient& client);
117 void sendReadyToStart (const cClient& client);
119 void sendReconnectionSuccess (const cClient& client);
131 void sendWantToEndTurn (const cClient& client);
155 void sendWantStopMove (const cClient& client, int iVehicleID);
161 void sendMoveJobResume (const cClient& client, int unitId);
198 void sendWantStopBuilding (const cClient& client, int iVehicleID);
255 void sendAbortWaiting (const cClient& client);
[all …]
H A Dclient.cpp66 cClient::cClient (cServer* server_, std::shared_ptr<cTCP> network_) : in cClient() function in cClient
125 cClient::~cClient() in ~cClient()
184 void cClient::initPlayersWithMap() in initPlayersWithMap()
306 void cClient::runFx() in runFx()
1561 void cClient::handleNetMessages() in handleNetMessages()
1762 void cClient::handleEnd() in handleEnd()
1782 void cClient::handleMoveJobs() in handleMoveJobs()
1929 void cClient::doGameActions() in doGameActions()
2005 void cClient::addJob (cJob* job) in addJob()
2011 void cClient::runJobs() in runJobs()
[all …]
H A Dclientevents.cpp36 void sendClan (const cClient& client) in sendClan()
62 void sendUnitUpgrades (const cClient& client) in sendUnitUpgrades()
162 void sendReconnectionSuccess (const cClient& client) in sendReconnectionSuccess()
232 void sendReadyToStart (const cClient& client) in sendReadyToStart()
248 void sendWantToEndTurn (const cClient& client) in sendWantToEndTurn()
261 void sendWantStopWork (const cClient& client, const cUnit& building) in sendWantStopWork()
302 void sendWantStopMove (const cClient& client, int iVehicleID) in sendWantStopMove()
309 void sendMoveJobResume (const cClient& client, int unitId) in sendMoveJobResume()
354 void sendWantStopBuilding (const cClient& client, int iVehicleID) in sendWantStopBuilding()
446 void sendAbortWaiting (const cClient& client) in sendAbortWaiting()
[all …]
H A Dgametimer.h30 class cClient; variable
107 cClient* client;
118 void setClient (cClient* client);
124 uint32_t calcClientChecksum (const cClient& client);
127 void compareGameData (const cClient& client, const cServer& server);
H A Dautomjobs.h25 class cClient; variable
34 cClient& client;
52 cAutoMJob (cClient& client, cVehicle& vehicle);
/dports/games/openlierox/OpenLieroX/src/common/
H A DPhysicsLX56.cpp70 if (!cClient->getMap()) in moveAndCheckWormCollision()
74 … (*vel*dt*worm->speedFactor()).GetLength2() > (float)cClient->getMap()->GetWidth() * (float)cClien… in moveAndCheckWormCollision()
90 FMOD(pos.x, (float)cClient->getMap()->GetWidth()); in moveAndCheckWormCollision()
382 …if(cClient && local && !cClient->isGameMenu() && !cClient->isChatTyping() && !cClient->isGameOver(… in simulateWorm()
388 cClient->shouldRepaintInfo() = true; in simulateWorm()
670 LOCK_OR_QUIT(cClient->getMap()->GetImage()); in simulateNinjarope()
690 UnlockSurface(cClient->getMap()->GetImage()); in simulateNinjarope()
798 mw = cClient->getMap()->GetWidth(); in simulateBonus()
799 mh = cClient->getMap()->GetHeight(); in simulateBonus()
842 if(!cClient->getGameLobby()->bBonusesOn) in simulateBonuses()
[all …]
H A DCWorm_AI.cpp665 if(!cClient->getGameReady()) { in startThreadSearch()
867 if(cClient->getMap() == NULL) { in AI_Initialize()
1536 uchar pf = *(cClient->getMap()->getGridFlags() + y*cClient->getMap()->getGridCols() + x); in findRandomSpot()
1542 …ec((float)(x*cClient->getMap()->getGridWidth()+(cClient->getMap()->getGridWidth()/2)), (float)(y*c… in findRandomSpot()
2755 const int numCells = cClient->getMap()->getGridCols() * cClient->getMap()->getGridRows(); in AI_FindClosestFreeCell()
2779 tmp_pf = *(cClient->getMap()->getGridFlags() + y*cClient->getMap()->getGridCols() +x); in AI_FindClosestFreeCell()
2781 … CVec((float)x*cClient->getMap()->getGridWidth()+cClient->getMap()->getGridWidth()/2, (float)y*cCl… in AI_FindClosestFreeCell()
2857 if (cClient && cClient->getGameLobby()->iGeneralGameType == GMT_TEAMS) { in traceWeaponLine()
3617 tmp_pf = *(cClient->getMap()->getGridFlags() + y*cClient->getMap()->getGridCols() +x); in AI_GetNearestRopeSpot()
3627 … CVec((float)x*cClient->getMap()->getGridWidth()+cClient->getMap()->getGridWidth()/2, (float)y*cCl… in AI_GetNearestRopeSpot()
[all …]
H A DPhysicsLX56_Projectiles.cpp122 CMap* map = cClient->getMap(); in FinalWormCollisionCheck()
128 len = MIN(len, float(cClient->getMap()->GetWidth()) + float(cClient->getMap()->GetHeight())); in FinalWormCollisionCheck()
172 CMap* map = cClient->getMap(); in MapBoundsCollision()
213 CMap* map = cClient->getMap(); in TerrainCollision()
666 CWorm* w = &cClient->getRemoteWorms()[i]; in nearestWorm()
707 if(!cClient->isTeamGame()) return NULL; in nearestTeamMate()
780 …int d = cClient->getMap()->CarveHole(Damage, prj->getPos(), cClient->getGameLobby()->features[FT_I… in applyTo()
809cClient->InjureWorm(&cClient->getRemoteWorms()[eventInfo.colType->wormId], (float)Damage, prj->Get… in applyTo()
816cClient->InjureWorm(&cClient->getRemoteWorms()[eventInfo.colType->wormId], (float)Damage, prj->Get… in applyTo()
1019 …CClient::ProjectileSet* projs = cClient->projPosMap[CClient::MapPosIndex(x,y).index(cClient->getMa… in checkEvent()
[all …]
H A DCommand.cpp589 if (!cClient) { in exec()
779 if(cClient && cClient->getStatus() != NET_DISCONNECTED) in exec()
790 else if(cClient && cClient->getStatus() != NET_DISCONNECTED) in exec()
881 if(cClient && cClient->getStatus() != NET_DISCONNECTED) in exec()
912 if(cClient && cClient->getStatus() != NET_DISCONNECTED) in exec()
993 if(!cClient || cClient->getStatus() != NET_PLAYING) in exec()
1269 cClient->getNetEngine()->SendDeath(cClient->getWorm(f)->getID(), cClient->getWorm(f)->getID()); in exec()
1996 if( cClient && (cClient->getStatus() == NET_CONNECTED || cClient->getStatus() == NET_PLAYING) ) in exec()
2153 …if(cClient && cClient->getGameLobby() && cClient->getGameLobby()->gameMode && cClient->getGameLobb… in exec()
2177 if(!m && cClient) m = cClient->getMap(); in getCurrentMap()
[all …]
/dports/games/openlierox/OpenLieroX/src/client/DeprecatedGUI/
H A DMenu_Net_Join.cpp167 cClient->Frame(); in Menu_Net_JoinConnectionFrame()
188 cClient->Shutdown(); in Menu_Net_JoinConnectionFrame()
298 if (cClient) in Menu_Net_JoinLobbyShutdown()
299 cClient->Disconnect(); in Menu_Net_JoinLobbyShutdown()
303 if (cClient) in Menu_Net_JoinLobbyShutdown()
304 cClient->Shutdown(); in Menu_Net_JoinLobbyShutdown()
380 if(cClient->getHaveMap()) { in updateDetailsList()
506 if (cClient->getDownloadingMap() || cClient->getDownloadingMod()) in Menu_Net_JoinDlFinished()
662 cClient->Frame(); in Menu_Net_JoinLobbyFrame()
727 if (cClient->getDownloadingMap() || cClient->getDownloadingMod()) { in Menu_Net_JoinLobbyFrame()
[all …]
/dports/mail/trojita/trojita-0.7/tests/Imap/
H A Dtest_Imap_Tasks_OpenConnection.cpp114 cClient(t.mk("LOGOUT\r\n")); in testPreauthWithStartTlsWanted()
165 cClient(t.mk("LOGOUT\r\n")); in testOkMissingImap4rev1()
178 cClient(t.mk("STARTTLS\r\n")); in testOkLogindisabled()
180 cClient("[*** STARTTLS ***]" in testOkLogindisabled()
205 cClient(t.mk("LOGOUT\r\n")) in testOkLogindisabledWithoutStarttls()
258 cClient("[*** STARTTLS ***]" in testOkStartTls()
291 cClient("[*** STARTTLS ***]" in testCapabilityAfterLogin()
320 cClient(t.mk("LOGOUT\r\n")); in testOkStartTlsForbidden()
432 cClient(c1 + c2); in testOpenConnectionShallBlock()
490 cClient(c1 + c2 + c3); in testLoginDelaysOtherTasks()
[all …]
H A Dtest_Imap_Tasks_DeleteMailbox.cpp102 cClient(t.mk("DELETE a\r\n")); in testDeleteOne()
119 cClient(t.mk("DELETE a\r\n")); in testDeleteFail()
133 cClient(t.mk("SELECT a\r\n")); in testDeleteAnother()
136 cClient(t.mk("DELETE b\r\n")); in testDeleteAnother()
149 cClient(t.mk("SELECT a\r\n")); in testDeleteSyncing()
162 cClient(t.mk("CLOSE\r\n")); in testDeleteSyncing()
164 cClient(t.mk("DELETE a\r\n")); in testDeleteSyncing()
177 cClient(t.mk("SELECT a\r\n")); in testDeleteSelected()
180 cClient(t.mk("CLOSE\r\n")); in testDeleteSelected()
224 cClient(t.mk("CLOSE\r\n")); in testDeleteSelectedPendingMetadata()
[all …]
H A Dtest_Imap_Tasks_ObtainSynchronizedMailbox.cpp58 cClient(t.mk("SELECT a\r\n")); in testSyncEmptyMinimal()
80 cClient(t.mk("SELECT a\r\n")); in testSyncEmptyMinimal()
113 cClient(t.mk("SELECT a\r\n")); in testSyncEmptyMinimalNonEmpty()
139 cClient(t.mk("SELECT a\r\n")); in testSyncEmptyMinimalNonEmpty()
175 cClient(t.mk("SELECT a\r\n")); in testSyncEmptyNormal()
219 cClient(t.mk("SELECT a\r\n")); in testSyncEmptyNormal()
330 cClient(t.mk("SELECT a\r\n")); in helperMissingUidNext()
421 cClient(t.mk("SELECT b\r\n")); in testSyncTwoLikeCyrus()
443 cClient(t.mk("SELECT a\r\n")); in testSyncTwoLikeCyrus()
466 cClient(t.mk("SELECT a\r\n")); in testSyncTwoInParallel()
[all …]
H A Dtest_Imap_SelectedMailboxUpdates.cpp205 cClient(t.mk("UID FETCH 12:* (FLAGS)\r\n")); in helperGenericTrafficFirstArrivals()
320 cClient(t.mk("UID FETCH 46:* (FLAGS)\r\n")); in helperGenericTrafficArrive2()
736 cClient(req1 + req2); in testMultipleArrivals()
780 cClient(req1 + req2); in testMultipleArrivalsBlockingFurtherActivity()
797 cClient(t.mk("SELECT b\r\n")); in testMultipleArrivalsBlockingFurtherActivity()
820 cClient(t.mk("LOGOUT\r\n")); in testUnexpectedUidValidityChange()
866 cClient(req1 + req2); in testFetchAndConcurrentArrival()
893 cClient(req1 + req2); in testFetchAndConcurrentArrival()
1040 cClient(t.mk("SELECT a\r\n")); in testLogoutClosed()
1044 cClient(t.mk("SELECT b\r\n")); in testLogoutClosed()
[all …]
H A Dtest_Imap_CopyAndFlagOperations.cpp86 cClient(t.mk("UID MOVE 2 b\r\n")); in helperMove()
98 cClient(t.mk("UID COPY 2 b\r\n")); in helperMove()
100 cClient(t.mk("UID STORE 2 +FLAGS.SILENT \\Deleted\r\n")); in helperMove()
104 cClient(t.mk("UID EXPUNGE 2\r\n")); in helperMove()
130 cClient(t.mk("SELECT a\r\n")); in testUpdateAllFlags()
135 cClient(t.mk("UID SEARCH ALL\r\n")); in testUpdateAllFlags()
137 cClient(t.mk("FETCH 1:4 (FLAGS)\r\n")); in testUpdateAllFlags()
158 cClient(t.mk("STORE 1:* +FLAGS.SILENT \\Seen\r\n")); in testUpdateAllFlags()
H A Dtest_Imap_Model.cpp53 cClient(t.mk("LIST \"\" \"%\"\r\n")); in testSyncMailbox()
71 cClient(t.mk("LIST \"\" \"%\"\r\n")); in testInboxCaseSensitivity()
90 cClient(t.mk("LIST \"\" \"%\"\r\n")); in testCreationDeletionHandling()
109 cClient(t.mk("CREATE zzz_newly-Created\r\n")); in testCreationDeletionHandling()
134 cClient(t.mk("CREATE zzz_newly-Created2\r\n")); in testCreationDeletionHandling()
136 cClient(t.mk("LIST \"\" zzz_newly-Created2\r\n")); in testCreationDeletionHandling()
152 cClient(t.mk("CREATE zzz_newly-Created3\r\n")); in testCreationDeletionHandling()
154 cClient(t.mk("LIST \"\" zzz_newly-Created3\r\n")); in testCreationDeletionHandling()
157 cClient(t.mk("SUBSCRIBE zzz_newly-Created3\r\n")); in testCreationDeletionHandling()
H A Dtest_Imap_Tasks_ListChildMailboxes.cpp47 cClient(t.mk("LIST \"\" \"%\"\r\n")); in testSimpleListing()
73 cClient(c1 + c2); in testSimpleListing()
89 cClient(t.mk("LIST \"\" \"%\"\r\n")); in testFailingList()
98 cClient(t.mk("LIST \"\" \"%\"\r\n")); in testFailingList()
134 cClient(t.mk("LIST \"\" \"%\"\r\n")); in testBackslashes()
170 cClient(t.mk("LIST \"\" \"%\"\r\n")); in testNoStatusForCachedItems()
213 cClient(c1 + c2); in testNoStatusForCachedItems()
253 cClient(t.mk("LIST \"\" \"%\"\r\n")); in testAutoExpanding()
256 cClient(t.mk("LIST \"\" \"a.%\"\r\n")); in testAutoExpanding()
267 cClient(t.mk("LIST \"\" \"%\"\r\n")); in testAutoExpanding()
[all …]
H A Dtest_Imap_Threading.cpp450 cClient(threadCommand1); in testDynamicThreading()
735 cClient(t.mk("UID FETCH 15:* (FLAGS)\r\n")); in testDynamicSorting()
771 cClient(t.mk("UID FETCH 16:* (FLAGS)\r\n")); in testDynamicSorting()
822 cClient(sortReq + uidFetchReq); in testDynamicSorting()
941 cClient(t.mk("UID FETCH 15:* (FLAGS)\r\n")); in testDynamicSortingContext()
965 cClient(t.mk("UID FETCH 16:* (FLAGS)\r\n")); in testDynamicSortingContext()
1011 cClient(t.mk("SELECT b\r\n")); in testDynamicSortingContext()
1301 cClient(t.mk("UID FETCH 11:* (FLAGS)\r\n")); in testIncrementalThreading()
1335 cClient(t.mk("UID FETCH 3:* (FLAGS)\r\n")); in testRemovingRootWithThreadingInFlight()
1454 cClient(t.mk("SELECT b\r\n")); in testFlatThreadDeletionPerformance()
[all …]
H A Dtest_Imap_BodyParts.cpp78 cClient(t.mk("UID FETCH 1:* (FLAGS)\r\n")); in testPartIds()
85 cClient(t.mk("UID FETCH 333 (" FETCH_METADATA_ITEMS ")\r\n")); in testPartIds()
217 cClient(t.mk("UID FETCH 1:* (FLAGS)\r\n")); in testInvalidPartFetch()
224 cClient(t.mk("UID FETCH 333 (" FETCH_METADATA_ITEMS ")\r\n")); in testInvalidPartFetch()
261 cClient(t.mk("UID FETCH 1:* (FLAGS)\r\n")); in testFetchingRawParts()
289 cClient(t.mk("UID FETCH 333 (BODY.PEEK[1])\r\n")); in testFetchingRawParts()
307 cClient(t.mk("UID FETCH 333 (BINARY.PEEK[2])\r\n")); in testFetchingRawParts()
322 cClient(t.mk("UID FETCH 333 (BODY.PEEK[2])\r\n")); in testFetchingRawParts()
342 cClient(t.mk("UID FETCH 333 (BODY.PEEK[3])\r\n")); in testFetchingRawParts()
383 cClient(t.mk("UID FETCH 333 (BODY.PEEK[5])\r\n")); in testFetchingRawParts()
[all …]
/dports/games/openlierox/OpenLieroX/src/client/
H A DCClient.cpp1258 cClient->setNumWorms(0); in JoinServer()
1266 cClient->setNumWorms(1); in JoinServer()
1273 cClient->Connect(addr); in JoinServer()
1740 cClient->getLocalWormProfiles()[cClient->getNumWorms()] = p; in setWormAdd()
1741 cClient->setNumWorms(cClient->getNumWorms() + 1); in setWormAdd()
1824 cClient->setWorm(i, &cClient->getRemoteWorms()[serverWorm->getID()]); in updateAddedWorms()
1840 cClient->getWorm(i)->setProfile(cClient->getLocalWormProfiles()[i]); in updateAddedWorms()
1845 cClient->getWorm(i)->setClientVersion(cClient->getClientVersion()); in updateAddedWorms()
1846 if(!cClient->getWorm(i)->ChangeGraphics(cClient->getGeneralGameType())) in updateAddedWorms()
1861 cClient->getWorm(i)->setGameScript(cClient->getGameScript().get()); in updateAddedWorms()
[all …]
H A DCNinjaRope.cpp117 if (cClient->getGameLobby()->features[FT_InfiniteMap]) { in Draw()
118 while (hx > prevx + (int)(cClient->getMap()->GetWidth() / 2)) in Draw()
119 hx -= cClient->getMap()->GetWidth(); in Draw()
120 while (hx < prevx - (int)(cClient->getMap()->GetWidth() / 2)) in Draw()
121 hx += cClient->getMap()->GetWidth(); in Draw()
122 while (hy > prevy + (int)(cClient->getMap()->GetHeight() / 2)) in Draw()
123 hy -= cClient->getMap()->GetHeight(); in Draw()
124 while (hy < prevy - (int)(cClient->getMap()->GetHeight() / 2)) in Draw()
125 hy += cClient->getMap()->GetHeight(); in Draw()
/dports/games/openlierox/OpenLieroX/src/server/
H A DDedicatedControl.cpp376 cClient->Frame(); in Frame_ServerLobby()
384 cClient->Frame(); in Frame_ClientConnecting()
393 if(cClient->getBadConnection()) { in Frame_ClientConnecting()
396 cClient->Shutdown(); in Frame_ClientConnecting()
403 cClient->Frame(); in Frame_ClientLobby()
406 if(cClient->getClientError()) { in Frame_ClientLobby()
412 if(cClient->getGameReady()) { in Frame_ClientLobby()
423 if(cClient->getServerError()) { in Frame_ClientLobby()
426 cClient->Disconnect(); in Frame_ClientLobby()
427 cClient->Shutdown(); in Frame_ClientLobby()
[all …]
/dports/games/maxr/maxr-0.2.9/src/ui/graphical/game/control/
H A Dgameguicontroller.h37 class cClient; variable
71 void setSingleClient (std::shared_ptr<cClient> clients);
72 void setClients (std::vector<std::shared_ptr<cClient>> clients, int activePlayerNumber);
89 std::shared_ptr<cClient> activeClient;
90 std::vector<std::shared_ptr<cClient>> clients;
102 void setActiveClient (std::shared_ptr<cClient> client);
104 void connectClient (cClient& client);
/dports/games/openlierox/OpenLieroX/src/
H A Dmain.cpp1200 cClient = new CClient; in InitializeLieroX()
1201 if(cClient == NULL) { in InitializeLieroX()
1205 cClient->Clear(); in InitializeLieroX()
1307 cClient->Frame(); in GameLoopFrame()
1330 cClient->Frame(); in GameLoopFrame()
1339 cClient->Frame(); in GameLoopFrame()
1358 cClient->Disconnect(); in QuittoMenu()
1378 cClient->Shutdown(); in GotoLocalMenu()
1524 if(cClient) { in ShutdownLieroX()
1525 delete cClient; in ShutdownLieroX()
[all …]
/dports/games/maxr/maxr-0.2.9/src/ui/graphical/game/widgets/
H A Ddebugoutputwidget.h25 class cClient; variable
46 void setClient (const cClient* client);
64 const cClient* client;

1234