]> de.git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
Rename dhullinfo_t to hullinfo_t, fix byte->qbyte. More fixes later! Don't complain...
authorsajt <sajt@d7cf8633-e32d-0410-b094-e92efae38249>
Sat, 10 Sep 2005 10:07:25 +0000 (10:07 +0000)
committersajt <sajt@d7cf8633-e32d-0410-b094-e92efae38249>
Sat, 10 Sep 2005 10:07:25 +0000 (10:07 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5707 d7cf8633-e32d-0410-b094-e92efae38249

bspfile.h
model_brush.c

index 730fbde4ccab5c68cbaabbe1a05702411040bf0b..c9697b360554228a1d45f8c0bdee4a87d2900e63 100644 (file)
--- a/bspfile.h
+++ b/bspfile.h
@@ -60,7 +60,7 @@ typedef struct
        int                     numhulls;
        int                     filehulls;
        float           hullsizes[MAX_MAP_HULLS][2][3];
-} dhullinfo_t;
+} hullinfo_t;
 
 typedef struct
 {
index 3d5e5953fb4f0b972a96fbadfbcab5b35293888c..505e7656f52ad49c24c912112bc47fad8437aab4 100644 (file)
@@ -1562,13 +1562,13 @@ static void Mod_Q1BSP_LoadVertexes(lump_t *l)
        }
 }
 
-static void Mod_Q1BSP_LoadSubmodels(lump_t *l, dhullinfo_t *hullinfo)
+static void Mod_Q1BSP_LoadSubmodels(lump_t *l, hullinfo_t *hullinfo)
 {
-       byte            *index;
+       qbyte           *index;
        dmodel_t        *out;
        int                     i, j, count;
 
-       index = (byte *)(mod_base + l->fileofs);
+       index = (qbyte *)(mod_base + l->fileofs);
        if (l->filelen % (48+4*hullinfo->filehulls))
                Host_Error ("Mod_Q1BSP_LoadSubmodels: funny lump size in %s", loadmodel->name);
 
@@ -2121,7 +2121,7 @@ static void Mod_Q1BSP_LoadLeafs(lump_t *l)
        }
 }
 
-static void Mod_Q1BSP_LoadClipnodes(lump_t *l, dhullinfo_t *hullinfo)
+static void Mod_Q1BSP_LoadClipnodes(lump_t *l, hullinfo_t *hullinfo)
 {
        dclipnode_t *in, *out;
        int                     i, count;
@@ -2896,7 +2896,7 @@ void Mod_Q1BSP_Load(model_t *mod, void *buffer, void *bufferend)
        msurface_t *surface;
        int numshadowmeshtriangles;
        dheader_t _header;
-       dhullinfo_t hullinfo;
+       hullinfo_t hullinfo;
 
        mod->type = mod_brushq1;