diff options
author | Karl Kurbjun <kkurbjun@gmail.com> | 2006-04-02 01:52:44 +0000 |
---|---|---|
committer | Karl Kurbjun <kkurbjun@gmail.com> | 2006-04-02 01:52:44 +0000 |
commit | 51db2d3f2cfddfb1c94de1085d130c817bcd953f (patch) | |
tree | a8452577070b7febf0ec640d2a065cd7e2c89847 /apps/plugins/doom/r_data.h | |
parent | e61b079c26e5eaa12f403da6964ac20282df248e (diff) | |
download | rockbox-51db2d3f2cfddfb1c94de1085d130c817bcd953f.tar.gz rockbox-51db2d3f2cfddfb1c94de1085d130c817bcd953f.zip |
Update adds prboom's high resolution support, also makes the scaling for platforms w/ resolution less then 320x200 much nicer. IDoom's lookup table code has been removed. Also fixed a pallete bug. Some graphic errors are present in menu and status bar. Also updates some headers and output formatting.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9418 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/doom/r_data.h')
-rw-r--r-- | apps/plugins/doom/r_data.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/apps/plugins/doom/r_data.h b/apps/plugins/doom/r_data.h index 12c9eb74af..905928fac7 100644 --- a/apps/plugins/doom/r_data.h +++ b/apps/plugins/doom/r_data.h | |||
@@ -47,7 +47,8 @@ typedef struct | |||
47 | { | 47 | { |
48 | int originx, originy; // Block origin, which has already accounted | 48 | int originx, originy; // Block origin, which has already accounted |
49 | int patch; // for the internal origin of the patch. | 49 | int patch; // for the internal origin of the patch. |
50 | } texpatch_t; | 50 | } |
51 | texpatch_t; | ||
51 | 52 | ||
52 | // | 53 | // |
53 | // Texture definition. | 54 | // Texture definition. |
@@ -69,7 +70,8 @@ typedef struct | |||
69 | short width, height; | 70 | short width, height; |
70 | short patchcount; // All the patches[patchcount] are drawn | 71 | short patchcount; // All the patches[patchcount] are drawn |
71 | texpatch_t patches[1]; // back-to-front into the cached texture. | 72 | texpatch_t patches[1]; // back-to-front into the cached texture. |
72 | } texture_t; | 73 | } |
74 | texture_t; | ||
73 | 75 | ||
74 | // Retrieve column data for span blitting. | 76 | // Retrieve column data for span blitting. |
75 | const byte* | 77 | const byte* |