X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fgui%2Fmainwin.h;h=4263cb1cb2ad48e6607c58535cb59b1345128000;hb=1249f1ad7191432e9fb8b3162ebb1d66a94fdcb9;hp=80cfe935183d1b8f48d93e43bdae9b61cf96d77a;hpb=9af4fb023287b26dce01a36c65c9e30f56481051;p=virtualjaguar diff --git a/src/gui/mainwin.h b/src/gui/mainwin.h index 80cfe93..4263cb1 100644 --- a/src/gui/mainwin.h +++ b/src/gui/mainwin.h @@ -10,6 +10,9 @@ //Hrm. uh??? I thought this wasn't the way to do this stuff...??? #include +#include "tom.h" + +#define RING_BUFFER_SIZE 32 // Forward declarations class GLWidget; @@ -40,7 +43,7 @@ class MainWin: public QMainWindow private slots: void Open(void); - void Configure(void); + void Configure(void); void Timer(void); void TogglePowerState(void); void ToggleRunState(void); @@ -89,7 +92,9 @@ class MainWin: public QMainWindow int zoomLevel; bool powerButtonOn; bool showUntunedTankCircuit; + public: bool cartridgeLoaded; + private: bool allowUnknownSoftware; bool CDActive; // bool alpineLoadSuccessful; @@ -97,11 +102,16 @@ class MainWin: public QMainWindow bool loadAndGo; bool keyHeld[8]; bool fullScreen; + bool scannedSoftwareFolder; public: bool plzDontKillMyComputer; + uint32_t oldTimestamp; + uint32_t ringBufferPointer; + uint32_t ringBuffer[RING_BUFFER_SIZE]; private: QPoint mainWinPosition; // QSize mainWinSize; + int lastEditedProfile; QMenu * fileMenu; QMenu * helpMenu; QMenu * debugMenu; @@ -136,6 +146,8 @@ class MainWin: public QMainWindow QIcon powerGreen; QIcon powerRed; + uint32_t testPattern[VIRTUAL_SCREEN_WIDTH * VIRTUAL_SCREEN_HEIGHT_PAL]; + uint32_t testPattern2[VIRTUAL_SCREEN_WIDTH * VIRTUAL_SCREEN_HEIGHT_PAL]; }; #endif // __MAINWIN_H__