-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathglobals.cpp
More file actions
16 lines (15 loc) · 728 Bytes
/
Copy pathglobals.cpp
File metadata and controls
16 lines (15 loc) · 728 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#include "globals.h"
// Reference to the main window, once it's created
HWND hwnd;
// Storage for the button objects we create for the touch overlay
std::vector<RECT> overlay_buttons;
// Storage for the new set of buttons, which include a lot more metadata for rendering
std::vector<OverlayButton> touch_overlay_buttons;
// Mapping of button IDs to button press states
std::map<int, bool> touch_overlay_button_states;
// Says whether the overlay is currently being shown or not for each player
bool is_overlay_visible[2] = { false, false };
// The card IDs to use for each player, if available
std::string card_ids[2] = { "", "" };
// The opacity value to use for the overlay, between 0.0 and 1.0
float overlay_opacity = 0.6f;