|
SpaghettiKart
|
#include <defines.h>#include <mk64.h>#include <stubs.h>#include <stdio.h>#include "spawn_players.h"#include "code_800029B0.h"#include "engine/editor/Editor.h"#include "kart_attributes.h"#include "memory.h"#include "waypoints.h"#include "buffers.h"#include "kart_dma.h"#include "camera.h"#include "math_util.h"#include "player_controller.h"#include "code_80057C60.h"#include "collision.h"#include "render_courses.h"#include "replays.h"#include "code_80005FD0.h"#include "render_player.h"#include "podium_ceremony_actors.h"#include "main.h"#include "menus.h"#include "menu_items.h"#include "effects.h"#include "decode.h"#include "port/Game.h"Macros | |
| #define | calc_a(x, y, x2, y2) |
| #define | calc_b(x, y, b) |
| #define | calc(table, field) |
Functions | |
| void | spawn_player (Player *player, s8 playerIndex, f32 startingRow, f32 startingColumn, f32 arg4, f32 arg5, u16 characterId, s16 playerType) |
| void | func_80039AE4 (void) |
| void | func_80039DA4 (void) |
| void | spawn_players_gp_one_player (f32 *arg0, f32 *arg1, f32 arg2) |
| void | spawn_players_versus_one_player (f32 *arg0, f32 *arg1, f32 arg2) |
| void | spawn_players_gp_two_player (f32 *arg0, f32 *arg1, f32 arg2) |
| void | spawn_players_versus_two_player (f32 *arg0, f32 *arg1, f32 arg2) |
| void | spawn_players_2p_battle (f32 *arg0, f32 *arg1, f32 arg2) |
| void | func_8003B318 (f32 *arg0, f32 *arg1, f32 arg2) |
| void | spawn_players_3p_battle (f32 *arg0, f32 *arg1, f32 arg2) |
| void | func_8003B870 (f32 *arg0, f32 *arg1, f32 arg2) |
| void | spawn_players_4p_battle (f32 *arg0, f32 *arg1, f32 arg2) |
| void | func_8003BE30 (void) |
| void | func_8003C0F0 (void) |
| void | spawn_and_set_player_spawns (void) |
| void | func_8003CD78 (void) |
| void | func_8003CD98 (Player *player, Camera *camera, s8 playerId, s8 screenId) |
| void | spawn_players_and_cameras (void) |
| void | spawn_single_player_camera (u32 mode) |
| void | spawn_multiplayer_cameras (u32 mode) |
| void | load_kart_textures (void) |
| void | func_8003DB5C (void) |
| #define calc | ( | table, | |
| field ) |
| #define calc_a | ( | x, | |
| y, | |||
| x2, | |||
| y2 ) |
| #define calc_b | ( | x, | |
| y, | |||
| b ) |
| void func_80039AE4 | ( | void | ) |
| void func_80039DA4 | ( | void | ) |
| void func_8003B318 | ( | f32 * | arg0, |
| f32 * | arg1, | ||
| f32 | arg2 ) |
| void func_8003B870 | ( | f32 * | arg0, |
| f32 * | arg1, | ||
| f32 | arg2 ) |
| void func_8003BE30 | ( | void | ) |
| void func_8003C0F0 | ( | void | ) |
| void func_8003CD78 | ( | void | ) |
| void func_8003DB5C | ( | void | ) |
| void load_kart_textures | ( | void | ) |
Loads 8 players per screen in 1p/2p mode Loads 4 players per screen in 3p/4p mode
| void spawn_and_set_player_spawns | ( | void | ) |
| void spawn_multiplayer_cameras | ( | u32 | mode | ) |
| void spawn_player | ( | Player * | player, |
| s8 | playerIndex, | ||
| f32 | startingRow, | ||
| f32 | startingColumn, | ||
| f32 | arg4, | ||
| f32 | arg5, | ||
| u16 | characterId, | ||
| s16 | playerType ) |
| void spawn_players_2p_battle | ( | f32 * | arg0, |
| f32 * | arg1, | ||
| f32 | arg2 ) |
| void spawn_players_3p_battle | ( | f32 * | arg0, |
| f32 * | arg1, | ||
| f32 | arg2 ) |
| void spawn_players_4p_battle | ( | f32 * | arg0, |
| f32 * | arg1, | ||
| f32 | arg2 ) |
| void spawn_players_and_cameras | ( | void | ) |
| void spawn_players_gp_one_player | ( | f32 * | arg0, |
| f32 * | arg1, | ||
| f32 | arg2 ) |
| void spawn_players_gp_two_player | ( | f32 * | arg0, |
| f32 * | arg1, | ||
| f32 | arg2 ) |
| void spawn_players_versus_one_player | ( | f32 * | arg0, |
| f32 * | arg1, | ||
| f32 | arg2 ) |
| void spawn_players_versus_two_player | ( | f32 * | arg0, |
| f32 * | arg1, | ||
| f32 | arg2 ) |
| void spawn_single_player_camera | ( | u32 | mode | ) |
| s16 chooseCPUPlayers[7] |
| UNUSED f32 D_800E43A0 = 1.0f |
| UNUSED s16 D_800E43A4 = 1 |
| UNUSED s16 D_800E43A8 = 0 |
| f32 D_80165210[8] |
| f32 D_80165230[8] |
| UNUSED f32 D_80165250[8] |
| s16 D_80165270[8] |
| s32 D_801652C0[8] |
| s32 D_801652E0[8] |
| s16 D_80165300[8] |
| s16 D_80165330[8] |
| s16 D_80165340 |
| UNUSED s32 D_80165348[29] |
| Player* D_801653C0[8] |
| s16 D_8016556E |
| s16 D_80165570 |
| s16 D_80165572 |
| s16 D_80165574 |
| s16 D_80165576 |
| s16 D_80165578 |
| s16 D_8016557A |
| s16 D_8016557C |
| s16 D_8016557E |
| s16 D_80165580 |
| s16 D_80165582 |
| s16 gCopyNearestWaypointByPlayerId[8] |
| u16 gCopyPathIndexByPlayerId[8] |
| s32 gCountASwitch[8] |
| s32 gCountBChangement[8] |
| s32 gFrameSinceLastACombo[8] |
| s32 gFrameSinceLastBCombo[8] |
| bool gIsPlayerTripleAButtonCombo[8] |
| bool gIsPlayerTripleBButtonCombo[8] |
| s32 gPlayerAButtonComboActiveThisFrame[8] |
| s32 gPlayerBButtonComboActiveThisFrame[8] |
| f32 gPlayerCurrentSpeed[8] |
| bool gPlayerIsBrakeActive[8] |
| bool gPlayerIsThrottleActive[8] |
| f32 gPlayerWaterLevel[8] |
| s32 gTimerBoostTripleACombo[8] |
| s32 gTimerBoostTripleBCombo[8] |