This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
namespace sw::net | |
{ | |
std::vector<std::byte> Message::serialize() const | |
{ | |
auto _out = std::vector<std::byte>(2); | |
// Write message type first | |
{ | |
auto _outIt = _out.begin(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <asx/vfs.hpp> | |
#include <asx/fs.hpp> | |
#include <asx/assert.hpp> | |
#include <nlohmann/json.hpp> | |
#include <filesystem> | |
#include <iostream> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Enables ADD_GIT_DEPENDENCY functionality | |
option(ENABLE_GIT_DEPENDENCIES "Enables automatic cloning of dependencies that do not already exit" ON) | |
find_package(Git QUIET) | |
# |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#pragma once | |
// file : sprite.h | |
// generated at 2021-07-31 09:54:44.8542459 CDT | |
#include <utility> | |
#include <array> | |
#include <jclib/gl/shader.h> | |
#include <jclib/gl/program.h> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
#include <concepts> | |
template <typename T> | |
concept entity_extension = true; | |
template <typename T, typename ExT> | |
struct apply_extension; | |
template <typename T, template <typename U> typename ExT, typename U> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#pragma once | |
#ifndef CCAP_NET_ERROR_H | |
#define CCAP_NET_ERROR_H | |
/* | |
Defines named error codes and provides a target independent get_error() function. | |
I went a little try hard with the portability stuff. | |
*/ | |
// Small bit of handling to make this header file more portable |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <algorithm> | |
#include <numeric> | |
#include <string> | |
#include <vector> | |
#include <optional> | |
#define AT_SUBMISSION false | |
#define AFTER_SUBMISSION true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#pragma once | |
#include <type_traits> | |
#include <concepts> | |
#include <utility> | |
#include <cassert> | |
#include <functional> | |
namespace sae | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#pragma once | |
#include <SAEEngine_Components.h> | |
#include <glm/gtc/matrix_transform.hpp> | |
#include <glm/gtc/quaternion.hpp> | |
#include <cstdint> | |
#include <filesystem> | |
#include <unordered_map> |