~brzeti/obscure/trunk

« back to all changes in this revision

Viewing changes to src/cgamemanager.h

  • Committer: Arthur Skonecki
  • Date: 2008-12-01 19:46:23 UTC
  • Revision ID: admin@adb.cba.pl-20081201194623-zlv6oqx1cg46ytmf
added readme.src.txt file

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#ifndef CGAMEMANAGER_H
 
2
#define CGAMEMANAGER_H
 
3
 
 
4
#include "Define.h"
 
5
#include "string.h"
 
6
//#include "CGame.h"
 
7
#include <fstream.h>
 
8
#include <iostream.h>
 
9
#include <string.h>
 
10
#include <allegro.h>
 
11
#include "rigidbody2d.h"
 
12
 
 
13
#include "gamestates_enum.h"
 
14
 
 
15
 
 
16
/**
 
17
        @author Adam <adam@cvops>
 
18
*/
 
19
class CGameManager
 
20
{
 
21
public:
 
22
    CGameManager();
 
23
        
 
24
    ~CGameManager();
 
25
    char* FeedMap();
 
26
    int CheckState();
 
27
    int LoadCampaign(char* cmp);
 
28
    int CallIn();
 
29
    static void UpdateFlagsAndCounters();
 
30
    void ResetCampaign();
 
31
    
 
32
public:
 
33
        std::string Cmp[255];
 
34
        char MapC;
 
35
        char MapCMax;
 
36
        BITMAP* splash;
 
37
        
 
38
        static bool GameOver_f;
 
39
        static bool MapWon_f;
 
40
        static bool CmpWon_f;
 
41
 
 
42
};
 
43
 
 
44
#endif