Skip to content

Instantly share code, notes, and snippets.

Avatar
💻
Living life 16.6 ms at a time

Gabor Szauer gszauer

💻
Living life 16.6 ms at a time
View GitHub Profile
View irm.hpp
#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 Aug 29, 2015
Install SDL2
View Howto
---
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
View tga.c
/*
* tga.c -- tga 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,
View PNG_MEM.C
/*
* png_mem.c -- png 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,
View pcx.c
/*
* pcx.c -- pcx 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,
View md3-vbo.c
/*
* 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,
View md3.c
/*
* 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,
View md2.c
/*
* 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,
View dds.c
/*
* 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,
View jpeg-mem.c
/*
* 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,