mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-14 13:50:13 +00:00
CRYOMNI3D: Add members initializer
This will fix static analyzer errors
This commit is contained in:
parent
32bd7cf446
commit
d9456b459f
@ -34,10 +34,11 @@
|
||||
|
||||
namespace CryOmni3D {
|
||||
|
||||
FontManager::FontManager() : _currentFont(nullptr), _transparentBackground(false),
|
||||
_spaceWidth(0), _charSpacing(0), _lineHeight(30), _foreColor(0), _blockTextRemaining(nullptr),
|
||||
_useSpaceDelimiter(true), _keepASCIIjoined(true), _codepage(Common::kCodePageInvalid),
|
||||
_toUnicode(false) {
|
||||
FontManager::FontManager() : _codepage(Common::kCodePageInvalid), _toUnicode(false),
|
||||
_currentFont(nullptr), _currentFontId(uint(-1)), _transparentBackground(false),
|
||||
_spaceWidth(0), _charSpacing(0), _foreColor(0), _currentSurface(nullptr),
|
||||
_lineHeight(30), _justifyText(false), _blockTextRemaining(nullptr),
|
||||
_useSpaceDelimiter(true), _keepASCIIjoined(true) {
|
||||
}
|
||||
|
||||
FontManager::~FontManager() {
|
||||
|
@ -250,7 +250,7 @@ uint32 CryoExtFont::mapGlyph(uint32 chr) const {
|
||||
}
|
||||
}
|
||||
|
||||
CryoExtFont::Glyph::Glyph() : offX(0), offY(0), advance(0), bitmap(nullptr) {
|
||||
CryoExtFont::Glyph::Glyph() : h(0), w(0), offX(0), offY(0), advance(0), bitmap(nullptr) {
|
||||
}
|
||||
|
||||
CryoExtFont::Glyph::~Glyph() {
|
||||
|
@ -167,7 +167,7 @@ uint32 CryoFont::mapGlyph(uint32 chr) const {
|
||||
return chr;
|
||||
}
|
||||
|
||||
CryoFont::Glyph::Glyph() : offX(0), offY(0), advance(0), bitmap(nullptr) {
|
||||
CryoFont::Glyph::Glyph() : h(0), w(0), offX(0), offY(0), advance(0), bitmap(nullptr) {
|
||||
}
|
||||
|
||||
CryoFont::Glyph::~Glyph() {
|
||||
|
@ -90,7 +90,7 @@ void Versailles_Documentation::init(const Sprites *sprites, FontManager *fontMan
|
||||
_allDocsFileName = allDocsFileName;
|
||||
_linksDocsFileName = linksDocsFileName;
|
||||
|
||||
// Japanese version of Versailles handles records attributeswith multilines
|
||||
// Japanese version of Versailles handles records attributes with multilines
|
||||
_multilineAttributes = (_engine->getLanguage() == Common::JA_JPN);
|
||||
|
||||
// Build list of records
|
||||
|
@ -39,7 +39,7 @@ namespace Versailles {
|
||||
class Versailles_Documentation {
|
||||
public:
|
||||
Versailles_Documentation() : _engine(nullptr), _fontManager(nullptr), _sprites(nullptr),
|
||||
_messages(nullptr), _linksData(nullptr), _linksSize(0),
|
||||
_messages(nullptr), _multilineAttributes(false), _linksData(nullptr), _linksSize(0),
|
||||
_currentInTimeline(false), _currentMapLayout(false), _currentHasMap(false) { }
|
||||
~Versailles_Documentation() { delete [] _linksData; }
|
||||
|
||||
|
@ -59,7 +59,8 @@ CryOmni3DEngine_Versailles::CryOmni3DEngine_Versailles(OSystem *syst,
|
||||
_musicVolumeFactor(1.), _musicCurrentFile(nullptr), _omni3dSpeed(0),
|
||||
_isPlaying(false), _isVisiting(false), _abortCommand(kAbortQuit),
|
||||
_currentPlaceId(uint(-1)), _nextPlaceId(uint(-1)), _currentLevel(uint(-1)),
|
||||
_countingDown(false), _countdownNextEvent(0) {
|
||||
_countingDown(false), _countdownNextEvent(0),
|
||||
_currentSubtitleSet(nullptr), _currentSubtitle(nullptr) {
|
||||
}
|
||||
|
||||
CryOmni3DEngine_Versailles::~CryOmni3DEngine_Versailles() {
|
||||
|
Loading…
Reference in New Issue
Block a user