Commit Graph

27 Commits (master)
 

Author SHA1 Message Date
Sven Slootweg bbf8d7f3d6 Fix GetTilePosition function so that it actually returns the correct ending point 12 years ago
Sven Slootweg 23f4ba5eac Add GetRangePosition function for determining base points for tile ranges 12 years ago
Sven Slootweg 310de40f76 Get rid of some debugging stuff 12 years ago
Sven Slootweg 89df69a0cc Keep track of whether the mouse is inside the actual grid, not just mousing over the canvas 12 years ago
Sven Slootweg e9dc655f63 Store mouseover status for canvas 12 years ago
Sven Slootweg 47dd73d78d Remove stray variables 12 years ago
Sven Slootweg 135655a559 Set up proper map redrawing and highlight currently hovered tile 12 years ago
Sven Slootweg 56b7d0b612 Remove old stuff 12 years ago
Sven Slootweg 7ba4e1d9b4 Update tile position on mouse movement 12 years ago
Sven Slootweg 4966040cca Calculate tile coordinate based on given position on the canvas 12 years ago
Sven Slootweg 5264bb1a9d Add dot_product function for vector calculations and such 12 years ago
Sven Slootweg f6c0760798 Add Subtract function for Points 12 years ago
Sven Slootweg 66ed7312fd Add real GetTilePosition function 12 years ago
Sven Slootweg 26e49d9abc Rename GetTilePosition to GetTileOrigin to make space for an actual tile position function 12 years ago
Sven Slootweg a4a00217c9 Remove useless variable 12 years ago
Sven Slootweg 7fdf41e040 Implement basic correct isometric rendering 12 years ago
Sven Slootweg c3c49f0716 Implement Add method for Point objects 12 years ago
Sven Slootweg 67b90ec002 Basic isometric grid drawing 12 years ago
Sven Slootweg 8082a21bbe Add Point class and fix point_distance function 12 years ago
Sven Slootweg f5ef1d9ae9 Add Player.SetResource function 12 years ago
Sven Slootweg f2b3efb87f Basic resource handling 12 years ago
Sven Slootweg c9d9d410b0 Variable name fix 12 years ago
Sven Slootweg be2dce9a32 Start of basic resource functionality and exception handling 12 years ago
Sven Slootweg 7729d084e9 Add point_distance function 12 years ago
Sven Slootweg cac6c521ea Code style and attribution fixes 12 years ago
Sven Slootweg 625e680367 Add core Engine object 12 years ago
Sven Slootweg bca504ac76 Add core inheritance functionality 12 years ago