aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authoroldmud0 <oldmud0@users.noreply.github.com>2020-11-01 12:32:48 -0600
committerGitHub <noreply@github.com>2020-11-01 12:32:48 -0600
commitdd085c89587258cc32ee89ab27f943c9e6d9d759 (patch)
tree0b8876b81ff18d9782ee1a26d9db624c65d31b99 /include
parent93f370b0623523d4b4ff03b53f18dc5046e36af8 (diff)
parentb036134414852036c1e9116d337c3b4d1cb02569 (diff)
Merge pull request #331 from AttorneyOnline/no-fantacrypt
Drop AO1 compatibility
Diffstat (limited to 'include')
-rw-r--r--include/aoapplication.h4
-rw-r--r--include/aopacket.h4
-rw-r--r--include/encryption_functions.h15
-rw-r--r--include/hex_functions.h16
4 files changed, 0 insertions, 39 deletions
diff --git a/include/aoapplication.h b/include/aoapplication.h
index 60d945e..c06f3f9 100644
--- a/include/aoapplication.h
+++ b/include/aoapplication.h
@@ -63,14 +63,10 @@ public:
/////////////////server metadata//////////////////
- unsigned int s_decryptor = 5;
- bool encryption_needed = true;
-
bool yellow_text_enabled = false;
bool prezoom_enabled = false;
bool flipping_enabled = false;
bool custom_objection_enabled = false;
- bool improved_loading_enabled = false;
bool desk_mod_enabled = false;
bool evidence_enabled = false;
bool cccc_ic_support_enabled = false;
diff --git a/include/aopacket.h b/include/aopacket.h
index 4097be8..e636998 100644
--- a/include/aopacket.h
+++ b/include/aopacket.h
@@ -15,14 +15,10 @@ public:
QStringList &get_contents() { return m_contents; }
QString to_string();
- void encrypt_header(unsigned int p_key);
- void decrypt_header(unsigned int p_key);
-
void net_encode();
void net_decode();
private:
- bool encrypted = false;
QString m_header;
QStringList m_contents;
diff --git a/include/encryption_functions.h b/include/encryption_functions.h
deleted file mode 100644
index b70e8e6..0000000
--- a/include/encryption_functions.h
+++ /dev/null
@@ -1,15 +0,0 @@
-#ifndef ENCRYPTION_FUNCTIONS_H
-#define ENCRYPTION_FUNCTIONS_H
-
-#include <QString>
-
-#include <QVector>
-#include <cstddef>
-#include <iomanip>
-#include <sstream>
-#include <stdlib.h>
-
-QString fanta_encrypt(QString p_input, unsigned int key);
-QString fanta_decrypt(QString p_input, unsigned int key);
-
-#endif // ENCRYPTION_FUNCTIONS_H
diff --git a/include/hex_functions.h b/include/hex_functions.h
deleted file mode 100644
index d178ba1..0000000
--- a/include/hex_functions.h
+++ /dev/null
@@ -1,16 +0,0 @@
-#ifndef HEX_OPERATIONS_H
-#define HEX_OPERATIONS_H
-
-#include <algorithm>
-#include <bitset>
-#include <cstdint>
-#include <iomanip>
-#include <iostream>
-#include <sstream>
-#include <string>
-
-namespace omni {
-std::string int_to_hex(unsigned int input);
-}
-
-#endif // HEX_OPERATIONS_H