X-Git-Url: http://4ch.mooo.com/gitweb/?a=blobdiff_plain;f=src%2Flib%2F16_vrs.h;h=07e75321f767d7a95795474ee4f1ae6341a2b58d;hb=0902e0e217ef1eb91af959aa8ab47f355f6678e9;hp=054377b1dd63c1d95cd599acf34d23363670a5ec;hpb=63fe6f02c681d5afb8c32f6eadaacfc5f67d27cc;p=16.git diff --git a/src/lib/16_vrs.h b/src/lib/16_vrs.h index 054377b1..07e75321 100755 --- a/src/lib/16_vrs.h +++ b/src/lib/16_vrs.h @@ -1,5 +1,5 @@ /* Project 16 Source Code~ - * Copyright (C) 2012-2016 sparky4 & pngwen & andrius4669 & joncampbell123 & yakui-lover + * Copyright (C) 2012-2017 sparky4 & pngwen & andrius4669 & joncampbell123 & yakui-lover * * This file is part of Project 16. * @@ -28,7 +28,7 @@ //#include #include #include "src/lib/16_ca.h" - +/* struct vrs_container{ // Size of a .vrs lob in memory // minus header @@ -40,7 +40,7 @@ struct vrs_container{ // Array of corresponding vrl line offsets vrl1_vgax_offset_t **vrl_line_offsets; }; - +*//* struct vrl_container{ // Size of a .vrl blob in memory // minus header @@ -52,7 +52,7 @@ struct vrl_container{ // Pointer to a corresponding vrl line offsets struct vrl1_vgax_offset_t *line_offsets; }; - +*/ /* Read .vrs file into memory * In: * + char *filename - name of the file to load @@ -61,7 +61,9 @@ struct vrl_container{ * Out: * + int - 0 on succes, 1 on failure */ -int read_vrs(global_game_variables_t *gvar, char *filename, struct vrs_container *vrs_cont); +void VRS_ReadVRS(char *filename, entity_t *enti, global_game_variables_t *gvar); +void VRS_LoadVRS(char *filename, entity_t *enti, global_game_variables_t *gvar); +void VRS_OpenVRS(char *filename, entity_t *enti, boolean rlsw, global_game_variables_t *gvar); /* Seek and return a specified .vrl blob from .vrs blob in memory * In: