28 #ifndef WINTERMUTE_BASE_REGION_H 29 #define WINTERMUTE_BASE_REGION_H 31 #include "engines/wintermute/base/base_point.h" 32 #include "engines/wintermute/base/base_object.h" 38 float _lastMimicScale;
42 bool mimic(
BaseRegion *region,
float scale = 100.0f,
int x = 0,
int y = 0);
44 bool ptInPolygon(int32 x, int32 y);
47 int32 _editorSelectedPoint;
50 bool pointInRegion(
int x,
int y);
52 bool loadFile(
const char *filename);
53 bool loadBuffer(
char *buffer,
bool complete =
true);
56 bool saveAsText(
BaseDynamicBuffer *buffer,
int indent)
override {
return saveAsText(buffer, indent,
nullptr); }
57 virtual bool saveAsText(
BaseDynamicBuffer *buffer,
int indent,
const char *nameOverride);
61 bool scSetProperty(
const char *name,
ScValue *value)
override;
63 const char *scToString()
override;
Definition: base_game.h:75
Definition: script_value.h:42
Definition: base_dynamic_buffer.h:35
Graphics::Surface * scale(const Graphics::Surface &srcImage, int xSize, int ySize)
Definition: base_region.h:36
Definition: script_stack.h:41
Definition: coll_templ.h:347
Definition: base_object.h:49
Definition: achievements_tables.h:27