Skip to content

Commit

Permalink
Game Link changes (what a boring commit name)
Browse files Browse the repository at this point in the history
- The status of the game link for both v5 and pre-v5 is now notified at the bottom of the scene editor (request #125)
- Loaded scenes without game link will try to load property names w/ matching hash from a stored text file (request #122)
- Fixed issue regarding event order for REV1 and REV2 game links that caused them to crash when loaded
- v5 Game links will initialize the first valid library(if found) instead of whatever the first find was
- When creating a new scene, the file dialog will now look for files with the proper extension for the platform instead of a folder
- Fixed a few instances where variables for REV1 and REV2 were changed using REVU format
  • Loading branch information
Leonx254 committed Jul 16, 2024
1 parent cadb742 commit 6dc6521
Show file tree
Hide file tree
Showing 17 changed files with 995 additions and 26 deletions.
11 changes: 11 additions & 0 deletions RetroEDv2/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -212,6 +212,17 @@ int main(int argc, char *argv[])
writer.flush();
}

// copy RSDKv5 backup var list if it doesn't exist
if (!QFile(homeDir + "RSDKv5VarNames.txt").exists()) {
Reader reader(":/resources/RSDKv5VarNames.txt");
QByteArray bytes = reader.readByteArray(reader.filesize);
reader.close();

Writer writer(homeDir + "RSDKv5VarNames.txt");
writer.write(bytes);
writer.flush();
}

PrintLog("====================================================");
PrintLog("New RetroED instance: " + QDateTime::currentDateTime().toString());
PrintLog(QString("Version: ") + RE_VERSION);
Expand Down
1 change: 1 addition & 0 deletions RetroEDv2/resources.qrc
Original file line number Diff line number Diff line change
Expand Up @@ -60,5 +60,6 @@
<file>resources/splash.png</file>
<file>resources/splash.svg</file>
<file>icons/ic_stamp_selection_48px.svg</file>
<file>resources/RSDKv5VarNames.txt</file>
</qresource>
</RCC>
Loading

0 comments on commit 6dc6521

Please sign in to comment.