Search
lxdream.org :: lxdream/src/pvr2/scene.h :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/pvr2/scene.h
changeset 645:a7392098299c
prev639:162ee7614b60
next1066:ddffe9d2b332
author nkeynes
date Thu Mar 06 08:22:00 2008 +0000 (12 years ago)
branchlxdream-render
permissions -rw-r--r--
last change More refactor work in progress - nearly done now
file annotate diff log raw
1.1 --- a/src/pvr2/scene.h Mon Feb 18 09:21:43 2008 +0000
1.2 +++ b/src/pvr2/scene.h Thu Mar 06 08:22:00 2008 +0000
1.3 @@ -23,7 +23,7 @@
1.4
1.5 typedef enum {
1.6 SORT_NEVER = 0,
1.7 - SORT_BYFLAG = 1, /* In this mode, sorting is controlled by the per-segment flag */
1.8 + SORT_TILEFLAG = 1, /* In this mode, sorting is controlled by the per-segment flag */
1.9 SORT_ALWAYS = 2
1.10 } tile_sort_mode_t;
1.11
1.12 @@ -38,7 +38,9 @@
1.13 uint32_t *context;
1.14 int cull; // culling mode
1.15 uint32_t vertex_count; // number of vertexes in polygon
1.16 + uint32_t tex_id;
1.17 int32_t vertex_index; // index of first vertex in vertex buffer
1.18 + uint32_t mod_tex_id;
1.19 int32_t mod_vertex_index; // index of first modified vertex in vertex buffer
1.20 float center_z;
1.21 struct polygon_struct *next; // chain for tri/quad arrays
.