Rename FILL_BOX to just FILL
This commit is contained in:
parent
65b1c29199
commit
fd89aef210
2
map.cpp
2
map.cpp
@ -60,7 +60,7 @@ void ui_map() {
|
|||||||
e = new LevelTransition();
|
e = new LevelTransition();
|
||||||
CMD("CAMERA_FOCUS")
|
CMD("CAMERA_FOCUS")
|
||||||
e = new CameraFocus();
|
e = new CameraFocus();
|
||||||
CMD("FILL_BOX")
|
CMD("FILL")
|
||||||
e = new FillBox;
|
e = new FillBox;
|
||||||
CMD("CUTOFF")
|
CMD("CUTOFF")
|
||||||
cutoff = strtod(strtok(NULL, " "), NULL);
|
cutoff = strtod(strtok(NULL, " "), NULL);
|
||||||
|
@ -316,9 +316,9 @@ public:
|
|||||||
|
|
||||||
class FillBox: public EntityBase {
|
class FillBox: public EntityBase {
|
||||||
public:
|
public:
|
||||||
std::string type() override { return "fill_box"; }
|
std::string type() override { return "fill"; }
|
||||||
std::string to_file() override {
|
std::string to_file() override {
|
||||||
snprintf(buf, sizeof(buf), "FILL_BOX %.0f %.0f %.0f %.0lf %.0lf %.0lf %.0lf\n", color[0] * 255, color[1] * 255, color[2] * 255, box.lefttop.x, box.lefttop.y, box.size.x, box.size.y);
|
snprintf(buf, sizeof(buf), "FILL %.0f %.0f %.0f %.0lf %.0lf %.0lf %.0lf\n", color[0] * 255, color[1] * 255, color[2] * 255, box.lefttop.x, box.lefttop.y, box.size.x, box.size.y);
|
||||||
return buf;
|
return buf;
|
||||||
}
|
}
|
||||||
void from_strtok() override {
|
void from_strtok() override {
|
||||||
|
Loading…
Reference in New Issue
Block a user