Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

Zdef.h

Go to the documentation of this file.
00001 /*
00002 
00003         ZMACHINE 2.0 (SIGFRID)
00004 
00005         ZDEF.H
00006 
00007         author:                 Trombetta Roberto
00008         filename:               Zdef.h  
00009         description:    header file for common definitions
00010         date:                   10/02/2003
00011 
00012 */
00013 
00014 #ifndef __ZDEF_H_
00015 #define __ZDEF_H_
00016 
00017 #include "Ztypes.h"
00018 
00019         #define __ZWINDOWS32                            0
00020         #define __ZTARGET                                       __ZWINDOWS32
00021         #define ZM_INITSTRING                           "Sigfrid 001"
00022         #define ZM_DEBUG_LEVEL                          1
00023         #define ZM_OK                                           1
00024         #define ZM_FAILURE                                      -1
00025         #define ZD_EPSILON                                      0.01
00026         #define ZM_PIOVER180                            0.0174532925 
00027         
00028         #define ZM_NUM_KEYS                                     5
00029         #define ZM_KEY_STATE_UP                         0
00030         #define ZM_KEY_STATE_DOWN                       1
00031         #define ZM_KEY_UP                                       0
00032         #define ZM_KEY_DOWN                                     1
00033         #define ZM_KEY_LEFT                                     2
00034         #define ZM_KEY_RIGHT                            3
00035         #define ZM_KEY_ESC                                      4
00036 
00037 #endif // __ZDEF_H_



SourceForge.net Logo