#include <create_engine.hpp>
Public Member Functions | |
user_map (const config &data, const std::string &name, gamemap *map) | |
virtual | ~user_map () |
void | set_metadata () |
std::string | name () const |
std::string | description () const |
std::string | id () const |
Public Member Functions inherited from ng::scenario | |
scenario (const config &data) | |
virtual | ~scenario () |
bool | can_launch_game () const |
surface | create_image_surface (const SDL_Rect &image_rect) |
int | num_players () const |
std::string | map_size () const |
Public Member Functions inherited from ng::level | |
level (const config &data) | |
virtual | ~level () |
MAKE_ENUM (TYPE,(SCENARIO,"scenario")(USER_MAP,"user_map")(USER_SCENARIO,"user_scenario")(RANDOM_MAP,"random_map")(CAMPAIGN,"campaign")(SP_CAMPAIGN,"sp_campaign")) virtual bool can_launch_game() const =0 | |
virtual std::string | icon () const |
virtual bool | allow_era_choice () const |
void | set_data (const config &data) |
const config & | data () const |
config & | data () |
Private Member Functions | |
user_map (const user_map &) | |
void | operator= (const user_map &) |
Private Attributes | |
std::string | name_ |
Additional Inherited Members | |
Protected Member Functions inherited from ng::scenario | |
void | set_sides () |
Protected Attributes inherited from ng::scenario | |
boost::scoped_ptr< gamemap > | map_ |
surface | minimap_img_ |
std::string | map_hash_ |
Protected Attributes inherited from ng::level | |
config | data_ |
Definition at line 101 of file create_engine.hpp.
ng::user_map::user_map | ( | const config & | data, |
const std::string & | name, | ||
gamemap * | map | ||
) |
Definition at line 225 of file create_engine.cpp.
References ng::scenario::map_.
|
virtual |
Definition at line 234 of file create_engine.cpp.
|
private |
|
virtual |
Reimplemented from ng::level.
Definition at line 243 of file create_engine.cpp.
References _(), and ng::level::data_.
|
virtual |
Reimplemented from ng::level.
Definition at line 257 of file create_engine.cpp.
References name_.
Referenced by ng::create_engine::find_level_by_id(), and ng::create_engine::find_level_type_by_id().
|
virtual |
|
virtual |
Reimplemented from ng::scenario.
Definition at line 238 of file create_engine.cpp.
References ng::scenario::set_sides().
|
private |
Definition at line 117 of file create_engine.hpp.