Skip to content

Instantly share code, notes, and snippets.

View gszauer's full-sized avatar
💻
Living life 16.6 ms at a time

Gabor Szauer gszauer

💻
Living life 16.6 ms at a time
View GitHub Profile
@gszauer
gszauer / irm.hpp
Last active August 29, 2015 13:56
#ifndef _H_IMMEDIATE_RENDER_MODE_
#define _H_IMMEDIATE_RENDER_MODE_
// Based on: http://www.khronos.org/registry/gles/api/1.0/gl.h
// Based on: http://www.khronos.org/opengles/sdk/1.1/docs/man/
/* Skipped:
glActiveTexture
glAlphaFunc
glBindTexture
@gszauer
gszauer / Howto
Last active August 29, 2015 13:56
Install SDL2
---
title: "Installing SDL2 on Ubuntu for Game Development"
tags: sdl2, game programming
---
Here are the steps I took to install SDL2 on Ubuntu 13.04 from the source:
1. Download the SDL 2.0.0 source:
http://www.libsdl.org/release/SDL2-2.0.0.tar.gz
/*
* md3-vbo.c -- md3 model loader
* last modification: mar. 22, 2009
*
* Copyright (c) 2009 David HENRY
*
* 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,
@gszauer
gszauer / md3.c
Created February 28, 2014 17:42
/*
* md3.c -- md3 model loader
* last modification: mar. 22, 2009
*
* Copyright (c) 2009 David HENRY
*
* 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,
@gszauer
gszauer / md2.c
Created February 28, 2014 17:42
/*
* md2.c -- md2 model loader
* last modification: aug. 14, 2007
*
* Copyright (c) 2005-2007 David HENRY
*
* 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,
@gszauer
gszauer / dds.c
Created February 28, 2014 17:44
/*
* dds.c -- dds texture loader
* last modification: aug. 14, 2007
*
* Copyright (c) 2005-2007 David HENRY
*
* 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,
/*
* jpeg_mem.c -- jpeg texture loader
* last modification: sep. 22, 2012
*
* Copyright (c) 2005-2012 David HENRY
*
* 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,
/*
* md5.c -- md5mesh model loader
* last modification: aug. 14, 2007
*
* Copyright (c) 2005-2007 David HENRY
*
* 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,
@gszauer
gszauer / mdl.c
Created February 28, 2014 17:46
/*
* mdl.c -- mdl model loader
* last modification: aug. 14, 2007
*
* Copyright (c) 2005-2007 David HENRY
*
* 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,
@gszauer
gszauer / obj.c
Created February 28, 2014 17:47
/*
* obj.c -- obj model loader
* last modification: apr. 2, 2011
*
* Copyright (c) 2005-2007 David HENRY
*
* 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,