This website requires JavaScript.
Explore
Help
Sign In
annabunches
/
treewars
Watch
1
Star
0
Fork
0
You've already forked treewars
Code
Issues
Pull Requests
Releases
Wiki
Activity
98
Commits
1
Branch
0
Tags
825a3f8e4a823980be99ad784fb0b94537bdfff7
Go to file
Code
Clone
HTTPS
Tea CLI
Open with VS Code
Open with VSCodium
Open with Intellij IDEA
Download ZIP
Download TAR.GZ
Download BUNDLE
Anna Wiggins
825a3f8e4a
Some drastic refactoring to reduce complexity for buttons, but now all the primary buttons always look selected...
2011-07-06 17:25:12 -04:00
res
Moved font into the resource directory
2011-07-03 16:46:16 -04:00
debug.h
Cleaned up some debugging code
2011-06-28 22:14:55 -04:00
drawutils.cpp
Added ability to actually build different unit types, as well as icons to distinguish them
2011-07-03 15:16:00 -04:00
drawutils.h
Change text over nodes to just be hit points
2011-07-01 22:23:16 -04:00
game.cpp
Some drastic refactoring to reduce complexity for buttons, but now all the primary buttons always look selected...
2011-07-06 17:25:12 -04:00
game.h
Vertices can now render themselves - not sure what to do about edges, right now game is still doing them
2011-07-06 14:52:45 -04:00
gamedata.cpp
Some drastic refactoring to reduce complexity for buttons, but now all the primary buttons always look selected...
2011-07-06 17:25:12 -04:00
gamedata.h
Some drastic refactoring to reduce complexity for buttons, but now all the primary buttons always look selected...
2011-07-06 17:25:12 -04:00
gamestate.cpp
We don't need much, so drop the framerate to make the game eat almost no CPU
2011-07-01 11:43:19 -04:00
gamestate.h
Added some performance boosting framerate regulation
2011-07-01 11:40:38 -04:00
gamevertex.cpp
Added a 'ghost node' so players can see where their new nodes will go, and fixed some bugs in the process
2011-07-06 16:17:30 -04:00
gamevertex.h
Some drastic refactoring to reduce complexity for buttons, but now all the primary buttons always look selected...
2011-07-06 17:25:12 -04:00
graph.cpp
Refactored Vertex and GameVertex classes into their own files, put some functions in GameVertex that made sense there
2011-07-03 16:37:07 -04:00
graph.h
Prevent overlap/edge crosses when moving a vertex
2011-07-04 02:52:12 -04:00
itos.cpp
Added some new files left out of last commit
2011-07-01 13:24:02 -04:00
itos.h
Added some new files left out of last commit
2011-07-01 13:24:02 -04:00
main.cpp
Implemented font framework, print info about each vertex
2011-07-01 13:15:30 -04:00
mainevent.cpp
Fundamental framework for an SDL application
2011-06-22 16:12:22 -04:00
mainevent.h
Increase portability as per SDL standards, add a window title
2011-06-24 09:53:44 -04:00
Makefile
Huge refactor with the basic goal of reducing complexity in the Game class. Broke a couple of small things in the process - still working on fixing them back up
2011-07-06 14:24:37 -04:00
mathutils.cpp
Put framework in place for dealing with graphs in 3 dimensions
2011-07-01 12:24:52 -04:00
mathutils.h
Put framework in place for dealing with graphs in 3 dimensions
2011-07-01 12:24:52 -04:00
menubutton.cpp
Some drastic refactoring to reduce complexity for buttons, but now all the primary buttons always look selected...
2011-07-06 17:25:12 -04:00
menubutton.h
Some drastic refactoring to reduce complexity for buttons, but now all the primary buttons always look selected...
2011-07-06 17:25:12 -04:00
player.cpp
Changed energy cost increase for producers, reworked menu buttons
2011-07-04 02:32:57 -04:00
player.h
Added player names and some debug stuff
2011-07-01 20:00:19 -04:00
timer.cpp
Added some performance boosting framerate regulation
2011-07-01 11:40:38 -04:00
timer.h
Added some performance boosting framerate regulation
2011-07-01 11:40:38 -04:00
titlescreen.cpp
Added some performance boosting framerate regulation
2011-07-01 11:40:38 -04:00
titlescreen.h
Implemented and integrated title screen - now game crashes at launch, though
2011-06-30 17:21:46 -04:00
TODO
Made some tweaks to game balance
2011-07-05 22:28:46 -04:00
vertex.cpp
Refactored Vertex and GameVertex classes into their own files, put some functions in GameVertex that made sense there
2011-07-03 16:37:07 -04:00
vertex.h
Refactored Vertex and GameVertex classes into their own files, put some functions in GameVertex that made sense there
2011-07-03 16:37:07 -04:00
Description
A very simple game about graphs.
game
graph-theory
1.2
MiB
Languages
C++
99.1%
Makefile
0.9%