Nilorea Library

- Main Page
- Modules
- Data Structures
- Files

- File List
- Globals

All Data Structures Files Functions Variables Typedefs Macros Groups
Macros | Functions
n_gfx.h File Reference
`#include "n_log.h"`
`#include <alleggl.h>`
Include dependency graph for n_gfx.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

## Macros

#define | MODE_OGL 1
#define | MODE_DX 2

## Functions

int | gfx_status (int ACTION, int value)
| status of opengl & or directx More...
int | gfx_mode (int card, int W, int H, int VW, int VH, int depth, float r, float g, float b, float alpha)
| init and make a clear of the grafic screen More...
int | Force32BitBmpToAlpha (BITMAP *bmp)
| Force if already not a 32bpp bmp to be the same with an alpha channel. More...
void | force_color_to_be (BITMAP *bmp, int oldcolor, int newcolor)
| Change all the bmp pixel of the same color src to color dst. More...
void | ogl_blit (GLuint mytexture, int x, int y, int r, int g, int b, int alpha, int w, int h, int mode)
| Draw a given texture to the screen at position x,y and of size w,h. More...

## Detailed Description

Graphic mode and helpers functions

Author
  Castagnier Mickael

Version
  1.0

Date
  28/07/05

Definition in file n_gfx.h.