23 |
|
|
24 |
|
#include <vector> |
25 |
|
|
26 |
+ |
#ifndef NO_STD_NAMESPACE |
27 |
+ |
using std::vector; |
28 |
+ |
#endif |
29 |
+ |
|
30 |
|
/* |
31 |
|
Some of the terminology here is completely frelled. In Basilisk II, a |
32 |
|
"video mode" refers to a combination of resolution and color depth, and |
99 |
|
case VDEPTH_8BIT: return width; |
100 |
|
case VDEPTH_16BIT: return width * 2; |
101 |
|
case VDEPTH_32BIT: return width * 4; |
102 |
+ |
default: return width; |
103 |
|
} |
104 |
|
} |
105 |
|
|
146 |
|
} |
147 |
|
|
148 |
|
// List of all supported video modes |
149 |
< |
extern std::vector<video_mode> VideoModes; |
149 |
> |
extern vector<video_mode> VideoModes; |
150 |
|
|
151 |
|
// Description for one (possibly virtual) monitor |
152 |
|
struct monitor_desc { |