Files
oboe/osx/classes/tmpltown.cpp
Celtic Minstrel 68dcf3cdef - Moved some files around for better organization
- Fixed compile errors in the other targets.
- Added three test save files: one with a party not in a scenario, one with a party who has just entered Valley of Dying things,
  and one with the same party just after leaving town.
- Added the new menu file for the game that I'm working on (not yet used)

git-svn-id: http://openexile.googlecode.com/svn/trunk@53 4ebdad44-0ea0-11de-aab3-ff745001d230
2009-05-06 20:23:54 +00:00

34 lines
605 B
C++

/*
* tmpltown.cpp
* BoE
*
* Created by Celtic Minstrel on 24/04/09.
*
*/
#include "classes.h"
unsigned short& cBigTemplTown::terrain(size_t x, size_t y){
return _terrain[0][0]; // will need to calculate the terrain somehow
}
rectangle& cBigTemplTown::room_rect(size_t i){
return _room_rect[i];
}
cTown::cCreature& cBigTemplTown::creatures(size_t i){
return _creatures[i];
}
unsigned char& cBigTemplTown::lighting(size_t i, size_t r){
return _lighting[i][r];
}
short cBigTemplTown::max_dim(){
return 0; // not sure what they are yet.
}
short cBigTemplTown::max_monst(){
return 30;
}