From c2fd3796a97ee8d87544ec26df7d6797acfebd80 Mon Sep 17 00:00:00 2001 From: Crystalwarrior Date: Wed, 11 Sep 2019 00:49:30 +0300 Subject: Add clear_music and clear_areas Comment out the index as it can be potentially confusing alongside "true" area numbers Add "FM" to Packet Received that would reload the areas and music list TODO: Test this with arup systems --- include/courtroom.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include') diff --git a/include/courtroom.h b/include/courtroom.h index f0b6996..baefbfa 100644 --- a/include/courtroom.h +++ b/include/courtroom.h @@ -64,6 +64,8 @@ public: void append_evidence(evi_type p_evi){evidence_list.append(p_evi);} void append_music(QString f_music){music_list.append(f_music);} void append_area(QString f_area){area_list.append(f_area);} + void clear_music(){music_list.clear();} + void clear_areas(){area_list.clear();} void fix_last_area() { -- cgit From dd2daf55f3d987fddb47a5afd269eaf00a674b8d Mon Sep 17 00:00:00 2001 From: sD Date: Sun, 15 Mar 2020 13:20:33 +0100 Subject: it's basically the same packet minus requesting the next list --- include/courtroom.h | 1 - 1 file changed, 1 deletion(-) (limited to 'include') diff --git a/include/courtroom.h b/include/courtroom.h index ec0fa5c..74374c9 100644 --- a/include/courtroom.h +++ b/include/courtroom.h @@ -79,7 +79,6 @@ public: void append_area(QString f_area){area_list.append(f_area);} void clear_music(){music_list.clear();} void clear_areas(){area_list.clear();} - void fix_last_area() void handle_failed_login(); QString threading_sfx = ""; QString threading_shake = ""; -- cgit