Matched game/board/shop
This commit is contained in:
parent
bf6d3e163f
commit
c2adb3827a
14 changed files with 1320 additions and 131 deletions
|
|
@ -51,8 +51,6 @@ typedef struct {
|
|||
s16 unk08;
|
||||
} LotteryTicketPickWork;
|
||||
|
||||
extern s32 BoardShopHostGet(void);
|
||||
|
||||
static void CreateModel(void);
|
||||
static void KillModel(void);
|
||||
static void DestroyLottery(void);
|
||||
|
|
|
|||
|
|
@ -14,6 +14,7 @@
|
|||
#include "game/board/model.h"
|
||||
#include "game/board/pause.h"
|
||||
#include "game/board/player.h"
|
||||
#include "game/board/shop.h"
|
||||
#include "game/board/space.h"
|
||||
#include "game/board/tutorial.h"
|
||||
#include "game/board/ui.h"
|
||||
|
|
|
|||
|
|
@ -249,16 +249,16 @@ s16 BoardModelCreateCharacter(s32 character, s32 data_num, s32 *mot_list, s32 li
|
|||
s16 BoardModelCreateParam(BoardModelParam *param, Vec *pos, Vec *rot)
|
||||
{
|
||||
float unk_param;
|
||||
s16 model = BoardModelCreate(param->data_num, NULL, param->link);
|
||||
s16 model = BoardModelCreate(param->data_num, NULL, param->unk4.link);
|
||||
if(model == -1) {
|
||||
return -1;
|
||||
}
|
||||
BoardModelMotionStart(model, 0, (param->pause) ? 0x40000001 : 0);
|
||||
if(!param->start_mot) {
|
||||
BoardModelMotionStart(model, 0, (param->unk4.pause) ? 0x40000001 : 0);
|
||||
if(!param->unk4.start_mot) {
|
||||
BoardModelMotionSpeedSet(model, 0.0f);
|
||||
}
|
||||
BoardModelExistDupe(model, param->field04_bit0);
|
||||
BoardModelVisibilitySet(model, param->visible);
|
||||
BoardModelExistDupe(model, param->unk4.field04_bit0);
|
||||
BoardModelVisibilitySet(model, param->unk4.visible);
|
||||
if(pos) {
|
||||
BoardModelPosSetV(model, pos);
|
||||
}
|
||||
|
|
|
|||
1175
src/game/board/shop.c
Executable file
1175
src/game/board/shop.c
Executable file
File diff suppressed because it is too large
Load diff
|
|
@ -5,6 +5,7 @@
|
|||
#include "game/board/main.h"
|
||||
#include "game/board/model.h"
|
||||
#include "game/board/player.h"
|
||||
#include "game/board/shop.h"
|
||||
#include "game/board/space.h"
|
||||
#include "game/board/star.h"
|
||||
#include "game/board/tutorial.h"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue