aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorCrystalwarrior <varsash@gmail.com>2019-09-24 00:38:26 +0300
committerCrystalwarrior <varsash@gmail.com>2019-09-24 00:38:26 +0300
commitd8857aa2e48c89a5002f8511ce566df9c557598e (patch)
tree2602b05ad3ec0bc0300bff5e068bda46fe5c3c50 /include
parent398f37794facc239153a8c21e0630d2eb7850739 (diff)
When the background is changed, display it in the correct position as dictated by the server packets
Add a new "set pos" packet Udpate the pos dropdown according to the current pos
Diffstat (limited to 'include')
-rw-r--r--include/courtroom.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/courtroom.h b/include/courtroom.h
index 59e97dd3..26018e2c 100644
--- a/include/courtroom.h
+++ b/include/courtroom.h
@@ -150,6 +150,9 @@ public:
//sets the current background to argument. also does some checks to see if it's a legacy bg
void set_background(QString p_background);
+ //sets the local character pos/side to use.
+ void set_side(QString p_side);
+
//sets the evidence list member variable to argument
void set_evidence_list(QVector<evi_type> &p_evi_list);
@@ -412,6 +415,7 @@ private:
bool server_ooc = true;
QString current_background = "default";
+ QString current_side = "";
AOMusicPlayer *music_player;
AOSfxPlayer *sfx_player;