- Use CL instead of GCC
- Use .lib and .dll instead of just .dll.a and .dll (and .so.a and .so)
- Object files are now .obj instead of .o
- Use /O2 and /Wall instead of -O2 and -Wall
- Use /Iincdir instead of -Iincdir
- I'm not sure, but probably /Llibdir instead of -Llibdir
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
Windows Registry Editor Version 5.00 | |
[HKEY_CLASSES_ROOT\Directory\Shell\cmd] | |
@="@shell32.dll,-8506" | |
"Extended"="" | |
"ShowBasedOnVelocityId"=dword:00639bc8 | |
"NoWorkingDirectory"="" | |
[HKEY_CLASSES_ROOT\Directory\Shell\cmd\command] | |
@="cmd.exe /K pushd \"%V%" |
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
/** | |
* floating points: | |
* 32 bit number | |
* | |
* 0-22 mantissa | |
* 23-30 exp | |
* 31 sign | |
* | |
* Theory: You can use the exp potion to determine the offset and null out the bits to produce a floored number. |
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
// Created by: http://github.com/tilkinsc | |
// returns ALuint* aka a single openal buffer of ready-to-play ogg vorbis sound samples | |
// returns 0 on error | |
ALuint* sound_load_ogg(const char* path) { | |
ALenum error = 0; | |
ALuint* sound = 0; | |
FILE* fp = 0; | |
OggVorbis_File vf; |
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
ALuint* sound_load_wav(const char* path) { | |
ALuint* sound = 0; | |
WaveData* w_data = 0; | |
ALenum error = 0; | |
w_data = wave_load(path); | |
if(w_data == 0) { | |
fprintf(stderr, "Failed to load wave file.\n"); | |
goto exit; |
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
// tiles_x the amount of tiles in the image in the x dimension | |
// tiles_y the amount of tiles in the image in the y dimension | |
void Texture::finalizeArray(GLsizei tiles_x, GLsizei tiles_y) { | |
// read in file data | |
Material* mat = new Material("file.bmp"); // MUST be power of 2 | |
mat->mips = 1; // !single image! | |
// defines ogl parameters |
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
tilkinsc's List of Writing Expertise | |
Punctuation comes too late and may depend on context clues. | |
When reading, it can be against reading comprehension and against reading speed to read | |
punctuation at the end of a sentence. For example, a simple sentence who claims a subject | |
as or like an adjective can be easily misread not accounting for the tone a sentence has between punctuations. | |
While searching in the woods, you found a goregous set of roses. Declaritive. | |
While searching in the woods, you found a goregous set of roses? Interrogative. |
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
@echo off | |
setlocal | |
REM Default env vars | |
IF NOT DEFINED debug set debug=0 | |
IF NOT DEFINED debug_coverage set debug_coverage=0 | |
IF NOT DEFINED GCC set GCC=gcc | |
IF NOT DEFINED AR set AR=ar | |
IF NOT DEFINED MAKE set MAKE=make |
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
#pragma once | |
#include <stdio.h> | |
#include <GL/glew.h> | |
#include <GLFW/glfw3.h> | |
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
@echo off | |
title PoD ping -a -n 10 -4 -w 500 Tester | |
echo Note: If you get stuck, press Ctrl+C then enter 'n' then hit enter again. | |
echo gs 1 | |
ping -a -n 10 -4 -w 500 173.214.173.56 | |
echo gs 3 | |
ping -a -n 10 -4 -w 500 64.235.46.70 |