Jump to content

  • Log In with Google      Sign In   
  • Create Account


Nexian

Member Since 11 Jan 2010
Offline Last Active Sep 07 2013 03:52 AM
-----

Posts I've Made

In Topic: VC++ Redist - msvcr100.dll is missing

23 August 2012 - 03:59 PM

Hurra. Apparently it was a dumb issue.

The redist I have is for the 11 beta for VC++ and apparently that doesn't include the msvcr100.dll?

In Topic: Full Screen to Windowed - Window loses border and style

19 August 2012 - 06:19 PM

Try this:

RECT clientRect;
clientRect.left = 0;
clientRect.top = 0;
clientRect.right = d3dpp.BackBufferWidth;
clientRect.bottom = d3dpp.BackBufferHeight;
AdjustWindowRect(&clientRect, GetWindowLongPtr(hWindow, GWL_STYLE), FALSE);
MoveWindow(hWindow, clientRect.left, clientRect.top, clientRect.right, clientRect.bottom, false);

This will enlarge the window rectangle to include the border size.


I had to add 50 to the rectangle when returning at max resolution (border was above the top of the screen) but that seemed to do it very nicely, thank you!

Although it still loses the windows 7 border style. Is there anyway to get that back?

In Topic: Game: Last Square Standing

19 August 2012 - 03:41 PM

got 1048.

I agree with it measuring score by time instead of points.

My only issue with it is after about 10 games the odds of ever improving your score significantly are very slim, so after I got 1048 I lost interest since I wasn't able to beat it for the next 5 games.

I'd love to see there be a score you must get to unlock a new level where there are new types of circles. Then you must get a certain score in that level to reach the next level and so on. Then you have a reason to keep trying to long as you know there is at least one more level to unlock ^^

In Topic: Chat/Combat Log (Game)

19 August 2012 - 11:00 AM

Buy the book Design Patterns: Elements of Reusable Object-Oriented Software, by Erich Gamma, Richard Helm, Ralph Johnson and John Vlissides. It sounds like you're at the point where it'd be rather useful.


Thank you for the book suggestion. Added a link to the book for when I am not horrifically poor :)

For filtering reasons I would add a type field to your CombatLogLine struct.

Have you profiled this case for being slow already, if not don´t worry about it untill it becomes a problem, but an idea to reduce the drawcalls is to combine all of the CombatLogLines into one string seperated with carrage return feed symbol if they don't contain an image. This will then only use one call to D3DXFont::DrawText for that portion of text.


Yeah, a type field would probably be a good idea, maybe with a source and flags for the type. Like Source = Player 1 and Type = LTYPE_COMBAT | LTYPE_GETHIT

You're right, I probably should worry about performance when it actually becomes an issue. ^^

In Topic: Shaders - Simple Q&A :)

15 August 2012 - 06:32 AM

Thanks all,

This has been good, direct feedback. Feels good to be a little less uncertain :P

PARTNERS