I'm not sure, but I think it supports C++11 as the latest toolchain is using gcc 4.9.1.
Thanks again
Thanks again
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Show posts Menu
// Initialize hardcoded video modes.
const Rectangle quest_size_1(0, 0, quest_size.get_width(), quest_size.get_height());
const Rectangle quest_size_2(0, 0, quest_size.get_width() * 2, quest_size.get_height() * 2);
const Rectangle quest_size_3(0, 0, quest_size.get_width() * 3, quest_size.get_height() * 3);
const Rectangle quest_size_4(0, 0, quest_size.get_width() * 4, quest_size.get_height() * 4);
all_video_modes.push_back(new VideoMode("320x240", quest_size_1, NULL, NULL));
all_video_modes.push_back(new VideoMode("normal", quest_size_2, NULL, NULL));
all_video_modes.push_back(new VideoMode("scale2x", quest_size_2, new Scale2xFilter(), NULL));
all_video_modes.push_back(new VideoMode("hq2x", quest_size_2, new Hq2xFilter(), NULL));
all_video_modes.push_back(new VideoMode("hq3x", quest_size_3, new Hq3xFilter(), NULL));
all_video_modes.push_back(new VideoMode("hq4x", quest_size_4, new Hq4xFilter(), NULL));
default_video_mode = all_video_modes[0];
...
#ifdef GCWZERO
keyboard_key_names[InputEvent::KEY_UP] = "up";
keyboard_key_names[InputEvent::KEY_DOWN] = "down";
keyboard_key_names[InputEvent::KEY_RIGHT] = "right";
keyboard_key_names[InputEvent::KEY_LEFT] = "left";
keyboard_key_names[InputEvent::KEY_BACKSPACE] = "R";
keyboard_key_names[InputEvent::KEY_TABULATION] = "L";
keyboard_key_names[InputEvent::KEY_RETURN] = "start";
keyboard_key_names[InputEvent::KEY_ESCAPE] = "select";
keyboard_key_names[InputEvent::KEY_SPACE] = "Y";
keyboard_key_names[InputEvent::KEY_LEFT_SHIFT] = "X";
keyboard_key_names[InputEvent::KEY_LEFT_CONTROL] = "A";
keyboard_key_names[InputEvent::KEY_LEFT_ALT] = "B";
keyboard_key_names[InputEvent::KEY_PAUSE] = "power down";
#else
...