Skip to content

Commit 11f6af5

Browse files
committed
fix pch
1 parent e37eddf commit 11f6af5

7 files changed

Lines changed: 18 additions & 2 deletions

File tree

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ else()
99
set(CMAKE_OSX_ARCHITECTURES "arm64;x86_64")
1010
endif()
1111

12-
project(argon VERSION 1.1.0)
12+
project(argon VERSION 1.1.1)
1313

1414
file(GLOB_RECURSE SOURCES
1515
src/*.cpp

best-practices.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Best Practices
2+
3+
TODO

changelog.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# 1.1.1
2+
3+
* Make library usable without precompiled headers
4+
15
# 1.1.0
26

37
* Now return an error if a mod tries to perform auth multiple times at once with the same account

src/external/ServerAPIEvents.hpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44

55
#pragma once
66

7+
#include <Geode/loader/Event.hpp>
8+
79
using namespace geode::prelude;
810

911
#ifdef GEODE_IS_WINDOWS

src/state.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,13 @@
22

33
#include "stages.hpp"
44
#include "storage.hpp"
5+
#include "util.hpp"
56

7+
#include <Geode/binding/GameManager.hpp>
68
#include <matjson/reflect.hpp>
79
#include <matjson/std.hpp>
810
#include <asp/time/sleep.hpp>
911
#include <asp/data.hpp>
10-
#include "util.hpp"
1112

1213
using namespace geode::prelude;
1314
using namespace asp::time;

src/storage.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
#include "storage.hpp"
2+
3+
#include <Geode/loader/Dirs.hpp>
4+
#include <matjson.hpp>
25
#include <asp/fs.hpp>
36

47
using namespace geode::prelude;

src/web.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,15 @@
33
#include "state.hpp"
44

55
#include <Geode/loader/Loader.hpp>
6+
#include <Geode/loader/Mod.hpp>
67
#include "external/ServerAPIEvents.hpp"
78

89
using namespace geode::prelude;
910

1011
namespace argon::web {
1112

13+
// TODO: reverse engineer the "encryption" and replace this all with geode base64
14+
1215
static std::string base64Encode(const gd::string& data) {
1316
// trust me i did not want to use this but oh well
1417
std::string ret = cocos2d::ZipUtils::base64URLEncode(data);

0 commit comments

Comments
 (0)