Operating systems precalculating extents
map location empty, 521 MapLocation structure, 464, 496, 587, 595 MapMouse function, 400 map panel, 265 MapPath array, 627–628, 630 mapping functions and mouse, 400 mapping modes, 85 map scale layering method, 417–419 MAPSEEDS constant, 611 map type functions, 381 MAPWIDTH constant, 611 MasterUnitSelList, 541 mazes, 603 adding doors, 607 blocked conditions, 607–608 clearing, 606 creation of, 604–610 defining, 604 direction and change in location, 605 isometric, 611 leaving, 608 placing door, 609 populating, 610 selecting room, 607 usage, 610–611 variegation, 610 mc use cursor, 34 member functions anchor, 393 anchor space, 392–393 construction/destruction, 390–391, 398 conversion, 393–394 lookup table, 398–399 reference point, 399 screen space, 391 scroller, 399–400 tile size, 399 tilewalker, 400 validation, 394 world space, 391–392 wrap mode, 394 memory, 58–59 menus, 23 message member, 8, 24 message pump checking for messages, 24–25 processing messages, 25–26 message queue, 7–9 messages adding to list of events, 29 checking for, 24–25 handling, 8–9 keyboard, 29–32 managing, 23–24 mouse, 32–34 processing, 25–26 processing window input, 29–32 |
|
Index | 715 |
---|---|---|---|
716 Isometric Game Programming with DirectX 7.0
opening files, 209–210 PostQuitMessage function, 26–27 QueryInterface function, 636–637
operating systems precalculating extents, 248
overloaded operator (*), 491, 504 description, 152 rcAnchorSpace data member, 389–390
overloaded operator (++), 491 number of back buffers, 152 rcExtent data member, 450
PAINTSTRUCT struct, 27–28 Prog_Done function, 26, 67, 87, 107, rcWorldSpace data member, 389–390
panning, 204–205 256, 266, 406 ReadFile function, 211–212
known distance value, 623 231–233, 255–256, 313–314, 406, rectangular region, 94
usage, 631–632 465–467, 668–669, 679 rectangular tilemaps, 290–291, 421
creation of, 64 Project Settings dialog, 129–130 versus IsoHex tiles, 289–290
drawing line, 66–69 Project Settings (Alt+F7) key combina- plotting, 299
pixel-perfect object selection, 537–538 ptCurrent variable, 430–431 assignment functions, 46–47
lookup table construction, 539–540 ptCursor variable, 113, 322 checking if point is within, 50
loading data, 674–675 ptLastPosition variable, 163 intersecting, 48
manipulation functions, 61–62 ptMap variable, 406 joining, 49
Play function, 207–208 ptRef data member, 398 RedrawMiniMap function, 545–549
playing sounds, 207–208 ptRowEnd variable, 430 reducing blits example, 425
hex tiles, 304 ptShieldOffset variable, 529–530 399
iso tiles, 302 ptStart variable, 590, 625–626 regions
polygon fill modes, 77 PUNITINFO typedef, 496 HRGN handle, 92
Polygon function, 76–77 push_back function, 489