PocketMatrix forums

A read-only archive of the PocketMatrix forums (2001–2014). Posting and accounts are closed.

Libraries v0.97 available

Hey all,

A new package is ready for you all: Version 0.97 of the Overloaded Game Foundation. No major changes, just an aweful lot of bugfixes; the ini file problem should be gone too. The login screens and credit overview stuff is now in place, as well as the GPRS connection emulation via a regular ini file.

The stuff can be obtained from the download page:
http://overloaded.pocketmatrix.com
Click the 'downloads' button. :)

- Jacco.
it seems to be looking for EasyCESample project, then I got some access violation error.

where do I get that?

after that, I was able to build caverunner again, now hopefully mine...
The mesage box says:
"This workspace file is corrupted: it contains more than one project called 'CaveRunner'.
Those extra projects will be removed from the workspace."

anyway, I got my project (Homies) to work correctly again.

note:
sprite->Draw() crashes on me...something to do with the surface(screen)

so I use sprite->Draw(surface)

also, I found out that ini files has to have a 'newline char' at the last line:

<file begin>
[section]
item=0

<file end>

not:

<file begin>
[section]
item=0
<file end>

maybe I'm the only one who didn't know that.

Also, about GPRS...which is the whole point of Overloaded games.

I saw the new game design and I'm just wondering how the download new level pack works.

I'd like to have that feature in my project :)
I had the EasyCESample problem too. It doesn't seem to be an issue if you just click cancel.

One problem I did have, though, is that when I click "enter" (either one) on the Login screen, the program crashes. I made a debug build to try and find the problem and it didn't happen. It probably has something to do with uninitialized variables or something like that.
OK, there seems to be something very wrong with the workspace. Here's the problem: We use a workspace named 'Overloaded' internally. This workspace includes all games currently under development, the GPRS source code (wich we don't distribute) and some test applications for the GPRS library, all in all we have 12 projects in this workspace.

To build a distribution, I copy this workspace file and open the copy. Then I remove all projects that shouldn't be in the distribution.

Today, I tried a different route: I created a new workspace (empty) and added only the projects that I wanted in it. When I tried this, Visual Studio wouldn't let me create a workspace named 'Overloaded-dist', because of the '-'. Changing to 'Overloaded_dist' resolved the problem.

I'm going to test the new workspace that I just created now, and if all goes well, I'll post a new download with just those changes.

BTW, I also encountered some nasty #define problems: When you add a '#define GPRS_EMULATION' to a header file that gets included by a .cpp file, and the .cpp file uses the #define to exclude / include certain code portions, the compiler does not respond properly to setting / disabling the #define. Some portions will get compiled, others not, resulting in a bad library. Disabling 'automatic use of precompiled headers' solved the problem, but I can tell you that this took me quite some time to figure out. I hate the precompiled headers. :)

- Jacco.
Hm, very weird. The EasyCESample project keeps causing problems, even when added to a fresh workspace. I'll try to rebuild that project from scratch to see if that solves the problem.