Matched game/board/lottery + some unsplit cleanup
This commit is contained in:
parent
1da8985530
commit
08e6ce1a45
25 changed files with 2080 additions and 95 deletions
|
|
@ -1,6 +1,8 @@
|
|||
#include "game/gamework_data.h"
|
||||
#include "game/flag.h"
|
||||
#include "game/board/lottery.h"
|
||||
#include "game/board/main.h"
|
||||
#include "game/board/model.h"
|
||||
#include "game/board/player.h"
|
||||
#include "game/board/space.h"
|
||||
#include "game/board/star.h"
|
||||
|
|
@ -14,9 +16,6 @@
|
|||
#include "string.h"
|
||||
|
||||
|
||||
extern s16 BoardModelCreate(s32 file, s32 *data, s32 arg3);
|
||||
extern s16 BoardModelIDGet(s16 model);
|
||||
|
||||
static BoardSpace spaceData[2][256];
|
||||
s16 boardSpaceStarTbl[8];
|
||||
static GXTexObj spaceHiliteTex;
|
||||
|
|
@ -834,7 +833,7 @@ static void DrawSpaces(ModelData *model, Mtx matrix)
|
|||
if(player_pos.y-space_curr->pos.y < 0.0f) {
|
||||
y_dist = -(player_pos.y-space_curr->pos.y);
|
||||
} else {
|
||||
y_dist = player_pos.y-space_curr->pos.y;
|
||||
y_dist = player_pos.y-space_curr->pos.y;
|
||||
}
|
||||
if(y_dist < 10.0f) {
|
||||
space_hilite = space_curr;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue