Skip to content

Instantly share code, notes, and snippets.

View feliwir's full-sized avatar
👨‍💻
Coding along

Stephan Vedder feliwir

👨‍💻
Coding along
  • mbits imaging GmbH
  • Germany
View GitHub Profile
E:\Development\Repositories\electron-starter\script>bootstrap
Node: v0.12.4
npm: v1.4.28
Python: v2.7.9
Installing build modules...
npm WARN package.json eightoheight-build@ No license field.
Installing apm...
child_process: customFds option is deprecated, use stdio instead.
child_process: customFds option is deprecated, use stdio instead.
child_process: customFds option is deprecated, use stdio instead.
#pragma once
#include <SFML/Graphics.hpp>
class Engine
{
public:
Engine();
~Engine();
void Run();
SFML libraries: debug;E:/Development/Libraries/SFML-2.3/lib/sfml-graphics-d.lib;optimized;E:/Development/Libraries/SFML-2.3/lib/sfml-graphics.lib;debug;E:/Development/Libraries/SFML-2.3/lib/sfml-window-d.lib;optimized;E:/Development/Libraries/SFML-2.3/lib/sfml-window.lib;debug;E:/Development/Libraries/SFML-2.3/lib/sfml-system-d.lib;optimized;E:/Development/Libraries/SFML-2.3/lib/sfml-system.lib;debug;E:/Development/Libraries/SFML-2.3/lib/sfml-audio-d.lib;optimized;E:/Development/Libraries/SFML-2.3/lib/sfml-audio.lib
std::vector<Handler::LoadInfo> Handler::loadOrder = {
Handler::LoadInfo{"EALogoMovie", std::make_shared<Handler::CinematicArgs>(false), false },
Handler::LoadInfo{"NewLineLogo", std::make_shared<Handler::CinematicArgs>(false), false },
Handler::LoadInfo{"TolkienLogo", std::make_shared<Handler::CinematicArgs>(false), false },
Handler::LoadInfo{"Overall_Game_Intro", std::make_shared<Handler::CinematicArgs>(true), false },
Handler::LoadInfo{"LoadingRing", std::make_shared<Handler::CinematicArgs>(false), false }
};
namespace hpse
{
class Material : public IResource
{
public:
int m_maxTessellation;
float m_displacementFactor;
std::string m_diffuseTexture;
std::string m_normalTexture;
#include "GUI.hpp"
#include "Environment.hpp"
#include "./Util/Platform.hpp"
#include <iostream>
#include "Exception.hpp"
#include <Rocket/Debugger.h>
#include <Rocket/Core/Lua/Interpreter.h>
#include <Rocket/Controls/Lua/Controls.h>
#include <functional>
#include "Core.hpp"
// DynASM directives.
|.arch x86
|.actionlist actions
// This define affects "|" DynASM lines. "Dst" must
// resolve to a dasm_State** that points to a dasm_State*.
#define Dst &state
#include "jit_util.hpp"
void* translateFunc(asDWORD* byteCode, asDWORD* end)
void* asjit::jitcode(dasm_State **state)
{
size_t sz;
void* buf;
dasm_link(state, &sz);
#ifdef _WIN32
buf = VirtualAlloc(0, sz, MEM_RESERVE | MEM_COMMIT, PAGE_READWRITE);
#else
buf = mmap(0, sz, PROT_READ | PROT_WRITE, MAP_PRIVATE | MAP_ANONYMOUS, -1, 0);
#endif
// / DynASM directives.
|.arch x86
|.actionlist actions
// This define affects "|" DynASM lines. "Dst" must
// resolve to a dasm_State** that points to a dasm_State*.
#define Dst &state
#include "jit_util.hpp"
void* translateFunc(asDWORD* byteCode, asDWORD* end)
option(LLVM_BUILD_EXAMPLES FALSE)
option(LLVM_INCLUDE_EXAMPLES FALSE)
option(LLVM_BUILD_TESTS FALSE)
option(LLVM_INCLUDE_TESTS FALSE)
option(LLVM_BUILD_DOCS FALSE)
set(LLVM_EXTERNAL_CLANG_SOURCE_DIR CACHE PATH "clang")
add_subdirectory(llvm)
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "llvm/share/llvm/cmake")
include(LLVMConfig)