17 int m_SizeX;
int m_SizeY;
21 void Canvas(
int size_x,
int size_y)
25 for(
int i = 0; i < size_y; i++)
28 for(
int z = 0; z < size_x;z++)
32 m_Pixels.Insert(x_line);
37 void DrawPixel(
int x,
int y)
39 if((
x > m_SizeX - 1) || (
y > m_SizeY - 1))
42 m_Pixels.Get(
y).InsertAt(
true,
x);
48 int y_lines = m_SizeY - 1;
49 for(
int i = y_lines; i >= 0; i--)
52 for(
int z = 0; z < m_SizeX;z++)
54 if(m_Pixels.Get(i).Get(z))
67 void SaveToFile(
string filename)
72 int y_lines = m_SizeY - 1;
73 for(
int i = y_lines; i >= 0; i--)
76 for(
int z = 0; z < m_SizeX;z++)
78 if(m_Pixels.Get(i).Get(z))
Result for an object found in CGame.IsBoxCollidingGeometryProxy.
proto void Print(void var)
Prints content of variable to console/log.
proto FileHandle OpenFile(string name, FileMode mode)
Opens File.
proto void FPrintln(FileHandle file, void var)
Write to file and add new line.