Heli Hyvättinen [Tue, 14 Jun 2011 19:01:34 +0000 (22:01 +0300)]
started to use fixed scene size and upped version number to 0.1.0
Fixed scene size is a workaround for a bug in dynamic setting of scene
size. Dynamic setting would be needed for flexible portability.
The game should now be playable. (Although there is just one level, no
octopuses and the screen does not stay lit.)
Heli Hyvättinen [Tue, 14 Jun 2011 18:50:55 +0000 (21:50 +0300)]
Bugtracker adress now fully visible in the about box
Heli Hyvättinen [Tue, 14 Jun 2011 17:48:22 +0000 (20:48 +0300)]
Added bugtracker info
...to about box and the debian control file
Heli Hyvättinen [Tue, 14 Jun 2011 17:38:39 +0000 (20:38 +0300)]
Pause works again
Pause re-created to fit current code and stop octopuses too.
(untested for octopuses)
Window title now correct.
Heli Hyvättinen [Tue, 14 Jun 2011 16:56:40 +0000 (19:56 +0300)]
Set up packaging from QtCreator
Heli Hyvättinen [Tue, 14 Jun 2011 12:10:35 +0000 (15:10 +0300)]
Cleaned away some outcommented and debug code
Heli Hyvättinen [Tue, 14 Jun 2011 12:03:58 +0000 (15:03 +0300)]
Victory dialog shown and game restarted when all ghosts found
Does not support more than one level yet.
Heli Hyvättinen [Tue, 14 Jun 2011 08:32:41 +0000 (11:32 +0300)]
Merge branch 'randomize'
Heli Hyvättinen [Tue, 14 Jun 2011 08:31:16 +0000 (11:31 +0300)]
Debug code changes
Heli Hyvättinen [Tue, 14 Jun 2011 08:23:07 +0000 (11:23 +0300)]
Now sets random seed
And moved setting the background to the constructor of SeaScene.
Heli Hyvättinen [Tue, 14 Jun 2011 02:32:49 +0000 (05:32 +0300)]
Fixed crashes when restrating level
...caused by list of moving items not cleared when setting up map,
leaving already deleted objects in the list.
Heli Hyvättinen [Tue, 14 Jun 2011 01:41:07 +0000 (04:41 +0300)]
Merge branch 'shipimages'
Heli Hyvättinen [Tue, 14 Jun 2011 01:39:54 +0000 (04:39 +0300)]
Added the number of ghots to test ship images
Heli Hyvättinen [Tue, 14 Jun 2011 01:32:34 +0000 (04:32 +0300)]
Corrected the file name for the about box image
Heli Hyvättinen [Tue, 14 Jun 2011 01:31:33 +0000 (04:31 +0300)]
Added the about box
Heli Hyvättinen [Fri, 10 Jun 2011 02:06:31 +0000 (05:06 +0300)]
Spread ghost should no longer be placed on top of the ship and octupuses
Slots occupied by moving objects now excluded when randomizimg ghost
placing. Needs huge amounts of testing to verify it's working...
Heli Hyvättinen [Wed, 8 Jun 2011 19:24:44 +0000 (22:24 +0300)]
Ghosts now visible aboard
The ship now has different images for 0-10 ghosts aboard. for more than
ten, the image with ten ghosts is used.
Heli Hyvättinen [Wed, 8 Jun 2011 10:45:15 +0000 (13:45 +0300)]
Merge branch 'levels'
Heli Hyvättinen [Wed, 8 Jun 2011 10:40:05 +0000 (13:40 +0300)]
Added "restart level" to the menu
Heli Hyvättinen [Wed, 8 Jun 2011 10:30:33 +0000 (13:30 +0300)]
Restored pause in menu and setupmap clears old items
Pause was accidentally deleted with other stuff earlier. Setupmap is
ready to be used more than once now.
Heli Hyvättinen [Wed, 8 Jun 2011 09:08:14 +0000 (12:08 +0300)]
Seaview class added to git
Heli Hyvättinen [Mon, 6 Jun 2011 17:53:51 +0000 (20:53 +0300)]
Changed the map creation to create each pixmap just once per round
Just in case creating the pixmap from filename actually reads the file
each time, the pixmap is created once per map creation and the same one
is given to QGraphicsItem each time its used.
Heli Hyvättinen [Mon, 6 Jun 2011 17:46:08 +0000 (20:46 +0300)]
The ship now drops all ghosts overboard when hitting an obstacle
The placing of ghosts on the map does not take into account that
octopuses and the ship have moved to new positions (that do not respect
the tile system).
Heli Hyvättinen [Mon, 6 Jun 2011 17:26:05 +0000 (20:26 +0300)]
Ship can now pick ghosts
Heli Hyvättinen [Mon, 6 Jun 2011 12:13:00 +0000 (15:13 +0300)]
Removed some test code
Heli Hyvättinen [Mon, 6 Jun 2011 12:09:48 +0000 (15:09 +0300)]
Updated the UML plan to reflect code changes
Added the ship graphic too
Heli Hyvättinen [Mon, 6 Jun 2011 12:01:01 +0000 (15:01 +0300)]
Added plan files
Heli Hyvättinen [Mon, 6 Jun 2011 11:59:29 +0000 (14:59 +0300)]
Separated actual collision detection into subclass Ship
Now uses the class Ship. The separation is to keep the base class
OrientationControlledGraphicsPixmapObject generic and reusable.
Heli Hyvättinen [Mon, 6 Jun 2011 10:43:42 +0000 (13:43 +0300)]
Seascene map setup places rocks, octopuses and the ship now
Also removed placing them from MainWindow.
Heli Hyvättinen [Mon, 6 Jun 2011 10:04:41 +0000 (13:04 +0300)]
Spreading ghosts now handles situations where there is no free slot left
Heli Hyvättinen [Sun, 5 Jun 2011 19:56:20 +0000 (22:56 +0300)]
SeaScene with randomized ghost positions
Heli Hyvättinen [Tue, 17 May 2011 16:48:54 +0000 (19:48 +0300)]
Timercontrolledtursas bounding and collision detection changes
Bounding to scene now includes calling changeDirection(). (Which is
empty for now). Collision detection/prevention (which also calls
changeDirection()) added.
Heli Hyvättinen [Sat, 14 May 2011 13:23:22 +0000 (16:23 +0300)]
Added timer controlled item
Mostly untested though.
Heli Hyvättinen [Thu, 12 May 2011 08:15:10 +0000 (11:15 +0300)]
Collision detection works
Now stops at rocks.
Heli Hyvättinen [Mon, 9 May 2011 19:30:01 +0000 (22:30 +0300)]
Pause now works