Remove some explicit array sizes
These are just annoying, and chances are the source code never did this. I might just remove *all* of these at some point.
This commit is contained in:
parent
c81829e99a
commit
5579c57738
5 changed files with 6 additions and 6 deletions
|
@ -102,7 +102,7 @@ void PutBullet(int fx, int fy)
|
|||
}
|
||||
}
|
||||
|
||||
BULLET_TABLE gBulTbl[46] = {
|
||||
BULLET_TABLE gBulTbl[] = {
|
||||
// Null
|
||||
{0, 0, 0, 0, 0, 0, 0, 0, {0, 0, 0, 0}},
|
||||
// Snake
|
||||
|
|
|
@ -38,7 +38,7 @@ struct CARET_TABLE
|
|||
CARET gCrt[CARET_MAX];
|
||||
|
||||
// Sprite offsets
|
||||
CARET_TABLE gCaretTable[18] = {
|
||||
CARET_TABLE gCaretTable[] = {
|
||||
{0, 0}, // CARET_NULL
|
||||
{ 4 * 0x200, 4 * 0x200}, // CARET_BUBBLE
|
||||
{ 8 * 0x200, 8 * 0x200}, // CARET_PROJECTILE_DISSIPATION
|
||||
|
|
|
@ -15,7 +15,7 @@ void ReadyMapName(const char *str)
|
|||
int a;
|
||||
|
||||
// Handle "Studio Pixel presents" text in the intro, using an obfuscated string
|
||||
unsigned char presentText[24] = {
|
||||
unsigned char presentText[] = {
|
||||
#ifdef JAPANESE
|
||||
// "開発室Pixel presents"
|
||||
0x8A - 1, // 開
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
#include "NpcAct.h"
|
||||
|
||||
// Npc function table
|
||||
const NPCFUNCTION gpNpcFuncTbl[361] = {
|
||||
const NPCFUNCTION gpNpcFuncTbl[] = {
|
||||
ActNpc000,
|
||||
ActNpc001,
|
||||
ActNpc002,
|
||||
|
|
|
@ -33,7 +33,7 @@ MusicID gOldNo;
|
|||
|
||||
// Note: Pixel made numerous capitalisation errors when creating this table.
|
||||
// This isn't a problem for Windows, because of its case-insensitive filesystem.
|
||||
const STAGE_TABLE gTMT[95] = {
|
||||
const STAGE_TABLE gTMT[] = {
|
||||
STAGE_ENTRY("0", "0", BACKGROUND_TYPE_BLACK, "bk0", "Guest", "0", 0, "Null", "\x96\xB3"), /* 無 */
|
||||
STAGE_ENTRY("Pens", "Pens1", BACKGROUND_TYPE_MOVE_DISTANT, "BkBlue", "Guest", "0", 0, "Arthur's House", "\x83\x41\x81\x5B\x83\x54\x81\x5B\x82\xCC\x89\xC6"), /* アーサーの家 */
|
||||
STAGE_ENTRY("Eggs", "Eggs", BACKGROUND_TYPE_MOVE_DISTANT, "BkGreen", "Eggs1", "Ravil", 0, "Egg Corridor", "\x83\x5E\x83\x7D\x83\x53\x89\xF1\x98\x4C"), /* タマゴ回廊 */
|
||||
|
@ -206,7 +206,7 @@ BOOL TransferStage(int no, int w, int x, int y)
|
|||
}
|
||||
|
||||
// Music
|
||||
const char* const gMusicTable[42] = {
|
||||
const char* const gMusicTable[] = {
|
||||
"XXXX",
|
||||
"WANPAKU",
|
||||
"ANZEN",
|
||||
|
|
Loading…
Add table
Reference in a new issue