Skip to content
This repository has been archived by the owner on Apr 1, 2024. It is now read-only.

Commit

Permalink
fix some items length, closes #1
Browse files Browse the repository at this point in the history
  • Loading branch information
CrustySean committed Mar 16, 2022
1 parent 31cdf1c commit 1aed796
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ include $(DEVKITPRO)/libnx/switch_rules
TARGET := splatsave
APP_TITLE := SplatEditorNX
APP_AUTHOR := CrustySeanPro & 3096
APP_VERSION := 1.0.0
APP_VERSION := 1.0.1
BUILD := build
SOURCES := source libs/mbedtls/library source/core source/splat source/UI
DATA := data
Expand Down
16 changes: 8 additions & 8 deletions source/UI/Editor_Tab.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -48,24 +48,24 @@ EditorTab::EditorTab()

std::string tempimgpath = g_defaultPath + "/Cache/test.png";
S_CREATEEDITORITEM(inklingHairID, "main/SaveDataCmn/hair"_i18n, save_file->SaveDataCmn.inklingPlayerHairId, save_file, SaveDataCmn.inklingPlayerHairId, "", 2, tempimgpath);
S_CREATEEDITORITEM(inklingPantsID, "main/SaveDataCmn/pants"_i18n, save_file->SaveDataCmn.inklingPlayerSkinColorId, save_file, SaveDataCmn.inklingPlayerSkinColorId, "", 1, tempimgpath);
S_CREATEEDITORITEM(inklingEyeID, "main/SaveDataCmn/eyes"_i18n, save_file->SaveDataCmn.inklingPlayerEyeColorId, save_file, SaveDataCmn.inklingPlayerEyeColorId, "", 1, tempimgpath);
S_CREATEEDITORITEM(inklingPantsID, "main/SaveDataCmn/pants"_i18n, save_file->SaveDataCmn.inklingPlayerSkinColorId, save_file, SaveDataCmn.inklingPlayerSkinColorId, "", 2, tempimgpath);
S_CREATEEDITORITEM(inklingEyeID, "main/SaveDataCmn/eyes"_i18n, save_file->SaveDataCmn.inklingPlayerEyeColorId, save_file, SaveDataCmn.inklingPlayerEyeColorId, "", 2, tempimgpath);
//equipped weapon
//header MainWeapon
S_CREATEWEAPON(mainWeapon, "main/SaveDataCmn/weapon"_i18n, save_file->SaveDataCmn.equippedWeapon.Main, save_file, SaveDataCmn.equippedWeapon.Main, "", 9999);
S_CREATESUB(subWeapon, "main/SaveDataCmn/subweapon"_i18n, save_file->SaveDataCmn.equippedWeapon.Sub, save_file, SaveDataCmn.equippedWeapon.Sub, "", 1);
S_CREATESPECIALS(special, "main/SaveDataCmn/weaponspecial"_i18n, save_file->SaveDataCmn.equippedWeapon.Special, save_file, SaveDataCmn.equippedWeapon.Special, "", 1);
S_CREATEWEAPON(mainWeapon, "main/SaveDataCmn/weapon"_i18n, save_file->SaveDataCmn.equippedWeapon.Main, save_file, SaveDataCmn.equippedWeapon.Main, "", 29001);
S_CREATESUB(subWeapon, "main/SaveDataCmn/subweapon"_i18n, save_file->SaveDataCmn.equippedWeapon.Sub, save_file, SaveDataCmn.equippedWeapon.Sub, "", 12);
S_CREATESPECIALS(special, "main/SaveDataCmn/weaponspecial"_i18n, save_file->SaveDataCmn.equippedWeapon.Special, save_file, SaveDataCmn.equippedWeapon.Special, "", 2); // not sure
S_CREATEEDITORITEM(inkTurfed, "main/SaveDataCmn/inkturfed"_i18n, save_file->SaveDataCmn.equippedWeapon.InkTurfed, save_file, SaveDataCmn.equippedWeapon.InkTurfed, "", 9999, tempimgpath); // not sure about 9999
S_CREATESHOES(eqshoes, "main/SaveDataCmn/shoes"_i18n, save_file->SaveDataCmn.equippedShoesId, save_file, SaveDataCmn.equippedShoesId, "", 1);
S_CREATECLOTHES(eqshirt, "main/SaveDataCmn/shirt"_i18n, save_file->SaveDataCmn.equippedClothesId, save_file, SaveDataCmn.equippedClothesId, "", 1);
S_CREATESHOES(eqshoes, "main/SaveDataCmn/shoes"_i18n, save_file->SaveDataCmn.equippedShoesId, save_file, SaveDataCmn.equippedShoesId, "", 27106);
S_CREATECLOTHES(eqshirt, "main/SaveDataCmn/shirt"_i18n, save_file->SaveDataCmn.equippedClothesId, save_file, SaveDataCmn.equippedClothesId, "", 27106);
S_CREATEEDITORITEM_UNKNOWN(hstick, "main/SaveDataCmn/handsticksense"_i18n, save_file->SaveDataCmn.handheldStickSensitivity, save_file, SaveDataCmn.handheldStickSensitivity, "", 1); // %1f?
S_CREATEEDITORITEM_UNKNOWN(hmsense, "main/SaveDataCmn/handmotionsense"_i18n, save_file->SaveDataCmn.handheldMotionSensitivity, save_file, SaveDataCmn.handheldMotionSensitivity, "", 1); // %1f?
S_CREATEEDITORITEM_UNKNOWN(dssense, "main/SaveDataCmn/desticksense"_i18n, save_file->SaveDataCmn.detachedStickSensitivity, save_file, SaveDataCmn.detachedStickSensitivity, "", 1); // %1f?
S_CREATEEDITORITEM_UNKNOWN(dmsense, "main/SaveDataCmn/demotionsense"_i18n, save_file->SaveDataCmn.detachedMotionSensitivity, save_file, SaveDataCmn.detachedMotionSensitivity, "", 1); // %1f?
S_CREATEEDITORITEM(money, "main/SaveDataCmn/money"_i18n, save_file->SaveDataCmn.money, save_file, SaveDataCmn.money, "", 9999999, "sdmc:/SplatEditor/Cache/money.png");
S_CREATEEDITORITEM(sseasnails, "main/SaveDataCmn/seasnails"_i18n, save_file->SaveDataCmn.seaSnails, save_file, SaveDataCmn.seaSnails, "", 999, "sdmc:/SplatEditor/Cache/sseasnails.png");
S_CREATEEDITORITEM(ocgender, "main/SaveDataCmn/octogender"_i18n, save_file->SaveDataCmn.octolingPlayerModelType, save_file, SaveDataCmn.octolingPlayerModelType, "", 1, tempimgpath);
S_CREATEEDITORITEM(ochair, "main/SaveDataCmn/octohair"_i18n, save_file->SaveDataCmn.octolingPlayerHairId, save_file, SaveDataCmn.octolingPlayerHairId, "", 2, tempimgpath);
S_CREATEEDITORITEM(ochair, "main/SaveDataCmn/octohair"_i18n, save_file->SaveDataCmn.octolingPlayerHairId, save_file, SaveDataCmn.octolingPlayerHairId, "", 2, tempimgpath);
S_CREATEEDITORITEM(ocpants, "main/SaveDataCmn/octopants"_i18n, save_file->SaveDataCmn.octolingPlayerSkinColorId, save_file, SaveDataCmn.octolingPlayerSkinColorId, "", 1, tempimgpath);
S_CREATEEDITORITEM(oceye, "main/SaveDataCmn/octoeyes"_i18n, save_file->SaveDataCmn.octolingPlayerEyeColorId, save_file, SaveDataCmn.octolingPlayerEyeColorId, "", 1, tempimgpath);
S_CREATEEDITORITEM(isoc, "main/SaveDataCmn/octoling"_i18n, save_file->SaveDataCmn.isOctoling, save_file, SaveDataCmn.isOctoling, "", 1, tempimgpath);
Expand Down

0 comments on commit 1aed796

Please sign in to comment.