-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathmenu.h
More file actions
61 lines (52 loc) · 1.93 KB
/
menu.h
File metadata and controls
61 lines (52 loc) · 1.93 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
#pragma once
#include <stdbool.h>
#include "common.h"
#include "vector.h"
#include "elements.h"
enum Bg {Bg_NONE=0,Bg_AIR=1,Bg_LINE=2,Bg_BLUR=3,Bg_SHADE=4,Bg_AURA=5,Bg_LIGHT=6,Bg_TOON=7,Bg_MESH=8,Bg_GRAY=9,Bg_TRACK=10,Bg_DARK=11,Bg_TG=12,Bg_SILUET=13};
extern bool Menu_dragStart, Menu_dragging;
extern bool Menu_numberMenu; // Fa
extern bool Menu_copyMode; // oa
extern int Menu_penMode; // Ba
extern bool Menu_paused; // ya
extern int Menu_hover; //
extern int Menu_bgMode; // ka
extern int Menu_dotLimit; // ha
extern int Menu_gridSize; // xa
extern int Menu_gameSpeed; // za
extern int Menu_edgeMode; // Aa
extern int Menu_carefully; // mb
extern int Menu_leftSelection; // da
extern int Menu_rightSelection; // ea
extern bool Menu_cursorInMenu; // fa
extern int Menu_penSize; // ga
extern int Menu_fps; // Qc
extern int Menu_zoomLevel; // la
extern bool Menu_minimapEnabled; // Ga
extern int buttonflash; // ja
extern real Menu_zoomX; // ma
extern real Menu_zoomY; // na
extern Point Pen_dir; // jd
extern const int Dot_LIMITS[4]; // ia
extern Point Menu_pen;
extern Point Menu_penOld;
extern axis Pen_x, Pen_y; // Oc, Pc
extern axis Pen_oldx, Pen_oldy; // sd, td
#define Menu_BUTTONWIDTH 56
#define Menu_BUTTONHEIGHT 14
#define Menu_BUTTONROWS 10
#define Menu_ELEMENTS 39
enum MenuButton {
Menu_FAN=6, // angle indicator is drawn on cursor
Menu_LASER=26, // if these buttons are selected
Menu_WIND=40, Menu_AIR, Menu_DRAG, Menu_BUBBLE, Menu_WHEEL, Menu_PLAYER, Menu_FIGHTER, Menu_BOX, Menu_BALL, Menu_CREATE, Menu_BLOCK,
Menu_ERASE=51, Menu_CLEAR, Menu_COPYPASTE, Menu_TEXT, Menu_PEN, Menu_PENSIZE, Menu_SCALE, Menu_SPEED, Menu_START, Menu_UPLOAD, Menu_SAVE,
Menu_LOAD=62, Menu_MINIMAP, Menu_MENU, Menu_SIDE, Menu_GRID, Menu_BG, Menu_DOT, Menu_RESET,
};
typedef struct MenuButtonDef {
Elem element; // hd[]
Elem firework;// ud[]
Elem player; // vd[]
Elem ball; // wd[]
} MenuButtonDef;
extern MenuButtonDef Menu_BUTTONS[100]; //don't feel like counting