View Collection.h
#pragma once | |
#include <Array/Array.h> | |
namespace SE { | |
struct FHandle { | |
uint32 UnorderedIndex; | |
uint32 Generation; | |
}; |
View HandleStorage.h
#pragma once | |
#include "Utility/Debug.h" | |
#include "Handle.h" | |
template < | |
typename KeyType, | |
typename ValueType, | |
uint16 InitialSize> | |
class THandleStorage |
View compound_shapes.cpp
// MIT License | |
// Copyright (c) 2019 Erin Catto | |
// Permission is hereby granted, free of charge, to any person obtaining a copy | |
// of this software and associated documentation files (the "Software"), to deal | |
// in the Software without restriction, including without limitation the rights | |
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
// copies of the Software, and to permit persons to whom the Software is | |
// furnished to do so, subject to the following conditions: |
View CMake notes for MSVS libclang AST parsing
// One would want to fetch all include directories from all the targets your main executable is linked against (and executable itself) | |
// Then you need to provide WinSDK include paths (the ones MSVS uses) | |
// Finally feed them in format of -I<argN> args in function clang_parseTranslationUnit in your LIBCLANG_APP | |
// Important part of my CMakeLists.txt is provided below | |
// Find script is available here https://github.com/rpavlik/cmake-modules/blob/master/FindWindowsSDK.cmake | |
// Example of your LinkedTargets: it is identical to linking! | |
target_link_libraries (MainExecutable SDL2-static freetype icuuc cAudio sfmt OpenAL) | |
set(LinkedTargets MainExecutable SDL2-static freetype icuuc cAudio sfmt OpenAL) |
View git_bash_here.ahk
; | |
; AutoHotkey Version: 1.1 | |
; Language: English | |
; Platform: Win9x/NT | |
; Author: Yibo | |
; | |
; Script Function: | |
; Define the shortcut Ctrl + Alt + T for launching Git bash in current folder in Windows Explorer | |
; |