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:
@@ -681,7 +681,7 @@ void Room::LoadPits() {
|
||||
auto rom_data = rom()->vector();
|
||||
|
||||
// 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
|
||||
// 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 (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 xl = 0; xl < 4; xl++) {
|
||||
int mx = xl;
|
||||
|
||||
@@ -839,7 +839,7 @@ void Tracker::SaveSongs(Rom &rom) {
|
||||
|
||||
ZeldaInstrument *zi;
|
||||
|
||||
SampleEdit *sed;
|
||||
SampleEdit *sed = nullptr;
|
||||
|
||||
short wtbl[128];
|
||||
short x[16];
|
||||
@@ -1016,11 +1016,11 @@ void Tracker::SaveSongs(Rom &rom) {
|
||||
zi->multlo = o;
|
||||
zi->multhi = o >> 8;
|
||||
|
||||
if (sed && sed->editinst == m) {
|
||||
sed->init = 1;
|
||||
// SetDlgItemInt(sed->dlg, 3014, o, 0);
|
||||
sed->init = 0;
|
||||
}
|
||||
// if (sed && sed->editinst == m) {
|
||||
// sed->init = 1;
|
||||
// // SetDlgItemInt(sed->dlg, 3014, o, 0);
|
||||
// sed->init = 0;
|
||||
// }
|
||||
}
|
||||
|
||||
zi++;
|
||||
|
||||
Reference in New Issue
Block a user