mirror of
https://github.com/jmarshall23/CnC_Remastered_Collection.git
synced 2026-08-12 08:00:55 +02:00
Refactored scroll dimensions, fixed a crash were you would click on non existent tiles, editor now displays splash initially until you do new scenario or load a existing one.
This commit is contained in:
@@ -61,14 +61,22 @@ class Rect
|
||||
|
||||
bool Is_Valid(void) const;
|
||||
int Size(void) const {return(Width*Height);}
|
||||
void Clear(void);
|
||||
void AddPoint(int x, int y);
|
||||
void AddIsoPoint(int x, int y);
|
||||
bool ContainsPoint(int x, int y);
|
||||
|
||||
// private:
|
||||
int X;
|
||||
int Y;
|
||||
int X2;
|
||||
int Y2;
|
||||
int Width;
|
||||
int Height;
|
||||
};
|
||||
|
||||
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user