Jump to content
  • Advertisement
  • entries
    707
  • comments
    1173
  • views
    435668

FAIL

Sign in to follow this  
Programmer16

76 views

Looks like I fail again. For some stupid reason I wrote a logging system for this project, but I don't use it beyond the single (useless) graphics device message. linkofazeroth was trying to test the demo for me earlier, but was getting an error (generic Windows "X has had a problem and must close. blah blah blah".) Can't really say it was a corrupt upload since other people downloaded and ran it just fine (I even had someone else test it after he had problems.) I also can't really say it was a corrupt download since he downloaded it several times as well. Not really sure what happened lol. A fresh upload did solve it, so I'm pretty confused.

At the moment I've continued refactoring my code (I had quit and started working on the game) since I need to implement logging and exception handling. This will be my first time using C++ exceptions, so I'll probably end up abusing the hell out of them, which is going to suck.

I also just finished adding some basic string manipulation for std::string. Replace() and Remove() with COW overrides and overrides that take strings. A case-insensitive compare function. snk_kid's ToLower() and ToUpper() functions (respects locale and such) as well as COW overrides. And a Split() function that separates a string into a vector (depending on the separator character you specify.) Edit: Oh, and I added hex-parsing and hex to string functions since I've used them when writing a couple systems in the past.

Html logging is also finished.

I'm about halfway through the code-base; then it's on to the game code, which should be pretty interesting.

This refactoring session will also give me a chance to fix one of my biggest problems with Project MalykAI: EVERY FUCKING CLASS IS IN THE SAME FILE PAIR >_<. Somewhere along the way I got majorly lazy and instead of adding new files, I just stuck with SideScroller.h and SideScroller.cpp which is hella sucky and EXTREMELY hard to navigate.

I also took this chance to try converting over to VC++ EE and I've run into a few problems. Intellisense never seems to update. EVER. Intellisense says that String only has one function even though it's up to 13. It also isn't showing Hex. It's kind of a trade-off; VS2K3 updated correctly, but it just didn't like to show up sometimes. EE seems to show up all the time, but never updates. YAY.

It also doesn't like to show string, map, ofstream, basic_stream, or pretty much any other std class that I use (yes, I'm including the header files.)

When opening files, it adds tabs to the left instead of the right, which is extremely weird IMO.

The tooltip for functions (lists the arguments for a function) doesn't update either. And it also disappears when I press the end key, which is lame.

Updating functions to use the _s versions was easy.

Edit: I just realized that I have no clue when I installed VC++ EE, so it could be a really old edition. I'll have to check that out.
Sign in to follow this  


4 Comments


Recommended Comments

Guest Anonymous Poster

Posted

You should be able to make VC++ regenerate the Intellisense data by going into the project directory and deleting or renaming a file called projectname</>.ncb.

Share this comment


Link to comment
It was my fault on the game testing, I didn't actually extract it. ManTis ran into the same problem showing me his 'z0id' game. I didn't extract it from the zip, I was just running from within WinZip. My bad. >_>

Share this comment


Link to comment
It was my fault on the game testing, I didn't actually extract it. ManTis ran into the same problem showing me his 'z0id' game. I didn't extract it from the zip, I was just running from within WinZip. My bad. >_>

Share this comment


Link to comment
Quote:
Original post by linkofazeroth
It was my fault on the game testing, I didn't actually extract it. ManTis ran into the same problem showing me his 'z0id' game. I didn't extract it from the zip, I was just running from within WinZip. My bad. >_>


[lol] yea that could cause problems.

@AP: I hadn't thought about deleting the intellisense file. I'll have to try that to see if I get better results. Thanks!

Share this comment


Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!