tinyptc.h File Reference

Go to the source code of this file.

Defines

#define __PTC_DDRAW__
#define __PTC_WINDOWED__
#define __PTC_CENTER_WINDOW__
#define __PTC_RESIZE_WINDOW__
#define __PTC_SYSTEM_MENU__
#define __PTC_ICON__   "IDI_MAIN"
#define __PTC_ALLOW_CLOSE__
#define __PTC_DISABLE_SCREENSAVER__
#define __PTC_CONVERTER_32_TO_32_RGB888
#define __PTC_CONVERTER_32_TO_32_BGR888
#define __PTC_CONVERTER_32_TO_24_RGB888
#define __PTC_CONVERTER_32_TO_24_BGR888
#define __PTC_CONVERTER_32_TO_16_RGB565
#define __PTC_CONVERTER_32_TO_16_BGR565
#define __PTC_CONVERTER_32_TO_16_RGB555
#define __PTC_CONVERTER_32_TO_16_BGR555
#define __PTC_LITTLE_ENDIAN__
#define __PTC_MMX__
#define __PTC_MEMCPY__

Typedefs

typedef unsigned __int32 int32
typedef unsigned __int16 short16
typedef unsigned __int8 char8

Functions

int ptc_open (char *title, int width, int height)
int ptc_update (void *buffer)
void ptc_close ()


Define Documentation

#define __PTC_ALLOW_CLOSE__
 

Definition at line 31 of file tinyptc.h.

#define __PTC_CENTER_WINDOW__
 

Definition at line 27 of file tinyptc.h.

#define __PTC_CONVERTER_32_TO_16_BGR555
 

Definition at line 43 of file tinyptc.h.

#define __PTC_CONVERTER_32_TO_16_BGR565
 

Definition at line 41 of file tinyptc.h.

#define __PTC_CONVERTER_32_TO_16_RGB555
 

Definition at line 42 of file tinyptc.h.

#define __PTC_CONVERTER_32_TO_16_RGB565
 

Definition at line 40 of file tinyptc.h.

#define __PTC_CONVERTER_32_TO_24_BGR888
 

Definition at line 39 of file tinyptc.h.

#define __PTC_CONVERTER_32_TO_24_RGB888
 

Definition at line 38 of file tinyptc.h.

#define __PTC_CONVERTER_32_TO_32_BGR888
 

Definition at line 37 of file tinyptc.h.

#define __PTC_CONVERTER_32_TO_32_RGB888
 

Definition at line 36 of file tinyptc.h.

#define __PTC_DDRAW__
 

Definition at line 21 of file tinyptc.h.

#define __PTC_DISABLE_SCREENSAVER__
 

Definition at line 33 of file tinyptc.h.

#define __PTC_ICON__   "IDI_MAIN"
 

Definition at line 30 of file tinyptc.h.

Referenced by ptc_open().

#define __PTC_LITTLE_ENDIAN__
 

Definition at line 46 of file tinyptc.h.

#define __PTC_MEMCPY__
 

Definition at line 50 of file tinyptc.h.

#define __PTC_MMX__
 

Definition at line 49 of file tinyptc.h.

#define __PTC_RESIZE_WINDOW__
 

Definition at line 28 of file tinyptc.h.

#define __PTC_SYSTEM_MENU__
 

Definition at line 29 of file tinyptc.h.

#define __PTC_WINDOWED__
 

Definition at line 26 of file tinyptc.h.


Typedef Documentation

typedef unsigned __int8 char8
 

Definition at line 13 of file tinyptc.h.

typedef unsigned __int32 int32
 

Definition at line 11 of file tinyptc.h.

typedef unsigned __int16 short16
 

Definition at line 12 of file tinyptc.h.


Function Documentation

void ptc_close  ) 
 

Definition at line 489 of file ddraw.c.

References library, lpDD, lpDDS, lpDDS_secondary, and wnd.

Referenced by CPintador::finalizar(), and WndProc().

int ptc_open char *  title,
int  width,
int  height
 

Definition at line 186 of file ddraw.c.

References __PTC_ICON__, convert, dx, dy, library, lpDD, lpDDC, lpDDS, lpDDS_back, lpDDS_secondary, original_window_height, original_window_width, ptc_request_converter(), SC_ZOOM_1x1, SC_ZOOM_2x2, SC_ZOOM_4x4, system_menu, wc, wnd, and WndProc().

Referenced by CPintador::iniciar().

int ptc_update void *  buffer  ) 
 

Definition at line 411 of file ddraw.c.

References active, convert, dx, dy, lpDDS, lpDDS_back, lpDDS_secondary, ptc_paint_primary(), and wnd.

Referenced by CPintador::render().


Generated on Fri May 13 16:32:36 2005 for Screaming Racers by  doxygen 1.4.2