/[projet1]/users/chema/TINE/oobj3d/overlay.s
Defence Force logotype

Contents of /users/chema/TINE/oobj3d/overlay.s

Parent Directory Parent Directory | Revision Log Revision Log


Revision 369 - (show annotations)
Mon Jul 26 11:15:13 2010 UTC (9 years, 10 months ago) by Chema
File size: 2376 byte(s)
Solved problems with mission10.s and other issues with missions stated in todolist.txt

Missions checked, but more tweaks can be done (todolist.txt)
1
2
3 __overlay_start
4
5 #include "lib3dtab.s"
6 #include "..\models.s"
7 #include "..\music.s"
8 #include "..\dictc.s"
9 ; Grammar for text decompressing
10 .dsb 256-(*&255)
11 #include "..\grammar.s"
12
13 __overlay_end
14
15 ; Savegame data
16
17 ; List of saved games (8 entries of 32 bytes)
18 ; Record= 1 byte (0=empty, $ff=used)
19 ; 13 chars (Commander's name)
20 ; 9 bytes (System's name, 0 ended)
21 ; 1 byte (Current galaxy)
22 ; These are not used???
23 ; 2 bytes (score)
24 ; 1 byte (status)
25 ; 4 bytes (cash)
26 ; 1 byte empty
27
28
29 .dsb 32,00
30 .dsb 32,00
31
32 #define TESTSLOT
33
34 #ifdef TESTSLOT
35
36 .byt $ff ; Used slot
37 .asc "ChemaEn" ; Commander's name 12 chars - zero terminated (too big? below it is 10 plus zero)
38 .byt 0,0,0,0,0
39 .byt 0
40 .asc "LAVE" ; Current planet's name, 8 chars- zero terminated
41 .byt 0,0,0,0
42 .byt 0
43 .byt 1 ; Current galaxy
44 .byt 0,0,0,0,0,0,0
45 .dsb 1
46 #else
47 .dsb 32,00
48 #endif
49 .dsb 32,00
50 .dsb 32,00
51 .dsb 32,00
52 .dsb 32,00
53 .dsb 32,00
54
55
56 ; Two sectors for 8 slots (400 bytes)
57
58 .dsb 50
59 .dsb 50
60 #ifdef TESTSLOT
61 ; This is for test... should be deleted in the end
62 ; 50 bytes
63 .asc "ChemaEn" ; Commander's name
64 .byt 00
65 .dsb 3
66 .dsb 17,0 ; Contents of cargo bay
67 .byt 7 ; Current planet
68 ;.byt 192 ; Testing unreachable cluster on galaxy 7
69 ;.byt $68
70 .byt 4 ; Galaxy number (1-8)
71 .byt $d0,$07 ; Four bytes for cash (200.0)
72 .byt $10,$00
73 .byt 70 ; Amount of fuel
74 .byt 0 ; Price fluctuation
75 .byt 35 ; Current space left in cargo bay
76 .byt 0 ; Legal status 0=Clean, <50=Offender, >50=Fugitive
77 .byt 00 ; Score, remainder
78 .word 10000 ; Current score
79 ;.byt 0 ; Current mission
80 .byt 48+1
81 ;.word $06fe ; Equipment flags
82 .word $2efe
83 .byt 13 ; Current player's ship
84 .byt 4 ; Number of missiles
85 ; Stats for player's ship. Initially the basic for the ship, but may vary with equipment
86 .byt 28 ; Ship speed
87 .byt 190 ; Ship energy
88 .byt 4 ; Maximum number of missiles
89 .byt 10 ; Laser damage
90 #else
91 .dsb 50
92 #endif
93
94 .dsb 256-150
95 .dsb 256
96
97 #echo ***** Used space in overlay:
98 #print (__overlay_end - __overlay_start)
99 #echo
100
101
102 ; Missions
103 ;.dsb 256-(*&255)
104 #include "..\missions.s"
105
106
107

  ViewVC Help
Powered by ViewVC 1.1.26