Commit Graph

12 Commits

Author SHA1 Message Date
d76fc8099e Major refactoring - moved constants around, made graph class more graphy, put things where they belong. Simplified a lot of code that I wrote when I wasn't thinking clearly, apparently. 2011-06-23 12:36:40 -04:00
d8e97ff0c9 Draw nodes with draw_circle_filled, eliminate node texture 2011-06-23 10:10:07 -04:00
ef2c6bc89f Clean up move_template stuff, move selection circle behind everything else 2011-06-23 10:04:14 -04:00
b5e385586d Replaced move_template with procedural circle primitive - but it won't fill or alphatize yet. 2011-06-22 23:52:22 -04:00
ecb16a4b5c Moved distance limiting code to a smarter location, refactored related code 2011-06-22 23:06:23 -04:00
1606dfb058 Fixed bug with distance calculations... distance <> slope 2011-06-22 22:47:56 -04:00
5b53e0b115 Fixed bugs with the move template 2011-06-22 22:39:37 -04:00
48c45c2191 Code for some of the basic game design - selecting existing nodes, limiting edge distance 2011-06-22 22:32:33 -04:00
53f1560393 Fixed first vertex bug, use pointers to track vertices (in case we want to move them easily later), and added a formula for vertex distance calculations 2011-06-22 21:54:35 -04:00
fc8a76c1db Added transparency to nodes 2011-06-22 18:24:20 -04:00
fc08adcade First implementation of game logic and control 2011-06-22 17:57:44 -04:00
27c6f1e0b6 Fundamental framework for an SDL application 2011-06-22 16:12:22 -04:00