Over 10 Million Study Resources Now at Your Fingertips


Download as :
Rating : ⭐⭐⭐⭐⭐
Price : $10.99
Language:EN
Pages: 2

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

sending to window, 28–29
viewing in MSDN, 34
MiniMap global variable, 545–546
minimaps
blitting onto back buffer, 550
cleaning up memory and tileset
used by, 550
function, 545
global variables, 545
initialization, 546–547
redrawing, 548–549
updating, 547–548
mini-maps, 230
MiniScroller global variable, 545, 549 MiniTilePlotter global variable, 545, 549 MM_CENTER value, 397
mmdLookUp data member, 398
MM_NE value, 397
MM_NW value, 397
MM_SE value, 397
MM_SW value, 397
mmsystem.h file, 193
MMX device, 639
modulation, 575–577
modulus operator (%), 329–330
mouse
buttons, 32–34
canceling button press, 512
determining which tile it rests on, 325
handle to cursor, 19
handling input, 520–523
left button, 533–534
messages, 32–34
movement, 32
releasing left button, 534–537
in selection window, 535
mouse controls, 229
MouseMap component, 291, 404–405, 420
diamond tilemap, 294
IsoHex engine, 351, 369–370
rectangular tile map, 421
slide tilemap, 293
staggered tile maps, 294
MOUSEMAPDIRECTION enumerated type, 397
MouseMapLoad function, 332–333
mousemapping, 426–427
converting screen coordinates to world coordinates, 328
determining coordinates, 329–330 diamond tilemaps, 369–370
Direct3D, 385–387
example, 334–336
functions, 400
lookup table, 331–334
performing coarse tile walk,
330–331
slide tilemaps, 325–336

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

How It Works
Login account
Login Your Account
Add to cart
Add to Cart
Payment
Make payment
Document download
Download File
PageId: ELIBA4F825
img
Uploaded by :
EJEbknRY
Page 1 Preview
operating systems precalculating extents
Sell Your Old Documents & Earn Wallet Balance