Main Page | Namespace List | Class Hierarchy | Class List | File List | Class Members | Related Pages

Editor Class Reference

Handels editor specific tasks. More...

#include <editor.h>

Collaboration diagram for Editor:

Collaboration graph
List of all members.

Public Member Functions

void reinit ()
void run_action (Uint32 action, Uint16 x=0, Uint16 y=0)
Uint32 getActionMPressed (Uint8 button)
Uint32 getActionMReleased (Uint8 button)
BoxsetBox (Box *newbox)
 Set the current box.
void closeBox ()
 Close the current box.
bool hasBox ()
void appendtoBuf (string)
 Append a command to the buffered map file.
string getBufLine (string match)
bool changeBuf (string, string)
 Change the specified line in the buffered map file.
string removefromBuf (string)
 Remove the first line in the buffered map file matching the specified string.
int saveBuf (string)
 Save the map file buffer to the specified file if possible.

Public Attributes

string save_name
 Name the saved map file.
string place_name
 Object to place when clicking the left mouse button.
ParameterMap place_parameters
 Parameter list used to create the object.
Uint32 action_mouse_pressed [6]
 Action type for the mouse buttons when clicking.
Uint32 action_mouse_released [6]
 Action type for the mouse buttons when releasing the button.
std::set< string > selection
bool select_start
SDL_Rect select_rect
Sint16 select_start_x
Sint16 select_start_y
bool move_start
Sint16 move_start_x
Sint16 move_start_y
SDL_Surface * mask_surface

Detailed Description

Handels editor specific tasks.

The documentation for this class was generated from the following file:
Generated on Sun Feb 5 13:02:36 2006 for Lost Penguins by doxygen 1.3.8