1 ȅ 5
1.1 .. 5
2 ȅ.. 6
3 Յ. 8
4 ... 95 .. 11
6 - 15 6.1 bool MoveFigure(Cell& nextCell).. 15 6.2 int EnterMsgLoop(bool (*ptr_display).. 16
7 ̅... 17
7.1 void Draw().. 17
7.2 bool CheckMove(Cell& currentCell, Cell& nextCell). 18
8 ۅ. 20
. ۅ... 25
++ - , , . ++ . , , ++ . , , . . , . , . -. , .
++ . , . , , , , , . ++ , , . , , , inline , , , . ++ (, , , , ..). , .
++ , . , . ++ , ++ , .
|
|
Windows, DirectX.
:
1. .
2. .
, . .
( , vector), . , , vector :
1. [] (vector::operator[]) 900 , .
2. vector , , , 56 . , 3 .
3. DirectX .
DirectX. C++.
DirectX API (application programming interface ), , - . DirectX COM (Component Object Model ) , , .
DirectX API:
1. DirectDraw , . .
2. DirectSound .
3. DirectInput . , DirectInput, , .
4. DirectPlay . , .
5. Direct3D .
Direct3D, . , ( ), . Direct3D , Direct3D HAL (Hadrware Abstraction Layer ).
|
|
Direct3D . - , Direct3D . . , Direct3D , 3D . .
Direct3D : , . , . .