summaryrefslogtreecommitdiff
path: root/include/Twilight Editor.h
blob: 57be0a266f597288dcda913a7d58b376affb82c8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#pragma once

#include "settings.h"
#include "cxxopts.h"
#include "config.h"
#include "converter.h"

#include <iostream>
#include <fstream>
#include <filesystem>

namespace fs = std::filesystem;

int main(int argc, char* argv[]);
void fastPrint(const std::string& message, bool newline = true);
cxxopts::ParseResult parse(int argc, char* argv[]);

namespace TwilightEditor
{
	extern FILE* currentFilePtr;
	extern std::size_t fileSize;
	extern uint16_t questLogSize;
	extern uint32_t questLogReadOffset;
	
	void initFile();
	void set();
	std::string get();
}