From: sparky4 Date: Tue, 14 Mar 2017 23:51:23 +0000 (-0500) Subject: __seguse.txt added to show _seg usage also OpenVGMFile needs to be ported to 16_snd... X-Git-Url: http://4ch.mooo.com/gitweb/?a=commitdiff_plain;h=f790a8db85cce759fa33c2d70a58167df1713f16;p=16.git __seguse.txt added to show _seg usage also OpenVGMFile needs to be ported to 16_snd.c ][ ca needs huge amounts of work and i should remember what needs to be done soon also i should reverify 16_in.c to make sure it can work with other code of id engine ] i hope you rest in pepperoni free(vrl_line_offsets); i cri ebrytiem[cleaned up the #define shit i used] --- diff --git a/src/lib/16_vrs.c b/src/lib/16_vrs.c index 1c317bba..874a58b1 100755 --- a/src/lib/16_vrs.c +++ b/src/lib/16_vrs.c @@ -54,6 +54,7 @@ void VRS_OpenVRS(char *filename, entity_t *enti, boolean rlsw, global_game_varia // Allocate memory for vrl line offsets table vrl_line_offsets = malloc(sizeof(vrl1_vgax_offset_t *)*num_of_vrl);//TODO: USE MM_ CA_ AND PM_ + vrl_headers_offsets = (uint32_t far *)(enti->spri.spritesheet.buffer + enti->spri.spritesheet.vrs_hdr->offset_table[VRS_HEADER_OFFSET_VRS_LIST]); // Calculate line offsets for each vrl for(i = 0; i < num_of_vrl; i++){