Well i havn't been rogramming much since school takes up most of my time but decided to start fooling with my game in development today. Ran into a problem. My game uses a lot of bitmaps loaded as resources. Today i tried to add another bitmap to the game and it just don't appear at all. As a matter of fact it caused some bitmaps to show up out of place when i start a new game from the menu. So my question is

"IS there a limit to the amount of resources you can use in a program?"

My game is only about 800k most of which is bitmap resource.

I know its not a bitmap id problem or any syntax related stuff.

Any help appreciated

:alright:
Posted on 2001-11-15 19:55:32 by titan
ok i screwed up

See what happens when you don't program for a while.

I forgot to compile the resource file.

Thanx anyway.

But the question still stands:

"Is there a limit to the amount of resource you can use in a program"
Posted on 2001-11-15 21:24:17 by titan
I believe there's a limit on the individual resources. There might
be some max size for the .rsrc section (I find that unlikely though).
But for massive data, I would recommended keeping external files,
and preferably in a .PAK file like good old ID software made standard.
Posted on 2001-11-15 21:56:09 by f0dder
I do that in RadASM a lot. :)

I haven't changed the default build option to include building the resource, too. That's why I've starting using NMAKE on all my newer projects. I don't have to keep track of what I've edited. I'll often have all the source files open, tracing through some code in the debugger, making changes here and there, and rebuilding, then do it again...
Posted on 2001-11-15 21:56:21 by bitRAKE

"Is there a limit to the amount of resource you can use in a program"


I believe there is a limit on hDCs and pens/brushes and stuff under Win9x, but i can't remember what the limit is. And because it is limited under W9x, it is probably the case under WinMe as well. I believe that the limit doesn't exist under NT.
Posted on 2001-11-16 02:26:31 by sluggy
Hi RadASM users.

If forgetting to compile RC is a problem you can add a new menu item to the make menu.
In the masm.ini file make the following changes:

Section
MenuMake=Compile RC,Assemble,Link,Build,Go,Run,Go All

Section
9="-"
10=G&o All,M,1,2,3,4


Activate the new menu item by selecting Project / Project Options from the menu.

The Go All will compile rc, assemble, link and run.

KetilO
Posted on 2001-11-16 03:56:30 by KetilO