Pol  Revision:cb584c9
uofilei.h File Reference
#include "uconst.h"
#include "udatfile.h"
#include <fstream>
#include <cstdio>

Go to the source code of this file.

Namespaces

 Pol
 
 Pol::Core
 

Macros

#define VERFILE_ANIM_IDX   0x05
 
#define VERFILE_ANIM_MUL   0x06
 
#define VERFILE_ANIMDATA_MUL   0x1F
 
#define VERFILE_ART_MUL   0x04
 
#define VERFILE_ARTIDX_MUL   0x03
 
#define VERFILE_GUMPART_MUL   0x0C
 
#define VERFILE_GUMPIDX_MUL   0x0B
 
#define VERFILE_MAP0_MUL   0x00
 
#define VERFILE_MULTI_IDX   0x0D
 
#define VERFILE_MULTI_MUL   0x0E
 
#define VERFILE_SKILLS_IDX   0x0F
 
#define VERFILE_SKILLS_MUL   0x10
 
#define VERFILE_SOUND_MUL   0x08
 
#define VERFILE_SOUNDIDX_MUL   0x07
 
#define VERFILE_STAIDX0_MUL   0x01
 
#define VERFILE_STATICS0_MUL   0x02
 
#define VERFILE_TEXIDX_MUL   0x09
 
#define VERFILE_TEXMAPS_MUL   0x0A
 
#define VERFILE_TILEDATA_MUL   0x1E
 

Functions

bool Pol::Core::check_verdata (unsigned int file, unsigned int block, const Core::USTRUCT_VERSION *&vrec)
 
FILE * Pol::Core::open_uo_file (const std::string &filename_part)
 
void Pol::Core::read_map_difs ()
 
void Pol::Core::read_static_diffs ()
 
void Pol::Core::standheight (MOVEMODE movemode, StaticList &statics, unsigned short x, unsigned short y, short oldz, bool *result_out, short *newz_out)
 

Detailed Description

History

Definition in file uofilei.h.

Macro Definition Documentation

#define VERFILE_ANIM_IDX   0x05

Definition at line 46 of file uofilei.h.

#define VERFILE_ANIM_MUL   0x06

Definition at line 47 of file uofilei.h.

#define VERFILE_ANIMDATA_MUL   0x1F

Definition at line 59 of file uofilei.h.

#define VERFILE_ART_MUL   0x04

Definition at line 45 of file uofilei.h.

#define VERFILE_ARTIDX_MUL   0x03

Definition at line 44 of file uofilei.h.

#define VERFILE_GUMPART_MUL   0x0C

Definition at line 53 of file uofilei.h.

#define VERFILE_GUMPIDX_MUL   0x0B

Definition at line 52 of file uofilei.h.

#define VERFILE_MAP0_MUL   0x00

Definition at line 41 of file uofilei.h.

#define VERFILE_MULTI_IDX   0x0D

Definition at line 54 of file uofilei.h.

#define VERFILE_MULTI_MUL   0x0E

Definition at line 55 of file uofilei.h.

Referenced by Pol::UoConvert::create_multis_cfg().

#define VERFILE_SKILLS_IDX   0x0F

Definition at line 56 of file uofilei.h.

#define VERFILE_SKILLS_MUL   0x10

Definition at line 57 of file uofilei.h.

#define VERFILE_SOUND_MUL   0x08

Definition at line 49 of file uofilei.h.

#define VERFILE_SOUNDIDX_MUL   0x07

Definition at line 48 of file uofilei.h.

#define VERFILE_STAIDX0_MUL   0x01

Definition at line 42 of file uofilei.h.

#define VERFILE_STATICS0_MUL   0x02

Definition at line 43 of file uofilei.h.

#define VERFILE_TEXIDX_MUL   0x09

Definition at line 50 of file uofilei.h.

#define VERFILE_TEXMAPS_MUL   0x0A

Definition at line 51 of file uofilei.h.

#define VERFILE_TILEDATA_MUL   0x1E

Definition at line 58 of file uofilei.h.