Remove unused system editor files from YAZE project configuration
- Deleted references to `system_editor.cc` and `system_editor.h` from YAZE.vcxproj and YAZE.vcxproj.filters to clean up the project structure. - Updated `room_object.cc` to use a direct assignment for `gfx::TileInfo` and commented out unused code in `room.cc` and `tracker.cc` for clarity and future reference.
This commit is contained in:
@@ -813,9 +813,6 @@
|
|||||||
<ClCompile Include="src\app\editor\system\shortcut_manager.cc">
|
<ClCompile Include="src\app\editor\system\shortcut_manager.cc">
|
||||||
<Filter>App\Editor\System</Filter>
|
<Filter>App\Editor\System</Filter>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
<ClCompile Include="src\app\editor\system\system_editor.cc">
|
|
||||||
<Filter>App\Editor\System</Filter>
|
|
||||||
</ClCompile>
|
|
||||||
<ClCompile Include="src\app\editor\code\assembly_editor.cc">
|
<ClCompile Include="src\app\editor\code\assembly_editor.cc">
|
||||||
<Filter>App\Editor\Code</Filter>
|
<Filter>App\Editor\Code</Filter>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
|
|||||||
@@ -280,9 +280,6 @@
|
|||||||
<ClInclude Include="src\app\editor\system\shortcut_manager.h">
|
<ClInclude Include="src\app\editor\system\shortcut_manager.h">
|
||||||
<Filter>App\Editor\System</Filter>
|
<Filter>App\Editor\System</Filter>
|
||||||
</ClInclude>
|
</ClInclude>
|
||||||
<ClInclude Include="src\app\editor\system\system_editor.h">
|
|
||||||
<Filter>App\Editor\System</Filter>
|
|
||||||
</ClInclude>
|
|
||||||
<ClInclude Include="src\app\editor\system\toast_manager.h">
|
<ClInclude Include="src\app\editor\system\toast_manager.h">
|
||||||
<Filter>App\Editor\System</Filter>
|
<Filter>App\Editor\System</Filter>
|
||||||
</ClInclude>
|
</ClInclude>
|
||||||
@@ -581,9 +578,6 @@
|
|||||||
<ClCompile Include="src\app\editor\system\shortcut_manager.cc">
|
<ClCompile Include="src\app\editor\system\shortcut_manager.cc">
|
||||||
<Filter>App\Editor\System</Filter>
|
<Filter>App\Editor\System</Filter>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
<ClCompile Include="src\app\editor\system\system_editor.cc">
|
|
||||||
<Filter>App\Editor\System</Filter>
|
|
||||||
</ClCompile>
|
|
||||||
<ClCompile Include="src\app\gui\canvas.cc">
|
<ClCompile Include="src\app\gui\canvas.cc">
|
||||||
<Filter>App\GUI</Filter>
|
<Filter>App\GUI</Filter>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
|
|||||||
@@ -681,7 +681,7 @@ void Room::LoadPits() {
|
|||||||
auto rom_data = rom()->vector();
|
auto rom_data = rom()->vector();
|
||||||
|
|
||||||
// Load pit data from pit_pointer
|
// Load pit data from pit_pointer
|
||||||
int pit_count = rom_data[pit_count + 1] << 8 | rom_data[pit_count];
|
// int pit_count = rom_data[pit_count + 1] << 8 | rom_data[pit_count];
|
||||||
|
|
||||||
// For now, create placeholder pit objects
|
// For now, create placeholder pit objects
|
||||||
// TODO: Implement full pit loading from ROM data
|
// TODO: Implement full pit loading from ROM data
|
||||||
|
|||||||
@@ -85,7 +85,7 @@ void RoomObject::DrawTile(gfx::Tile16 t, int xx, int yy,
|
|||||||
}
|
}
|
||||||
if (preview) {
|
if (preview) {
|
||||||
if (xx < 0x39 && yy < 0x39 && xx >= 0 && yy >= 0) {
|
if (xx < 0x39 && yy < 0x39 && xx >= 0 && yy >= 0) {
|
||||||
gfx::TileInfo ti; // t.GetTileInfo();
|
gfx::TileInfo ti = t.tile0_; // t.GetTileInfo();
|
||||||
for (auto yl = 0; yl < 8; yl++) {
|
for (auto yl = 0; yl < 8; yl++) {
|
||||||
for (auto xl = 0; xl < 4; xl++) {
|
for (auto xl = 0; xl < 4; xl++) {
|
||||||
int mx = xl;
|
int mx = xl;
|
||||||
|
|||||||
@@ -839,7 +839,7 @@ void Tracker::SaveSongs(Rom &rom) {
|
|||||||
|
|
||||||
ZeldaInstrument *zi;
|
ZeldaInstrument *zi;
|
||||||
|
|
||||||
SampleEdit *sed;
|
SampleEdit *sed = nullptr;
|
||||||
|
|
||||||
short wtbl[128];
|
short wtbl[128];
|
||||||
short x[16];
|
short x[16];
|
||||||
@@ -1016,11 +1016,11 @@ void Tracker::SaveSongs(Rom &rom) {
|
|||||||
zi->multlo = o;
|
zi->multlo = o;
|
||||||
zi->multhi = o >> 8;
|
zi->multhi = o >> 8;
|
||||||
|
|
||||||
if (sed && sed->editinst == m) {
|
// if (sed && sed->editinst == m) {
|
||||||
sed->init = 1;
|
// sed->init = 1;
|
||||||
// SetDlgItemInt(sed->dlg, 3014, o, 0);
|
// // SetDlgItemInt(sed->dlg, 3014, o, 0);
|
||||||
sed->init = 0;
|
// sed->init = 0;
|
||||||
}
|
// }
|
||||||
}
|
}
|
||||||
|
|
||||||
zi++;
|
zi++;
|
||||||
|
|||||||
Reference in New Issue
Block a user