mirror of
https://github.com/SeekyCt/spm-decomp.git
synced 2024-11-27 07:10:33 +00:00
.
This commit is contained in:
parent
031ce3ef7a
commit
9bf0d5eb3b
@ -1 +1,3 @@
|
||||
# spm-decomp
|
||||
|
||||
1:1 matching source code for SPM functions, TTYD support to some extent
|
7
seqdrv.c
7
seqdrv.c
@ -1,5 +1,6 @@
|
||||
#include <string.h>
|
||||
|
||||
#include "seqdrv.h"
|
||||
#include "string.h"
|
||||
#include "system.h"
|
||||
|
||||
/*
|
||||
@ -117,13 +118,17 @@ void seqMain() {
|
||||
seqWork.stage = 0;
|
||||
seqWork.p0 = next_p0;
|
||||
seqWork.p1 = next_p1;
|
||||
#if GAME_SPM
|
||||
seqWork.afterFunc = NULL;
|
||||
#endif
|
||||
(*seq_data[now_seq].init)(&seqWork);
|
||||
}
|
||||
(*seq_data[now_seq].main)(&seqWork);
|
||||
#if GAME_SPM
|
||||
if (seqWork.afterFunc != NULL) {
|
||||
(*seqWork.afterFunc)(&seqWork);
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
/*
|
||||
|
20
seqdrv.h
20
seqdrv.h
@ -1,21 +1,21 @@
|
||||
#ifndef SEQDRV_H
|
||||
#define SEQDRV_H
|
||||
|
||||
#include "stdbool.h"
|
||||
#include <stdbool.h>
|
||||
|
||||
#include "seqdef.h"
|
||||
|
||||
/*
|
||||
Functions:
|
||||
==========
|
||||
Name SPM TTYD
|
||||
seqInit_SPMARIO yes n/a
|
||||
seqInit_MARIOSTORY n/a yes
|
||||
seqMain yes yes
|
||||
seqSetSeq yes yes
|
||||
seqGetSeq yes yes
|
||||
seqGetPrevSeq n/a yes
|
||||
seqGetNextSeq n/a yes
|
||||
seqCheckSeq n/a yes
|
||||
Name
|
||||
seqInit_SPMARIO yes (aka seqInit_MARIOSTORY)
|
||||
seqMain yes (only matching spm 1:1, logic matching for ttyd)
|
||||
seqSetSeq yes
|
||||
seqGetSeq yes
|
||||
seqGetPrevSeq yes (ttyd exclusive)
|
||||
seqGetNextSeq yes (ttyd exclusive)
|
||||
seqCheckSeq yes (ttyd exclusive)
|
||||
|
||||
Other:
|
||||
======
|
||||
|
Loading…
Reference in New Issue
Block a user