mirror of
https://gitlab.com/drummyfish/anarch.git
synced 2024-12-21 23:08:49 -05:00
Update levels
This commit is contained in:
parent
544c7a955e
commit
ade73ac403
Binary file not shown.
Before Width: | Height: | Size: 4.6 KiB After Width: | Height: | Size: 4.6 KiB |
@ -425,6 +425,7 @@
|
|||||||
#define SFG_MONSTER_ATTACK_FIREBALL_BULLET 3
|
#define SFG_MONSTER_ATTACK_FIREBALL_BULLET 3
|
||||||
#define SFG_MONSTER_ATTACK_PLASMA 4
|
#define SFG_MONSTER_ATTACK_PLASMA 4
|
||||||
#define SFG_MONSTER_ATTACK_EXPLODE 5
|
#define SFG_MONSTER_ATTACK_EXPLODE 5
|
||||||
|
#define SFG_MONSTER_ATTACK_FIREBALL_PLASMA 6
|
||||||
|
|
||||||
#define SFG_MONSTER_ATTRIBUTE(attackType,aggressivity0to255,health0to255,spriteSize0to3) \
|
#define SFG_MONSTER_ATTRIBUTE(attackType,aggressivity0to255,health0to255,spriteSize0to3) \
|
||||||
((uint16_t) ( \
|
((uint16_t) ( \
|
||||||
@ -461,7 +462,7 @@ uint16_t SFG_monsterAttributeTable[SFG_MONSTERS_TOTAL] =
|
|||||||
/* destr. */ SFG_MONSTER_ATTRIBUTE(SFG_MONSTER_ATTACK_FIREBALL_BULLET,165,170,3),
|
/* destr. */ SFG_MONSTER_ATTRIBUTE(SFG_MONSTER_ATTACK_FIREBALL_BULLET,165,170,3),
|
||||||
/* warrior */ SFG_MONSTER_ATTRIBUTE(SFG_MONSTER_ATTACK_MELEE,255,40,1),
|
/* warrior */ SFG_MONSTER_ATTRIBUTE(SFG_MONSTER_ATTACK_MELEE,255,40,1),
|
||||||
/* plasma */ SFG_MONSTER_ATTRIBUTE(SFG_MONSTER_ATTACK_PLASMA,55,92,1),
|
/* plasma */ SFG_MONSTER_ATTRIBUTE(SFG_MONSTER_ATTACK_PLASMA,55,92,1),
|
||||||
/* ender */ SFG_MONSTER_ATTRIBUTE(SFG_MONSTER_ATTACK_FIREBALL_BULLET,75,255,3),
|
/* ender */ SFG_MONSTER_ATTRIBUTE(SFG_MONSTER_ATTACK_FIREBALL_PLASMA,75,255,3),
|
||||||
/* turret */ SFG_MONSTER_ATTRIBUTE(SFG_MONSTER_ATTACK_BULLET,32,23,0),
|
/* turret */ SFG_MONSTER_ATTRIBUTE(SFG_MONSTER_ATTACK_BULLET,32,23,0),
|
||||||
/* explod. */ SFG_MONSTER_ATTRIBUTE(SFG_MONSTER_ATTACK_EXPLODE,255,36,1)
|
/* explod. */ SFG_MONSTER_ATTRIBUTE(SFG_MONSTER_ATTACK_EXPLODE,255,36,1)
|
||||||
};
|
};
|
||||||
|
8
game.h
8
game.h
@ -2174,6 +2174,12 @@ void SFG_monsterPerformAI(SFG_MonsterRecord *monster)
|
|||||||
SFG_PROJECTILE_BULLET;
|
SFG_PROJECTILE_BULLET;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
case SFG_MONSTER_ATTACK_FIREBALL_PLASMA:
|
||||||
|
projectile = (SFG_random() < 128) ?
|
||||||
|
SFG_PROJECTILE_FIREBALL :
|
||||||
|
SFG_PROJECTILE_PLASMA;
|
||||||
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
projectile = SFG_PROJECTILE_NONE;
|
projectile = SFG_PROJECTILE_NONE;
|
||||||
break;
|
break;
|
||||||
@ -4341,7 +4347,7 @@ void SFG_drawWinOverlay()
|
|||||||
uint32_t time = blink ? timeTotal : SFG_currentLevel.completionTime10sOfS;
|
uint32_t time = blink ? timeTotal : SFG_currentLevel.completionTime10sOfS;
|
||||||
|
|
||||||
x += SFG_drawNumber(time / 10,x,y,SFG_FONT_SIZE_SMALL,7) *
|
x += SFG_drawNumber(time / 10,x,y,SFG_FONT_SIZE_SMALL,7) *
|
||||||
CHAR_SIZE;
|
CHAR_SIZE + SFG_FONT_SIZE_SMALL;
|
||||||
|
|
||||||
char timeRest[5] = ".X s";
|
char timeRest[5] = ".X s";
|
||||||
|
|
||||||
|
@ -29,7 +29,7 @@
|
|||||||
|
|
||||||
// #define SFG_START_LEVEL 6
|
// #define SFG_START_LEVEL 6
|
||||||
// #define SFG_IMMORTAL 1
|
// #define SFG_IMMORTAL 1
|
||||||
#define SFG_UNLOCK_DOOR 1
|
// #define SFG_UNLOCK_DOOR 1
|
||||||
// #define SFG_REVEAL_MAP 1
|
// #define SFG_REVEAL_MAP 1
|
||||||
// #define SFG_INFINITE_AMMO 1
|
// #define SFG_INFINITE_AMMO 1
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user