- Reworked preferences to use plist - Cleaned out the shareware code - More tweaks to the dialog engine - Edited dialog #869 (the choose prefab scenario dialog) to use new invisible button (type 6) and to remove the "Must be registered" lines. - Tweaked window size so that the startup screen fits within it. - More major refactoring work. - A few additions/alterations to boe.consts.h Current status: - Scenario editor: compiles and runs, but can't load a scenario - Character editor: don't know - Game: Doesn't even compile I wouldn't normally submit code that doesn't compile, but I have already made a lot of major changes in this revision. I will submit a version that compiles as soon as possible. git-svn-id: http://openexile.googlecode.com/svn/trunk@28 4ebdad44-0ea0-11de-aab3-ff745001d230
30 lines
580 B
C++
30 lines
580 B
C++
/*
|
|
* terrain.h
|
|
* BoE
|
|
*
|
|
* Created by Celtic Minstrel on 20/04/09.
|
|
*
|
|
*/
|
|
|
|
namespace legacy { struct terrain_type_type; };
|
|
|
|
class cTerrain {
|
|
public:
|
|
short picture;
|
|
unsigned char blockage;
|
|
unsigned char flag1;
|
|
unsigned char flag2;
|
|
unsigned char special;
|
|
unsigned char trans_to_what;
|
|
unsigned char fly_over;
|
|
unsigned char boat_over;
|
|
unsigned char block_horse;
|
|
unsigned char light_radius;
|
|
unsigned char step_sound;
|
|
unsigned char shortcut_key;
|
|
unsigned char res1;
|
|
unsigned char res2;
|
|
unsigned char res3;
|
|
|
|
cTerrain& operator = (legacy::terrain_type_type& old);
|
|
}; |