File: zeGameOver.h

package info (click to toggle)
tecnoballz 0.91-2
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 8,016 kB
  • ctags: 3,067
  • sloc: cpp: 23,872; makefile: 311; sh: 197; ansic: 131
file content (60 lines) | stat: -rw-r--r-- 2,376 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
//*****************************************************************************
// copyright (c) 1991-2004 TLK Games all rights reserved
//-----------------------------------------------------------------------------
// file		: "zeGameOver.h"
// created		: 2002-12-14
// updates		: 2004-10-10
// fonctions	: handle the "Game Over"
//-----------------------------------------------------------------------------
// This program is free software; you can redistribute it and/or modify it under
// the terms of the GNU General Public License as published by the Free Software
// Foundation; either version 2 of the License, or (at your option) any later
// version.
// 
// This program is distributed in the hope that it will be useful, but WITHOUT
// ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
// FOR A PARTICULAR PURPOSE.  See the GNU General Public License for more
// details.
//
// You should have received a copy of the GNU General Public License along with
// this program; if not, write to the Free Software Foundation, Inc., 59 Temple
// Place - Suite 330, Boston, MA  02111-1307, USA.
//*****************************************************************************
#ifndef __ZEGAMEOVER__
#define __ZEGAMEOVER__
//...............................................................................
class zeGameOver;
//...............................................................................
#include "../include/BOB_killer.h"
#include "../include/objet_gere.h"
#include "../include/score_over.h"
//...............................................................................
class zeGameOver:public objet_gere < BOB_killer >
{
	private:
		Sint32				go_deplace;                          // step number: 0, 1, 2 or 3
		Sint32				go_zetempo;                          // tempo before next step
		GIF_bitMap*			ptGfxFonte;
		score_over*			ptScorOver;
		Sint32				chrOffsetX;
	
		static const Sint32	SIZETSINUS = 200; 	     
		static const Sint32	sinus_over[SIZETSINUS];
		static const Sint32	zeus_over1[];
	    
	private:
		void				deplace_01();
		void				deplace_02();
		void				deplace_03();
		void				deplace_04();
    
	public:
							zeGameOver();
							~zeGameOver();
		score_over*			gtScorOver();
		Sint32				first_init(Sint32 offzt = 0);
		void				initialize(Sint32 iswin);
		void				execution1(Sint32 iswin = 0);

};
#endif