aboutsummaryrefslogtreecommitdiff
path: root/include/datatypes.h
diff options
context:
space:
mode:
authoroldmud0 <oldmud0@users.noreply.github.com>2020-05-02 21:29:06 -0500
committeroldmud0 <oldmud0@users.noreply.github.com>2020-05-02 21:29:06 -0500
commitbbdad2a40d8f02fe738830d9cf66ad4ec2fa86cf (patch)
tree8e8892d24684f005b0e18624677957791e1738b7 /include/datatypes.h
parent1e2d71fb96ca85fa50c172c2f1cf22b2620bacd2 (diff)
parent992c0b14e155059a7e22ad72c0309b620c850a46 (diff)
Merge branch '2.7-rc'
Includes full code reformat. # Conflicts: # src/aomusicplayer.cpp # src/path_functions.cpp
Diffstat (limited to 'include/datatypes.h')
-rw-r--r--include/datatypes.h40
1 files changed, 10 insertions, 30 deletions
diff --git a/include/datatypes.h b/include/datatypes.h
index 1b76f725..89d4a40c 100644
--- a/include/datatypes.h
+++ b/include/datatypes.h
@@ -3,16 +3,14 @@
#include <QString>
-struct server_type
-{
+struct server_type {
QString name;
QString desc;
QString ip;
int port;
};
-struct emote_type
-{
+struct emote_type {
QString comment;
QString preanim;
QString anim;
@@ -22,23 +20,20 @@ struct emote_type
int sfx_duration;
};
-struct char_type
-{
+struct char_type {
QString name;
QString description;
QString evidence_string;
bool taken;
};
-struct evi_type
-{
+struct evi_type {
QString name;
QString description;
QString image;
};
-struct chatmessage_type
-{
+struct chatmessage_type {
QString message;
QString character;
QString side;
@@ -55,29 +50,25 @@ struct chatmessage_type
int flip;
};
-struct area_type
-{
+struct area_type {
QString name;
QString background;
bool passworded;
};
-struct pos_type
-{
+struct pos_type {
int x;
int y;
};
-struct pos_size_type
-{
+struct pos_size_type {
int x = 0;
int y = 0;
int width = 0;
int height = 0;
};
-enum CHAT_MESSAGE
-{
+enum CHAT_MESSAGE {
DESK_MOD = 0,
PRE_EMOTE,
CHAR_NAME,
@@ -108,17 +99,6 @@ enum CHAT_MESSAGE
FRAME_SFX
};
-enum COLOR
-{
- WHITE = 0,
- GREEN,
- RED,
- ORANGE,
- BLUE,
- YELLOW,
- RAINBOW,
- PINK,
- CYAN
-};
+enum COLOR { WHITE = 0, GREEN, RED, ORANGE, BLUE, YELLOW, RAINBOW, PINK, CYAN };
#endif // DATATYPES_H