39 |
|
|
40 |
|
|
41 |
|
// List of supported video modes |
42 |
< |
vector<video_mode> VideoModes; |
42 |
> |
std::vector<video_mode> VideoModes; |
43 |
|
|
44 |
|
// Description of the main monitor |
45 |
|
monitor_desc VideoMonitor; |
98 |
|
static video_depth max_depth_of_resolution(uint32 id) |
99 |
|
{ |
100 |
|
video_depth m = VDEPTH_1BIT; |
101 |
< |
vector<video_mode>::const_iterator i = VideoModes.begin(), end = VideoModes.end(); |
101 |
> |
std::vector<video_mode>::const_iterator i = VideoModes.begin(), end = VideoModes.end(); |
102 |
|
while (i != end) { |
103 |
|
if (i->depth > m) |
104 |
|
m = i->depth; |
114 |
|
|
115 |
|
static void get_size_of_resolution(uint32 id, uint32 &x, uint32 &y) |
116 |
|
{ |
117 |
< |
vector<video_mode>::const_iterator i = VideoModes.begin(), end = VideoModes.end(); |
117 |
> |
std::vector<video_mode>::const_iterator i = VideoModes.begin(), end = VideoModes.end(); |
118 |
|
while (i != end) { |
119 |
|
if (i->resolution_id == id) { |
120 |
|
x = i->x; |
581 |
|
uint16 mode = ReadMacInt16(param + csDepthMode); |
582 |
|
D(bug(" GetVideoParameters %04x/%08x\n", mode, id)); |
583 |
|
|
584 |
< |
vector<video_mode>::const_iterator i = VideoModes.begin(), end = VideoModes.end(); |
584 |
> |
std::vector<video_mode>::const_iterator i = VideoModes.begin(), end = VideoModes.end(); |
585 |
|
while (i != end) { |
586 |
|
if (DepthToAppleMode(i->depth) == mode && i->resolution_id == id) { |
587 |
|
uint32 vp = ReadMacInt32(param + csVPBlockPtr); |