Skip to content

Commit

Permalink
Inherit msurface_t for new structure due to added variable in the end…
Browse files Browse the repository at this point in the history
… with Half-Life 25th anniversary update
  • Loading branch information
SmileyAG authored and YaLTeR committed Dec 31, 2023
1 parent 08dea72 commit 1196334
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions HLSDK/common/com_model.h
Original file line number Diff line number Diff line change
Expand Up @@ -272,6 +272,19 @@ struct msurface_s
};
#endif

typedef struct displaylist_s // Half-Life 25th anniversary update (hardware engine)
{
unsigned gl_displaylist;
int rendermode;
float scrolloffset;
int renderDetailTexture;
} displaylist_t;

struct msurface_hw_25th_anniversary_t : public msurface_t
{
displaylist_t displaylist; // Half-Life 25th anniversary update (hardware engine)
};

typedef struct
{
int planenum;
Expand Down

0 comments on commit 1196334

Please sign in to comment.