2017-09-08 09:24:16 -07:00
|
|
|
//
|
|
|
|
// mkdsConst.js
|
|
|
|
//--------------------
|
|
|
|
// Provides various game constants.
|
|
|
|
// by RHY3756547
|
|
|
|
//
|
|
|
|
|
|
|
|
window.MKDSCONST = new (function() {
|
|
|
|
|
2019-05-28 17:08:48 -07:00
|
|
|
this.DAMAGE_SPIN = 0;
|
2019-06-09 15:50:55 -07:00
|
|
|
this.DAMAGE_FLIP = 1;
|
|
|
|
this.DAMAGE_EXPLODE = 2;
|
2019-05-28 17:08:48 -07:00
|
|
|
|
2017-09-08 09:24:16 -07:00
|
|
|
this.COURSEDIR = "/data/Course/";
|
|
|
|
|
|
|
|
this.COURSES = [ //in order of course id, nitro through retro
|
2019-06-10 15:06:38 -07:00
|
|
|
{name:"cross_course", music: 74},
|
|
|
|
{name:"bank_course", music: 16},
|
|
|
|
{name:"beach_course", music: 15},
|
|
|
|
{name:"mansion_course", music: 21, lightHeight: 20/180, lightAngle: 160/180},
|
|
|
|
|
|
|
|
{name:"desert_course", music: 38, lightHeight: 40/180},
|
|
|
|
{name:"town_course", music: 17},
|
|
|
|
{name:"pinball_course", music: 19},
|
|
|
|
{name:"ridge_course", music: 36},
|
|
|
|
|
|
|
|
{name:"snow_course", music: 37},
|
|
|
|
{name:"clock_course", music: 39},
|
|
|
|
{name:"mario_course", music: 74},
|
|
|
|
{name:"airship_course", music: 18, lightHeight: 40/180, lightAngle: 140/180},
|
|
|
|
|
|
|
|
{name:"stadium_course", music: 19},
|
|
|
|
{name:"garden_course", music: 20},
|
|
|
|
{name:"koopa_course", music: 40},
|
|
|
|
{name:"rainbow_course", music: 41},
|
|
|
|
|
|
|
|
|
|
|
|
{name:"old_mario_sfc", music: 22},
|
|
|
|
{name:"old_momo_64", music: 30},
|
|
|
|
{name:"old_peach_agb", music: 26},
|
|
|
|
{name:"old_luigi_gc", music: 33},
|
|
|
|
|
|
|
|
{name:"old_donut_sfc", music: 24},
|
|
|
|
{name:"old_frappe_64", music: 31},
|
|
|
|
{name:"old_koopa_agb", music: 27},
|
|
|
|
{name:"old_baby_gc", music: 34},
|
|
|
|
|
|
|
|
{name:"old_noko_sfc", music: 23},
|
|
|
|
{name:"old_choco_64", music: 29},
|
|
|
|
{name:"old_luigi_agb", music: 26},
|
|
|
|
{name:"old_kinoko_gc", music: 35},
|
|
|
|
|
|
|
|
{name:"old_choco_sfc", music: 25},
|
|
|
|
{name:"old_hyudoro_64", music: 32},
|
|
|
|
{name:"old_sky_agb", music: 28, skyboxShadows: true},
|
|
|
|
{name:"old_yoshi_gc", music: 33, lightHeight: 30/180, lightAngle: 111/180},
|
|
|
|
|
|
|
|
{name:"mini_stage1", music: 43, battle: true},
|
|
|
|
{name:"mini_stage2", music: 43, battle: true, lightHeight: 20/180, lightAngle: 160/180},
|
|
|
|
{name:"mini_stage3", music: 43, battle: true},
|
|
|
|
{name:"mini_stage4", music: 43, battle: true},
|
|
|
|
{name:"mini_block_64", music: 43, battle: true},
|
|
|
|
{name:"mini_dokan_gc", music: 43, battle: true}
|
2017-09-08 09:24:16 -07:00
|
|
|
|
|
|
|
]
|
|
|
|
|
|
|
|
this.COURSE_MUSIC = [
|
|
|
|
74,
|
|
|
|
16,
|
|
|
|
15,
|
|
|
|
21,
|
|
|
|
|
|
|
|
38,
|
|
|
|
17,
|
|
|
|
19,
|
|
|
|
36,
|
|
|
|
|
|
|
|
37,
|
|
|
|
39,
|
|
|
|
74,
|
|
|
|
18,
|
|
|
|
|
|
|
|
19,
|
|
|
|
20,
|
|
|
|
40,
|
|
|
|
41,
|
|
|
|
|
|
|
|
|
|
|
|
22,
|
|
|
|
30,
|
|
|
|
26,
|
|
|
|
33,
|
|
|
|
|
|
|
|
24,
|
|
|
|
31,
|
|
|
|
27,
|
|
|
|
34,
|
|
|
|
|
|
|
|
23,
|
|
|
|
29,
|
|
|
|
26,
|
|
|
|
35,
|
|
|
|
|
|
|
|
25,
|
|
|
|
32,
|
|
|
|
28,
|
|
|
|
33,
|
|
|
|
|
|
|
|
43,
|
|
|
|
43,
|
|
|
|
43,
|
|
|
|
43,
|
|
|
|
43,
|
|
|
|
43
|
|
|
|
]
|
|
|
|
|
|
|
|
})();
|