summaryrefslogtreecommitdiffstats
path: root/pacman-c++/mainwidget.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Added roundstotycro2011-04-191-1/+1
| | | | | rounds will end when all points are removed TODO: end round when a pacman gets eaten
* - add actor.canEat(other) to check if actor can eat other (note: that ↵manuel2011-04-181-1/+11
| | | | | | | doesn't mean that other can eat actor!!) - server now generated and sends the colorlist to the server in the first map update packet - add a better AI
* a bigger commit again:manuel2011-04-171-5/+4
| | | | | | - fix pacman movement. now more like real pacman (again). e.g. if you press a direction-key again: the pacman will move in that direction as soon as possible and no repeated keypress is needed - add random colorized blocks (without dieing yet) - add cmdline-option: --nocolorblocks to disable that
* fix wrong left shift which fixes the invisible fourth player :)manuel2011-04-141-1/+2
|
* instead of displaying the score of all possible players only display scores ↵manuel2011-04-141-3/+5
| | | | up to maxplayers
* place actors at random positionsmanuel2011-04-141-22/+24
|
* add dynamic player count for client. currently works only with 1 player as ↵manuel2011-04-141-18/+23
| | | | server doesn't send the initial map to the clients
* encapsulate gapless audioplayer commit from yesterday into an own class ↵manuel2011-04-141-19/+4
| | | | | | (gaplessaudioplayer) added two new menu entrys: toggle sound + toggle ambient sound (2. very useful!)
* some speed improvments regarding protobufmanuel2011-04-131-6/+4
|
* - rewrite network methods (ugly but good performance)manuel2011-04-131-14/+20
| | | | - fix memleaks
* try to play the sound more gapless. if that won't work for totycro I'll ↵manuel2011-04-131-5/+20
| | | | revert the crap. it makes the code really ugly
* adding google soundsmanuel2011-04-131-1/+1
|
* add siren playermanuel2011-04-121-1/+9
|
* minor improvments: better debug messages + no tabs :Dmanuel2011-04-121-4/+3
|
* make removal of items from scene delayed by one tick (looks better)manuel2011-04-121-2/+2
| | | | | | 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()
* make the server a non gui applicationmanuel2011-04-121-7/+11
| | | | | | | | 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-75/+45
| | | | | - removed local mode (doesn't work anyway) - made movement more like orginal pacman
* typo fixtotycro2011-04-111-1/+1
|
* Added basic game logictotycro2011-04-111-2/+2
|
* First parameter for client is server iptotycro2011-04-111-3/+12
| | | | Added asserts to confirm that packets were parsed correctly
* make local player always the first player in scoreboardmanuel2011-04-111-7/+9
|
* - make use of my_color (still TODO: pre-game dialog (with intro music) + ↵manuel2011-04-111-5/+9
| | | | | | display own color first in scoreboard) - remove some audio debugging noice
* - second cleanup: move game/round points inside arraymanuel2011-04-111-21/+12
| | | | - order is defined by Color::order[] used by server and client (gui too)
* - first round of coding cleanupmanuel2011-04-101-25/+32
| | | | - small sound fix
* major audio rewritemanuel2011-04-101-1/+1
|
* transmit game scoretotycro2011-04-101-26/+20
|
* Added primitive game logic (make pacman avoid walls)totycro2011-04-101-1/+0
|
* Tell player about their colortotycro2011-04-101-25/+25
| | | | minor cleanup
* more verbose debug messagestotycro2011-04-091-1/+4
|
* minor adaptionstotycro2011-04-091-67/+75
|
* first version of multiplayertotycro2011-04-091-14/+68
|
* store sound muted in local settingsmanuel2011-04-091-44/+2
|
* move sound toggle icon to mainwidgetmanuel2011-04-091-3/+42
|
* added some utilitytotycro2011-04-091-37/+3
|
* Pull up methods from mainwidget to sceneholder for sharing in both client ↵totycro2011-04-091-175/+4
| | | | and server
* collision detection fixmanuel2011-04-091-3/+10
|
* tried to make movement more smoothtotycro2011-04-091-2/+40
|
* make audioplayer usefulmanuel2011-04-081-5/+1
|
* fix window titlemanuel2011-04-081-2/+0
|
* fixing app icon on windowsmanuel2011-04-071-8/+4
| | | | add audio player
* - make player icons a bit nicer (on windows too)manuel2011-04-071-10/+13
| | | | - we don't build DEBUG by default (makes windows go crazy)
* adding application iconmanuel2011-04-071-7/+16
| | | | and trying to add actor icon. but this is really hackish
* final demo mapmanuel2011-04-071-167/+46
|
* add some soundsmanuel2011-04-071-3/+25
|
* adding normal pointsmanuel2011-04-071-2/+15
|
* we love pacmans!!manuel2011-04-061-2/+2
|
* - make a few optimizations to actor spritesmanuel2011-04-061-31/+66
| | | | - make actor move via keyboard!
* Merge branch 'master' of ssh://manuel.mausz.at/foopmanuel2011-04-061-1/+1
|\ | | | | | | | | Conflicts: pacman-c++/mainwidget.cpp
| * Fixed size for drawing areatotycro2011-04-061-3/+3
| |
* | make pictures color index basedmanuel2011-04-061-23/+27
|/