File tree 3 files changed +6
-2
lines changed
3 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -53,7 +53,7 @@ class CAddBrickGame : public CGameBase
53
53
enum
54
54
{
55
55
BRICKS_MOVE_INTERVAL = 2500 ,
56
- CONTROL_MOVE_INTERVAL = 95 ,
56
+ CONTROL_MOVE_INTERVAL = 115 ,
57
57
CONTROL_FIRE_INTERVAL = 100 ,
58
58
BULLET_MOVE_INTERVAL = 70 ,
59
59
SELF_ROW_INDEX = (ROW_COUNT - 2 ),
Original file line number Diff line number Diff line change @@ -188,6 +188,10 @@ void CTankGame::OnButtonEvent(const SEventContextButton* pButtonEvent)
188
188
return ;
189
189
}
190
190
int nDir = BTNID_2_DIR[pButtonEvent->nButtonID ];
191
+ if (nDir != DIR_LEFT && nDir != DIR_RIGHT && m_enGameStage == STAGE_BOSS)
192
+ {
193
+ return ;
194
+ }
191
195
192
196
// Update self tank direction
193
197
if (pButtonEvent->bPressedFlag )
Original file line number Diff line number Diff line change @@ -65,7 +65,7 @@ class CTankGame : public CGameBase
65
65
BULLET_MOVE_INTERVAL = 40 ,
66
66
TANK_KILL_ADD_SCORE = 10 ,
67
67
NORMAL_STAGE_TANK_COUNT_MAX = 5 ,
68
- TANK_TOTAL_COUNT = 30 ,
68
+ TANK_TOTAL_COUNT = 4 ,
69
69
BOSS_SHAPE_ROW_COUNT = 8 ,
70
70
BOSS_SHAPE_COLUMN_COUNT = 9 ,
71
71
BOSS_TANK_LIFE_COUNT = 10 ,
You can’t perform that action at this time.
0 commit comments