Based on looking at hexdumps dsurface_t should be of the following form:
typedef struct dshader_s {
char resourcename[64];
int surfaceflags;
int contentflags;
int dummy; // I still dont know what this is
char filename[64];
} dshader_t;
Just thought I'd share.
-chacham15
dshader_t
-
Rookie One.pl
- Site Admin
- Posts: 2752
- Joined: Fri Jan 31, 2003 7:49 pm
- Location: Nowa Wies Tworoska, Poland
- Contact:
Thanks, dude, but we've got it already.
That filename part is either the image pointed at by the qer_editorimage shader param (i.e. the image to be shown in Radiant texture browser) or the filename of the image of the first stage in the shader. Either way, OpenMoHAA doesn't make any use of it, as it just loads the shader.
-
Rookie One.pl
- Site Admin
- Posts: 2752
- Joined: Fri Jan 31, 2003 7:49 pm
- Location: Nowa Wies Tworoska, Poland
- Contact:

