Skip to content

Commit

Permalink
Move strings to header.
Browse files Browse the repository at this point in the history
  • Loading branch information
louist103 committed May 20, 2024
1 parent 833aa4e commit 9efa2f3
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
6 changes: 6 additions & 0 deletions mm/assets/2s2h_assets.h
Original file line number Diff line number Diff line change
Expand Up @@ -73,3 +73,9 @@ static const ALIGN_ASSET(2) char gPauseSaveConfirmationENGTex[] = dgPauseSaveCon

#define dgContinuePlayingENGTex "__OTR__textures/icon_item_static/gContinuePlayingENGTex"
static const ALIGN_ASSET(2) char gContinuePlayingENGTex[] = dgContinuePlayingENGTex;

#define dgFileSelFourthDayTex "__OTR__misc/title_static/gFileSelFourthDayTex"
static const ALIGN_ASSET(2) char gFileSelFourthDayTex[] = dgFileSelFourthDayTex;

#define dgFileSelCheatingDayTex "__OTR__misc/title_static/gFileSelCheatingDayTex"
static const ALIGN_ASSET(2) char gFileSelCheatingDayTex[] = dgFileSelCheatingDayTex;
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
#include "interface/parameter_static/parameter_static.h"
#include "misc/title_static/title_static.h"
#include "2s2h/Enhancements/FrameInterpolation/FrameInterpolation.h"
#include "2s2h_assets.h"
#include <string.h>

s32 D_808144F10 = 100;
Expand Down Expand Up @@ -1315,12 +1316,6 @@ u16 D_80814654[] = {
0x2A0,
};

#define dgFileSelFourthDayTex "__OTR__misc/title_static/gFileSelFourthDayTex"
static const ALIGN_ASSET(2) char gFileSelFourthDayTex[] = dgFileSelFourthDayTex;

#define dgFileSelCheatingDayTex "__OTR__misc/title_static/gFileSelCheatingDayTex"
static const ALIGN_ASSET(2) char gFileSelCheatinghDayTex[] = dgFileSelCheatingDayTex;

TexturePtr sFileSelRemainsTextures[] = {
gFileSelOdolwasRemainsTex,
gFileSelGohtsRemainsTex,
Expand All @@ -1337,7 +1332,7 @@ TexturePtr sFileSelDayENGTextures[] = {
gFileSelSecondDayENGTex,
gFileSelFinalDayENGTex,
gFileSelFourthDayTex,
gFileSelCheatinghDayTex,
gFileSelCheatingDayTex,
};

TexturePtr sFileSelHeartPieceTextures[] = {
Expand Down

0 comments on commit 9efa2f3

Please sign in to comment.