Skip to content

Commit

Permalink
Remove some unused headers and other cleanup (#89)
Browse files Browse the repository at this point in the history
  • Loading branch information
erysdren authored Sep 22, 2024
1 parent 58842af commit 1e70c8a
Show file tree
Hide file tree
Showing 11 changed files with 7 additions and 279 deletions.
32 changes: 0 additions & 32 deletions rott/_isr.h

This file was deleted.

1 change: 0 additions & 1 deletion rott/isr.c
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.

#include "rt_def.h"
#include "isr.h"
#include "_isr.h"
#include "rt_in.h"
#include "rt_util.h"
#include "profile.h"
Expand Down
1 change: 0 additions & 1 deletion rott/modexlib.c
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#include "modexlib.h"
#include "rt_util.h"
#include "rt_net.h" // for GamePaused
#include "myprint.h"

#include "isr.h" // for VBLCOUNTER

Expand Down
33 changes: 0 additions & 33 deletions rott/myprint.h

This file was deleted.

1 change: 0 additions & 1 deletion rott/rt_net.c
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#include "rt_rand.h"
#include "rt_game.h"
#include "rt_draw.h"
#include "myprint.h"
#include "rt_debug.h"
#include "rt_view.h"
#include "rt_battl.h"
Expand Down
1 change: 0 additions & 1 deletion rott/rt_str.c
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#include "rt_msg.h"
#include "rt_playr.h"
#include "rt_sound.h"
#include "myprint.h"


//******************************************************************************
Expand Down
2 changes: 0 additions & 2 deletions rott/rt_str.h
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,4 @@ void DrawIntensityString (unsigned short x, unsigned short y, const char *string
void VW_MeasureIntensityPropString (const char *string, int *width, int *height);
byte GetIntensityColor (byte pix);

#include "myprint.h"

#endif
6 changes: 6 additions & 0 deletions rott/rt_util.h
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,12 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#include "m_misc2.h"
#include "develop.h"

enum COLORS
{
BLACK, BLUE, GREEN, CYAN, RED, MAGENTA, BROWN, LIGHTGRAY, DARKGRAY,
LIGHTBLUE, LIGHTGREEN, LIGHTCYAN, LIGHTRED, LIGHTMAGENTA, YELLOW, WHITE
};

extern int egacolor[16];
extern byte * origpal;
extern int _argc;
Expand Down
207 changes: 0 additions & 207 deletions rott/splib.h

This file was deleted.

File renamed without changes.
2 changes: 1 addition & 1 deletion rott/vgatext.c
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ SOFTWARE.

#include "SDL.h"

#include "vga_font_cp437.h"
#include "vgafont.h"

#define BLINK_HZ ((1000 / 70) * 16)

Expand Down

0 comments on commit 1e70c8a

Please sign in to comment.