This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#pragma pack(push) | |
#pragma pack(1) | |
/// File header data for all ES files | |
struct HEDRstruct | |
{ | |
/* File format version. This is actually a float, the supported | |
versions are 1.2 and 1.3. These correspond to: | |
1.2 = 0x3f99999a and 1.3 = 0x3fa66666 | |
*/ | |
int version; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "esmfile.hpp" | |
EsmFile::EsmFile(QString fileName, ModelItem *parent) | |
: ModelItem(parent) | |
{ | |
mFileName = fileName; | |
mSize = 0; | |
mVersion = 0.0f; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#ifndef ESMFILE_HPP | |
#define ESMFILE_HPP | |
#include <QDateTime> | |
#include <QStringList> | |
#include "../modelitem.hpp" | |
class EsmFile : public ModelItem | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
} | |
// Make absolutely sure we have no duplicates | |
result.removeDuplicates(); | |
// Sort the resolutions in descending order | |
qSort(result.begin(), result.end(), naturalSortGreaterThanCI); | |
return result; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
bool GraphicsSettings::readFile(QTextStream &stream) | |
{ | |
QString sectionPrefix; | |
QRegExp sectionRe("^\\[([^]]+)\\]"); | |
QRegExp keyRe("^([^=]+)\\s*=\\s*(.+)$"); | |
while (!stream.atEnd()) { | |
QString line = stream.readLine().simplified(); | |
if (line.isEmpty()) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class QTextStream; | |
class QString; | |
template <class Map> | |
class SettingsBase | |
{ | |
public: | |
SettingsBase() {} | |
~SettingsBase() {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/apps/launcher/model/datafilesmodel.cpp b/apps/launcher/model/datafilesmodel.cpp | |
index e84dbe0..29980e5 100644 | |
--- a/apps/launcher/model/datafilesmodel.cpp | |
+++ b/apps/launcher/model/datafilesmodel.cpp | |
@@ -159,20 +159,43 @@ Qt::ItemFlags DataFilesModel::flags(const QModelIndex &index) const | |
if (!file) | |
return Qt::NoItemFlags; | |
- if (mAvailableFiles.contains(file->fileName())) { | |
- if (index.column() == 0) { |
This file has been truncated, but you can view the full file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*********************************************************************** | |
* InstallShield Decompiler v1.00 beta 16 | |
* by NEKOSUKI | |
* Script Version : InstallShield 6.00 | |
* Decompiled Time : Mon Nov 04 12:59:10 2013 | |
* Source Filename : Z:\home\pvdk\isd_beta16\setup.inx | |
* Source FileTime : Mon Nov 04 12:58:58 2013 | |
* Debug Symbol : E:\My Installations\Bloodmoon USVER\Script Files\Setup.dbg |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/////////////////////////////////////////////////////////////////////////////////// | |
///[ sexy installshield decompiler for is6/is7 ]//////// | |
///[ (c) sn00pee 2002 ]//////// | |
/////////////////////////////////////////////////////////////////////////////////// | |
///[ starting decompilation ]//////// | |
/////////////////////////////////////////////////////////////////////////////////// | |
/////////////////////////////////////////////////////////////////////////////////// | |
// typedefs |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{$APPTYPE CONSOLE} | |
uses | |
sysutils,windows; | |
type | |
TFileMapping = class | |
FFileHandle, FMappingHandle: THandle; | |
FMappedAddr: pointer; | |
public | |
constructor Create(Filename:String); |