Files
oboe/osx/classes/tmpltown.cpp
Celtic Minstrel 4dc75d51c0 - Merged two classes (cPopulation::cCreature and cTown::cCreature)
- Changes some C-strings to STL-strings
- Fixed the problem where the spiderweb logo would not fully appear if ShowStartupSplash is disabled

git-svn-id: http://openexile.googlecode.com/svn/trunk@54 4ebdad44-0ea0-11de-aab3-ff745001d230
2009-05-07 02:50:16 +00:00

34 lines
598 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];
}
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;
}