[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Pingus-CVS] r2825 - in branches/pingus_sdl: . src/worldobjs
From: |
jsalmon3 |
Subject: |
[Pingus-CVS] r2825 - in branches/pingus_sdl: . src/worldobjs |
Date: |
Tue, 7 Aug 2007 04:29:00 +0200 |
Author: jsalmon3
Date: 2007-08-07 04:28:52 +0200 (Tue, 07 Aug 2007)
New Revision: 2825
Modified:
branches/pingus_sdl/TODO
branches/pingus_sdl/src/worldobjs/surface_background.cpp
Log:
Set a default position for surface_background
Modified: branches/pingus_sdl/TODO
===================================================================
--- branches/pingus_sdl/TODO 2007-08-07 01:48:00 UTC (rev 2824)
+++ branches/pingus_sdl/TODO 2007-08-07 02:28:52 UTC (rev 2825)
@@ -30,8 +30,6 @@
- liquid's old-width-handling isn't handled by sexpr, but might be needed for
some levels
-- completly broken: data/levels/playable/bombing.scm (z ordering?)
-
- hotspot offset gets ignored/mishandled
- seperate gfx/colmap surfaces aren't used
Modified: branches/pingus_sdl/src/worldobjs/surface_background.cpp
===================================================================
--- branches/pingus_sdl/src/worldobjs/surface_background.cpp 2007-08-07
01:48:00 UTC (rev 2824)
+++ branches/pingus_sdl/src/worldobjs/surface_background.cpp 2007-08-07
02:28:52 UTC (rev 2825)
@@ -41,7 +41,8 @@
scroll_ox(0),
scroll_oy(0)
{
- reader.read_vector("position", pos);
+ if (!reader.read_vector("position", pos))
+ pos = Vector3f(0.f, 0.f, -150.f);
ResDescriptor desc;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Pingus-CVS] r2825 - in branches/pingus_sdl: . src/worldobjs,
jsalmon3 <=