2015-09-16 03:02:29 +00:00
|
|
|
|
/* ReC98
|
|
|
|
|
* -----
|
|
|
|
|
* 1st part of ZUN_RES.COM. Initializes the resident structure and
|
2020-02-21 21:10:47 +00:00
|
|
|
|
* configuration file required in order to run TH02.
|
2015-09-16 03:02:29 +00:00
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
#include <stddef.h>
|
|
|
|
|
#include "th02/th02.h"
|
2020-02-18 18:46:34 +00:00
|
|
|
|
#include "th02/snd/snd.h"
|
2020-02-21 21:56:18 +00:00
|
|
|
|
#include "th02/formats/cfg.h"
|
2015-09-16 03:02:29 +00:00
|
|
|
|
|
|
|
|
|
#pragma option -a1
|
|
|
|
|
|
2020-02-21 21:56:18 +00:00
|
|
|
|
int pascal scoredat_verify(void);
|
2015-09-16 03:02:29 +00:00
|
|
|
|
|
2020-02-21 21:56:18 +00:00
|
|
|
|
char debug = 0;
|
2020-02-22 16:39:23 +00:00
|
|
|
|
const cfg_options_t OPTS_DEFAULT = {
|
|
|
|
|
RANK_NORMAL, SND_BGM_FM, CFG_BOMBS_DEFAULT, CFG_LIVES_DEFAULT, 0
|
|
|
|
|
};
|
2015-09-16 03:02:29 +00:00
|
|
|
|
|
2020-02-21 21:56:18 +00:00
|
|
|
|
#include "th02/formats/cfg_init.c"
|
2015-09-16 03:02:29 +00:00
|
|
|
|
|
2020-02-21 21:21:20 +00:00
|
|
|
|
#define LOGO \
|
|
|
|
|
"<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>^<5E>p<EFBFBD>@ <20>풓<EFBFBD>v<EFBFBD><76><EFBFBD>O<EFBFBD><4F><EFBFBD><EFBFBD><EFBFBD>@ZUN_RES.com Version1.01 (c)zun 1997"
|
|
|
|
|
|
2020-02-21 21:56:18 +00:00
|
|
|
|
#define RES_INIT_TOP \
|
|
|
|
|
if(scoredat_verify() == 1) { \
|
|
|
|
|
dos_puts2("<EFBFBD>n<EFBFBD>C<EFBFBD>X<EFBFBD>R<EFBFBD>A<EFBFBD>t<EFBFBD>@<40>C<EFBFBD><43><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>́A<CC81><41><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>x<EFBFBD><78><EFBFBD>s<EFBFBD><73><EFBFBD>ĂˁB\n"); \
|
|
|
|
|
return 1; \
|
2015-09-16 03:02:29 +00:00
|
|
|
|
}
|
2020-02-21 21:56:18 +00:00
|
|
|
|
|
2020-02-22 19:04:53 +00:00
|
|
|
|
#define optimization_barrier_3()
|
|
|
|
|
|
|
|
|
|
#define RES_INIT_BOTTOM \
|
|
|
|
|
cfg_init(sgm);
|
|
|
|
|
|
2020-02-21 21:56:18 +00:00
|
|
|
|
#include "th02/res_init.c"
|
2015-09-16 03:02:29 +00:00
|
|
|
|
|
|
|
|
|
#pragma codestring "\x00"
|