summaryrefslogtreecommitdiffstats
path: root/pacman-c++/server.cpp
Commit message (Collapse)AuthorAgeFilesLines
* - rewrite network methods (ugly but good performance)manuel2011-04-131-36/+49
| | | | - fix memleaks
* minor improvments: better debug messages + no tabs :Dmanuel2011-04-121-9/+11
|
* compile fix, remove some debugging, improve movement calculation in corner casesmanuel2011-04-121-6/+8
|
* make removal of items from scene delayed by one tick (looks better)manuel2011-04-121-15/+8
| | | | | | all items are now derived from gameentity and gameentity is derived from pixmapitem: - this is naturally better - allows us to add a generic gameentity.color()
* finding out which actor has eaten which element didn't work correctly. ↵manuel2011-04-121-1/+4
| | | | instead of checking that on client side the server now just sends the id of the actor withing the explicit empty id data field
* make the server a non gui applicationmanuel2011-04-121-1/+1
| | | | | | | | this required a lot of reorganization: - don't create ANY pixmaps. that requires QtGui - don't create and QtWidgets - thus SceneHolder is now a QGraphisScene itself - and MainWidgets is a QWidget having SceneHolder as member variable
* - server doesn't neet mainwidget.cppmanuel2011-04-111-1/+18
| | | | | - removed local mode (doesn't work anyway) - made movement more like orginal pacman
* minor movement improvementsmanuel2011-04-111-7/+6
|
* - make moving animation a bit smoother (on my computer at least)manuel2011-04-111-10/+17
| | | | - make animation stop after getting blocked
* make constants::server externmanuel2011-04-111-8/+15
| | | | code cleanup
* implemented aitotycro2011-04-111-1/+4
|
* create and use Constants::servermanuel2011-04-111-1/+3
|
* progresstotycro2011-04-111-4/+15
|
* Added basic game logictotycro2011-04-111-3/+10
|
* First parameter for client is server iptotycro2011-04-111-1/+4
| | | | Added asserts to confirm that packets were parsed correctly
* make local player always the first player in scoreboardmanuel2011-04-111-4/+3
|
* - second cleanup: move game/round points inside arraymanuel2011-04-111-7/+8
| | | | - order is defined by Color::order[] used by server and client (gui too)
* - first round of coding cleanupmanuel2011-04-101-28/+49
| | | | - small sound fix
* Fixed brackets/indention (getting tired ;)totycro2011-04-101-9/+6
|
* fixed a minor crashtotycro2011-04-101-0/+6
|
* transmit game scoretotycro2011-04-101-3/+17
|
* Added primitive game logic (make pacman avoid walls)totycro2011-04-101-1/+9
|
* Tell player about their colortotycro2011-04-101-19/+11
| | | | minor cleanup
* more verbose debug messagestotycro2011-04-091-0/+4
|
* minor adaptionstotycro2011-04-091-1/+1
|
* first version of multiplayertotycro2011-04-091-12/+92
|
* added .proto file and generated sourcestotycro2011-04-091-1/+2
|
* hackishly disabled audio for srvtotycro2011-04-091-3/+8
| | | | made test movement work
* added some utilitytotycro2011-04-091-1/+39
|
* Pull up methods from mainwidget to sceneholder for sharing in both client ↵totycro2011-04-091-0/+22
and server