diff options
Diffstat (limited to 'src/shared/iengine.h')
| -rw-r--r-- | src/shared/iengine.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/shared/iengine.h b/src/shared/iengine.h index 80f876d..80bc9c5 100644 --- a/src/shared/iengine.h +++ b/src/shared/iengine.h @@ -221,13 +221,13 @@ extern int lookupmaterial(const vec &o); static inline bool insideworld(const vec &o) { - extern int worldsize; + extern int worldsize; return o.x>=0 && o.x<worldsize && o.y>=0 && o.y<worldsize && o.z>=0 && o.z<worldsize; } static inline bool insideworld(const ivec &o) { - extern int worldsize; + extern int worldsize; return uint(o.x)<uint(worldsize) && uint(o.y)<uint(worldsize) && uint(o.z)<uint(worldsize); } @@ -535,17 +535,17 @@ struct g3d_gui virtual void poplist() {} virtual bool allowautotab(bool on) = 0; - virtual bool shouldtab() { return false; } - virtual void tab(const char *name = NULL, int color = 0) = 0; + virtual bool shouldtab() = 0; + virtual void tab(const char *name = NULL, int color = 0) = 0; virtual int image(Texture *t, float scale, const char *overlaid = NULL) = 0; virtual int texture(VSlot &vslot, float scale, bool overlaid = true) = 0; - virtual int playerpreview(int model, int team, int weap, float scale, const char *overlaid = NULL) { return 0; } - virtual int modelpreview(const char *name, int anim, float scale, const char *overlaid = NULL, bool throttle = false) { return 0; } - virtual int prefabpreview(const char *prefab, const vec &color, float scale, const char *overlaid = NULL, bool throttle = false) { return 0; } + virtual int playerpreview(int model, int team, int weap, float scale, const char *overlaid = NULL) = 0; + virtual int modelpreview(const char *name, int anim, float scale, const char *overlaid = NULL, bool throttle = false) = 0; + virtual int prefabpreview(const char *prefab, const vec &color, float scale, const char *overlaid = NULL, bool throttle = false) = 0; virtual void slider(int &val, int vmin, int vmax, int color, const char *label = NULL) = 0; virtual void separator() = 0; - virtual void progress(float percent) = 0; - virtual void strut(float size) = 0; + virtual void progress(float percent) = 0; + virtual void strut(float size) = 0; virtual void space(float size) = 0; virtual void spring(int weight = 1) = 0; virtual void column(int col) = 0; |
