22 #ifndef NUVIE_CORE_EGG_MANAGER_H 23 #define NUVIE_CORE_EGG_MANAGER_H 25 #include "ultima/shared/std/string.h" 26 #include "ultima/nuvie/core/obj_manager.h" 48 nuvie_game_t gametype;
64 void clean(
bool keep_obj =
true);
66 void add_egg(
Obj *egg);
67 void remove_egg(
Obj *egg,
bool keep_egg =
true);
68 void set_egg_visibility(
bool show_eggs);
69 bool spawn_egg(
Obj *egg, uint8 hatch_probability);
70 void spawn_eggs(uint16 x, uint16 y, uint8 z,
bool teleport =
false);
74 bool is_spawning_actors()
const {
75 return !not_spawning_actors;
77 void set_spawning_actors(
bool spawning) {
78 not_spawning_actors = !spawning;
83 uint8 get_worktype(
const Obj *embryo);
84 bool not_spawning_actors;
Definition: egg_manager.h:45
Definition: configuration.h:61
Definition: actor_manager.h:42
Definition: detection.h:27
Definition: containers.h:200
Definition: obj_manager.h:75
Definition: egg_manager.h:31