Last change
on this file since 604 was
49,
checked in by Sam Hocevar, 15 years ago
|
- Imported original public domain release, for future reference.
|
File size:
482 bytes
|
Line | |
---|
1 | #ifndef __AUTOMAP_HPP_ |
---|
2 | #define __AUTOMAP_HPP_ |
---|
3 | |
---|
4 | #include "jwindow.hpp" |
---|
5 | #include "level.hpp" |
---|
6 | |
---|
7 | class automap |
---|
8 | { |
---|
9 | jwindow *automap_window; |
---|
10 | level *cur_lev; |
---|
11 | int tick,w,h; // used to draw your position as a blinking spot |
---|
12 | long old_dx,old_dy; |
---|
13 | public : |
---|
14 | automap(level *l, int width, int height); |
---|
15 | void toggle_window(); |
---|
16 | void handle_event(event &ev); |
---|
17 | void draw(); |
---|
18 | ~automap() { if (automap_window) toggle_window(); } |
---|
19 | } ; |
---|
20 | |
---|
21 | extern automap *current_automap; |
---|
22 | |
---|
23 | #endif |
---|
24 | |
---|
25 | |
---|
Note: See
TracBrowser
for help on using the repository browser.