Subversion Repositories Kolibri OS

Rev

Rev 5312 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 5312 Rev 5330
Line 7... Line 7...
7
 
7
 
Line 8... Line 8...
8
W equ level1.Wall
8
W equ level1.Wall
9
w equ level1.OtherWall
9
w equ level1.OtherWall
10
_ equ level1.PassableArea
10
_ equ level1.PassableArea
-
 
11
. equ level1.OtherPassableArea
11
0 equ level1.NotPassableArea
12
0 equ level1.NotPassableArea
12
% equ level1.WallWithCrazyWoodDoor
13
% equ level1.WallWithCrazyWoodDoor
13
I equ level1.IronDoor
14
I equ level1.IronDoor
14
L equ level1.WallWithLever1
15
L equ level1.WallWithLever1
15
q equ level1.WallWithLever2
16
q equ level1.WallWithLever2
Line 34... Line 35...
34
dd W,_,_,_,W,_,_,_,_,_,_,_,W,W,W,W,W,W,W,W,W,%,W,W
35
dd W,_,_,_,W,_,_,_,_,_,_,_,W,W,W,W,W,W,W,W,W,%,W,W
35
dd W,_,_,_,W,W,W,W,q,v,e,W,W,_,_,_,_,_,_,_,_,_,_,W
36
dd W,_,_,_,W,W,W,W,q,v,e,W,W,_,_,_,_,_,_,_,_,_,_,W
36
dd W,_,_,_,_,_,_,_,_,_,_,_,W,_,W,W,W,W,W,W,W,W,W,W
37
dd W,_,_,_,_,_,_,_,_,_,_,_,W,_,W,W,W,W,W,W,W,W,W,W
37
dd W,_,_,_,W,_,_,_,_,_,_,_,W,o,W,_,_,_,_,_,_,_,_,W
38
dd W,_,_,_,W,_,_,_,_,_,_,_,W,o,W,_,_,_,_,_,_,_,_,W
38
dd W,_,_,_,W,W,W,W,W,W,W,W,W,0,W,W,W,W,_,_,_,_,_,W
39
dd W,_,_,_,W,W,W,W,W,W,W,W,W,0,W,w,w,w,_,_,_,_,_,W
39
dd W,_,_,_,W,_,_,_,_,_,_,W,_,_,_,_,_,W,w,w,w,w,w,w
40
dd W,_,_,_,W,_,_,_,_,_,_,w,_,_,w,w,w,w,w,w,w,w,w,w
40
dd W,_,_,_,_,_,_,_,_,_,_,W,_,_,_,_,_,_,_,_,_,_,_,w
41
dd W,_,_,_,_,_,_,_,_,_,_,w,_,_,w,.,.,.,.,.,.,.,.,w
41
dd W,_,_,_,_,_,_,_,_,_,_,W,W,W,W,W,_,w,w,_,w,w,_,w
42
dd W,_,_,_,_,_,_,_,_,_,_,w,_,_,w,.,.,w,w,.,w,w,.,w
42
dd W,_,_,_,_,_,_,_,_,_,_,_,_,_,_,w,_,w,_,_,_,w,_,w
43
dd W,_,_,_,_,_,_,_,_,_,_,w,_,_,_,.,.,w,.,.,.,w,.,w
43
dd W,_,_,_,_,_,_,_,_,_,_,_,_,_,_,w,_,_,_,P,_,_,_,w
44
dd W,_,_,_,_,_,_,_,_,_,_,w,_,_,_,.,.,.,.,P,.,.,.,w
44
dd W,_,_,_,_,_,_,_,_,_,_,_,_,_,_,w,_,w,_,_,_,w,_,w
45
dd W,_,_,_,_,_,_,_,_,_,_,w,_,_,_,.,.,w,.,.,.,w,.,w
45
dd W,_,_,_,_,_,_,_,_,_,_,_,_,_,_,w,_,w,w,_,w,w,_,w
46
dd W,_,_,_,_,_,_,_,_,_,_,w,_,_,w,.,.,w,w,.,w,w,.,w
46
dd W,_,_,_,_,_,_,_,_,_,_,_,_,_,_,w,_,_,_,_,_,_,_,w
47
dd W,_,_,_,_,_,_,_,_,_,_,w,_,_,w,.,.,.,.,.,.,.,.,w
47
dd W,W,W,W,W,W,W,W,W,W,W,W,W,W,W,w,w,w,w,w,w,w,w,w
48
dd W,W,W,W,W,W,W,W,W,W,W,w,w,w,w,w,w,w,w,w,w,w,w,w
48
 
49
 
