Jump to content

  • Log In with Google      Sign In   
  • Create Account

We need your feedback on a survey! Each completed response supports our community and gives you a chance to win a $25 Amazon gift card!


px

Member Since 22 Dec 2004
Offline Last Active Nov 28 2014 10:29 AM

#5048476 How much will Windows hate me if I don't use RemoveProp

Posted by px on 30 March 2013 - 10:00 PM

While I've never used these properties I would imagine the property list automatically get cleaned up when the associated window closes. Just to be on the safe side though I would be inclined to remove properties as part of the windows close code at the very least.


#4878129 What can you do with the UDK?

Posted by px on 28 October 2011 - 10:44 PM

Here'sa sampling of what the Unreal engine is capable of. :)

Scroll down to the Unreal engine 3 section for more current titles.

Basically, if you can imagine it, you can build it with UDK... and as an added bonus it's pretty nice to work with and is updated often.


#4858460 Chests in Random Dungeons

Posted by px on 06 September 2011 - 09:30 PM

This doesn't really do anything to help you with your problem, but...

How about having the quality of the items in the chest depend on the distance the chest is away from the shortest path. That way people who want to just rip through a dungeon fast will still have some chance of finding goodies and people who take their time and explore get a better chance.

Just a thought... :)


#4785088 Reading different lines in text file

Posted by px on 12 March 2011 - 09:09 PM

The problem you're having here is that you've created an array of size 1 (ie. just 1 string) to hold each line of the file. When you're reading the file you reset the counter (variable i) whenever it exceeds the size (variable size). Single-stepping through the code with your debugger should give a clear view of what's going on.

I would recommend replacing that array with a vector<> of strings.This way you don't need to worry about overflowing a buffer because the vector worries about that for you :)


#4766524 Help with std::vector<bool> issues

Posted by px on 29 January 2011 - 12:21 AM

Have you considered using std::bitset instead?


PARTNERS