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
91
Commits
1
Branch
0
Tags
9ee29726124e8e6f525bedb074ba0d893b04d6d4
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
9ee2972612
Fixed a silly error - always good to return values we calculate
2011-07-05 22:15:52 -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
Moved buttons and info around
2011-07-04 02:23:20 -04:00
game.h
Implemented energy costs
2011-07-04 01:27:56 -04:00
gamedata.cpp
Added code to prevent attacking more than once per attacker per round
2011-07-04 03:09:36 -04:00
gamedata.h
Implemented energy costs
2011-07-04 01:27:56 -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
Fixed a silly error - always good to return values we calculate
2011-07-05 22:15:52 -04:00
gamevertex.h
Added code to prevent attacking more than once per attacker per round
2011-07-04 03:09:36 -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
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
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
Improvements to button menu and keyboard controls
2011-07-04 02:00:43 -04:00
menubutton.h
Added End Turn button so we can do multiple actions per round - this will be limited by energy shortly
2011-07-03 17:45:11 -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
Added a TODO list, so I can remember what I wanted to add to this thing
2011-07-05 21:58:01 -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%