completely remove paletted color support
[drnoksnes] / display.h
index a737e9f..1b75875 100644 (file)
--- a/display.h
+++ b/display.h
@@ -42,8 +42,6 @@
 #define _DISPLAY_H_
 
 START_EXTERN_C
-// Routines the port specific code has to implement
-void S9xSetPalette ();
 void S9xTextMode ();
 void S9xGraphicsMode ();
 const char *S9xParseArgs (int argc, const char **argv);
@@ -53,34 +51,12 @@ uint32 S9xReadJoypad (int which1_0_to_4);
 bool8_32 S9xReadMousePosition (int which1_0_to_1, int &x, int &y, uint32 &buttons);
 bool8_32 S9xReadSuperScopePosition (int &x, int &y, uint32 &buttons);
 
-void S9xUsage ();
-void S9xInitDisplay (int argc, const char **argv);
-void S9xDeinitDisplay ();
-void S9xInitInputDevices ();
-void S9xSetTitle (const char *title);
-void S9xProcessEvents (bool8_32 block);
-void S9xPutImage (int width, int height);
-void S9xParseDisplayArg (char **argv, int &index, int argc);
-void S9xToggleSoundChannel (int channel);
-void S9xSetInfoString (const char *string);
-int S9xMinCommandLineArgs ();
+void S9xSetInfoString (const char * fmt, ...);
+
 void S9xNextController ();
-bool8_32 S9xLoadROMImage (const char *string);
-const char *S9xSelectFilename (const char *def, const char *dir,
-                              const char *ext, const char *title);
 
-const char *S9xChooseFilename (bool8_32 read_only);
 bool8_32 S9xOpenSnapshotFile (const char *base, bool8_32 read_only, STREAM *file);
 void S9xCloseSnapshotFile (STREAM file);
-
-const char *S9xBasename (const char *filename);
-
-int S9xFStrcmp (FILE *, const char *);
-const char *S9xGetHomeDirectory ();
-const char *S9xGetSnapshotDirectory ();
-const char *S9xGetROMDirectory ();
-const char *S9xGetSRAMFilename ();
-const char *S9xGetFilename (const char *extension);
 END_EXTERN_C
 
 #endif