Nilorea Library

- Main Page
- Data Structures
- Files

- File List
- Globals

All Data Structures Files Functions Variables Typedefs Macros
Data Structures | Typedefs | Functions
n_worldmap.h File Reference
`#include <sys/types.h>`
`#include <sys/stat.h>`
`#include <unistd.h>`
`#include "n_common.h"`
`#include "n_str.h"`
`#include "n_list.h"`
`#include <GL/gl.h>`
`#include <GL/glut.h>`
Include dependency graph for n_worldmap.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

## Data Structures

struct | N_MAP_CELL
struct | N_MAP_BOX
struct | N_WORLDMAP

## Typedefs

typedef struct N_MAP_CELL | N_MAP_CELL
typedef struct N_MAP_BOX | N_MAP_BOX
typedef struct N_WORLDMAP | N_WORLDMAP

## Functions

N_WORLDMAP * | load_worldmap_config (char *config)
N_MAP_BOX * | load_box (N_WORLDMAP *world, int x, int y, int z)
N_MAP_BOX * | create_new_box (N_WORLDMAP *world, int x, int y, int z)
int | save_box (N_WORLDMAP *world, N_MAP_BOX *box)
int | unload_box (N_WORLDMAP *world, N_MAP_BOX **box)
int | draw_cell (N_WORLDMAP *world, int x, int y, int z)
int | update_cell_draw_list (N_WORLDMAP *world, N_MAP_BOX *box)
int | update_box_draw_list (N_WORLDMAP *world)

## Detailed Description

world map management header

Author
  Castagnier Mickael

Version
  1.0

Date
  28/04/2014

world map management function

Author
  Castagnier Mickael

Version
  1.0

Date
  28/04/2014

Definition in file n_worldmap.h.

## Typedef Documentation

typedef struct N_MAP_BOX N_MAP_BOX

typedef struct N_MAP_CELL N_MAP_CELL

typedef struct N_WORLDMAP N_WORLDMAP

## Function Documentation

N_MAP_BOX* create_new_box | ( | N_WORLDMAP * | world,
|  | int | x,
|  | int | y,
|  | int | z
| ) |  |

int draw_cell | ( | N_WORLDMAP * | world,
|  | int | x,
|  | int | y,
|  | int | z
| ) |  |

Definition at line 166 of file n_worldmap.c.

Here is the caller graph for this function:

N_MAP_BOX* load_box | ( | N_WORLDMAP * | world,
|  | int | x,
|  | int | y,
|  | int | z
| ) |  |

Definition at line 96 of file n_worldmap.c.

Here is the call graph for this function:

N_WORLDMAP* load_worldmap_config | ( | char * | config | ) |

Definition at line 19 of file n_worldmap.c.

Here is the call graph for this function:

int save_box | ( | N_WORLDMAP * | world,
|  | N_MAP_BOX * | box
| ) |  |

Definition at line 134 of file n_worldmap.c.

Here is the caller graph for this function:

int unload_box | ( | N_WORLDMAP * | world,
|  | N_MAP_BOX ** | box
| ) |  |

Definition at line 148 of file n_worldmap.c.

int update_box_draw_list | ( | N_WORLDMAP * | world | ) |

Definition at line 291 of file n_worldmap.c.

Here is the call graph for this function:

int update_cell_draw_list | ( | N_WORLDMAP * | world,
|  | N_MAP_BOX * | box
| ) |  |

Definition at line 235 of file n_worldmap.c.

Here is the call graph for this function: