Jump to content

  • Log In with Google      Sign In   
  • Create Account


QuinnDexter

Member Since 16 Mar 2005
Offline Last Active Nov 25 2013 09:34 AM

Posts I've Made

In Topic: C++ inheritance vs C# inheritance

04 October 2013 - 09:49 AM

I've been in MI hell with C++ on many occasions and when you are put on a project and encounter a class with three or four base classes I can feel my testes retreat. 

 

There's a good blog here talking about why C# doesn't support multiple inheritance which might answer your initial question.

 

http://blogs.msdn.com/b/csharpfaq/archive/2004/03/07/85562.aspx


In Topic: WT* ?

04 October 2013 - 09:42 AM

There are posts on Gamedev that are boring and some that are interesting but this one made my Friday biggrin.png


In Topic: Brainstorming: Starting "Simple" text adventure.

23 July 2013 - 08:02 AM

The best way to start writing a text adventure is to come up with a decent story and how the protagonist exists and interacts within that new world you have created. Then develop the engine around that. 

 

I found that writing an engine from the ground up before I knew what type of adventure it would run led to me engineering in limitations about what the player could do.  I knew how the story should play out, but had written a generic parser and system which was similar to other really basic text adventure games. 

 

You can't beat a blank pad of paper and pen to hammer out a design first.

 

Good luck. 


In Topic: Why no grid-based first person "dungeon crawlers" in a sci-fi setting?

11 July 2013 - 10:07 AM

There were a few of these back in the days of the Amiga and the game Captive springs to mind.  Not seen one since though apart from of course system shock..etc


In Topic: WCHAR To const char* String Conversion Issue

05 July 2013 - 08:15 AM

This should fix it, but you will have to use unicode everywhere in your project i think.

 

A better way to just look at your string is to put a breakpoint and check it for yourself in the watch or memory window.

 

I agree with Vortez.  If you ever have any issues with rendering text from a buffer just drag it into the memory window and what exactly it is you are trying to render. In this case you would see that every other character is a null.    You get the same effect if you attempt to display a wide to the console using %s or %S instead of using  %ls. 

 

I've been burnt by this in the past. its almost like an initiation right wacko.png

 

 

Good luck smile.png


PARTNERS