- Added enum for scenario editor mode
- Rearranged the editor palette button code so that: - the gaps between rows are absent - the buttons that can't be used in town (set entrance) and outdoors (item buttons) are now hidden - the buttons are drawn one at a time instead of all at once, to pave the way for adding more buttons to fill the gaps - the buttons are shifted down enough to make room for the "Center:" line between the last terrain button and the buttons - the "Center:" line is no longer next to the final terrain button, to pave the way for adding more terrain buttons - the terrain picture for the current selection is shifted right to make room for a potential two more columns of buttons. - there are two separate lists each for whether a button exists and what it is - Also altered the editor buttons sheet to support these changes. git-svn-id: http://openexile.googlecode.com/svn/trunk@37 4ebdad44-0ea0-11de-aab3-ff745001d230
This commit is contained in:
@@ -85,53 +85,6 @@ enum eGameMode {
|
||||
MODE_STARTUP = 45,
|
||||
MODE_RESTING = 50,
|
||||
};
|
||||
// Scenario Editor Modes
|
||||
// 0 - drawing
|
||||
// 2 - town wandering arrival point
|
||||
// 3 - room rectangle
|
||||
// 4 - place item
|
||||
// 5 - edit placed item
|
||||
// 8 - place same creature
|
||||
// 9 - set town boundary
|
||||
// 10 - place north town entrance
|
||||
// 11 - place east town entrance
|
||||
// 12 - place south town entrance
|
||||
// 13 - place west town entrance
|
||||
// 20 - place web
|
||||
// 21 - place crate
|
||||
// 22 - place barrel
|
||||
// 23 - place fire barrier
|
||||
// 24 - place force barrier
|
||||
// 25 - place quickfire
|
||||
// 26 - clear fields on space
|
||||
// 28 - place monster
|
||||
// 29 - large paintbrush?
|
||||
// 30 - small paintbrush?
|
||||
// 31 - large spraycan?
|
||||
// 32 - small spraycan?
|
||||
// 33 - place effect field (eg bloodstain)
|
||||
// 34 - eyedropper
|
||||
// 35 - hollow rectangle
|
||||
// 36 - filled rectangle
|
||||
// 37 - eraser
|
||||
// 38 - edit sign
|
||||
// 39 - edit creature
|
||||
// 40 - create/edit special
|
||||
// 41 - copy special
|
||||
// 42 - paste special
|
||||
// 43 - erase special
|
||||
// 44 - set/place special
|
||||
// 45 - outdoor town entrance
|
||||
// 46 - place same item
|
||||
// 47 - set outdoors starting location
|
||||
// 48 - delete creature
|
||||
// 49 - delete item
|
||||
// 60 - main screen (including editing anything other than terrain in the right column)
|
||||
// 61 - main screen (intro mode, no scenario open)
|
||||
// 62 - edit terrain types
|
||||
//#define MODE_ 60
|
||||
//#define MODE_SCEN_INTRO 61
|
||||
//#define MODE_ 62
|
||||
|
||||
///* adven[i].main_status */ //complete
|
||||
//#define MAIN_STATUS_ABSENT 0 // absent, empty slot
|
||||
|
Reference in New Issue
Block a user