|
|
Àâòîðèçàöèÿ |
|
|
Ïîèñê ïî óêàçàòåëÿì |
|
|
|
|
|
|
|
|
|
|
Mulholland A., Hakala T. — Multiplayer Game Programming w/CD (Prima Tech's Game Development) |
|
|
Ïðåäìåòíûé óêàçàòåëü |
header.php 75
Heading, calculating 469—470
Hosts, identifying 207—208
Hosts, sending data to 208—209
hwnd 4
I/O strategies 169
I/O, controlling 172
Images, displaying 192—193
images, loading 192 200—202
Images, rotating 200—202
Include folder 10
index.php 64
index2.php 65
index3.php 67
index4.php 68—69
index5.php 70
inet_aton function 134
Init function 253
Initialization, Windows 115—120
Initialize function 268—269 290
InitializeEngine function 526—527
InitializeWinSock function 117—119
InitNetwork function 362 449
InitSockets function, TCR 142—145 154—155
InitSockets function, UDP 148—149 159
Input, checking for 532—533
Input, handling 489
input.php 71—72
input/output functions 172—175
insert command 30—32
International Organization for Standardization see "ISO"
Internet Protocol see "IP"
ioctl function 172—173
ioctlsocket function 172—173
IP 106—108
IP, address classes 107
IP, addresses 107
IPv4 106—107
IPv4, address structure 121—122
IPv6 107—108
IPv6, address structure 122
ISO 104
iterative server 112 134
JoinGameDialogProc function 382
Key, checking for status of 352
Keyboard input 193—195
Keyboard input, checking for 532—533
Keyboard input, handling 489
keyPress function 352
KillPlayer function 532
LAN 136
LAN server, searching for 175—176
Latency, calculating 209
Lib folder 10
LIKE command 39
Line, drawing 191
Link table 40
Link table, creating 40—41
Linux, building network library in 211—212
listen function 127
Little-endian order 136
load command 44
lobby.cpp 389—398 408—418 478—481 541—542
lobby.h 377—378 406—407
LobbyDialogProc function 384—386
Local Area Network see "LAN"
Log system 213—214
Log system, creating 214—219
LoginDialogProc function 382—383
LogString function 217—218
Loops, using in PHP 67—68
Macros, socket descriptor 164—165
main function 353—355
main function, TCR 153—154
main.cpp 310—316 341—347 380—389 407—408 436—437 488—490
main.h 309 379
main.tpl.html 96
mainbody.tpl.html 93
Map, drawing 528—530
Map, generating 467—468
Message loop, creating 184—185
Messages, building 508—509
Messages, compressing 428—429
Messages, functions for working with 271—279
Messages, handling 430
Messages, notification 366
Messages, parsing 297—299 329—333
messages, reading 362—366 399—401 418—425 449—451
messages, sending 402—403 504—505
Messages, sending to clients 303
Messages, sending to server 336
Messages, system vs. user 270—271
Messages, update 8—9
Messaging system in Windows 3—4
MoveObjects function 539—540
MovePlayer function 472—475
Multicast IP addresses 107
Multiplay 134
Multiple templates, using 93—95
Multiplexing 171
Multiplexing I/O 171
Multitasking 4
Multithreading 4 167—168
MySQL 15
MySQL C++ interface see "MySQL++"
MySQL example, connecting to database and retrieving data 50—53
MySQL example, updating data from an application 53—55
MySQL server, running 19
MySQL++ 50
MySQL, connecting to database with 78—79
MySQL, data types 22—23
MySQL, installing 16—19
MySQL, storing data with 79—84
MySQL, using 78—90
mysqlcore.php 80 85
Mysqldump utility 47
mysqll.php 79
Network application, creating with dreamSock 305—369
Network byte order 136
Network events, detecting 163
network functionality, designing 428—430
Network latency, calculating 209
Network layer 105
Network library, building 209—212
Network library, creating dreamSock 248—303
Network library, initializing 229—230
Network library, planning 206—207
Network library, reasons for creating 205—206
Network library, setting up files for 219—220
Network library, shutting down 231—232
Network protocol see "Protocol"
Network system, running 337—338 369 404—405
Network, initializing 449
Network, running 509—510
network.cpp 437—449 490—502
network.h 309 340 379 407 436 487—488
NET_WinSockInitialize function, TCP 142
Non-blocking I/O 170
Non-blocking socket 144
Open Systems Interconnection Model see "OSI model"
OpenGL libraries, adding to workspace 183
Operators, using in PHP 67—68
OSI model 104
OSI model, layers 104—105
OSI model, usage of 105
output.php 72
page1.php 77
page2.php 77
ParsePacket function 273—275 297—299
PHP, arrays in 70
| PHP, conditional statements in 68—70
PHP, connecting to database with 78—79
PHP, functions in 70—71
PHP, operators and loops in 67—68
PHP, testing installation of 62
PHP, updating data with 84—90
PHP, user input in 71—73
PHP, using 63—73
PHP, variables in 65—66
PHP4, installing on Apache web server 60—63
Physical layer 105
pinging 209
Pixel, plotting 191
Platforms and data types 121 212—213
Platforms and sockets 113
Platforms and sockets API 112—113
Platforms, choosing 113
Platforms, Unix 113
Platforms, Windows 113
Player list, refreshing 541—542
Player list, updating 398—399
Player, calculating heading of 536—537
Player, calculating velocity of 535—536
Player, moving 472—475 539—540
Player, moving back to start position 532
Player, predicting movement of 537—539
Player, returning pointer to 532
Port numbers 109
Ports 109—110
POST method 73
PredictMovement function 537—539
Presentation layer 105
Primary key 40
Primitives, moving 195—199
println function 215—216
Program, running as daemon 351—352
Project, adding static libraries to 183
Project, creating 182—189
Protocol 103—104
Protocol, connection-oriented 108
Protocol, connectionless 109
pthread_create function 169
read function 257—258
ReadByte function 258
ReadDeltaMoveCommand function 452—453 506—508
ReadFloat function 259
ReadLong function 259
ReadMoveCommand function 505—506
ReadPackets function 329—333 362—366 399—401 418—425 449—451
ReadShort function 258—259
ReadString function 259—260
Rectangle, drawing 191
recv function 131—132
recvfrom function 133
RefreshGameList function 541
RefreshJoinedPlayersList function 541—542
RefreshPlayerList function 398—399
Relational database 40—41 see
Release version 12
RemoveClient function 295—297 334—335 367—368
RemoveClients function 335—336 368
RemoveGame function 479—480
RemoveGames function 481
RequestGameData function 401
reset function 270
RunNetwork function 337—338 369 404—405 509—510
select function 163—164
SELECT statements, conditional 37—39
SELECT statements, using 35—39
send function 129—131
SendAddClient function 290—292
SendChat function 402
SendCommand function 451—452 502—504
SendConnect function 271—272
SendCreateGame function 402
SendDisconnect function 272
SendDlgltemMessage function 9
SendExitNotification function 366
SendKeepAlive function 336
SendPacket function 276—279
SendPackets function 303
SendPing function 272—273 293
SendRemoveClient function 292—293
SendRemoveGame function 402
SendRequestNonDeltaFrame function 504
SendSignln function 336
SendStartGame function 403 504
sendto function 132
Server application, creating 338—369
server.cpp 458—467
server.h 431—435
ServerProcess function, TCP 145—146
ServerProcess function, UDP 149—150
Servers 134—135
Servers, connecting to 337 403
Servers, connecting with client 126
Servers, creating 136—137 430—481
Servers, creating for game lobby 406—425
Servers, creating TCP 139—142
Servers, creating UDP 146—150
Servers, disconnecting from 337 403—404 527
Servers, initializing 362
Servers, reasons for storing game data on 15
Servers, searching for 175—176
Servers, types of 112 134—135
Servers, uninitializing 362
Session layer 105
setsockopt function 173—174
SHOW DATABASES command 19—22
SHOW TABLES command 25—26
shutdown function 174—175
ShutdownNetwork function 362
Sign-in system, creating 306—369
Signal-driven I/O 170—171
signin.cpp 323—329 355—361
signin.h 307—308 338—339
simple.tpl.html 91
Skeleton project, creating 182—189
Socket descriptor macros 164—165
socket function 124
socket functions, global 232—248
Sockets 110—111
Sockets API 110
Sockets API and platforms 112—113
Sockets functions, basic 124—129
Sockets functions, input/output 129—133
Sockets, addresses of 112
Sockets, binding address to 125—126
Sockets, blocking 144
Sockets, broadcasting 245—246
Sockets, closing 129 243 290
Sockets, connected 128
Sockets, controlling I/O mode of 172—173
Sockets, converting address string of 240
Sockets, creating 124 238—239 290
Sockets, data types of 121
Sockets, disabling 174—175
Sockets, getting options for 173—174
Sockets, initializing 142—145 148—149 154—155 159
Sockets, non-blocking 144
Sockets, opening UDIj 241—243
Sockets, receiving data in 131—133
Sockets, sending data to 129—132
Sockets, setting blocking mode of 239
Sockets, setting for incoming connections 127
Sockets, setting options for 173—174
Sockets, setting to broadcast 239—240
Sockets, types of 111—112
Source files, adding to project 183
Source files, setting up for network library 219—220
|
|
|
Ðåêëàìà |
|
|
|