Main Page   Packages   Class Hierarchy   Alphabetical List   Data Structures   File List   Namespace Members   Data Fields   Globals  

Resource.h

Go to the documentation of this file.
00001 /*
00002  * $Id: Resource.h,v 1.9 2002/08/06 03:20:17 virtualcasino Exp $
00003  */
00004 #ifndef __VCASINO_RESOURCE_H__
00005 #define __VCASINO_RESOURCE_H__
00006 #include<SDL/SDL.h>
00007 #include<Font.h>
00008 /* Images */
00009 #define NUM_RESOURCES                   26
00010 #define BACKGROUND                      0
00011 #define BASE_BUTTON_UP                  1
00012 #define BASE_BUTTON_LIT                 2
00013 #define BASE_BUTTON_DOWN                3
00014 #define BUTTON_UP_LEFT                  4
00015 #define BUTTON_UP_RIGHT                 5
00016 #define BUTTON_UP_MIDDLE                6
00017 #define BUTTON_LIT_LEFT                 7
00018 #define BUTTON_LIT_RIGHT                8
00019 #define BUTTON_LIT_MIDDLE               9
00020 #define BUTTON_DOWN_LEFT                10
00021 #define BUTTON_DOWN_RIGHT               11
00022 #define BUTTON_DOWN_MIDDLE              12
00023 #define WINDOW_LEFT_TOP                 13
00024 #define WINDOW_RIGHT_TOP                14
00025 #define WINDOW_TOP_CAPTION              15
00026 #define WINDOW_BOTTOM_LEFT              16
00027 #define WINDOW_BOTTOM_RIGHT             17
00028 #define WINDOW_BOTTOM_MIDDLE            18
00029 #define WINDOW_MIDDLE_LEFT              19
00030 #define WINDOW_MIDDLE_LEFT_TOP          20
00031 #define WINDOW_MIDDLE_LEFT_BOTTOM       21
00032 #define WINDOW_MIDDLE_RIGHT             22
00033 #define WINDOW_MIDDLE_RIGHT_TOP         23
00034 #define WINDOW_MIDDLE_RIGHT_BOTTOM      24
00035 #define SPLASH                          25
00036 
00037 /* FONTS */
00038 #define NUM_FONTS               8
00039 #define PROGRESS_FONT           0
00040 #define DEFAULT_FONT            1
00041 #define BOLD_FONT               2
00042 #define ITALIC_FONT             3
00043 #define BOLD_ITALIC_FONT        4
00044 #define MINI_FONT               5
00045 #define BINGO_UNMARKED_FONT     6
00046 #define BINGO_MARKED_FONT       7
00047 
00048 extern SDL_Surface *bRes[NUM_RESOURCES];
00049 extern SDL_Surface *Screen;
00050 using namespace clawsoft;
00051 extern Font *SystemFont;
00052 
00053 bool loadResources();
00054 #endif

Powered by:

SourceForge Logo