[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Enigma-cvs] enigma/src world.cc,1.72.2.12,1.72.2.13
From: |
Daniel Heck <address@hidden> |
Subject: |
[Enigma-cvs] enigma/src world.cc,1.72.2.12,1.72.2.13 |
Date: |
Sat, 11 Oct 2003 16:45:39 +0000 |
Update of /cvsroot/enigma/enigma/src
In directory subversions:/tmp/cvs-serv3438
Modified Files:
Tag: enigma0_80_rc
world.cc
Log Message:
Layout changes
Index: world.cc
===================================================================
RCS file: /cvsroot/enigma/enigma/src/world.cc,v
retrieving revision 1.72.2.12
retrieving revision 1.72.2.13
diff -C2 -d -r1.72.2.12 -r1.72.2.13
*** world.cc 9 Oct 2003 16:32:09 -0000 1.72.2.12
--- world.cc 11 Oct 2003 16:45:37 -0000 1.72.2.13
***************
*** 1243,1251 ****
it_layer.kill(p);
}
! Item *world::GetItem(GridPos p) {return it_layer.get(p);}
Item *world::YieldItem(GridPos p) {
laser::MaybeRecalcLight(p);
return it_layer.yield(p);
}
void world::SetItem(GridPos p, Item* it) {
laser::MaybeRecalcLight(p);
--- 1243,1256 ----
it_layer.kill(p);
}
!
! Item *world::GetItem(GridPos p) {
! return it_layer.get(p);
! }
!
Item *world::YieldItem(GridPos p) {
laser::MaybeRecalcLight(p);
return it_layer.yield(p);
}
+
void world::SetItem(GridPos p, Item* it) {
laser::MaybeRecalcLight(p);
***************
*** 1280,1283 ****
--- 1285,1289 ----
return st;
}
+
Item *world::ConvertToItem(Stone *st) {
string kind = st->get_kind();
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Enigma-cvs] enigma/src world.cc,1.72.2.12,1.72.2.13,
Daniel Heck <address@hidden> <=
- Prev by Date:
[Enigma-cvs] enigma/src SDL_rotozoom.h, 1.2, NONE SDL_rotozoom.c, 1.3, NONE SDL_gfxPrimitives_font.h, 1.1, NONE SDL_gfxPrimitives.h, 1.2, NONE SDL_gfxPrimitives.c, 1.1, NONE
- Next by Date:
[Enigma-cvs] enigma/doc/manual/images Makefile.am,1.3.2.2,1.3.2.3
- Previous by thread:
[Enigma-cvs] enigma/src SDL_rotozoom.h, 1.2, NONE SDL_rotozoom.c, 1.3, NONE SDL_gfxPrimitives_font.h, 1.1, NONE SDL_gfxPrimitives.h, 1.2, NONE SDL_gfxPrimitives.c, 1.1, NONE
- Next by thread:
[Enigma-cvs] enigma/doc/manual/images Makefile.am,1.3.2.2,1.3.2.3
- Index(es):