This file contains hidden or 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
# /* vim: set ai ts=4 ft=sh: */ | |
# | |
# Copyright 2011, The Android Open Source Project | |
# | |
# Licensed under the Apache License, Version 2.0 (the "License"); | |
# you may not use this file except in compliance with the License. | |
# You may obtain a copy of the License at | |
# | |
# http://www.apache.org/licenses/LICENSE-2.0 | |
# |
This file contains hidden or 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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<title>TITLE</title> | |
<style> | |
</style> | |
</head> | |
<body> | |
<script src="http://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script> |
This file contains hidden or 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
# Find DirectX9 | |
message("Looking for DirectX9...") | |
file(GLOB DX9_SEARCH_PATHS | |
"$ENV{DXSDK_DIR}/Include" | |
"$ENV{PROGRAMFILES}/Microsoft DirectX SDK*/Include" | |
"$ENV{PROGRAMFILES}/Microsoft SDKs/Windows/*/Include" | |
"C:/Program Files (x86)/Windows Kits/*/include/um" | |
"C:/Program Files/Windows Kits/*/include/um" |
This file contains hidden or 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
// Put at start of function | |
#define LUDB_DECL int db_top(0),zz_ltop=lua_gettop(L),db_d_top(0),db_typei(-1),db_idx(0); \ | |
const char *db_type(0), *db_valstr(0); | |
// Put after each line Lua API was used | |
#define LUDB(I) db_top=lua_gettop(L); db_d_top=db_top-zz_ltop; zz_ltop=db_top; \ | |
db_typei=lua_type(L,I); db_type=lua_typename(L,db_typei); \ | |
db_valstr=lua_tostring(L,I); db_idx= I>=0 ? I : db_top+I+1 |
This file contains hidden or 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
#! /bin/bash | |
# | |
# Purpose: Build Allegro 5 for OSX and iOS. | |
# | |
# WARNING! | |
# Make sure you have the most recent version of the build tools. Apple moved | |
# installation of Xcode 4.3 from /Developer to /Applications. cmake has been | |
# being patched ever since. This script was tested with: | |
# * Xcode 4.5.2 and Macports cmake 2.8.10. * | |
# You will have problems with cmake 2.8.9 and other versions of cmake. |
This file contains hidden or 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
#!/bin/bash | |
brew install boost | |
brew install cmake premake | |
brew install doxygen | |
brew install lua luajit | |
brew install flatbuffers | |
brew install rapidjson | |
brew install sdl2 --HEAD |