mirror of https://github.com/stella-emu/stella.git
Decided to take a little break from the debugger stuff, and clean up
the various header files. Basically, I'm following advice from Effective C++, and including only what's absolutely necessary. For definitions that don't need to be included, the designation 'class xxx' is used instead. This could potentially lead to faster compile times. git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2155 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
This commit is contained in:
parent
bd06b3db1e
commit
7411867290
|
@ -18,6 +18,8 @@
|
|||
//============================================================================
|
||||
|
||||
#include "Console.hxx"
|
||||
#include "Cart.hxx"
|
||||
#include "OSystem.hxx"
|
||||
#include "BankRomCheat.hxx"
|
||||
|
||||
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||
|
|
|
@ -20,8 +20,9 @@
|
|||
#ifndef CHEAT_HXX
|
||||
#define CHEAT_HXX
|
||||
|
||||
class OSystem;
|
||||
|
||||
#include "StringList.hxx"
|
||||
#include "OSystem.hxx"
|
||||
#include "bspf.hxx"
|
||||
|
||||
class Cheat
|
||||
|
|
|
@ -24,6 +24,7 @@
|
|||
|
||||
#include "bspf.hxx"
|
||||
|
||||
#include "Cheat.hxx"
|
||||
#include "CheatManager.hxx"
|
||||
#include "CheckListWidget.hxx"
|
||||
#include "DialogContainer.hxx"
|
||||
|
|
|
@ -25,19 +25,16 @@
|
|||
|
||||
class DialogContainer;
|
||||
class CommandSender;
|
||||
class Widget;
|
||||
class ButtonWidget;
|
||||
class StaticTextWidget;
|
||||
class CheckListWidget;
|
||||
class EditTextWidget;
|
||||
class InputTextDialog;
|
||||
class OptionsDialog;
|
||||
class OSystem;
|
||||
|
||||
#include "OSystem.hxx"
|
||||
#include "Dialog.hxx"
|
||||
#include "Widget.hxx"
|
||||
#include "CheatManager.hxx"
|
||||
#include "EditTextWidget.hxx"
|
||||
#include "Props.hxx"
|
||||
#include "bspf.hxx"
|
||||
|
||||
class CheatCodeDialog : public Dialog
|
||||
{
|
||||
|
|
|
@ -17,6 +17,7 @@
|
|||
// $Id$
|
||||
//============================================================================
|
||||
|
||||
#include <fstream>
|
||||
#include <sstream>
|
||||
|
||||
#include "OSystem.hxx"
|
||||
|
|
|
@ -22,12 +22,12 @@
|
|||
|
||||
#include <map>
|
||||
|
||||
#include "OSystem.hxx"
|
||||
class Cheat;
|
||||
class OSystem;
|
||||
|
||||
#include "bspf.hxx"
|
||||
#include "Array.hxx"
|
||||
|
||||
#include "Cheat.hxx"
|
||||
|
||||
typedef Common::Array<Cheat*> CheatList;
|
||||
typedef map<string,string> CheatCodeMap;
|
||||
|
||||
|
|
|
@ -18,6 +18,8 @@
|
|||
//============================================================================
|
||||
|
||||
#include "Console.hxx"
|
||||
#include "Cart.hxx"
|
||||
#include "OSystem.hxx"
|
||||
#include "CheetahCheat.hxx"
|
||||
|
||||
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||
|
|
|
@ -19,6 +19,7 @@
|
|||
|
||||
#include "Console.hxx"
|
||||
#include "System.hxx"
|
||||
#include "OSystem.hxx"
|
||||
#include "CheatManager.hxx"
|
||||
|
||||
#include "RamCheat.hxx"
|
||||
|
|
|
@ -23,6 +23,7 @@
|
|||
#include <SDL_syswm.h>
|
||||
#include <sstream>
|
||||
#include <time.h>
|
||||
#include <fstream>
|
||||
|
||||
#include "bspf.hxx"
|
||||
|
||||
|
|
|
@ -20,6 +20,7 @@
|
|||
#include <fstream>
|
||||
#include <cmath>
|
||||
|
||||
#include "FrameBuffer.hxx"
|
||||
#include "bspf.hxx"
|
||||
#include "PNGLibrary.hxx"
|
||||
|
||||
|
|
|
@ -22,9 +22,10 @@
|
|||
|
||||
#include <png.h>
|
||||
|
||||
class FrameBuffer;
|
||||
class FBSurface;
|
||||
|
||||
#include "bspf.hxx"
|
||||
#include "FrameBuffer.hxx"
|
||||
#include "StringList.hxx"
|
||||
|
||||
/**
|
||||
This class implements a thin wrapper around the libpng library, and
|
||||
|
|
|
@ -20,8 +20,11 @@
|
|||
#include "bspf.hxx"
|
||||
#include "Array.hxx"
|
||||
#include "System.hxx"
|
||||
#include "FSNode.hxx"
|
||||
#include "DiStella.hxx"
|
||||
#include "Debugger.hxx"
|
||||
#include "CpuDebug.hxx"
|
||||
#include "OSystem.hxx"
|
||||
#include "Settings.hxx"
|
||||
#include "CartDebug.hxx"
|
||||
|
||||
|
|
|
@ -21,7 +21,6 @@
|
|||
#define CART_DEBUG_HXX
|
||||
|
||||
class Settings;
|
||||
class System;
|
||||
|
||||
#include <map>
|
||||
#include <set>
|
||||
|
@ -30,10 +29,11 @@ class System;
|
|||
#include "bspf.hxx"
|
||||
#include "Array.hxx"
|
||||
#include "Cart.hxx"
|
||||
#include "StringList.hxx"
|
||||
#include "DebuggerSystem.hxx"
|
||||
#include "System.hxx"
|
||||
|
||||
// pointer types for CartDebug instance methods
|
||||
class CartDebug;
|
||||
typedef int (CartDebug::*CARTDEBUG_INT_METHOD)();
|
||||
|
||||
// call the pointed-to method on the (global) CPU debugger object.
|
||||
|
|
|
@ -21,6 +21,7 @@
|
|||
|
||||
#include "Array.hxx"
|
||||
#include "M6502.hxx"
|
||||
#include "Debugger.hxx"
|
||||
#include "CartDebug.hxx"
|
||||
#include "TIADebug.hxx"
|
||||
|
||||
|
|
|
@ -23,6 +23,7 @@
|
|||
class EquateList;
|
||||
|
||||
#include "Array.hxx"
|
||||
#include "M6502.hxx"
|
||||
#include "System.hxx"
|
||||
#include "DebuggerSystem.hxx"
|
||||
|
||||
|
|
|
@ -37,6 +37,7 @@
|
|||
#include "System.hxx"
|
||||
#include "M6502.hxx"
|
||||
#include "Cart.hxx"
|
||||
#include "TIA.hxx"
|
||||
|
||||
#include "CartDebug.hxx"
|
||||
#include "CpuDebug.hxx"
|
||||
|
@ -50,7 +51,7 @@
|
|||
|
||||
#include "RomWidget.hxx"
|
||||
#include "Expression.hxx"
|
||||
|
||||
#include "PackedBitArray.hxx"
|
||||
#include "YaccParser.hxx"
|
||||
|
||||
#include "Debugger.hxx"
|
||||
|
|
|
@ -22,11 +22,11 @@
|
|||
|
||||
class OSystem;
|
||||
class Console;
|
||||
class System;
|
||||
class CartDebug;
|
||||
class CpuDebug;
|
||||
class RiotDebug;
|
||||
class TIADebug;
|
||||
class M6502;
|
||||
class TiaInfoWidget;
|
||||
class TiaOutputWidget;
|
||||
class TiaZoomWidget;
|
||||
|
@ -34,15 +34,16 @@ class EditTextWidget;
|
|||
class RomWidget;
|
||||
class Expression;
|
||||
class Serializer;
|
||||
class PackedBitArray;
|
||||
class PromptWidget;
|
||||
class ButtonWidget;
|
||||
|
||||
#include <map>
|
||||
|
||||
#include "Array.hxx"
|
||||
#include "DialogContainer.hxx"
|
||||
#include "M6502.hxx"
|
||||
#include "DebuggerParser.hxx"
|
||||
#include "PackedBitArray.hxx"
|
||||
#include "PromptWidget.hxx"
|
||||
#include "System.hxx"
|
||||
#include "Rect.hxx"
|
||||
#include "Stack.hxx"
|
||||
#include "bspf.hxx"
|
||||
|
|
|
@ -31,10 +31,13 @@
|
|||
#include "M6502.hxx"
|
||||
#include "Expression.hxx"
|
||||
#include "FSNode.hxx"
|
||||
#include "PromptWidget.hxx"
|
||||
#include "RomWidget.hxx"
|
||||
#include "ProgressDialog.hxx"
|
||||
#include "PackedBitArray.hxx"
|
||||
|
||||
#ifdef CHEATCODE_SUPPORT
|
||||
#include "Cheat.hxx"
|
||||
#include "CheatManager.hxx"
|
||||
#endif
|
||||
|
||||
|
|
|
@ -23,12 +23,12 @@
|
|||
#include <sstream>
|
||||
|
||||
class Debugger;
|
||||
class FilesystemNode;
|
||||
struct Command;
|
||||
|
||||
#include "bspf.hxx"
|
||||
#include "Array.hxx"
|
||||
#include "FrameBuffer.hxx"
|
||||
#include "FSNode.hxx"
|
||||
|
||||
typedef enum {
|
||||
kBASE_16,
|
||||
|
|
|
@ -20,7 +20,8 @@
|
|||
#ifndef DEBUGGER_SYSTEM_HXX
|
||||
#define DEBUGGER_SYSTEM_HXX
|
||||
|
||||
#include "Debugger.hxx"
|
||||
class Debugger;
|
||||
|
||||
#include "Console.hxx"
|
||||
|
||||
/**
|
||||
|
|
|
@ -25,8 +25,8 @@
|
|||
|
||||
#include "Array.hxx"
|
||||
#include "bspf.hxx"
|
||||
|
||||
#include "CartDebug.hxx"
|
||||
#include "DebuggerParser.hxx"
|
||||
|
||||
/**
|
||||
This class is a wrapper around the Distella code. Much of the code remains
|
||||
|
|
|
@ -20,6 +20,7 @@
|
|||
#include <sstream>
|
||||
|
||||
#include "System.hxx"
|
||||
#include "M6532.hxx"
|
||||
#include "Debugger.hxx"
|
||||
#include "Switches.hxx"
|
||||
|
||||
|
|
|
@ -19,6 +19,7 @@
|
|||
|
||||
#include "System.hxx"
|
||||
#include "Debugger.hxx"
|
||||
#include "TIA.hxx"
|
||||
|
||||
#include "TIADebug.hxx"
|
||||
|
||||
|
|
|
@ -22,13 +22,14 @@
|
|||
|
||||
class Debugger;
|
||||
class TiaDebug;
|
||||
class TIA;
|
||||
|
||||
#include "Array.hxx"
|
||||
#include "DebuggerSystem.hxx"
|
||||
#include "TIA.hxx"
|
||||
|
||||
// pointer types for TIADebug instance methods
|
||||
// (used by TiaMethodExpression)
|
||||
class TIADebug;
|
||||
typedef int (TIADebug::*TIADEBUG_INT_METHOD)();
|
||||
|
||||
// call the pointed-to method on the (global) debugger object.
|
||||
|
|
|
@ -29,8 +29,6 @@ class GuiObject;
|
|||
#include "Widget.hxx"
|
||||
#include "Command.hxx"
|
||||
|
||||
#include "bspf.hxx"
|
||||
|
||||
/**
|
||||
Displays a color from the TIA palette. This class will eventually
|
||||
be expanded with a TIA palette table, to set the color visually.
|
||||
|
|
|
@ -25,14 +25,13 @@
|
|||
|
||||
class GuiObject;
|
||||
class ButtonWidget;
|
||||
class DataGridWidget;
|
||||
class DataGridOpsWidget;
|
||||
class EditTextWidget;
|
||||
class ToggleBitWidget;
|
||||
|
||||
#include "Array.hxx"
|
||||
#include "Widget.hxx"
|
||||
#include "Command.hxx"
|
||||
#include "DataGridWidget.hxx"
|
||||
|
||||
|
||||
class CpuWidget : public Widget, public CommandSender
|
||||
{
|
||||
|
|
|
@ -23,7 +23,6 @@
|
|||
#ifndef DATA_GRID_OPS_WIDGET_HXX
|
||||
#define DATA_GRID_OPS_WIDGET_HXX
|
||||
|
||||
#include "GuiObject.hxx"
|
||||
#include "Widget.hxx"
|
||||
#include "Command.hxx"
|
||||
|
||||
|
|
|
@ -26,7 +26,9 @@
|
|||
#include "Debugger.hxx"
|
||||
#include "FrameBuffer.hxx"
|
||||
#include "DataGridWidget.hxx"
|
||||
#include "DataGridOpsWidget.hxx"
|
||||
#include "RamWidget.hxx"
|
||||
#include "ScrollBarWidget.hxx"
|
||||
|
||||
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||
DataGridWidget::DataGridWidget(GuiObject* boss, const GUI::Font& font,
|
||||
|
@ -593,6 +595,12 @@ GUI::Rect DataGridWidget::getEditRect() const
|
|||
return r;
|
||||
}
|
||||
|
||||
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||
int DataGridWidget::getWidth() const
|
||||
{
|
||||
return _w + (_scrollBar ? kScrollBarWidth : 0);
|
||||
}
|
||||
|
||||
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||
void DataGridWidget::startEditMode()
|
||||
{
|
||||
|
|
|
@ -23,16 +23,15 @@
|
|||
#ifndef DATA_GRID_WIDGET_HXX
|
||||
#define DATA_GRID_WIDGET_HXX
|
||||
|
||||
#include "GuiObject.hxx"
|
||||
class DataGridOpsWidget;
|
||||
class ScrollBarWidget;
|
||||
|
||||
#include "Widget.hxx"
|
||||
#include "Command.hxx"
|
||||
#include "Debugger.hxx"
|
||||
#include "StringList.hxx"
|
||||
#include "EditableWidget.hxx"
|
||||
#include "Array.hxx"
|
||||
#include "Rect.hxx"
|
||||
#include "DataGridOpsWidget.hxx"
|
||||
#include "ScrollBarWidget.hxx"
|
||||
|
||||
// Some special commands
|
||||
enum {
|
||||
|
@ -82,7 +81,7 @@ class DataGridWidget : public EditableWidget
|
|||
virtual bool wantsFocus() { return true; }
|
||||
|
||||
// Account for the extra width of embedded scrollbar
|
||||
virtual int getWidth() const { return _w + (_scrollBar ? kScrollBarWidth : 0); }
|
||||
virtual int getWidth() const;
|
||||
|
||||
void startEditMode();
|
||||
void endEditMode();
|
||||
|
|
|
@ -28,6 +28,7 @@ class OSystem;
|
|||
class DialogContainer;
|
||||
class ButtonWidget;
|
||||
class CpuWidget;
|
||||
class PromptWidget;
|
||||
class RamWidget;
|
||||
class RomWidget;
|
||||
class TabWidget;
|
||||
|
@ -37,7 +38,6 @@ class TiaOutputWidget;
|
|||
class TiaZoomWidget;
|
||||
|
||||
#include "Dialog.hxx"
|
||||
#include "PromptWidget.hxx"
|
||||
|
||||
class DebuggerDialog : public Dialog
|
||||
{
|
||||
|
|
|
@ -512,6 +512,12 @@ void PromptWidget::loadConfig()
|
|||
}
|
||||
}
|
||||
|
||||
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||
int PromptWidget::getWidth() const
|
||||
{
|
||||
return _w + kScrollBarWidth;
|
||||
}
|
||||
|
||||
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||
void PromptWidget::specialKeys(int keycode)
|
||||
{
|
||||
|
|
|
@ -25,10 +25,10 @@
|
|||
|
||||
#include <stdarg.h>
|
||||
|
||||
#include "GuiObject.hxx"
|
||||
class ScrollBarWidget;
|
||||
|
||||
#include "Widget.hxx"
|
||||
#include "Command.hxx"
|
||||
#include "ScrollBarWidget.hxx"
|
||||
#include "bspf.hxx"
|
||||
|
||||
class PromptWidget : public Widget, public CommandSender
|
||||
|
@ -77,7 +77,7 @@ class PromptWidget : public Widget, public CommandSender
|
|||
void handleCommand(CommandSender* sender, int cmd, int data, int id);
|
||||
|
||||
// Account for the extra width of embedded scrollbar
|
||||
virtual int getWidth() const { return _w + kScrollBarWidth; }
|
||||
virtual int getWidth() const;
|
||||
|
||||
virtual bool wantsFocus() { return true; }
|
||||
|
||||
|
|
|
@ -252,6 +252,12 @@ void RamWidget::handleCommand(CommandSender* sender, int cmd, int data, int id)
|
|||
}
|
||||
}
|
||||
|
||||
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||
void RamWidget::setOpsWidget(DataGridOpsWidget* w)
|
||||
{
|
||||
myRamGrid->setOpsWidget(w);
|
||||
}
|
||||
|
||||
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||
void RamWidget::loadConfig()
|
||||
{
|
||||
|
|
|
@ -26,14 +26,13 @@
|
|||
class GuiObject;
|
||||
class InputTextDialog;
|
||||
class ButtonWidget;
|
||||
class DataGridOpsWidget;
|
||||
class EditTextWidget;
|
||||
class StaticTextWidget;
|
||||
|
||||
#include "Array.hxx"
|
||||
#include "Widget.hxx"
|
||||
#include "Command.hxx"
|
||||
#include "DataGridWidget.hxx"
|
||||
|
||||
|
||||
class RamWidget : public Widget, public CommandSender
|
||||
{
|
||||
|
@ -44,7 +43,7 @@ class RamWidget : public Widget, public CommandSender
|
|||
void handleCommand(CommandSender* sender, int cmd, int data, int id);
|
||||
|
||||
void loadConfig();
|
||||
void setOpsWidget(DataGridOpsWidget* w) { myRamGrid->setOpsWidget(w); }
|
||||
void setOpsWidget(DataGridOpsWidget* w);
|
||||
|
||||
private:
|
||||
void fillGrid(bool updateOld);
|
||||
|
|
|
@ -30,7 +30,6 @@ class PopUpWidget;
|
|||
class ToggleBitWidget;
|
||||
|
||||
#include "Array.hxx"
|
||||
#include "Widget.hxx"
|
||||
#include "Command.hxx"
|
||||
|
||||
class RiotWidget : public Widget, public CommandSender
|
||||
|
|
|
@ -23,6 +23,7 @@
|
|||
#include "bspf.hxx"
|
||||
#include "Debugger.hxx"
|
||||
#include "ContextMenu.hxx"
|
||||
#include "PackedBitArray.hxx"
|
||||
#include "Widget.hxx"
|
||||
#include "ScrollBarWidget.hxx"
|
||||
#include "RomListWidget.hxx"
|
||||
|
|
|
@ -26,10 +26,9 @@
|
|||
class ContextMenu;
|
||||
class ScrollBarWidget;
|
||||
class PackedBitArray;
|
||||
class CheckListWidget;
|
||||
|
||||
#include "Array.hxx"
|
||||
#include "StringList.hxx"
|
||||
#include "CheckListWidget.hxx"
|
||||
#include "CartDebug.hxx"
|
||||
#include "EditableWidget.hxx"
|
||||
|
||||
|
|
|
@ -43,7 +43,7 @@ class RomWidget : public Widget, public CommandSender
|
|||
virtual ~RomWidget();
|
||||
|
||||
void invalidate(bool forcereload = true)
|
||||
{ myListIsDirty = true; if(forcereload) loadConfig(); }
|
||||
{ myListIsDirty = true; if(forcereload) loadConfig(); }
|
||||
|
||||
void scrollTo(int line) { myRomList->setSelected(line); }
|
||||
void handleCommand(CommandSender* sender, int cmd, int data, int id);
|
||||
|
|
|
@ -31,6 +31,7 @@
|
|||
#include "Debugger.hxx"
|
||||
#include "DebuggerParser.hxx"
|
||||
#include "TIADebug.hxx"
|
||||
#include "TIA.hxx"
|
||||
|
||||
#include "TiaOutputWidget.hxx"
|
||||
|
||||
|
|
|
@ -22,6 +22,7 @@
|
|||
|
||||
#include "OSystem.hxx"
|
||||
#include "Console.hxx"
|
||||
#include "TIA.hxx"
|
||||
#include "FrameBuffer.hxx"
|
||||
#include "Widget.hxx"
|
||||
#include "GuiObject.hxx"
|
||||
|
|
|
@ -23,7 +23,6 @@
|
|||
#ifndef TOGGLE_PIXEL_WIDGET_HXX
|
||||
#define TOGGLE_PIXEL_WIDGET_HXX
|
||||
|
||||
#include "FrameBuffer.hxx"
|
||||
#include "ToggleWidget.hxx"
|
||||
|
||||
/* TogglePixelWidget */
|
||||
|
|
|
@ -23,7 +23,6 @@
|
|||
#ifndef TOGGLE_WIDGET_HXX
|
||||
#define TOGGLE_WIDGET_HXX
|
||||
|
||||
#include "GuiObject.hxx"
|
||||
#include "Widget.hxx"
|
||||
#include "Command.hxx"
|
||||
#include "Array.hxx"
|
||||
|
|
|
@ -20,7 +20,6 @@
|
|||
#ifndef BOOSTERGRIP_HXX
|
||||
#define BOOSTERGRIP_HXX
|
||||
|
||||
#include "bspf.hxx"
|
||||
#include "Control.hxx"
|
||||
#include "Event.hxx"
|
||||
|
||||
|
|
|
@ -25,7 +25,6 @@ class System;
|
|||
|
||||
#include "bspf.hxx"
|
||||
#include "Cart.hxx"
|
||||
#include "Settings.hxx"
|
||||
|
||||
/**
|
||||
This is the cartridge class for Arcadia (aka Starpath) Supercharger
|
||||
|
|
|
@ -25,8 +25,8 @@
|
|||
#include "AtariVox.hxx"
|
||||
#include "Booster.hxx"
|
||||
#include "Cart.hxx"
|
||||
#include "Console.hxx"
|
||||
#include "Control.hxx"
|
||||
#include "Cart.hxx"
|
||||
#include "Driving.hxx"
|
||||
#include "Event.hxx"
|
||||
#include "EventHandler.hxx"
|
||||
|
@ -61,6 +61,8 @@
|
|||
#include "CheatManager.hxx"
|
||||
#endif
|
||||
|
||||
#include "Console.hxx"
|
||||
|
||||
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||
Console::Console(OSystem* osystem, Cartridge* cart, const Properties& props)
|
||||
: myOSystem(osystem),
|
||||
|
|
|
@ -25,15 +25,14 @@ class Event;
|
|||
class Switches;
|
||||
class System;
|
||||
class TIA;
|
||||
class M6532;
|
||||
class Cartridge;
|
||||
|
||||
#include "bspf.hxx"
|
||||
#include "Control.hxx"
|
||||
#include "Props.hxx"
|
||||
#include "TIA.hxx"
|
||||
#include "Cart.hxx"
|
||||
#include "TIATables.hxx"
|
||||
#include "FrameBuffer.hxx"
|
||||
#include "M6532.hxx"
|
||||
#include "AtariVox.hxx"
|
||||
#include "Serializable.hxx"
|
||||
|
||||
/**
|
||||
|
@ -87,7 +86,7 @@ class Console : public Serializable
|
|||
|
||||
@return The specified controller
|
||||
*/
|
||||
Controller& controller(Controller::Jack jack) const
|
||||
inline Controller& controller(Controller::Jack jack) const
|
||||
{
|
||||
return (jack == Controller::Left) ? *myControllers[0] : *myControllers[1];
|
||||
}
|
||||
|
|
|
@ -45,6 +45,7 @@
|
|||
#include "EventHandler.hxx"
|
||||
|
||||
#ifdef CHEATCODE_SUPPORT
|
||||
#include "Cheat.hxx"
|
||||
#include "CheatManager.hxx"
|
||||
#endif
|
||||
#ifdef DEBUGGER_SUPPORT
|
||||
|
|
|
@ -26,14 +26,13 @@ class Console;
|
|||
class OSystem;
|
||||
class DialogContainer;
|
||||
class EventMappingWidget;
|
||||
class StringMap;
|
||||
class StringList;
|
||||
|
||||
#include "Array.hxx"
|
||||
#include "Event.hxx"
|
||||
#include "Control.hxx"
|
||||
#include "StringList.hxx"
|
||||
#include "bspf.hxx"
|
||||
|
||||
|
||||
enum MouseButton {
|
||||
EVENT_LBUTTONDOWN,
|
||||
EVENT_LBUTTONUP,
|
||||
|
|
|
@ -26,6 +26,7 @@
|
|||
class FBSurface;
|
||||
class OSystem;
|
||||
class Console;
|
||||
class Settings;
|
||||
|
||||
namespace GUI {
|
||||
class Font;
|
||||
|
@ -33,8 +34,8 @@ namespace GUI {
|
|||
}
|
||||
|
||||
#include "EventHandler.hxx"
|
||||
#include "Settings.hxx"
|
||||
#include "Rect.hxx"
|
||||
#include "StringList.hxx"
|
||||
#include "bspf.hxx"
|
||||
|
||||
// Different types of framebuffer derived objects
|
||||
|
|
|
@ -24,6 +24,7 @@
|
|||
#include "Debugger.hxx"
|
||||
#include "Expression.hxx"
|
||||
#include "CartDebug.hxx"
|
||||
#include "PackedBitArray.hxx"
|
||||
|
||||
// Flags for disassembly types
|
||||
#define DISASM_SKIP CartDebug::SKIP
|
||||
|
|
|
@ -30,6 +30,7 @@
|
|||
#include "bspf.hxx"
|
||||
|
||||
#include "MediaFactory.hxx"
|
||||
#include "Sound.hxx"
|
||||
|
||||
#ifdef DEBUGGER_SUPPORT
|
||||
#include "Debugger.hxx"
|
||||
|
@ -51,6 +52,7 @@
|
|||
#include "FSNode.hxx"
|
||||
#include "unzip.h"
|
||||
#include "MD5.hxx"
|
||||
#include "Cart.hxx"
|
||||
#include "Settings.hxx"
|
||||
#include "PropsSet.hxx"
|
||||
#include "EventHandler.hxx"
|
||||
|
|
|
@ -40,7 +40,6 @@ namespace GUI {
|
|||
}
|
||||
|
||||
#include "Array.hxx"
|
||||
#include "EventHandler.hxx"
|
||||
#include "FrameBuffer.hxx"
|
||||
#include "bspf.hxx"
|
||||
|
||||
|
|
|
@ -22,6 +22,7 @@
|
|||
#include "OSystem.hxx"
|
||||
#include "Settings.hxx"
|
||||
#include "Console.hxx"
|
||||
#include "Cart.hxx"
|
||||
#include "Control.hxx"
|
||||
#include "Switches.hxx"
|
||||
#include "System.hxx"
|
||||
|
|
|
@ -22,9 +22,9 @@
|
|||
|
||||
class Console;
|
||||
class Settings;
|
||||
class Sound;
|
||||
|
||||
#include "bspf.hxx"
|
||||
#include "Sound.hxx"
|
||||
#include "Device.hxx"
|
||||
#include "System.hxx"
|
||||
#include "TIATables.hxx"
|
||||
|
|
|
@ -30,8 +30,8 @@ class PopUpWidget;
|
|||
class SliderWidget;
|
||||
class StaticTextWidget;
|
||||
class CheckboxWidget;
|
||||
class OSystem;
|
||||
|
||||
#include "OSystem.hxx"
|
||||
#include "bspf.hxx"
|
||||
|
||||
class AudioDialog : public Dialog
|
||||
|
|
|
@ -23,6 +23,7 @@
|
|||
|
||||
#include "Control.hxx"
|
||||
#include "Dialog.hxx"
|
||||
#include "DialogContainer.hxx"
|
||||
#include "EventHandler.hxx"
|
||||
#include "OSystem.hxx"
|
||||
#include "EditTextWidget.hxx"
|
||||
|
|
|
@ -23,10 +23,10 @@
|
|||
class PopUpWidget;
|
||||
class EditTextWidget;
|
||||
class StaticTextWidget;
|
||||
class StringMap;
|
||||
class OSystem;
|
||||
|
||||
#include "Dialog.hxx"
|
||||
#include "DialogContainer.hxx"
|
||||
#include "OSystem.hxx"
|
||||
#include "bspf.hxx"
|
||||
|
||||
class ComboDialog : public Dialog
|
||||
|
|
|
@ -21,6 +21,7 @@
|
|||
//============================================================================
|
||||
|
||||
#include "Console.hxx"
|
||||
#include "TIA.hxx"
|
||||
#include "Switches.hxx"
|
||||
#include "DialogContainer.hxx"
|
||||
#include "Dialog.hxx"
|
||||
|
|
|
@ -26,8 +26,8 @@
|
|||
class Properties;
|
||||
class CommandSender;
|
||||
class DialogContainer;
|
||||
class OSystem;
|
||||
|
||||
#include "OSystem.hxx"
|
||||
#include "Dialog.hxx"
|
||||
|
||||
class CommandDialog : public Dialog
|
||||
|
|
|
@ -24,8 +24,6 @@
|
|||
#define CONTEXT_MENU_HXX
|
||||
|
||||
#include "bspf.hxx"
|
||||
|
||||
#include "Array.hxx"
|
||||
#include "Command.hxx"
|
||||
#include "Dialog.hxx"
|
||||
|
||||
|
|
|
@ -35,7 +35,6 @@ class StaticTextWidget;
|
|||
|
||||
#include "Dialog.hxx"
|
||||
#include "Command.hxx"
|
||||
#include "FSNode.hxx"
|
||||
|
||||
class FileSnapDialog : public Dialog, public CommandSender
|
||||
{
|
||||
|
|
|
@ -31,11 +31,9 @@ class StaticTextWidget;
|
|||
class TabWidget;
|
||||
class SliderWidget;
|
||||
|
||||
#include "Array.hxx"
|
||||
#include "Dialog.hxx"
|
||||
#include "Command.hxx"
|
||||
#include "Props.hxx"
|
||||
#include "StringList.hxx"
|
||||
|
||||
class GameInfoDialog : public Dialog, public CommandSender
|
||||
{
|
||||
|
|
|
@ -27,8 +27,8 @@ class CommandSender;
|
|||
class DialogContainer;
|
||||
class CheckboxWidget;
|
||||
class PopUpWidget;
|
||||
class OSystem;
|
||||
|
||||
#include "OSystem.hxx"
|
||||
#include "Dialog.hxx"
|
||||
#include "bspf.hxx"
|
||||
|
||||
|
|
|
@ -27,9 +27,9 @@ class DialogContainer;
|
|||
class CommandSender;
|
||||
class ButtonWidget;
|
||||
class StaticTextWidget;
|
||||
class OSystem;
|
||||
|
||||
#include "OSystem.hxx"
|
||||
#include "Props.hxx"
|
||||
#include "Dialog.hxx"
|
||||
#include "bspf.hxx"
|
||||
|
||||
class HelpDialog : public Dialog
|
||||
|
|
|
@ -27,11 +27,11 @@ class CommandSender;
|
|||
class DialogContainer;
|
||||
class CheckboxWidget;
|
||||
class PopUpWidget;
|
||||
class OSystem;
|
||||
class StringList;
|
||||
|
||||
#include "OSystem.hxx"
|
||||
#include "Dialog.hxx"
|
||||
#include "Settings.hxx"
|
||||
#include "StringList.hxx"
|
||||
#include "bspf.hxx"
|
||||
|
||||
class LauncherFilterDialog : public Dialog, public CommandSender
|
||||
|
|
|
@ -23,14 +23,15 @@
|
|||
#ifndef LIST_WIDGET_HXX
|
||||
#define LIST_WIDGET_HXX
|
||||
|
||||
#include "GuiObject.hxx"
|
||||
class GuiObject;
|
||||
class StringList;
|
||||
|
||||
#include "Widget.hxx"
|
||||
#include "Command.hxx"
|
||||
#include "EditableWidget.hxx"
|
||||
#include "ScrollBarWidget.hxx"
|
||||
#include "Rect.hxx"
|
||||
|
||||
class StringList;
|
||||
|
||||
// Some special commands
|
||||
enum {
|
||||
|
|
|
@ -23,10 +23,10 @@
|
|||
#ifndef PROGRESS_DIALOG_HXX
|
||||
#define PROGRESS_DIALOG_HXX
|
||||
|
||||
class GuiObject;
|
||||
class StaticTextWidget;
|
||||
class SliderWidget;
|
||||
|
||||
#include "GuiObject.hxx"
|
||||
#include "bspf.hxx"
|
||||
|
||||
class ProgressDialog : public Dialog
|
||||
|
|
|
@ -23,7 +23,8 @@
|
|||
#ifndef SCROLL_BAR_WIDGET_HXX
|
||||
#define SCROLL_BAR_WIDGET_HXX
|
||||
|
||||
#include "GuiObject.hxx"
|
||||
class GuiObject;
|
||||
|
||||
#include "Widget.hxx"
|
||||
#include "Command.hxx"
|
||||
#include "bspf.hxx"
|
||||
|
|
|
@ -31,8 +31,8 @@ class PopUpWidget;
|
|||
class SliderWidget;
|
||||
class StaticTextWidget;
|
||||
class TabWidget;
|
||||
class OSystem;
|
||||
|
||||
#include "OSystem.hxx"
|
||||
#include "bspf.hxx"
|
||||
|
||||
class UIDialog : public Dialog
|
||||
|
|
|
@ -31,6 +31,7 @@
|
|||
#include "EditTextWidget.hxx"
|
||||
#include "PopUpWidget.hxx"
|
||||
#include "Console.hxx"
|
||||
#include "TIA.hxx"
|
||||
#include "Settings.hxx"
|
||||
#include "StringList.hxx"
|
||||
#include "Widget.hxx"
|
||||
|
|
|
@ -31,8 +31,8 @@ class PopUpWidget;
|
|||
class SliderWidget;
|
||||
class StaticTextWidget;
|
||||
class TabWidget;
|
||||
class OSystem;
|
||||
|
||||
#include "OSystem.hxx"
|
||||
#include "Dialog.hxx"
|
||||
#include "bspf.hxx"
|
||||
|
||||
|
|
|
@ -25,7 +25,7 @@
|
|||
#ifndef WIDGET_HXX
|
||||
#define WIDGET_HXX
|
||||
|
||||
#include <assert.h>
|
||||
#include <cassert>
|
||||
|
||||
#include "bspf.hxx"
|
||||
|
||||
|
|
|
@ -21,6 +21,7 @@
|
|||
#define OSYSTEM_MACOSX_HXX
|
||||
|
||||
#include "bspf.hxx"
|
||||
#include "OSystem.hxx"
|
||||
|
||||
|
||||
/**
|
||||
|
|
|
@ -1,59 +1,61 @@
|
|||
//============================================================================
|
||||
//
|
||||
// SSSS tt lll lll
|
||||
// SS SS tt ll ll
|
||||
// SS tttttt eeee ll ll aaaa
|
||||
// SSSS tt ee ee ll ll aa
|
||||
// SS tt eeeeee ll ll aaaaa -- "An Atari 2600 VCS Emulator"
|
||||
// SS SS tt ee ll ll aa aa
|
||||
// SSSS ttt eeeee llll llll aaaaa
|
||||
//
|
||||
// Copyright (c) 1995-2010 by Bradford W. Mott, Stephen Anthony
|
||||
//============================================================================
|
||||
//
|
||||
// SSSS tt lll lll
|
||||
// SS SS tt ll ll
|
||||
// SS tttttt eeee ll ll aaaa
|
||||
// SSSS tt ee ee ll ll aa
|
||||
// SS tt eeeeee ll ll aaaaa -- "An Atari 2600 VCS Emulator"
|
||||
// SS SS tt ee ll ll aa aa
|
||||
// SSSS ttt eeeee llll llll aaaaa
|
||||
//
|
||||
// Copyright (c) 1995-2010 by Bradford W. Mott, Stephen Anthony
|
||||
// and the Stella Team
|
||||
//
|
||||
// See the file "License.txt" for information on usage and redistribution of
|
||||
// this file, and for a DISCLAIMER OF ALL WARRANTIES.
|
||||
//
|
||||
// $Id$
|
||||
//============================================================================
|
||||
|
||||
#ifndef SETTINGS_MAC_OSX_HXX
|
||||
#define SETTINGS_MAX_OSX_HXX
|
||||
|
||||
class OSystem;
|
||||
|
||||
/**
|
||||
This class defines Macintosh OSX system specific settings.
|
||||
|
||||
@author Mark Grebe
|
||||
@version $Id$
|
||||
*/
|
||||
class SettingsMACOSX : public Settings
|
||||
{
|
||||
public:
|
||||
/**
|
||||
Create a new UNIX settings object
|
||||
*/
|
||||
SettingsMACOSX(OSystem* osystem);
|
||||
|
||||
/**
|
||||
Destructor
|
||||
*/
|
||||
virtual ~SettingsMACOSX();
|
||||
|
||||
public:
|
||||
|
||||
/**
|
||||
This method should be called to load the current settings from the
|
||||
standard Mac preferences.
|
||||
*/
|
||||
void loadConfig();
|
||||
|
||||
/**
|
||||
This method should be called to save the current settings to the
|
||||
standard Mac preferences.
|
||||
*/
|
||||
void saveConfig();
|
||||
};
|
||||
|
||||
#endif
|
||||
//
|
||||
// See the file "License.txt" for information on usage and redistribution of
|
||||
// this file, and for a DISCLAIMER OF ALL WARRANTIES.
|
||||
//
|
||||
// $Id$
|
||||
//============================================================================
|
||||
|
||||
#ifndef SETTINGS_MAC_OSX_HXX
|
||||
#define SETTINGS_MAX_OSX_HXX
|
||||
|
||||
class OSystem;
|
||||
|
||||
#include "Settings.hxx"
|
||||
|
||||
/**
|
||||
This class defines Macintosh OSX system specific settings.
|
||||
|
||||
@author Mark Grebe
|
||||
@version $Id$
|
||||
*/
|
||||
class SettingsMACOSX : public Settings
|
||||
{
|
||||
public:
|
||||
/**
|
||||
Create a new UNIX settings object
|
||||
*/
|
||||
SettingsMACOSX(OSystem* osystem);
|
||||
|
||||
/**
|
||||
Destructor
|
||||
*/
|
||||
virtual ~SettingsMACOSX();
|
||||
|
||||
public:
|
||||
|
||||
/**
|
||||
This method should be called to load the current settings from the
|
||||
standard Mac preferences.
|
||||
*/
|
||||
void loadConfig();
|
||||
|
||||
/**
|
||||
This method should be called to save the current settings to the
|
||||
standard Mac preferences.
|
||||
*/
|
||||
void saveConfig();
|
||||
};
|
||||
|
||||
#endif
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
#ifndef PARSER_HXX
|
||||
#define PARSER_HXX
|
||||
|
||||
#include "Expression.hxx"
|
||||
class Expression;
|
||||
|
||||
//#ifdef __cplusplus
|
||||
//extern "C" {
|
||||
|
|
Loading…
Reference in New Issue