Search found 198 matches

by RandomDever
Sun Jun 28, 2009 1:28 pm
Forum: Programming Discussion
Topic: SDL LoadBMP Problem
Replies: 27
Views: 2461

Re: SDL LoadBMP Problem

Here's the image:
Image
Sorry when uploaded it converted into JPEG. But it's 60 x 60 and I'm using VC++ 2008 :(
by RandomDever
Sun Jun 28, 2009 9:46 am
Forum: Programming Discussion
Topic: SDL LoadBMP Problem
Replies: 27
Views: 2461

Re: SDL LoadBMP Problem

ok everything loads by my bmp isn't showing up. #include "SDL.h" #include "SDL_image.h" #include <string> void apply_surface( int x, int y, SDL_Surface* source, SDL_Surface* destination ) { //Make a temporary rectangle to hold the offsets SDL_Rect offset; //Give the offsets to th...
by RandomDever
Sat Jun 27, 2009 2:34 pm
Forum: Programming Discussion
Topic: SDL LoadBMP Problem
Replies: 27
Views: 2461

Re: SDL LoadBMP Problem

I am only testing (I normally use PNG) and SDL_LoadBMP doesn't work.
BTW Where does the BMP have to be for it to load and what X,Y Coord? :|
by RandomDever
Sat Jun 27, 2009 12:30 pm
Forum: Programming Discussion
Topic: SDL LoadBMP Problem
Replies: 27
Views: 2461

SDL LoadBMP Problem

Code: Select all

SDL_Surface *image;
image = LoadBMP("mount.bmp");
But every time I compile it it says:
error C3861: 'LoadBMP': identifier not found
WTF? :(
by RandomDever
Wed Jun 24, 2009 10:26 pm
Forum: Programming Discussion
Topic: Random Function
Replies: 29
Views: 1671

Re: Random Function

No I mean like if i ran the program:

1
2
3
4
5
6
3
6

(Which is okay :) )
Then I run it again:

1
2
3
4
5
6
3
6

That's repeating
by RandomDever
Mon May 11, 2009 5:54 pm
Forum: Programming Discussion
Topic: Random Function
Replies: 29
Views: 1671

Random Function

Is there a way to have a random range function that never repeats any digit? :|
by RandomDever
Sat May 02, 2009 6:09 am
Forum: Programming Discussion
Topic: Where do I Start for DC development?
Replies: 10
Views: 730

Re: Where do I Start for DC development?

I'd Like this: http://www.mydigitallife.info/wp-content/uploads/2006/10/windows-vista-desktop-gadgets-on-sidebar.jpg Not this: http://w1.311.telia.com/%7Eu31115556/desc/swegenskaper/swegenskaper_dos.gif I've got MVC++E and have compiled many many many DOS based programs. I don't see any reference to...
by RandomDever
Fri May 01, 2009 11:56 pm
Forum: Programming Discussion
Topic: Where do I Start for DC development?
Replies: 10
Views: 730

Re: Where do I Start for DC development?

C++
I'm sorry but...Visual Basic Stinks for game dev
by RandomDever
Fri May 01, 2009 9:49 pm
Forum: Programming Discussion
Topic: Where do I Start for DC development?
Replies: 10
Views: 730

Re: Where do I Start for DC development?

I was asking how to start with windows by itself. Unrelated to DC.
Like how could I make a program that prints out a message like "Hello world" as a message box with an OK button and the nice Windows Vista GUI?
by RandomDever
Fri May 01, 2009 3:54 am
Forum: Programming Discussion
Topic: Where do I Start for DC development?
Replies: 10
Views: 730

Where do I Start for DC development?

And also where to start for Windows. Not DOS, Windows.
by RandomDever
Wed Apr 15, 2009 7:22 pm
Forum: Programming Discussion
Topic: SDL Programming
Replies: 3
Views: 432

SDL Programming

What are the requirments? :|
by RandomDever
Mon Apr 06, 2009 1:26 pm
Forum: Programming Discussion
Topic: How do I?
Replies: 6
Views: 403

Re: How do I?

Thanks guys the random_range function works perfectly.
Sweet! :mrgreen:
Edit: Now back to work Image
by RandomDever
Mon Apr 06, 2009 12:55 am
Forum: Programming Discussion
Topic: How do I?
Replies: 6
Views: 403

Re: How do I?

Thanks for the reply. :mrgreen:
BTW What about a random number generator function that would take the minimum and maximum number it could genereate?
by RandomDever
Sun Apr 05, 2009 10:29 pm
Forum: Programming Discussion
Topic: How do I?
Replies: 6
Views: 403

How do I?

Make a C++ Debug Prompt?
Is it possible?
:shock:
by RandomDever
Sun Apr 05, 2009 9:18 pm
Forum: Programming Discussion
Topic: Need Help
Replies: 4
Views: 455

Re: Need Help

Sorry Maevik..
I'm fucking retarded.
I forgot I'm not using codeblocks any more.