home *** CD-ROM | disk | FTP | other *** search
- ;
- ; Script conversion of file STRIPTEA.WLD
- ;
- Type: WRLD
- Title: "\n\n\r"
- "World file STRIPTEA.WLD revision 12\n\r"
- "Saved from VRT version 5.00\n\r"
- "\x1A"
- ;
- ;-------Layers------------------------------------------------------------
- ;
- Chunk: LayerNames
- NumLayers: 2
- Name: "Default"
- Name: "System"
- End_Chunk
- ;
- ;-------Object 0-------------------------------------------------------
- ;
- Chunk: Standard
- Name: "RootObject"
- Number: 0
- Size: 2147483647 2147483647 2147483647
- Position: 0 0 0
- Type: 65535
- Layer: 0
- DFlags: E
- End_Chunk
- Chunk: ViewPoint
- Number: 100
- Subchunk
- Number: 1
- Type: 35
- View: 0
- Point: 0
- Frames: 1
- Position: 0 Frame: 0 Type: StraightMove Pos: 2000818 9841 1969977
- Rotation: 0 Frame: 0 Type: Relative Offset: 0 65399 0 Zoom: 0x2000
- End_Chunk
- Chunk: Colours
- Number: 6
- 0x12 0x00 0x01 0x27 0x00 0x01
- End_Chunk
- Chunk: LightSource
- Brightness: 2048
- Offset: -724 1448 -1254
- Rotation: 0x0000 0x0000 0x0000
- BeamWidth: 0
- Dispersion: 200
- Colour: 0xFF 0xFF 0xFF
- BeamEdge: 0
- Flags: pOo
- End_Chunk
-
- Children:
- ;
- ;-------Object 2-------------------------------------------------------
- ;
- Chunk: Standard
- Name: "icons"
- Number: 2
- Size: 2000 2300 1000
- Position: 2006000 0 1993000
- Type: 65535
- Layer: 0
- End_Chunk
- Chunk: SCL
- short SELECTED=21, HERS=21;
-
-
-
- marker (3)=0;
-
- instr (1)=17;
-
- instr (2)=2;
-
- instr (3)=3;
-
- instr (5)=SELECTED;
-
- instr (4)=HERS;
-
- switch (marker (2));
-
- case 1:
-
- instr (1)=18;
-
- case 2:
-
- instr (2)=19;
-
- case 3:
-
- instr (3)=20;
-
- switch (marker (1));
-
- case 1:
-
- {
-
- /*menu lock stuff*/
-
- menuLock (1);
-
- loadvrt ("garden.vrt");
-
- }
-
- case 2:
-
- marker (3)=1;
-
- case 3:
-
- marker (3)=2;
-
- marker (1)=0;
-
- marker (2)=0;
-
- repeat (5)
-
- update (inloop);
-
-
- end
- End_Chunk
-
- Chunk: ImageRef
- Number: 1
- Index: 1 Image: 2
- End_Chunk
- Chunk: Textures
- Number: 1
- SubChunk
- Facet: 2
- ImageRef: 1
- Scale: 256 256
- Offset: 0 0
- PixScale: 0
- End_Chunk
- ;
- ;-------Object 3-------------------------------------------------------
- ;
- Chunk: Standard
- Name: "card logics"
- Number: 3
- Size: 2000 2300 1000
- Position: 2008000 0 1993000
- Type: 65535
- Layer: 0
- End_Chunk
- Chunk: SCL
- short GAME=1, HCARD, YCARD, STRIP, OSTRIP;
-
- long Time;
-
-
-
- resume (2, 2);
-
- if (first)
-
- {
-
- ranseed (vrtime);
-
- marker (3)=0;
-
- marker (4)=0;
-
- }
-
- if (GAME)
-
- {
-
- Time=vrtime;
-
- while (vrtime<Time+2000)
-
- waitf;
-
- #2.SELECTED=21;
-
- #2.HERS=21;
-
- OSTRIP=STRIP;
-
- /*LOAD IMAGE*/
-
- YCARD=random (13);
-
- HCARD=random (13);
-
- while (YCARD==HCARD)
-
- HCARD=random (13);
-
- #2.SELECTED=YCARD+4;
-
- GAME=0;
-
- }
-
- if (marker (3)==1 && GAME==0)
-
- {
-
- /*HIGHER*/
-
- if (YCARD<HCARD)
-
- {
-
- STRIP+=1;
-
- counter (26)=table (random (7)) {9, 15, 46, 85, 86, 130};
-
- }
-
- else
-
- {
-
- STRIP-=1;
-
- counter (26)=table (random (6)) {172, 173, 174};
-
- }
-
- #2.HERS=HCARD+4;
-
- marker (3)=0;
-
- GAME=1;
-
- }
-
- if (marker (3)==2 && GAME==0)
-
- {
-
- /*LOWER*/
-
- if (HCARD<YCARD)
-
- {
-
- STRIP+=1;
-
- counter (26)=table (random (6)) {9, 15, 46, 85, 86, 130};
-
- }
-
- else
-
- {
-
- STRIP-=1;
-
- counter (26)=table (random (6)) {172, 173, 174};
-
- }
-
- #2.HERS=HCARD+4;
-
- marker (3)=0;
-
- GAME=1;
-
- }
-
- if (OSTRIP!=STRIP)
-
- {
-
- if (STRIP<0)
-
- STRIP=0;
-
- if (STRIP>14 || STRIP==14)
-
- {
-
- counter (26)=170;
-
- STRIP=14;
-
- marker (4)=STRIP;
-
- #1.REFRESH=1;
-
- /*menu stuff*/
-
- waitfs (20);
-
- menuLock (1);
-
- loadvrt ("garden.vrt");
-
- }
-
- marker (4)=STRIP;
-
- #1.REFRESH=1;
-
- OSTRIP=STRIP;
-
- }
- end
- End_Chunk
-
- Chunk: ImageRef
- Number: 1
- Index: 1 Image: 2
- End_Chunk
- Chunk: Textures
- Number: 1
- SubChunk
- Facet: 2
- ImageRef: 1
- Scale: 256 256
- Offset: 0 0
- PixScale: 0
- End_Chunk
- ;
- ;-------Object 4-------------------------------------------------------
- ;
- Chunk: Standard
- Name: "sounds"
- Number: 4
- Size: 2000 2300 1000
- Position: 2010000 0 1993000
- Type: 65535
- Layer: 0
- End_Chunk
- Chunk: SCL
- char NAME[10], PATH[256], DIR[256], DRIVE[3];
-
- long WIDTH, HEIGHT, newPOS, oldWIDTH, STATS[8];
-
- short Scale=20, imgNum=98, LOWEST, MOODS=1, TEMP, ROT;
-
-
-
- resume (2, 2);
-
- if (first)
-
- {
-
- cdDrive (&DRIVE);
-
- strcpy (&DIR, &DRIVE);
-
- strcat (&DIR, "\\LoveBytes\\");
-
- counter (20)=-1;
-
- counter (25)=-1;
-
- }
-
- if (counter (26)>-1)
-
- {
-
- strcpy (&PATH, &DIR);
-
- strcat (&PATH, "sounds\\");
-
- ltoa (&NAME, counter (26));
-
- strcat (&PATH, &NAME);
-
- strcat (&PATH, ".wav");
-
- playWAV (&PATH);
-
- counter (26)=-1;
-
- }
- end
- End_Chunk
-
- Chunk: ImageRef
- Number: 1
- Index: 1 Image: 2
- End_Chunk
- Chunk: Textures
- Number: 1
- SubChunk
- Facet: 2
- ImageRef: 1
- Scale: 256 256
- Offset: 0 0
- PixScale: 0
- End_Chunk
- ;
- ;-------Object 1-------------------------------------------------------
- ;
- Chunk: Standard
- Name: "woman"
- Number: 1
- Size: 14000 22793 1000
- Position: 1997500 0 1995780
- Type: 0
- Layer: 0
- DFlags: r
- End_Chunk
- Chunk: TexCoords
- Number: 1
- Mode: 0
- SubChunk
- Facet: 2
- ImageRef: 1
- PixScale: 0
- NumCoords: 4
- 0.00000 0.00000
- 0.00000 1.00000
- 1.00000 1.00000
- 1.00000 0.00000
- End_Chunk
- Chunk: Rotations
- Initial: 0x0000 0x0000 0x0000
- Centre: 4400 3650 4720
- End_Chunk
- Chunk: InitSize
- Size: 14000 22793 1000
- End_Chunk
- Chunk: InitPos
- Position: 1997500 0 1995780
- End_Chunk
-
- Chunk: ImageRef
- Number: 1
- Index: 1 Image: 1
- End_Chunk
- Chunk: SCL
- char NAME[10], DIR[256], DRIVE[3];
-
- long WIDTH, HEIGHT, newPOS, oldWIDTH, STATS[8];
-
- short Scale=20, imgNum=57, IMAGE, REFRESH=1;
-
-
-
- resume (0, 2);
-
- if (REFRESH)
-
- {
-
- cdDrive (&DRIVE);
-
- strcpy (&DIR, &DRIVE);
-
- strcat (&DIR, "\\LoveBytes\\Images\\");
-
- counter (20)=-1;
-
- counter (25)=-1;
-
- IMAGE=table (marker (4)) {213, 214, 203, 202, 216, 215, 208,
-
- 207, 206, 205, 204, 212, 211, 200, 209};
-
- ltoa (&NAME, IMAGE);
-
- strcat (&DIR, &NAME);
-
- strcat (&DIR, ".gif");
-
- imageLd (&DIR, 1, 1, &WIDTH, &HEIGHT);
-
- newPOS=xpos (me);
-
- oldWIDTH=xsize (me)/2;
-
- xsize (me)=WIDTH*Scale;
-
- ysize (me)=HEIGHT*Scale;
-
- write (&xcent (me))=xsize (me)/2;
-
- newPOS=newPOS+oldWIDTH-WIDTH*Scale/2;
-
- xpos (me)=newPOS;
-
- REFRESH=0;
-
- }
- end
- End_Chunk
- ;
- ;-------Object 5-------------------------------------------------------
- ;
- Chunk: Standard
- Name: "woman[5]"
- Number: 5
- Size: 20000 0 24000
- Position: 1993879 0 1988901
- Type: 0
- Layer: 0
- DFlags: r
- End_Chunk
- Chunk: TexCoords
- Number: 1
- Mode: 0
- SubChunk
- Facet: 5
- ImageRef: 1
- PixScale: 0
- NumCoords: 4
- 0.00000 0.00000
- 0.00000 1.00000
- 1.00000 1.00000
- 0.99999 0.00000
- End_Chunk
- Chunk: Rotations
- Initial: 0x0000 0x2000 0x0000
- Centre: 10000 0 10000
- End_Chunk
-
- Chunk: ImageRef
- Number: 1
- Index: 1 Image: 23
- End_Chunk
- ;
- ;-------Object 7-------------------------------------------------------
- ;
- Chunk: Standard
- Name: "Menus"
- Number: 7
- Size: 10000 10000 10000
- Position: 1900442 0 2056281
- Type: 65535
- Layer: 0
- End_Chunk
- Chunk: SCL
- if (first)
-
- {
-
- menuNew (me);
-
- menuLock (0);
-
- }
- end
- End_Chunk
- Chunk: Text
- "item \"E&xit\" scl exitVis; sclend\r"
- "item \"A&bout\" scl Credits; sclend"
- End_Chunk
- ;
- ;-------Object 8-------------------------------------------------------
- ;
- Chunk: Standard
- Name: "woman[8]"
- Number: 8
- Size: 28895 22015 0
- Position: 1977400 10300 2007780
- Type: 0
- Layer: 0
- DFlags: r
- End_Chunk
- Chunk: TexCoords
- Number: 1
- Mode: 0
- SubChunk
- Facet: 2
- ImageRef: 1
- PixScale: 0
- NumCoords: 4
- 0.00000 0.00000
- 0.00000 1.00000
- 1.00000 1.00000
- 1.00000 0.00000
- End_Chunk
-
- Chunk: ImageRef
- Number: 11
- Index: 1 Image: 38
- Index: 2 Image: 39
- Index: 3 Image: 40
- Index: 4 Image: 41
- Index: 5 Image: 42
- Index: 6 Image: 43
- Index: 7 Image: 42
- Index: 8 Image: 41
- Index: 9 Image: 40
- Index: 10 Image: 39
- Index: 11 Image: 39
- End_Chunk
- Chunk: SCL
- resume (1, 1);
-
- ++timgref (me, 1);
-
- if (timgref (me, 1)>=11)
-
- timgref (me, 1)=itimgref (me, 1);
-
- waitfs (2);
- end
- End_Chunk
- ;
- ;-------Object 6-------------------------------------------------------
- ;
- Chunk: Standard
- Name: "woman[6]"
- Number: 6
- Size: 28895 22015 0
- Position: 2006400 10300 2007780
- Type: 0
- Layer: 0
- DFlags: r
- End_Chunk
- Chunk: TexCoords
- Number: 1
- Mode: 0
- SubChunk
- Facet: 2
- ImageRef: 1
- PixScale: 0
- NumCoords: 4
- 0.00000 0.00000
- 0.00000 1.00000
- 1.00000 1.00000
- 1.00000 0.00000
- End_Chunk
-
- Chunk: ImageRef
- Number: 12
- Index: 1 Image: 31
- Index: 2 Image: 32
- Index: 3 Image: 33
- Index: 4 Image: 34
- Index: 5 Image: 35
- Index: 6 Image: 36
- Index: 7 Image: 37
- Index: 8 Image: 36
- Index: 9 Image: 35
- Index: 10 Image: 34
- Index: 11 Image: 33
- Index: 12 Image: 32
- End_Chunk
- Chunk: SCL
- resume (1, 1);
-
- ++timgref (me, 1);
-
- if (timgref (me, 1)>=12)
-
- timgref (me, 1)=itimgref (me, 1);
-
- waitfs (2);
- end
- End_Chunk
-
- End_Children
- End_File