- Fixed some bugs in the dialog code.
- Dialogs in the scenario editor now show custom graphics. - Scenario editor now works properly as a Universal binary. - Started refactoring the structs into classes; so far this has only been applied to the game. - Files now show proper icons (applications already did). - Probably other things that I have forgotten. Still not completely stable, but much closer. git-svn-id: http://openexile.googlecode.com/svn/trunk@27 4ebdad44-0ea0-11de-aab3-ff745001d230
This commit is contained in:
18
osx/scenario.cpp
Normal file
18
osx/scenario.cpp
Normal file
@@ -0,0 +1,18 @@
|
||||
/*
|
||||
* scenario.cpp
|
||||
* BoE
|
||||
*
|
||||
* Created by Celtic Minstrel on 20/04/09.
|
||||
*
|
||||
*/
|
||||
|
||||
#include "scenario.h"
|
||||
|
||||
cScenario::cItemStorage::cItemStorage() : ter_type(-1), property(0) {
|
||||
for(int i = 0; i < 10; i++)
|
||||
item_num[i] = -1;
|
||||
for(int i = 0; i < 10; i++)
|
||||
item_odds[i] = 0;
|
||||
}
|
||||
|
||||
//{-1,{-1,-1,-1,-1,-1,-1,-1,-1,-1,-1},{0,0,0,0,0,0,0,0,0,0},0}
|
||||
Reference in New Issue
Block a user