Line 49... Line 50...
49
restore W, w, _, 0, %, I, L, q, v, e, c, o, P
50
restore W, w, _, ., 0, %, I, L, q, v, e, c, o, P
Line 50... Line 51...
50
 
51
 
51
.Chest                  akode.Object            textures.Chest, <13, 2>, 1, 0
52
.Chest                  akode.Object            textures.Chest, <13, 2>, 1, 0
52
.Column1                akode.Object            textures.Column1, <16, 5>, 1, 0
53
.Column1                akode.Object            textures.Column1, <16, 5>, 1, 0
53
.Column2                akode.Object            textures.Column2, <19, 8>, 1, 0
54
.Column2                akode.Object            textures.Column2, <19, 8>, 1, 0
Line 128... Line 129...
128
                                                , \
129
                                                , \
129
                                                , \
130
                                                , \
130
                                                1, 0
131
                                                1, 0
131
 
132
 
Line -... Line 133...
-
 
133
.OtherPassableArea      akode.GridCell          <0, 0>,                  \
-
 
134
                                                <0, 0>,                  \
-
 
135
                                                <0, 0>,                  \
-
 
136
                                                <0, 0>,                  \
-
 
137
                                                , \
-
 
138
                                                , \
-
 
139
                                                1, 0
-
 
140
 
132
.NotPassableArea        akode.GridCell          <0, 0>,                     \
141
.NotPassableArea        akode.GridCell          <0, 0>,                     \
133
                                                <0, 0>,                     \
142
                                                <0, 0>,                     \
134
                                                <0, 0>,                     \
143
                                                <0, 0>,                     \
135
                                                <0, 0>,                     \
144
                                                <0, 0>,                     \
136
                                                , \
145
                                                , \
Line 157... Line 166...
157
                                                <0, 0>,                     \
166
                                                <0, 0>,                    \
158
                                                <0, 0>,                     \
167
                                                <0, 0>,                    \
159
                                                <0, 0>,                     \
168
                                                <0, 0>,                    \
160
                                                ,  \
169
                                                , \
161
                                                , \
170
                                                ,   \
162
                                                1, level1.portal
171
                                                1, level1.portal
163
 
172
 
Line 164... Line 173...
164
.CoinImagePtr           dd 0
173
.CoinImagePtr           dd 0
165
.Sun1ImagePtr           dd 0
174
.Sun1ImagePtr           dd 0
166
.Sun2ImagePtr           dd 0
175
.Sun2ImagePtr           dd 0
Line 343... Line 352...
343
endp
352
endp
344
 
353
 
Line 345... Line 354...
345
proc level1.columns uses ebx ecx, action, cell_x, cell_y
354
proc level1.columns uses ebx ecx, action, cell_x, cell_y
346
        mov     eax, [action]
355
        mov     eax, [action]
-
 
356
 
-
 
357
        cmp     ax, ACTION.DO_SOMETHING
-
 
358
        jne     @f
-
 
359
        mov     eax, .message_description
-
 
360
        jmp     .exit
-
 
361
.message_description                            langstr0 ru, < \
-
 
362
'¥à¥¤ ¢ ¬¨ á⮨⠭¥¢ë᮪ ï ª®«®­­  á å®à®è® § ¬¥â­®©   ', 10, \
-
 
363
'­ ¤¯¨áìî. Š®«®­­  á⮨⠧¤¥áì ® ­¥ ¤«ï ¯®¤¤¥à¦ª¨    ', 10, \
-
 
364
'¯®â®«ª ...                                             '      >
-
 
365
 
347
        cmp     ax, ACTION.USE_OBJECT
366
@@:     cmp     ax, ACTION.USE_OBJECT
348
        jne     .exit_no_message
367
        jne     .exit_no_message
Line 349... Line 368...
349
 
368
 
350
        shr     eax, 16
369
        shr     eax, 16
Line 399... Line 418...
399
@@:
418
@@:
400
        ret
419
        ret
401
 
420
 
Line 402... Line 421...
402
.message_activated                              langstr0 ru, < \
421
.message_activated                              langstr0 ru, < \
403
'Š®«®­­  ­ ç «  ᢥâ¨âìáï áâà ­­ë¬ ᢥ⮬,   ­ ¤¯¨áì    ', 10, \
422
'‚ë ¯®«®¦¨«¨ ¬®­¥âã ­  ª®«®­­ã ¨ ®­  ­ ç «  ᢥâ¨âìáï   ', 10, \
404
'¨á祧« .'                                                     >
423
'áâà ­­ë¬ ᢥ⮬.                                       '      >
405
endp
424
endp
Line 406... Line 425...
406
 
425
 
407
proc level1.ogre action, cell_x, cell_y
426
proc level1.ogre action, cell_x, cell_y