]> 4ch.mooo.com Git - 16.git/blobdiff - src/lib/16_tdef.h
__seguse.txt added to show _seg usage also OpenVGMFile needs to be ported to 16_snd...
[16.git] / src / lib / 16_tdef.h
index 2d027f613a2f9391aacf554eae5e0c59cf808620..f1de2a41fe3203b3f0a12fce2e308fb00b9aeb5b 100755 (executable)
@@ -67,6 +67,7 @@ typedef struct {
 //from 16_sprit.h\r
 #ifdef __WATCOMC__\r
 #include <hw/vga/vrl.h>\r
+#define VRSVRLNONPTR\r
 \r
 typedef struct vrs_container{\r
        // Size of a .vrs blob in memory\r
@@ -95,9 +96,17 @@ typedef struct vrl_container{
 typedef struct sprite\r
 {\r
        // VRS container from which we will extract animation and image data\r
+#ifndef VRSVRLNONPTR\r
+       vrs_container_t *spritesheet;\r
+#else\r
        vrs_container_t spritesheet;\r
+#endif\r
        // Container for a vrl sprite\r
+#ifndef VRSVRLNONPTR\r
+       vrl_container_t *sprite_vrl_cont;\r
+#else\r
        vrl_container_t sprite_vrl_cont;\r
+#endif\r
        // Current sprite id\r
        int curr_spri_id;\r
        // Index of a current sprite in an animation sequence\r