Turkish Star Wars!

Published June 14, 2006
Advertisement
I'll have something development related tomorrow. In fact, I think I might be able to get Commander Awesome working by tomorrow.

But in the meantime,
">Your life is meaningless until you watch this...er...inspiring montage.
0 likes 8 comments

Comments

ApochPiQ


I am bizarrely motivated to go learn how to punt rocks and make them explode in glorious balls of flame.
June 15, 2006 06:31 AM
Rebooted
ERm...





WTF..
June 15, 2006 06:57 AM
Rob Loach
That made my life better..... Thank you.
June 15, 2006 07:52 AM
Stompy9999
It's from a movie called Turkish Star Wars.

Now If you'll excuse me, I have to go chop some rocks[lol]
June 15, 2006 08:30 AM
Metorical
Unrelated to the topic but I noticed your code below..

Do you know much about the STL Stompy? If not I would seriously suggest you take a bit of time to learn about std::vector as you'll find a billion places to use it. The same is true for std::map.

You'll stop using arrays for a lot of things. For instance your state stack can be implemented using a vector (although there are better containers to use the vector will be easiest to get to grips with)

std::vector<state> States;

June 15, 2006 08:31 AM
Stompy9999
Quote:Original post by Metorical
Unrelated to the topic but I noticed your code below..

Do you know much about the STL Stompy? If not I would seriously suggest you take a bit of time to learn about std::vector as you'll find a billion places to use it. The same is true for std::map.

You'll stop using arrays for a lot of things. For instance your state stack can be implemented using a vector (although there are better containers to use the vector will be easiest to get to grips with)

std::vector<state> States;


The last entry is C# code, so I don't really know the different libraries yet. That was code from my 4E5 entry.

However, the code for Stompy's Revenge uses the STL almost everywhere. All the enemies are stored in a vector, the states are stored in a std::map. As a C++ programmer, I use it alot, but hopefully I can find the equivelent C# libraries.

June 15, 2006 08:39 AM
Programmer16
C# has a templated class named LinkedList<> (.NET 2.0 only I believe). But it doesn't have an index accessor; other than that it's pretty useful.

Edit: They also have a growable array of some sort.
Edit: Looks like the growable array is List<>.
June 15, 2006 10:40 AM
coderx75
It's like bad porn without the incentive to actually watch... and they're making a sequel. o_O
June 15, 2006 10:45 AM
You must log in to join the conversation.
Don't have a GameDev.net account? Sign up!
Advertisement
Advertisement