summaryrefslogtreecommitdiff
path: root/le/le_entry_table_entry.hpp
diff options
context:
space:
mode:
authorDennis Brentjes <d.brentjes@gmail.com>2016-07-05 17:51:21 +0200
committerDennis Brentjes <d.brentjes@gmail.com>2016-07-05 17:51:21 +0200
commit06336eaddcc6a8f9cc578d8f059117c3aa535c9f (patch)
tree4884cc68161df06112a49a04007fa6d03775d507 /le/le_entry_table_entry.hpp
parentb80a82fcc9edc73057796005cede4eea8380e193 (diff)
downloadopenwar-06336eaddcc6a8f9cc578d8f059117c3aa535c9f.tar.gz
openwar-06336eaddcc6a8f9cc578d8f059117c3aa535c9f.tar.bz2
openwar-06336eaddcc6a8f9cc578d8f059117c3aa535c9f.zip
Made the interface somewhat more consistant.
Diffstat (limited to 'le/le_entry_table_entry.hpp')
-rw-r--r--le/le_entry_table_entry.hpp33
1 files changed, 0 insertions, 33 deletions
diff --git a/le/le_entry_table_entry.hpp b/le/le_entry_table_entry.hpp
deleted file mode 100644
index 209c1bb..0000000
--- a/le/le_entry_table_entry.hpp
+++ /dev/null
@@ -1,33 +0,0 @@
-#pragma once
-
-#include "types.hpp"
-
-#include <boost/variant.hpp>
-
-#include <vector>
-
-namespace le {
-
-using binparse::Value8;
-using binparse::Value16;
-using binparse::Offset16;
-using binparse::Offset32;
-
-struct EntryPoint {
- binparse::Value8 flags;
- boost::variant<Offset16, Offset32> entry;
-};
-
-struct EntryTableEntry {
-
- Value8 nr_entries;
- Value8 flags;
- Value16 object_index;
- std::vector<EntryPoint> entries;
-};
-
-EntryTableEntry parse_entry_table_entry(std::istream& is);
-
-std::ostream& operator<<(std::ostream& os, EntryTableEntry const& entry);
-
-}