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
/* | |
* @file xvector.h | |
* @author David Gallardo Moreno | |
* @brief POD aware container, uses if constexpr to evaluate the code path to copy/move/destroy the xvector data. | |
*/ | |
#pragma once | |
#include <stdint.h> | |
#include <stdlib.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
/* | |
* @file FObjectPool.h | |
* @author David Gallardo Moreno | |
*/ | |
#ifndef __SBX_OBJECT_POOL_H__ | |
#define __SBX_OBJECT_POOL_H__ | |
#include <Library/FRawPool.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 "types.h" | |
#include "opsys.h" | |
#include "texture.h" | |
#include "opdata.h" | |
#include "rtlib.h" | |
#include "math3d_2.h" | |
// for text stuff | |
#define WIN32_LEAN_AND_MEAN | |
#include <windows.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
/* | |
@file builder.js (WIP) | |
@author David Gallardo @galloscript | |
@brief Builder script to compile and link c++ projects without dependencies with IDE project. | |
Can be launched from an IDE with custom build tool target, but all the dependencies | |
must be handled by the target.js file and builder.js | |
*/ | |
/* | |
Example emtest.target.js |
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
//Get the native window | |
NSWindow* cocoaWindow = glfwGetCocoaWindow(glfwWindowPtr); | |
NSUInteger lWindowStyle = NSWindowStyleMaskTitled | | |
NSWindowStyleMaskClosable | | |
NSWindowStyleMaskMiniaturizable | | |
NSWindowStyleMaskResizable | | |
NSWindowStyleMaskUnifiedTitleAndToolbar | | |
NSWindowStyleMaskFullSizeContentView; | |
//Set the style mask |
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
// | |
// imgui_color_gradient.cpp | |
// imgui extension | |
// | |
// Created by David Gallardo on 11/06/16. | |
#include "imgui_color_gradient.h" | |
#include "imgui_internal.h" |