-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Worked a bit more on double width and noticed that frame time might b…
…e a problem
- Loading branch information
na_th_an
committed
Oct 4, 2018
1 parent
fdebd8c
commit a0680ea
Showing
79 changed files
with
2,755 additions
and
1,599 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
// NES MK1 v1.0 | ||
// Copyleft Mojon Twins 2013, 2015, 2017, 2018 | ||
|
||
// LUTs | ||
|
||
#ifdef ENABLE_MONOCOCOS | ||
const unsigned char monococo_state_times [] = { | ||
MONOCOCO_BASE_TIME_HIDDEN, MONOCOCO_BASE_TIME_APPEARING, MONOCOCO_BASE_TIME_ONBOARD, MONOCOCO_BASE_TIME_APPEARING | ||
}; | ||
#endif | ||
|
||
#if defined (ENABLE_COCOS) && defined(COCOS_ENABLE_LINEAR) | ||
// left, up, right, down | ||
const signed int coco_dx [] = { -COCO_V, 0, COCO_V, 0 }; | ||
const signed int coco_dy [] = { 0, -COCO_V, 0, COCO_V }; | ||
#endif | ||
|
||
#if defined (ENABLE_COMPILED_ENEMS) | ||
// Directions are | ||
// LEFT DOWNLEFT DOWN DOWNRIGHT RIGHT UPRIGHT UP UPLEFT | ||
// 0 1 2 3 4 5 6 7 | ||
const signed char endx [] = {-1, -1, 0, 1, 1, 1, 0, -1}; | ||
const signed char endy [] = {0, 1, 1, 1, 0, -1, -1, -1}; | ||
#endif | ||
|
||
#if defined (ENABLE_TILE_CHAC_CHAC) | ||
const unsigned char chac_chacs_times [] = { | ||
0, CHAC_CHAC_IDLE_2, CHAC_CHAC_IDLE_3, CHAC_CHAC_IDLE_4, CHAC_CHAC_IDLE_3, CHAC_CHAC_IDLE_3 | ||
}; | ||
|
||
const unsigned char chac_chacs_t1 [] = { | ||
CHAC_CHAC_BASE_TILE + 6, CHAC_CHAC_BASE_TILE, CHAC_CHAC_BASE_TILE + 2, CHAC_CHAC_BASE_TILE + 5, CHAC_CHAC_BASE_TILE + 2, CHAC_CHAC_BASE_TILE | ||
}; | ||
|
||
const unsigned char chac_chacs_t2 [] = { | ||
CHAC_CHAC_BASE_TILE + 6, CHAC_CHAC_BASE_TILE + 6, CHAC_CHAC_BASE_TILE + 6, CHAC_CHAC_BASE_TILE + 4, CHAC_CHAC_BASE_TILE + 6, CHAC_CHAC_BASE_TILE + 6 | ||
}; | ||
|
||
const unsigned char chac_chacs_t3 [] = { | ||
CHAC_CHAC_BASE_TILE + 6, CHAC_CHAC_BASE_TILE + 1, CHAC_CHAC_BASE_TILE + 3, CHAC_CHAC_BASE_TILE + 5, CHAC_CHAC_BASE_TILE + 3, CHAC_CHAC_BASE_TILE + 1 | ||
}; | ||
#endif | ||
|
||
const unsigned char bits [] = { | ||
1, 2, 4, 8, 16, 32, 64, 128 | ||
}; | ||
|
||
#ifdef ENEMS_MAY_DIE | ||
const unsigned char jitter [] = { 0,1,1,0,0,1,0,1,1,0,0,0,1,0,1,1 }; | ||
#endif | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
// NES MK1 v1.0 | ||
// Copyleft Mojon Twins 2013, 2015, 2017, 2018 | ||
|
||
// bolts.h | ||
// Lock management | ||
|
||
void bolts_load (void) { | ||
gp_gen = (unsigned char *) (c_locks); | ||
gpit = c_max_bolts; while (gpit --) { | ||
lkact [gpit] = 1; | ||
} | ||
} |
Oops, something went wrong.