annotate Renderer/Engine/texture.h @ 747:18d31d18a6b2 draft

TaskManager changeset 683, Renderer changeset 746
author hiroki
date Mon, 25 Jan 2010 18:01:19 +0900
parents 3bc98f6d31ff
children 63a08f3a468a
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
283
15bfacccde99 fix test_render
e065746@localhost.localdomain
parents:
diff changeset
1 #ifndef INCLUDED_TEXTURE
15bfacccde99 fix test_render
e065746@localhost.localdomain
parents:
diff changeset
2 #define INCLUDED_TEXTURE
15bfacccde99 fix test_render
e065746@localhost.localdomain
parents:
diff changeset
3
15bfacccde99 fix test_render
e065746@localhost.localdomain
parents:
diff changeset
4 #if 0 // もういらないっぽい OpenGL 使用時の遺産
15bfacccde99 fix test_render
e065746@localhost.localdomain
parents:
diff changeset
5 #include <SDL.h>
15bfacccde99 fix test_render
e065746@localhost.localdomain
parents:
diff changeset
6 #include <SDL_opengl.h>
15bfacccde99 fix test_render
e065746@localhost.localdomain
parents:
diff changeset
7 GLuint SDL_GL_LoadTexture(SDL_Surface *surface, GLfloat *texcoord)
15bfacccde99 fix test_render
e065746@localhost.localdomain
parents:
diff changeset
8 #endif
15bfacccde99 fix test_render
e065746@localhost.localdomain
parents:
diff changeset
9
15bfacccde99 fix test_render
e065746@localhost.localdomain
parents:
diff changeset
10 struct texture_list {
15bfacccde99 fix test_render
e065746@localhost.localdomain
parents:
diff changeset
11 int t_w, t_h;
15bfacccde99 fix test_render
e065746@localhost.localdomain
parents:
diff changeset
12 Uint32 *pixels_orig;
15bfacccde99 fix test_render
e065746@localhost.localdomain
parents:
diff changeset
13 Uint32 *pixels;
15bfacccde99 fix test_render
e065746@localhost.localdomain
parents:
diff changeset
14 int scale_max;
15bfacccde99 fix test_render
e065746@localhost.localdomain
parents:
diff changeset
15 };
15bfacccde99 fix test_render
e065746@localhost.localdomain
parents:
diff changeset
16
15bfacccde99 fix test_render
e065746@localhost.localdomain
parents:
diff changeset
17 #endif