annotate UI/Books/UISpellBook.cpp @ 1400:9b091098c88c

m
author Ritor1
date Fri, 19 Jul 2013 12:50:29 +0600
parents 8557d021a31b
children 3161094869e0
rev   line source
1312
ae435824ac4d books code splitted to separate files
Gloval
parents:
diff changeset
1 #ifdef _MSC_VER
ae435824ac4d books code splitted to separate files
Gloval
parents:
diff changeset
2 #define _CRT_SECURE_NO_WARNINGS
ae435824ac4d books code splitted to separate files
Gloval
parents:
diff changeset
3 #endif
ae435824ac4d books code splitted to separate files
Gloval
parents:
diff changeset
4
ae435824ac4d books code splitted to separate files
Gloval
parents:
diff changeset
5 #include <assert.h>
ae435824ac4d books code splitted to separate files
Gloval
parents:
diff changeset
6
ae435824ac4d books code splitted to separate files
Gloval
parents:
diff changeset
7 #include "..\..\MM7.h"
ae435824ac4d books code splitted to separate files
Gloval
parents:
diff changeset
8 #include "..\..\Render.h"
ae435824ac4d books code splitted to separate files
Gloval
parents:
diff changeset
9 #include "..\..\Mouse.h"
ae435824ac4d books code splitted to separate files
Gloval
parents:
diff changeset
10 #include "..\UIBooks.h"
ae435824ac4d books code splitted to separate files
Gloval
parents:
diff changeset
11 #include "..\..\GUIWindow.h"
ae435824ac4d books code splitted to separate files
Gloval
parents:
diff changeset
12 #include "..\..\GUIFont.h"
ae435824ac4d books code splitted to separate files
Gloval
parents:
diff changeset
13 #include "..\..\Party.h"
ae435824ac4d books code splitted to separate files
Gloval
parents:
diff changeset
14 #include "..\..\AudioPlayer.h"
ae435824ac4d books code splitted to separate files
Gloval
parents:
diff changeset
15 #include "..\..\LOD.h"
ae435824ac4d books code splitted to separate files
Gloval
parents:
diff changeset
16 #include "..\..\Allocator.h"
ae435824ac4d books code splitted to separate files
Gloval
parents:
diff changeset
17 #include "..\..\Viewport.h"
ae435824ac4d books code splitted to separate files
Gloval
parents:
diff changeset
18 #include "..\..\texts.h"
ae435824ac4d books code splitted to separate files
Gloval
parents:
diff changeset
19 //
ae435824ac4d books code splitted to separate files
Gloval
parents:
diff changeset
20 #include "..\..\mm7_data.h"
ae435824ac4d books code splitted to separate files
Gloval
parents:
diff changeset
21
ae435824ac4d books code splitted to separate files
Gloval
parents:
diff changeset
22
ae435824ac4d books code splitted to separate files
Gloval
parents:
diff changeset
23 std::array<char *, 9> spellbook_texture_filename_suffices = {{"f", "a", "w", "e", "s", "m", "b", "l", "d"}}; // weak
ae435824ac4d books code splitted to separate files
Gloval
parents:
diff changeset
24
ae435824ac4d books code splitted to separate files
Gloval
parents:
diff changeset
25 //----- (00411300) --------------------------------------------------------
ae435824ac4d books code splitted to separate files
Gloval
parents:
diff changeset
26 void LoadSpellbook(unsigned int spell_school)
ae435824ac4d books code splitted to separate files
Gloval
parents:
diff changeset
27 {
ae435824ac4d books code splitted to separate files
Gloval
parents:
diff changeset
28 //unsigned int v1; // esi@1
ae435824ac4d books code splitted to separate files
Gloval
parents:
diff changeset
29 Player *pPlayer; // ecx@1
ae435824ac4d books code splitted to separate files
Gloval
parents:
diff changeset
30 char v3; // al@1
ae435824ac4d books code splitted to separate files
Gloval
parents:
diff changeset
31 //int v4; // edi@5
ae435824ac4d books code splitted to separate files
Gloval
parents:
diff changeset
32 //Texture *result; // eax@6
ae435824ac4d books code splitted to separate files
Gloval
parents:
diff changeset
33 //unsigned char *v6; // edi@7
ae435824ac4d books code splitted to separate files
Gloval
parents:
diff changeset
34 //unsigned int v7; // eax@7
ae435824ac4d books code splitted to separate files
Gloval
parents:
diff changeset
35 //unsigned __int8 v8; // sf@8
ae435824ac4d books code splitted to separate files
Gloval
parents:
diff changeset
36 //unsigned __int8 v9; // of@8
ae435824ac4d books code splitted to separate files
Gloval
parents:
diff changeset
37 char pContainer[20]; // [sp+Ch] [bp-1Ch]@7
ae435824ac4d books code splitted to separate files
Gloval
parents:
diff changeset
38 //Texture *v11; // [sp+20h] [bp-8h]@5
ae435824ac4d books code splitted to separate files
Gloval
parents:
diff changeset
39 //int v12; // [sp+24h] [bp-4h]@5
ae435824ac4d books code splitted to separate files
Gloval
parents:
diff changeset
40
ae435824ac4d books code splitted to separate files
Gloval
parents:
diff changeset
41 byte_506550 = 0;
ae435824ac4d books code splitted to separate files
Gloval
parents:
diff changeset
42 //v1 = uID;
ae435824ac4d books code splitted to separate files
Gloval
parents:
diff changeset
43 pPlayer = pPlayers[uActiveCharacter];
ae435824ac4d books code splitted to separate files
Gloval
parents:
diff changeset
44 v3 = pPlayer->uQuickSpell;
ae435824ac4d books code splitted to separate files
Gloval
parents:
diff changeset
45 if ( v3 && (unsigned __int8)v3 / 11 == spell_school )
ae435824ac4d books code splitted to separate files
Gloval
parents:
diff changeset
46 quick_spell_at_page = (unsigned __int8)v3 - 11 * spell_school;
ae435824ac4d books code splitted to separate files
Gloval
parents:
diff changeset
47 else
ae435824ac4d books code splitted to separate files
Gloval
parents:
diff changeset
48 quick_spell_at_page = 0;
ae435824ac4d books code splitted to separate files
Gloval
parents:
diff changeset
49
ae435824ac4d books code splitted to separate files
Gloval
parents:
diff changeset
50 for (uint i = 1; i < 12; ++i)
ae435824ac4d books code splitted to separate files
Gloval
parents:
diff changeset
51 {
ae435824ac4d books code splitted to separate files
Gloval
parents:
diff changeset
52 if (pPlayer->spellbook.pChapters[spell_school].bIsSpellAvailable[i - 1])
ae435824ac4d books code splitted to separate files
Gloval
parents:
diff changeset
53 {
ae435824ac4d books code splitted to separate files
Gloval
parents:
diff changeset
54 sprintf(pContainer, "SB%sS%02d", spellbook_texture_filename_suffices[spell_school], pSpellbookSpellIndices[spell_school][i]);
ae435824ac4d books code splitted to separate files
Gloval
parents:
diff changeset
55 dword_506408[i] = pIcons_LOD->LoadTexturePtr(pContainer, TEXTURE_16BIT_PALETTE);
ae435824ac4d books code splitted to separate files
Gloval
parents:
diff changeset
56
ae435824ac4d books code splitted to separate files
Gloval
parents:
diff changeset
57 sprintf(pContainer, "SB%sC%02d", spellbook_texture_filename_suffices[spell_school], pSpellbookSpellIndices[spell_school][i]);
ae435824ac4d books code splitted to separate files
Gloval
parents:
diff changeset
58 dword_5063D8[i] = pIcons_LOD->LoadTexturePtr(pContainer, TEXTURE_16BIT_PALETTE);
ae435824ac4d books code splitted to separate files
Gloval
parents:
diff changeset
59 }
ae435824ac4d books code splitted to separate files
Gloval
parents:
diff changeset
60 }
ae435824ac4d books code splitted to separate files
Gloval
parents:
diff changeset
61 }
ae435824ac4d books code splitted to separate files
Gloval
parents:
diff changeset
62
ae435824ac4d books code splitted to separate files
Gloval
parents:
diff changeset
63
ae435824ac4d books code splitted to separate files
Gloval
parents:
diff changeset
64
ae435824ac4d books code splitted to separate files
Gloval
parents:
diff changeset
65 //----- (00411597) --------------------------------------------------------
ae435824ac4d books code splitted to separate files
Gloval
parents:
diff changeset
66 void OnCloseSpellBook()
ae435824ac4d books code splitted to separate files
Gloval
parents:
diff changeset
67 {
ae435824ac4d books code splitted to separate files
Gloval
parents:
diff changeset
68 pAllocator->FreeChunk(pSpellFont);
ae435824ac4d books code splitted to separate files
Gloval
parents:
diff changeset
69 pSpellFont = nullptr;
ae435824ac4d books code splitted to separate files
Gloval
parents:
diff changeset
70 pAllocator->FreeChunk(pBookFont);
ae435824ac4d books code splitted to separate files
Gloval
parents:
diff changeset
71 pBookFont = nullptr;
ae435824ac4d books code splitted to separate files
Gloval
parents:
diff changeset
72 pAllocator->FreeChunk(pBook2Font);
ae435824ac4d books code splitted to separate files
Gloval
parents:
diff changeset
73 pBook2Font = nullptr;
ae435824ac4d books code splitted to separate files
Gloval
parents:
diff changeset
74 pAllocator->FreeChunk(pAutonoteFont);
ae435824ac4d books code splitted to separate files
Gloval
parents:
diff changeset
75 pAutonoteFont = nullptr;
ae435824ac4d books code splitted to separate files
Gloval
parents:
diff changeset
76 pTexture_mapbordr->Release();
ae435824ac4d books code splitted to separate files
Gloval
parents:
diff changeset
77 pAudioPlayer->PlaySound(SOUND_CloseBook, 0, 0, -1, 0, 0, 0, 0);
ae435824ac4d books code splitted to separate files
Gloval
parents:
diff changeset
78 pIcons_LOD->_4114F2();
ae435824ac4d books code splitted to separate files
Gloval
parents:
diff changeset
79 dword_506364 = 0;
ae435824ac4d books code splitted to separate files
Gloval
parents:
diff changeset
80 }
ae435824ac4d books code splitted to separate files
Gloval
parents:
diff changeset
81
ae435824ac4d books code splitted to separate files
Gloval
parents:
diff changeset
82
ae435824ac4d books code splitted to separate files
Gloval
parents:
diff changeset
83
ae435824ac4d books code splitted to separate files
Gloval
parents:
diff changeset
84 //----- (00412AF9) --------------------------------------------------------
ae435824ac4d books code splitted to separate files
Gloval
parents:
diff changeset
85 static void BookUI_Spellbook_DrawCurrentSchoolBackground()
ae435824ac4d books code splitted to separate files
Gloval
parents:
diff changeset
86 {
ae435824ac4d books code splitted to separate files
Gloval
parents:
diff changeset
87 int v0; // ecx@1
ae435824ac4d books code splitted to separate files
Gloval
parents:
diff changeset
88
ae435824ac4d books code splitted to separate files
Gloval
parents:
diff changeset
89 v0 = 0;
ae435824ac4d books code splitted to separate files
Gloval
parents:
diff changeset
90 if ( uActiveCharacter )
ae435824ac4d books code splitted to separate files
Gloval
parents:
diff changeset
91 v0 = pParty->pPlayers[uActiveCharacter - 1].lastOpenedSpellbookPage;//*((char *)&pParty->pPartyBuffs[5].uExpireTime + 6972 * uActiveCharacter + 2);
ae435824ac4d books code splitted to separate files
Gloval
parents:
diff changeset
92 pRenderer->DrawTextureIndexed(8, 8, pSpellBookPagesTextr[v0]);
ae435824ac4d books code splitted to separate files
Gloval
parents:
diff changeset
93 pRenderer->DrawTextureIndexed(0x1DCu, 0x1C2u, pTexture_50643C);
ae435824ac4d books code splitted to separate files
Gloval
parents:
diff changeset
94 pRenderer->DrawTextureIndexed(0x231u, 0x1C2u, pTexture_506448);
ae435824ac4d books code splitted to separate files
Gloval
parents:
diff changeset
95 }
ae435824ac4d books code splitted to separate files
Gloval
parents:
diff changeset
96
ae435824ac4d books code splitted to separate files
Gloval
parents:
diff changeset
97
ae435824ac4d books code splitted to separate files
Gloval
parents:
diff changeset
98
ae435824ac4d books code splitted to separate files
Gloval
parents:
diff changeset
99
ae435824ac4d books code splitted to separate files
Gloval
parents:
diff changeset
100
ae435824ac4d books code splitted to separate files
Gloval
parents:
diff changeset
101 //----- (00412B58) --------------------------------------------------------
ae435824ac4d books code splitted to separate files
Gloval
parents:
diff changeset
102 void DrawSpellBookContent(Player *player)
ae435824ac4d books code splitted to separate files
Gloval
parents:
diff changeset
103 {
1400
Ritor1
parents: 1398
diff changeset
104 Texture *PendingTexture; // edi@1
Ritor1
parents: 1398
diff changeset
105 Texture *SpellTexture; // eax@3
1312
ae435824ac4d books code splitted to separate files
Gloval
parents:
diff changeset
106 Texture *v6; // edx@5
ae435824ac4d books code splitted to separate files
Gloval
parents:
diff changeset
107 int v8; // eax@11
ae435824ac4d books code splitted to separate files
Gloval
parents:
diff changeset
108 int v10; // eax@13
ae435824ac4d books code splitted to separate files
Gloval
parents:
diff changeset
109 unsigned int v14; // esi@18
ae435824ac4d books code splitted to separate files
Gloval
parents:
diff changeset
110 unsigned int v15; // edi@18
ae435824ac4d books code splitted to separate files
Gloval
parents:
diff changeset
111 Texture *pPageTexture; // eax@21
1398
Ritor1
parents: 1334
diff changeset
112 unsigned int pX_pos; // [sp-Ch] [bp-2Ch]@8
1312
ae435824ac4d books code splitted to separate files
Gloval
parents:
diff changeset
113 unsigned int v18; // [sp-Ch] [bp-2Ch]@15
1398
Ritor1
parents: 1334
diff changeset
114 unsigned int pY_pos; // [sp-8h] [bp-28h]@8
1312
ae435824ac4d books code splitted to separate files
Gloval
parents:
diff changeset
115 unsigned int v20; // [sp-8h] [bp-28h]@15
ae435824ac4d books code splitted to separate files
Gloval
parents:
diff changeset
116 signed int v22; // [sp-4h] [bp-24h]@22
ae435824ac4d books code splitted to separate files
Gloval
parents:
diff changeset
117 Texture *v23; // [sp+10h] [bp-10h]@5
ae435824ac4d books code splitted to separate files
Gloval
parents:
diff changeset
118 POINT a2; // [sp+18h] [bp-8h]@13
ae435824ac4d books code splitted to separate files
Gloval
parents:
diff changeset
119 POINT v24;
ae435824ac4d books code splitted to separate files
Gloval
parents:
diff changeset
120
ae435824ac4d books code splitted to separate files
Gloval
parents:
diff changeset
121 static unsigned int texture_tab_coord1[9][2]=
ae435824ac4d books code splitted to separate files
Gloval
parents:
diff changeset
122 {{406, 9}, {406, 46}, {406, 84}, {406,121}, {407,158}, {405, 196}, {405, 234}, {405, 272}, {405,309} };
ae435824ac4d books code splitted to separate files
Gloval
parents:
diff changeset
123
ae435824ac4d books code splitted to separate files
Gloval
parents:
diff changeset
124 static unsigned int texture_tab_coord0[9][2]=
ae435824ac4d books code splitted to separate files
Gloval
parents:
diff changeset
125 {{415, 10}, {415, 46}, {415, 83}, {415,121}, {415,158}, {416, 196}, {416, 234}, {416, 271}, {416,307} };
ae435824ac4d books code splitted to separate files
Gloval
parents:
diff changeset
126
ae435824ac4d books code splitted to separate files
Gloval
parents:
diff changeset
127 BookUI_Spellbook_DrawCurrentSchoolBackground();
ae435824ac4d books code splitted to separate files
Gloval
parents:
diff changeset
128
1400
Ritor1
parents: 1398
diff changeset
129 PendingTexture = pIcons_LOD->GetTexture(pIcons_LOD->FindTextureByName("Pending"));
1312
ae435824ac4d books code splitted to separate files
Gloval
parents:
diff changeset
130 pRenderer->ClearZBuffer(0, 479);
1400
Ritor1
parents: 1398
diff changeset
131 if ( (11 * player->lastOpenedSpellbookPage) || ((11 * player->lastOpenedSpellbookPage) + 11) )//??? maybe structure need fix
1312
ae435824ac4d books code splitted to separate files
Gloval
parents:
diff changeset
132 {
1398
Ritor1
parents: 1334
diff changeset
133 for ( uint i = 1; i - 1 < 11; ++i )
1312
ae435824ac4d books code splitted to separate files
Gloval
parents:
diff changeset
134 {
1400
Ritor1
parents: 1398
diff changeset
135 if ( *(&player->_guilds_member_bits[(11 * player->lastOpenedSpellbookPage) + 63] + i) )
1312
ae435824ac4d books code splitted to separate files
Gloval
parents:
diff changeset
136 {
1400
Ritor1
parents: 1398
diff changeset
137 SpellTexture = (Texture *)dword_506408[i];
Ritor1
parents: 1398
diff changeset
138 if ( SpellTexture != PendingTexture )
1312
ae435824ac4d books code splitted to separate files
Gloval
parents:
diff changeset
139 {
1398
Ritor1
parents: 1334
diff changeset
140 if ( quick_spell_at_page == i )
1312
ae435824ac4d books code splitted to separate files
Gloval
parents:
diff changeset
141 {
1398
Ritor1
parents: 1334
diff changeset
142 v6 = dword_5063D8[i];
Ritor1
parents: 1334
diff changeset
143 v23 = dword_5063D8[i];
1312
ae435824ac4d books code splitted to separate files
Gloval
parents:
diff changeset
144 }
ae435824ac4d books code splitted to separate files
Gloval
parents:
diff changeset
145 else
ae435824ac4d books code splitted to separate files
Gloval
parents:
diff changeset
146 {
1398
Ritor1
parents: 1334
diff changeset
147 v23 = dword_506408[i];
1400
Ritor1
parents: 1398
diff changeset
148 v6 = SpellTexture;
1312
ae435824ac4d books code splitted to separate files
Gloval
parents:
diff changeset
149 }
ae435824ac4d books code splitted to separate files
Gloval
parents:
diff changeset
150 if ( v6->pLevelOfDetail0_prolly_alpha_mask )
ae435824ac4d books code splitted to separate files
Gloval
parents:
diff changeset
151 {
1398
Ritor1
parents: 1334
diff changeset
152 pY_pos = pViewport->uViewportTL_Y + pIconPos[player->lastOpenedSpellbookPage][pSpellbookSpellIndices[player->lastOpenedSpellbookPage][i]].Ypos;
Ritor1
parents: 1334
diff changeset
153 pX_pos = pViewport->uViewportTL_X + pIconPos[player->lastOpenedSpellbookPage][pSpellbookSpellIndices[player->lastOpenedSpellbookPage][i]].Xpos;
1312
ae435824ac4d books code splitted to separate files
Gloval
parents:
diff changeset
154 if ( BYTE1(v6->pBits) & 2 )
1398
Ritor1
parents: 1334
diff changeset
155 pRenderer->DrawTextureTransparent(pX_pos, pY_pos, v6);
1312
ae435824ac4d books code splitted to separate files
Gloval
parents:
diff changeset
156 else
1398
Ritor1
parents: 1334
diff changeset
157 pRenderer->DrawTextureIndexed(pX_pos, pY_pos, v6);
Ritor1
parents: 1334
diff changeset
158 pRenderer->DrawMaskToZBuffer(pIconPos[player->lastOpenedSpellbookPage][pSpellbookSpellIndices[player->lastOpenedSpellbookPage][i]].Xpos,
Ritor1
parents: 1334
diff changeset
159 pIconPos[player->lastOpenedSpellbookPage][pSpellbookSpellIndices[player->lastOpenedSpellbookPage][i]].Ypos, v23, i);
1312
ae435824ac4d books code splitted to separate files
Gloval
parents:
diff changeset
160 }
ae435824ac4d books code splitted to separate files
Gloval
parents:
diff changeset
161 }
ae435824ac4d books code splitted to separate files
Gloval
parents:
diff changeset
162 }
ae435824ac4d books code splitted to separate files
Gloval
parents:
diff changeset
163 }
ae435824ac4d books code splitted to separate files
Gloval
parents:
diff changeset
164 }
ae435824ac4d books code splitted to separate files
Gloval
parents:
diff changeset
165
1400
Ritor1
parents: 1398
diff changeset
166 v10 = pRenderer->pActiveZBuffer[pMouse->GetCursorPos(&a2)->x + pSRZBufferLineOffsets[pMouse->GetCursorPos(&v24)->y]] & 0xFFFF;
1312
ae435824ac4d books code splitted to separate files
Gloval
parents:
diff changeset
167 if ( v10 )
ae435824ac4d books code splitted to separate files
Gloval
parents:
diff changeset
168 {
1400
Ritor1
parents: 1398
diff changeset
169 if ( dword_5063D8[v10]->pLevelOfDetail0_prolly_alpha_mask )
1312
ae435824ac4d books code splitted to separate files
Gloval
parents:
diff changeset
170 {
1400
Ritor1
parents: 1398
diff changeset
171 v20 = pViewport->uViewportTL_Y + pIconPos[player->lastOpenedSpellbookPage][pSpellbookSpellIndices[player->lastOpenedSpellbookPage][v10]].Ypos;
Ritor1
parents: 1398
diff changeset
172 v18 = pViewport->uViewportTL_X + pIconPos[player->lastOpenedSpellbookPage][pSpellbookSpellIndices[player->lastOpenedSpellbookPage][v10]].Xpos;
Ritor1
parents: 1398
diff changeset
173 if ( BYTE1(dword_5063D8[v10]->pBits) & 2 )
Ritor1
parents: 1398
diff changeset
174 pRenderer->DrawTextureTransparent(v18, v20, dword_5063D8[v10]);
1312
ae435824ac4d books code splitted to separate files
Gloval
parents:
diff changeset
175 else
1400
Ritor1
parents: 1398
diff changeset
176 pRenderer->DrawTextureIndexed(v18, v20, dword_5063D8[v10]);
1312
ae435824ac4d books code splitted to separate files
Gloval
parents:
diff changeset
177 }
ae435824ac4d books code splitted to separate files
Gloval
parents:
diff changeset
178 }
1400
Ritor1
parents: 1398
diff changeset
179
1312
ae435824ac4d books code splitted to separate files
Gloval
parents:
diff changeset
180 a2.x = (LONG)&player->pActiveSkills[12];
ae435824ac4d books code splitted to separate files
Gloval
parents:
diff changeset
181 v14 = (unsigned int)&player->pActiveSkills[12];
ae435824ac4d books code splitted to separate files
Gloval
parents:
diff changeset
182 v15 = (unsigned int)&player->pActiveSkills[12];
1400
Ritor1
parents: 1398
diff changeset
183 for ( uint i = 0; i < 9; i++ )
1312
ae435824ac4d books code splitted to separate files
Gloval
parents:
diff changeset
184 {
ae435824ac4d books code splitted to separate files
Gloval
parents:
diff changeset
185 if ( *(short *)a2.x )
ae435824ac4d books code splitted to separate files
Gloval
parents:
diff changeset
186 {
1400
Ritor1
parents: 1398
diff changeset
187 if ( player->lastOpenedSpellbookPage == i )
1312
ae435824ac4d books code splitted to separate files
Gloval
parents:
diff changeset
188 {
1400
Ritor1
parents: 1398
diff changeset
189 pPageTexture = pTextures_tabs[i][1];
Ritor1
parents: 1398
diff changeset
190 v14=texture_tab_coord1[i][0];
Ritor1
parents: 1398
diff changeset
191 v15=texture_tab_coord1[i][1];
1312
ae435824ac4d books code splitted to separate files
Gloval
parents:
diff changeset
192 }
ae435824ac4d books code splitted to separate files
Gloval
parents:
diff changeset
193 else
ae435824ac4d books code splitted to separate files
Gloval
parents:
diff changeset
194 {
1400
Ritor1
parents: 1398
diff changeset
195 pPageTexture = pTextures_tabs[i][0];
Ritor1
parents: 1398
diff changeset
196 v14=texture_tab_coord0[i][0];
Ritor1
parents: 1398
diff changeset
197 v15=texture_tab_coord0[i][1];
1312
ae435824ac4d books code splitted to separate files
Gloval
parents:
diff changeset
198 }
ae435824ac4d books code splitted to separate files
Gloval
parents:
diff changeset
199 pRenderer->DrawTextureTransparent(v14, v15, pPageTexture);
ae435824ac4d books code splitted to separate files
Gloval
parents:
diff changeset
200 }
ae435824ac4d books code splitted to separate files
Gloval
parents:
diff changeset
201 a2.x += 2;
ae435824ac4d books code splitted to separate files
Gloval
parents:
diff changeset
202 }
ae435824ac4d books code splitted to separate files
Gloval
parents:
diff changeset
203 }