mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-29 23:33:00 +00:00
- removed NOVTABLE #define.
This was used on just two small base classes, the overall savings are zero.
This commit is contained in:
parent
81af5279d1
commit
b5c1237f93
3 changed files with 2 additions and 8 deletions
|
@ -18,7 +18,7 @@ enum EJoyAxis
|
||||||
};
|
};
|
||||||
|
|
||||||
// Generic configuration interface for a controller.
|
// Generic configuration interface for a controller.
|
||||||
struct NOVTABLE IJoystickConfig
|
struct IJoystickConfig
|
||||||
{
|
{
|
||||||
virtual ~IJoystickConfig() = 0;
|
virtual ~IJoystickConfig() = 0;
|
||||||
|
|
||||||
|
|
|
@ -115,7 +115,7 @@ protected:
|
||||||
void PostKeyEvent(int keynum, INTBOOL down, bool foreground);
|
void PostKeyEvent(int keynum, INTBOOL down, bool foreground);
|
||||||
};
|
};
|
||||||
|
|
||||||
class NOVTABLE FJoystickCollection : public FInputDevice
|
class FJoystickCollection : public FInputDevice
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
virtual void AddAxes(float axes[NUM_JOYAXIS]) = 0;
|
virtual void AddAxes(float axes[NUM_JOYAXIS]) = 0;
|
||||||
|
|
|
@ -69,12 +69,6 @@ using INTBOOL = int;
|
||||||
using BITFIELD = uint32_t;
|
using BITFIELD = uint32_t;
|
||||||
|
|
||||||
|
|
||||||
#if defined(_MSC_VER)
|
|
||||||
#define NOVTABLE __declspec(novtable)
|
|
||||||
#else
|
|
||||||
#define NOVTABLE
|
|
||||||
#endif
|
|
||||||
|
|
||||||
// always use our own definition for consistency.
|
// always use our own definition for consistency.
|
||||||
#ifdef M_PI
|
#ifdef M_PI
|
||||||
#undef M_PI
|
#undef M_PI
|
||||||
|
|
Loading…
Reference in a new issue