mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-26 12:01:47 +00:00
Remove all gcc pragma interface
GCC docs say these are not only obsolete but counter-productive for their intended use case since GCC 2.7.2. https://gcc.gnu.org/onlinedocs/gcc-13.2.0/gcc/C_002b_002b-Interface.html
This commit is contained in:
parent
4277c6d930
commit
dde6ca0dac
16 changed files with 0 additions and 64 deletions
|
|
@ -23,10 +23,6 @@
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef __GNUG__
|
|
||||||
#pragma interface
|
|
||||||
#endif
|
|
||||||
|
|
||||||
//
|
//
|
||||||
// Experimental stuff.
|
// Experimental stuff.
|
||||||
// To compile this as "ANSI C with classes" we will need to handle the various
|
// To compile this as "ANSI C with classes" we will need to handle the various
|
||||||
|
|
|
||||||
|
|
@ -21,10 +21,6 @@
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef __GNUG__
|
|
||||||
#pragma interface
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#define MAXPREDICTTICS 12
|
#define MAXPREDICTTICS 12
|
||||||
|
|
||||||
// Button/action code definitions.
|
// Button/action code definitions.
|
||||||
|
|
|
||||||
|
|
@ -16,10 +16,6 @@
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef __GNUG__
|
|
||||||
#pragma interface
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifndef AI_PASSIVE
|
#ifndef AI_PASSIVE
|
||||||
#define AI_PASSIVE 0x01
|
#define AI_PASSIVE 0x01
|
||||||
#endif
|
#endif
|
||||||
|
|
|
||||||
|
|
@ -14,10 +14,6 @@
|
||||||
#ifndef __I_NET__
|
#ifndef __I_NET__
|
||||||
#define __I_NET__
|
#define __I_NET__
|
||||||
|
|
||||||
#ifdef __GNUG__
|
|
||||||
#pragma interface
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#include "doomdef.h"
|
#include "doomdef.h"
|
||||||
#include "command.h"
|
#include "command.h"
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -21,10 +21,6 @@
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef __GNUG__
|
|
||||||
#pragma interface
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/** \brief max quit functions
|
/** \brief max quit functions
|
||||||
*/
|
*/
|
||||||
#define MAX_QUIT_FUNCS 16
|
#define MAX_QUIT_FUNCS 16
|
||||||
|
|
|
||||||
|
|
@ -35,10 +35,6 @@ hwr2::HardwareState* main_hardware_state();
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef __GNUG__
|
|
||||||
#pragma interface
|
|
||||||
#endif
|
|
||||||
|
|
||||||
typedef enum
|
typedef enum
|
||||||
{
|
{
|
||||||
/// Software
|
/// Software
|
||||||
|
|
|
||||||
|
|
@ -35,10 +35,6 @@
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef __GNUG__
|
|
||||||
#pragma interface
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/// \brief Frame flags: only the frame number - 0 to 256 (Frames from 0 to 63, Sprite2 number uses 0 to 127 plus FF_SPR2SUPER)
|
/// \brief Frame flags: only the frame number - 0 to 256 (Frames from 0 to 63, Sprite2 number uses 0 to 127 plus FF_SPR2SUPER)
|
||||||
#define FF_FRAMEMASK 0xff
|
#define FF_FRAMEMASK 0xff
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -18,10 +18,6 @@
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef __GNUG__
|
|
||||||
#pragma interface
|
|
||||||
#endif
|
|
||||||
|
|
||||||
// 1024 bytes is plenty for a savegame
|
// 1024 bytes is plenty for a savegame
|
||||||
// ...but we'll be accomodating of a heavily replaced Round Queue.
|
// ...but we'll be accomodating of a heavily replaced Round Queue.
|
||||||
#define SAVEGAMESIZE (2048)
|
#define SAVEGAMESIZE (2048)
|
||||||
|
|
|
||||||
|
|
@ -20,10 +20,6 @@
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef __GNUG__
|
|
||||||
#pragma interface
|
|
||||||
#endif
|
|
||||||
|
|
||||||
extern tic_t leveltime;
|
extern tic_t leveltime;
|
||||||
extern boolean thinkersCompleted;
|
extern boolean thinkersCompleted;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -20,10 +20,6 @@
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef __GNUG__
|
|
||||||
#pragma interface
|
|
||||||
#endif
|
|
||||||
|
|
||||||
extern seg_t *curline;
|
extern seg_t *curline;
|
||||||
extern side_t *sidedef;
|
extern side_t *sidedef;
|
||||||
extern line_t *linedef;
|
extern line_t *linedef;
|
||||||
|
|
|
||||||
|
|
@ -22,10 +22,6 @@
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef __GNUG__
|
|
||||||
#pragma interface
|
|
||||||
#endif
|
|
||||||
|
|
||||||
// Store lists of lumps for F_START/F_END etc.
|
// Store lists of lumps for F_START/F_END etc.
|
||||||
struct lumplist_t
|
struct lumplist_t
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -18,10 +18,6 @@
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef __GNUG__
|
|
||||||
#pragma interface
|
|
||||||
#endif
|
|
||||||
|
|
||||||
transnum_t R_GetLinedefTransTable(fixed_t alpha);
|
transnum_t R_GetLinedefTransTable(fixed_t alpha);
|
||||||
void R_RenderMaskedSegRange(drawseg_t *ds, INT32 x1, INT32 x2);
|
void R_RenderMaskedSegRange(drawseg_t *ds, INT32 x1, INT32 x2);
|
||||||
void R_RenderThickSideRange(drawseg_t *ds, INT32 x1, INT32 x2, ffloor_t *pffloor);
|
void R_RenderThickSideRange(drawseg_t *ds, INT32 x1, INT32 x2, ffloor_t *pffloor);
|
||||||
|
|
|
||||||
|
|
@ -20,10 +20,6 @@
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef __GNUG__
|
|
||||||
#pragma interface
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/// \brief SKY, store the number for name.
|
/// \brief SKY, store the number for name.
|
||||||
#define SKYFLATNAME "F_SKY1"
|
#define SKYFLATNAME "F_SKY1"
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -23,10 +23,6 @@
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef __GNUG__
|
|
||||||
#pragma interface
|
|
||||||
#endif
|
|
||||||
|
|
||||||
//
|
//
|
||||||
// Refresh internal data structures, for rendering.
|
// Refresh internal data structures, for rendering.
|
||||||
//
|
//
|
||||||
|
|
|
||||||
|
|
@ -23,10 +23,6 @@
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef __GNUG__
|
|
||||||
#pragma interface
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#define MISSING_TEXTURE "AASMELLY" // Replacement for invalid textures
|
#define MISSING_TEXTURE "AASMELLY" // Replacement for invalid textures
|
||||||
|
|
||||||
// A single patch from a texture definition,
|
// A single patch from a texture definition,
|
||||||
|
|
|
||||||
|
|
@ -22,10 +22,6 @@
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef __GNUG__
|
|
||||||
#pragma interface
|
|
||||||
#endif
|
|
||||||
|
|
||||||
// a raw entry of the wad directory
|
// a raw entry of the wad directory
|
||||||
// NOTE: This sits here and not in w_wad.c because p_setup.c makes use of it to load map WADs inside PK3s.
|
// NOTE: This sits here and not in w_wad.c because p_setup.c makes use of it to load map WADs inside PK3s.
|
||||||
#if defined(_MSC_VER)
|
#if defined(_MSC_VER)
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue