Have a look here for some info on how to set up Allegro in VC++.Originally posted by Perica
...it's just too much work to get it working with Visual C++ 6.
Have a look here for some info on how to set up Allegro in VC++.Originally posted by Perica
...it's just too much work to get it working with Visual C++ 6.
Believe me, writing your own graphics code is millions of times harder than getting a nice little API like Allegro to work with MSVC.
I got the precompiled dynamically linked librarys, (DLL's) EXCEPT i don't know how to use them, somebody please help out
Please, somebody tell me how to load the DLL, so i can just use the functions normally.
Please, Help out.
Ciao.
Last edited by Perica; 11-22-2002 at 06:59 PM.
IT WORKS IT WORKS!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
I GOT ALLEGRO TO WORK WITH VC++ YEAHHHHHHHHHH!!!!!!!!!
Hey,
How do i Put a Pixel to the screen using Allegro??
Ciao
by reading the allegro docs.
Ok i will,
Also one more thang, How do i automatically include the library, from the source code, i think the #pragma directive is surposed to be used, but i have never used #pragma and i don't know what if does, and my C++ books don't cover it, so could somebody help out.....
Ciao
Hey,
I want to change the names of the functions of allegro, so i can remember them better.
How do i do this, i use the msvc dll thingy, but i statically link it, i change the files in the src folder, but when i make the library again, it stays the same, What do i do???
Please help.....Ciao
This may work:
#define YourFunctionName AllegrosFunctionName
MagosX.com
Give a man a fish and you feed him for a day.
Teach a man to fish and you feed him for a lifetime.
Hey,
I'd rather not do that, and i don't think it would work, i haven't tried it, but i don't think it would work.
Because i don't think it would define this:
#define Set_ColourDepth() set_color_depth()
or something simmilar, because of the function's '()' (brackets)
Does anybody know how to compile it so it uses changes made in the src/ folder.
Ciao
Instead of
useCode:#define Set_ColourDepth() set_color_depth()just get rid of the brackets, and your fine. But i really dont see why you are so eager to change the names of the functions. It will make it much harder for people to help you with you code later, as they wont know what you functions do, as you have them spelt you own way. Out of curiosity, whats your reasoning for this?Code:#define Set_ColourDepth set_color_depth
edit: You could also keep the brackets, but you would have to also insert all the variables passed into the function, which is time consuming. Just letting you know that it would be possible, though
IDE: Dev C++ 5
Lib: Allegro
OS: Windows 2000
Yeh,
I figured that out, BUT i want to change the actuall names in the library.
It just bugs me, i want the names to be set out my way ;D
Ciao
You can't. At least not without stealing the source and recompiling it.Originally posted by Perica
BUT i want to change the actuall names in the library.
MagosX.com
Give a man a fish and you feed him for a day.
Teach a man to fish and you feed him for a lifetime.
That's what i want to do, i want to recompile it, BUT HOW??
And stealing, such a harsh word, i like to call it 'borrowing'
Nah joking, jokin.
I will put Allegro in my game's credits
So, can anybody help??
Ciao
Never heard of anyone trying it before. I'm pretty sure you can get versions of allegro to compile from sourceforge.net (Go to allegro.cc to find the exact link).
Kind of picky, arent you hehe
IDE: Dev C++ 5
Lib: Allegro
OS: Windows 2000