Files
oboe/osx/classes/tmpltown.cpp
Celtic Minstrel b23bb30423 Clean up includes in the "classes" folder
- Canonicalized the header guards
- Removed all the sneaky dependencies between files
- Made sure includes were properly sorted
2014-04-20 01:23:15 -04:00

43 lines
713 B
C++

/*
* tmpltown.cpp
* BoE
*
* Created by Celtic Minstrel on 24/04/09.
*
*/
#include <string>
#include <vector>
#include <map>
#include <sstream>
#include "classes.h"
ter_num_t& 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;
}
short cBigTemplTown::max_items(){
return 64;
}