mirror of
https://github.com/HarbourMasters/SpaghettiKart
synced 2026-09-04 10:51:37 -04:00
Add royal raceway course (#29)
* Add files via upload * Update memory.c * Update render_courses.c * Update code_80281780.c * Update path_spawn_metadata.c * Update render.inc.c * Update all_course_packed.h * Update all_course_model.h * Update all_course_data.h * Delete courses/royal_raceway/course_data.c * Delete courses/royal_raceway/course_data.h * Delete courses/royal_raceway/course_vertices.inc.c * Delete courses/royal_raceway/course_displaylists.c * Delete courses/royal_raceway/course_displaylists.h * Update memory.c * Update royal_raceway_displaylists.yml * Update values * update * Course works now * fixes * wip framebuffer * Fix trees * Fix player select borders * Remove commented code --------- Co-authored-by: MegaMech <7255464+MegaMech@users.noreply.github.com>
This commit is contained in:
@@ -246,3 +246,13 @@ extern "C" float OTRGetDimensionFromRightEdge(float v) {
|
||||
extern "C" int16_t OTRGetRectDimensionFromRightEdge(float v) {
|
||||
return ((int)ceilf(OTRGetDimensionFromRightEdge(v)));
|
||||
}
|
||||
|
||||
// Gets the width of the current render target area
|
||||
extern "C" uint32_t OTRGetGameRenderWidth() {
|
||||
return gfx_current_dimensions.width;
|
||||
}
|
||||
|
||||
// Gets the height of the current render target area
|
||||
extern "C" uint32_t OTRGetGameRenderHeight() {
|
||||
return gfx_current_dimensions.height;
|
||||
}
|
||||
Reference in New Issue
Block a user