Vehicles
+
+
+ Trains, boats, cars, trucks, and more.
+diff --git a/docs/basics/actorsmenu.md b/docs/basics/actorsmenu.md index 49d20e93b..6213121b9 100644 --- a/docs/basics/actorsmenu.md +++ b/docs/basics/actorsmenu.md @@ -128,7 +128,37 @@ p { +
+ + + \endhtmlonly \subpage actors \subpage objects +\subpage vehicles +\subpage items diff --git a/docs/basics/controlflow.md b/docs/basics/controlflow.md index ffd99f9a5..0d15c7cc8 100644 --- a/docs/basics/controlflow.md +++ b/docs/basics/controlflow.md @@ -59,6 +59,13 @@ Racing segment loads after selecting a grand prix. Note that it is always reload # Code Breakdown +## Menus +|file|desc| +|---|---| +|menus.c | Menu related code | +|save.c| Save related | +|data/startup_logo.inc.c|Startup logo| + ## Players Player related code resides in |file|desc| @@ -72,6 +79,7 @@ Actor related code resides in |---|---| |actors.c|Variety of [actors](actorsmenu.html), see link for specifics.| |actors_extended.c|Shells and bananas| +|code_80005FD0.c| Vehicles; trains, cars, trucks, boats | ## Objects Object related code resides in @@ -108,6 +116,7 @@ Course related code resides in |file|desc| |---|---| |collision.c| | +|code_80005FD0| Pathing code | ## Math Math related code resides in diff --git a/docs/basics/items.md b/docs/basics/items.md new file mode 100644 index 000000000..346792563 --- /dev/null +++ b/docs/basics/items.md @@ -0,0 +1 @@ +\page items Items diff --git a/docs/basics/terminology.md b/docs/basics/terminology.md index 3ee2c5e4d..5dab7295b 100644 --- a/docs/basics/terminology.md +++ b/docs/basics/terminology.md @@ -1,5 +1,5 @@ \page terminology Terminology -#### Definitions +# Technical Definitions * `Jump/Branch/Function` - Tells the cpu to execute instructions somewhere else and come back here when done. * `Hexadecimal` - A [numbering system](https://en.wikipedia.org/wiki/Hexadecimal). Similar numbering sytems include decimal (also called base-ten) and roman numerals. * Easy method for programmers and computers to understand each other which groups/separates bytes of information in a readable format. @@ -12,4 +12,10 @@ * Max value slightly lower than unsigned due to a bit being used to set whether negative or positive. * Google "Two's complement" for an indepth technical explanation. * `f32/float` - A positive or negative value containing a decimals such as `5.0f` or `5.1f` or `5.148282f` -* `f64/double` - A positive or negative value of high-precision. Ex. `5.5784298538832` (many decimals). \ No newline at end of file +* `f64/double` - A positive or negative value of high-precision. Ex. `5.5784298538832` (many decimals). + +# Racing Terminology +* `Light Tree` - The tree of lights that Lakitu carries; red, orange, green, etc. Tells the racers when to start racing. + * Called a Christmas tree in drag racing. +* `Staging` - Align the racecars with the starting line. +* `Start Sequence` - The light tree activates, going from red to orange to green (Colours and number of lights may differ between different types of races). diff --git a/docs/basics/vehicles.md b/docs/basics/vehicles.md new file mode 100644 index 000000000..2f876c782 --- /dev/null +++ b/docs/basics/vehicles.md @@ -0,0 +1,18 @@ +\page vehicles Vehicles + +[TOC] + +See vehicles.h for defines and other configurable options. This includes how many of each vehicle to spawn. + +The game evenly disperses vehicles around their path even when spawning extra vehicles. + +# Trains +* Follows a path containing only an x and z coordinate. +* Y coordinate is hard-coded. +* Some of the train path is generated to save space. + + +# Cars & Trucks + + +# Boats diff --git a/docs/tutorials/audio.md b/docs/tutorials/audio.md new file mode 100644 index 000000000..0d62da0f4 --- /dev/null +++ b/docs/tutorials/audio.md @@ -0,0 +1 @@ +\page tutorialaudio Audio diff --git a/docs/tutorials/paths.md b/docs/tutorials/paths.md new file mode 100644 index 000000000..b9594bb7e --- /dev/null +++ b/docs/tutorials/paths.md @@ -0,0 +1,12 @@ +\page paths Paths +The game uses multiple types of course paths + +# Course Paths +Used by courses + + +# Horizontal Paths (no Y coordinate) +Used by the train + +# Camera Rails +Pathing for the camera during end of race scene, podium ceremony, and credits. diff --git a/docs/tutorials/tutorials.md b/docs/tutorials/tutorials.md index 13dc972d8..3636bf1f5 100644 --- a/docs/tutorials/tutorials.md +++ b/docs/tutorials/tutorials.md @@ -96,6 +96,36 @@ p { + + + + \endhtmlonly \subpage boostramps +\subpage paths +\subpage tutorialaudio