mirror of https://github.com/stella-emu/stella.git
A few more constexpr additions, and removal of redundant comments.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@3301 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
This commit is contained in:
parent
abf4a4a44c
commit
f431e3e3a5
|
@ -44,10 +44,6 @@ class FrameBufferSDL2 : public FrameBuffer
|
|||
Creates a new SDL2 framebuffer
|
||||
*/
|
||||
FrameBufferSDL2(OSystem& osystem);
|
||||
|
||||
/**
|
||||
Destructor
|
||||
*/
|
||||
virtual ~FrameBufferSDL2();
|
||||
|
||||
//////////////////////////////////////////////////////////////////////
|
||||
|
|
|
@ -44,10 +44,6 @@ class SoundNull : public Sound
|
|||
{
|
||||
myOSystem->logMessage("Sound disabled.\n", 1);
|
||||
}
|
||||
|
||||
/**
|
||||
Destructor
|
||||
*/
|
||||
virtual ~SoundNull() = default;
|
||||
|
||||
public:
|
||||
|
|
|
@ -1,38 +0,0 @@
|
|||
/* XPM */
|
||||
static const char * stella_icon[] = {
|
||||
"32 32 3 1",
|
||||
" c None",
|
||||
". c #000000",
|
||||
"+ c #FFFFFF",
|
||||
" ",
|
||||
" ",
|
||||
" ",
|
||||
" ",
|
||||
" .............. ",
|
||||
" .............. ",
|
||||
" ..++..++..++.. ",
|
||||
" ..++..++..++.. ",
|
||||
" ..++..++..++.. ",
|
||||
" ..++..++..++.. ",
|
||||
" ..++..++..++.. ",
|
||||
" ..++..++..++.. ",
|
||||
" ..++..++..++.. ",
|
||||
" ..++..++..++.. ",
|
||||
" ....++..++..++.... ",
|
||||
" ....++..++..++.... ",
|
||||
" ....++++..++..++++.... ",
|
||||
" ....++++..++..++++.... ",
|
||||
" ..++++....++....++++.. ",
|
||||
" ..++++....++....++++.. ",
|
||||
" ......++......++......++...... ",
|
||||
" ......++......++......++...... ",
|
||||
" ..++++++.. ..++.. ..++++++.. ",
|
||||
" ..++++++.. ..++.. ..++++++.. ",
|
||||
" ..++++.... ..++.. ....++++.. ",
|
||||
" ..++++.... ..++.. ....++++.. ",
|
||||
" ........ ...... ........ ",
|
||||
" ........ ...... ........ ",
|
||||
" ",
|
||||
" ",
|
||||
" ",
|
||||
" "};
|
|
@ -46,10 +46,6 @@ class Cartridge0840 : public Cartridge
|
|||
@param settings A reference to the various settings (read-only)
|
||||
*/
|
||||
Cartridge0840(const uInt8* image, uInt32 size, const Settings& settings);
|
||||
|
||||
/**
|
||||
Destructor
|
||||
*/
|
||||
virtual ~Cartridge0840() = default;
|
||||
|
||||
public:
|
||||
|
|
|
@ -27,7 +27,7 @@
|
|||
|
||||
#define CHETIRY_TUNES_SIZE 7 * 4096
|
||||
|
||||
static const uInt8 CartCTYTunes[CHETIRY_TUNES_SIZE] = {
|
||||
static constexpr uInt8 CartCTYTunes[CHETIRY_TUNES_SIZE] = {
|
||||
///////////////////////////
|
||||
// Tune 1
|
||||
///////////////////////////
|
||||
|
|
|
@ -71,10 +71,6 @@ class Console : public Serializable
|
|||
*/
|
||||
Console(OSystem& osystem, unique_ptr<Cartridge>& cart,
|
||||
const Properties& props);
|
||||
|
||||
/**
|
||||
Destructor
|
||||
*/
|
||||
virtual ~Console();
|
||||
|
||||
public:
|
||||
|
|
|
@ -35,14 +35,7 @@ class System;
|
|||
class Device : public Serializable
|
||||
{
|
||||
public:
|
||||
/**
|
||||
Create a new device
|
||||
*/
|
||||
Device() : mySystem(nullptr) { }
|
||||
|
||||
/**
|
||||
Destructor
|
||||
*/
|
||||
virtual ~Device() = default;
|
||||
|
||||
public:
|
||||
|
|
|
@ -285,10 +285,6 @@ class AbstractFSNode
|
|||
// AbstractFSNode(AbstractFSNode&&) = default;
|
||||
AbstractFSNode& operator=(const AbstractFSNode&) = default;
|
||||
// AbstractFSNode& operator=(AbstractFSNode&&) = default;
|
||||
|
||||
/**
|
||||
* Destructor.
|
||||
*/
|
||||
virtual ~AbstractFSNode() { }
|
||||
|
||||
/*
|
||||
|
|
|
@ -51,10 +51,6 @@ class KidVid : public Controller
|
|||
*/
|
||||
KidVid(Jack jack, const Event& event, const System& system,
|
||||
const string& md5sum);
|
||||
|
||||
/**
|
||||
Destructor
|
||||
*/
|
||||
virtual ~KidVid();
|
||||
|
||||
public:
|
||||
|
|
|
@ -43,10 +43,6 @@ class MT24LC256
|
|||
@param system The system using the controller of this device
|
||||
*/
|
||||
MT24LC256(const string& filename, const System& system);
|
||||
|
||||
/**
|
||||
Destructor
|
||||
*/
|
||||
~MT24LC256();
|
||||
|
||||
public:
|
||||
|
|
|
@ -36,14 +36,7 @@ class System;
|
|||
class NullDevice : public Device
|
||||
{
|
||||
public:
|
||||
/**
|
||||
Create a new null device
|
||||
*/
|
||||
NullDevice() = default;
|
||||
|
||||
/**
|
||||
Destructor
|
||||
*/
|
||||
virtual ~NullDevice() = default;
|
||||
|
||||
public:
|
||||
|
|
|
@ -63,14 +63,7 @@ class OSystem
|
|||
friend class VideoDialog;
|
||||
|
||||
public:
|
||||
/**
|
||||
Create a new OSystem abstract class
|
||||
*/
|
||||
OSystem();
|
||||
|
||||
/**
|
||||
Destructor
|
||||
*/
|
||||
virtual ~OSystem();
|
||||
|
||||
/**
|
||||
|
|
|
@ -38,10 +38,6 @@ class CommandMenu : public DialogContainer
|
|||
Create a new menu stack
|
||||
*/
|
||||
CommandMenu(OSystem& osystem);
|
||||
|
||||
/**
|
||||
Destructor
|
||||
*/
|
||||
virtual ~CommandMenu() = default;
|
||||
|
||||
private:
|
||||
|
|
|
@ -49,10 +49,6 @@ class DialogContainer
|
|||
Create a new DialogContainer stack
|
||||
*/
|
||||
DialogContainer(OSystem& osystem);
|
||||
|
||||
/**
|
||||
Destructor
|
||||
*/
|
||||
virtual ~DialogContainer();
|
||||
|
||||
public:
|
||||
|
|
|
@ -40,10 +40,6 @@ class Launcher : public DialogContainer
|
|||
Create a new menu stack
|
||||
*/
|
||||
Launcher(OSystem& osystem);
|
||||
|
||||
/**
|
||||
Destructor
|
||||
*/
|
||||
virtual ~Launcher() = default;
|
||||
|
||||
/**
|
||||
|
|
|
@ -37,10 +37,6 @@ class Menu : public DialogContainer
|
|||
Create a new menu stack
|
||||
*/
|
||||
Menu(OSystem& osystem);
|
||||
|
||||
/**
|
||||
Destructor
|
||||
*/
|
||||
virtual ~Menu() = default;
|
||||
|
||||
private:
|
||||
|
|
|
@ -35,10 +35,6 @@ class OSystemMACOSX : public OSystem
|
|||
Create a new MACOSX-specific operating system object
|
||||
*/
|
||||
OSystemMACOSX();
|
||||
|
||||
/**
|
||||
Destructor
|
||||
*/
|
||||
virtual ~OSystemMACOSX() = default;
|
||||
|
||||
/**
|
||||
|
|
|
@ -37,10 +37,6 @@ class SettingsMACOSX : public Settings
|
|||
Create a new UNIX settings object
|
||||
*/
|
||||
SettingsMACOSX(OSystem& osystem);
|
||||
|
||||
/**
|
||||
Destructor
|
||||
*/
|
||||
virtual ~SettingsMACOSX() = default;
|
||||
|
||||
public:
|
||||
|
|
|
@ -35,10 +35,6 @@ class OSystemUNIX : public OSystem
|
|||
Create a new UNIX-specific operating system object
|
||||
*/
|
||||
OSystemUNIX();
|
||||
|
||||
/**
|
||||
Destructor
|
||||
*/
|
||||
virtual ~OSystemUNIX() = default;
|
||||
|
||||
private:
|
||||
|
|
|
@ -37,10 +37,6 @@ class SettingsUNIX : public Settings
|
|||
Create a new UNIX settings object
|
||||
*/
|
||||
SettingsUNIX(OSystem& osystem);
|
||||
|
||||
/**
|
||||
Destructor
|
||||
*/
|
||||
virtual ~SettingsUNIX() = default;
|
||||
|
||||
private:
|
||||
|
|
|
@ -35,10 +35,6 @@ class OSystemWINDOWS : public OSystem
|
|||
Create a new WINDOWS operating system object
|
||||
*/
|
||||
OSystemWINDOWS();
|
||||
|
||||
/**
|
||||
Destructor
|
||||
*/
|
||||
virtual ~OSystemWINDOWS() = default;
|
||||
|
||||
public:
|
||||
|
|
|
@ -31,10 +31,6 @@ class SettingsWINDOWS : public Settings
|
|||
Create a new UNIX settings object
|
||||
*/
|
||||
SettingsWINDOWS(OSystem& osystem);
|
||||
|
||||
/**
|
||||
Destructor
|
||||
*/
|
||||
virtual ~SettingsWINDOWS() = default;
|
||||
|
||||
private:
|
||||
|
|
Loading…
Reference in New Issue