Merge branch 'fov' of https://github.com/megamech/spaghettikart into fov
This commit is contained in:
commit
950626d7a2
|
|
@ -64,9 +64,8 @@ void TrackBrowser::FindCustomTracks() {
|
|||
track->ResourceName = info.ResourceName;
|
||||
GetWorld()->SetCurrentTrack(std::move(track));
|
||||
});
|
||||
|
||||
} else {
|
||||
printf("ContentBrowser.cpp: Track '%s' missing required track files. Cannot add to game\n Missing %s/data_track_sections file\n", name.c_str(), dir.c_str());
|
||||
printf("[TrackBrowser] Track '%s' missing required track files. Cannot add to game\n Missing %s/data_track_sections file\n", name.c_str(), dir.c_str());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -357,7 +357,7 @@ namespace TrackEditor {
|
|||
u16* ptr = &track->Props.PathSizes.unk0;
|
||||
for (auto& path : paths) {
|
||||
if (i >= ARRAY_COUNT(track->Props.PathTable2)) {
|
||||
SPDLOG_INFO(" The game can only import 5 paths. Found more than 5. Skipping the rest\n");
|
||||
SPDLOG_INFO(" The game can only import 5 paths. Found more than 5. Skipping the rest");
|
||||
break; // Only 5 paths allowed. 4 track, 1 vehicle
|
||||
}
|
||||
ptr[i] = path.size();
|
||||
|
|
|
|||
|
|
@ -351,6 +351,7 @@ bool IsTriangleWindingInverted() {
|
|||
}
|
||||
|
||||
Track::Track() {
|
||||
Props.SetText(Props.ResourceName, "mod:blank_track", sizeof(Props.ResourceName));
|
||||
Props.SetText(Props.Name, "Blank Track", sizeof(Props.Name));
|
||||
Props.SetText(Props.DebugName, "blnktrck", sizeof(Props.DebugName));
|
||||
Props.SetText(Props.TrackLength, "100m", sizeof(Props.TrackLength));
|
||||
|
|
|
|||
Loading…
Reference in New Issue