equal
deleted
inserted
replaced
91 void GameLoop(); |
91 void GameLoop(); |
92 |
92 |
93 void CreateConsole(); |
93 void CreateConsole(); |
94 |
94 |
95 typedef int32 CursorID; |
95 typedef int32 CursorID; |
96 typedef byte Pixel; |
|
97 |
96 |
98 struct Point { |
97 struct Point { |
99 int x,y; |
98 int x,y; |
100 }; |
99 }; |
101 |
100 |
132 bool fix_at; ///< mouse is moving, but cursor is not (used for scrolling) |
131 bool fix_at; ///< mouse is moving, but cursor is not (used for scrolling) |
133 bool in_window; ///< mouse inside this window, determines drawing logic |
132 bool in_window; ///< mouse inside this window, determines drawing logic |
134 }; |
133 }; |
135 |
134 |
136 struct DrawPixelInfo { |
135 struct DrawPixelInfo { |
137 Pixel *dst_ptr; |
136 void *dst_ptr; |
138 int left, top, width, height; |
137 int left, top, width, height; |
139 int pitch; |
138 int pitch; |
140 ZoomLevel zoom; |
139 ZoomLevel zoom; |
141 }; |
140 }; |
142 |
141 |