/* Project 16 Source Code~\r
- * Copyright (C) 2012-2016 sparky4 & pngwen & andrius4669 & joncampbell123 & yakui-lover\r
+ * Copyright (C) 2012-2017 sparky4 & pngwen & andrius4669 & joncampbell123 & yakui-lover\r
*\r
* This file is part of Project 16.\r
*\r
//#include <hw/dos/dos.h>\r
#include <hw/vga/vrl.h>\r
#include "src/lib/16_ca.h"\r
-\r
+/*\r
struct vrs_container{\r
// Size of a .vrs lob in memory\r
// minus header\r
// Array of corresponding vrl line offsets\r
vrl1_vgax_offset_t **vrl_line_offsets;\r
};\r
-\r
+*//*\r
struct vrl_container{\r
// Size of a .vrl blob in memory\r
// minus header\r
// Pointer to a corresponding vrl line offsets struct\r
vrl1_vgax_offset_t *line_offsets;\r
};\r
-\r
+*/\r
/* Read .vrs file into memory\r
* In:\r
* + char *filename - name of the file to load\r
* Out:\r
* + int - 0 on succes, 1 on failure\r
*/\r
-int read_vrs(global_game_variables_t *gvar, char *filename, struct vrs_container *vrs_cont);\r
+void VRS_ReadVRS(char *filename, entity_t *enti, global_game_variables_t *gvar);\r
+void VRS_LoadVRS(char *filename, entity_t *enti, global_game_variables_t *gvar);\r
+void VRS_OpenVRS(char *filename, entity_t *enti, boolean rlsw, global_game_variables_t *gvar);\r
\r
/* Seek and return a specified .vrl blob from .vrs blob in memory\r
* In:\r