|
|
Àâòîðèçàöèÿ |
|
|
Ïîèñê ïî óêàçàòåëÿì |
|
|
|
|
|
|
|
|
|
|
Mulholland A., Hakala T. — Multiplayer Game Programming w/CD (Prima Tech's Game Development) |
|
|
Ïðåäìåòíûé óêàçàòåëü |
2D library example, loading graphics 200—202
2D library example, moving primitives 195—199
2D library example, rotating graphics 200—202
2D library, adding to workspace 183
2D library, creating windowed application with 184—189
2D library, graphical functions 190—193
2D positions, displaying 190
Accept function 128
Account, creating 316—319
AddClient function 293—295 333—334 366—367
AddGame function 478—479
Address classes 107
Address conversion 133
Address conversion, functions 133—134
Address structures, generic 123
Address structures, IPv4 121—122
Address structures, IPv6 122
AddSequences function 255
adduser.tpl.html 97
Alias naming restrictions 20
ALTER TABLE command 26—28
Apache web server, installing PHP4 on 60—63
Apache web server, setting up 57—60
Application layer 105
Application, creating 184—189
Application, creating with dreamSock 305—369
ApplicationProc function 489
Arrays, using in PHP 70
BeginReading function 257
Big-endian order 136
Bind function 125—126
blocking I/O 169—170
Blocking socket 144
Broadcast function 176—177
broadcasting 175
BuildDeltaMoveCommand function 454—458 508—509
BuildMoveCommand function 453—454
Bullets, calculating velocity of 470—472
Bullets, comparing 534—535
Bullets, moving 472—475
Byte ordering 136
Calculate Velocity function 468—469 535—536
CalculateBulletVelocity function 470—472
CalculateHeading function 469—470 536—537
CArmyWar class, constructor 525—526
CArmyWar class, destructor 525—526
CArmyWar class, initializing 525—526
CArmyWar class, uninitializing 525—526
CArmyWarServer class methods 437—449 458—467
CheckBulletPredictionError function 534—535
CheckFlagCollisions function 475—476
CheckForTimeout function 299—301
CheckKeys function 532—533
CheckPredictionError function 533—534
CheckVictory function 531—532
Clear function 253
Client application, creating 306—338
Client list 208
Client list, returning pointer to player in 532
Client prediction 429
client.cpp 511—525
client.h 482—487
ClientDlgProc callback procedure 7—8
ClientProcess function, TCR 155—157
ClientProcess function, UDP 159—160
Clients 135—136
Clients, adding to client list 293—295 333—334 366—367
Clients, checking for timing out 299—301
Clients, connecting with server 126
clients, creating 150 481—542
Clients, creating for game lobby 371—405
Clients, creating TCP 151—153
Clients, creating UDP 157—159
Clients, initializing 268—269
Clients, keeping alive 336
Clients, pinging 293
Clients, receiving packets from 301—303
Clients, removing from client list 295—297 334—336 366—368
Clients, resetting 270
Clients, sending messages to 290—293
Clients, uninitializing 269
CLobby class methods 389—398
CLobbyServer class methods 408—418
Close function 129
closesocket function 129
Code, structuring 73—78
colors, specifying 190
Column naming restrictions 20
Commands, building 453—458
Commands, reading 452—453 505—508
Commands, sending 451—452 502—504
common.h 310 340 488
Concurrent server 112 135
Conditional statements, using in PHP 68—70
Conditional statements, using in SQL 37—39
Connect function 126
Connected socket 128
Connection, starting 502
Connection-oriented protocol 108
connectionless protocol 109
core.php 74 76
CREATE DATABASE command 20—21
CREATE TABLE command 25
CreateAccountDialogProc function 316—319
CreateGameDialogProc function 380—381
CreateThread function 168—169
CreateViewPlayersDialogProc function 380
CSignin class 308—309
CSignin class, constructor 329
CSignin class, destructor 329
CSignin class, global variables 316
CSignin class, methods 323—329
CSigninServer class 339—340
CSigninServer class, constructor 361
CSigninServer class, destructor 361
CSigninServer class, global variables 347
CSigninServer class, methods 355—361
Daemon 18
daemonInit function 351—352
Data buffer, dumping 270
Data buffer, retrieving point from 254
Data buffer, writing to 255
Data Definition Language 19
Data definition language, using 19—29
Data input 44—46
Data Link layer 105
Data Manipulation Language 19 29
Data manipulation language, using 29—39
Data types and platforms 121
Data types in MySQL 22—23
Data types, defining 212—213
Data, adding to table 30—32 41
Data, deleting from table 34—35
data, importing 44—46
Data, linking 42—43
Data, modifying in table 32—34
data, reading 257—260
data, receiving 243—244
Data, receiving in socket 131—133
Data, relating 42—43
Data, removing 84—90
Data, requesting 401
data, retrieving 50—53
data, sending 208—209 244—245
Data, sending to socket 129—132
data, storing 79—84
data, updating 53—55 84—90
Data, writing 255 257
Database, adding table to 25
Database, backing up to file 47—49
| Database, connecting to 50—53
Database, connecting to with PHP script 78—79
Database, creating 20—21
Database, creating relational 40
Database, dropping 21—22
Database, dropping table from 28—29
Database, modifying table in 26—28
Database, naming restrictions 20
Database, relational 40 see
Database, removing data from 84—90
Database, restoring 49
Database, storing data in 79—84
Database, updating data in 84—90
Database, viewing 19—20
Datagram socket 111—112
Dead reckoning 429
Debug version 12
Delete command 34—35
Delta compression 428—429
DESCRIBE command 26
DialogBox function 7
Dialogs see also "Windows"
dialogs, creating 6—7
Dialogs, creating for game lobby 372—377
Disconnect function 337 403—404 505
doAddUser function 84
Domain Name Service 106
DrawMap function 528—530
dreamClient class 226—228
dreamClient class, constructor 268
dreamClient class, destructor 268
dreamClient class, functionality of 262—268
dreamClient class, variables 260—262
dreamConsole, constructor 215
dreamConsole, destructor 215
dreamMessage class 225—226
dreamMessage class, functionality of 249—253
dreamMessage class, variables 249
dreamServer class 228—229
dreamServer class, constructor 289
dreamServer class, destructor 289—290
dreamServer class, functionality of 280—288
dreamServer class, variables 280
dreamsock 206
dreamSock application, planning functionality of 306
dreamSock network library, creating 248—303
dreamSock, creating network application with 305—369
dreamSock.h 220—225
dreamSock_Broadcast function 245—246
dreamSock_CloseSocket function 243
dreamSock_GetCurrentSystemTime function 246
dreamSock_GetPacket function 243—244
dreamSock_Initialize function 229—230
dreamSock_InitializeWinSock function 230—231
dreamSock_Linux_GetCurrentSystem-Time function 246—247
dreamSock_OpenUDPSocket function 241—243
dreamSock_SendPacket function 244—245
dreamSock_SetBroadcasting function 239—240
dreamSock_SetNonBlocking function 239
dreamSock_Shutdown function 231—232
dreamSock_Socket function 238—239
dreamSock_StringToSockaddr function 240
dreamSock_Win_GetCurrentSystemTime function 247—248
DROP DATABASE command 21—22
DROP TABLE command 28—29
DumpBuffer function 270
Echo application, running 160—161
Echo TCP client, creating 151—153
Echo TCP server, creating 139—142
Echo UDP client, creating 157—159
Echo UDP server, creating 146—150
Engine, initializing 526—527
Engine, shutting down 527
Ephemeral ports 110
Errno variable, using to retrieve error number 248
Error handling 120
Error values, retrieving 248
Event object 166—167
Events, detecting network 163
Events, processing 186—187
Excel, using to enter data 45—46
exceptions, catching 306
FastTemplate 90
FastTemplate, converting to 95—101
FastTemplate, using 91—95
Flag collisions, checking for 475—476
footer.php 75—76
Frame function 477—478 530—531
Frame history 430
Frame time, monitoring 428
Frames, comparing 533—534
Frames, running 477—478
Frames, storing 430
ft.php 91—92
ft2.php 94
ftcore.php 98
ftusers.php 99—101
functions, global 229—248
Functions, graphical 190—193
Functions, using in PHP 70—71
Game client, creating 481—542
Game list, adding game to 478—479
Game list, refreshing 541
Game list, removing game from 479—481
Game lobby, creating 371—425
Game lobby, creating dialogs for 372—377 380—386
Game logic, handling 530—531
Game map, drawing 528—530
Game map, generating 467—468
Game platform, choosing 113
Game server, creating 430—481
Game server, reasons for creating 15
Game tutorial code, client.cpp 511—525
Game tutorial code, client.h 482—487
Game tutorial code, common.h 310 340 488
Game tutorial code, dreamSock.h 220—225
Game tutorial code, lobby.cpp 389—398 408—418 478—481 541—542
Game tutorial code, lobby.h 377—378 406—407
Game tutorial code, main.cpp 310—316 341—347 380—389 407—408 436—437 488—490
Game tutorial code, main.h 309 379
Game tutorial code, network.cpp 437—449 490—502
Game tutorial code, network.h 309 340 379 407 436 487—488
Game tutorial code, server.cpp 458—467
Game tutorial code, server.h 431—435
Game tutorial code, signin.cpp 323—329 355—361
Game tutorial code, signin.h 307—308 338—339
Game, adding to game list 478—479
Game, creating log system for 214—219
Game, removing from game list 479—481
GenerateRandomMap function 467—468
get method 73
GetClientPointer function 532
GetNewPoint function 254
GetPacket function 275—276 301—303
getsockopt function 173—174
GFX_Blit function 192—193
GFX_Line function 191
GFX_LoadBitmap function 192
GFX_Pixel function 191
GFX_Rect function 191
GFX_RectFill function 191
GFX_Tri function 191
GFX_TriFill function 191
Global Functions 229—248
graphical functions 190—193
Graphics engine, initializing 526—527
Graphics engine, shutting down 527
graphics, loading 200—202
Graphics, rotating 200—202
Header files, setting up for network library 219—220
|
|
|
Ðåêëàìà |
|
|
|