Re: Games
jorn.dahl-stamnes@nospam. novit.no (Jørn Dahl-Stamnes) wrote in message news:<6X6Pa.120 74$Hb.209645@ne ws4.e.nsc.no>.. .[color=blue]
> In article <3bd1e3d.030709 1151.75fff20@po sting.google.co m>, willybilly111@h otmail.com (Brad) wrote:[color=green]
> >Without going into detail, how do you make games in C++?[/color]
> You start with
> int main (int argc, char** argv)
> {
> // Your game code goes here
> }[/color]
Aha, now we know what platform you are writing for!
I thought for standard gaming platforms it is :
[Microsoft Windows]
INT WINAPI WinMain(HINSTAN CE hInst, HINSTANCE hPrevInst, LPSTR
lpCmdLine, INT nCmdShow)
[Microsoft Xbox]
VOID __cdecl main()
[Nintendo GameCube]
int main(void)
[Nintendo GameBoy Advance]
void AGBMain(void)
[Sony PlayStation 2]
int main(int argc, char *argv[])
The last one looks closest...
BTW first you might want to hire four artists for every programmer and
get a game design written but that depends on the type of game :-)
jorn.dahl-stamnes@nospam. novit.no (Jørn Dahl-Stamnes) wrote in message news:<6X6Pa.120 74$Hb.209645@ne ws4.e.nsc.no>.. .[color=blue]
> In article <3bd1e3d.030709 1151.75fff20@po sting.google.co m>, willybilly111@h otmail.com (Brad) wrote:[color=green]
> >Without going into detail, how do you make games in C++?[/color]
> You start with
> int main (int argc, char** argv)
> {
> // Your game code goes here
> }[/color]
Aha, now we know what platform you are writing for!
I thought for standard gaming platforms it is :
[Microsoft Windows]
INT WINAPI WinMain(HINSTAN CE hInst, HINSTANCE hPrevInst, LPSTR
lpCmdLine, INT nCmdShow)
[Microsoft Xbox]
VOID __cdecl main()
[Nintendo GameCube]
int main(void)
[Nintendo GameBoy Advance]
void AGBMain(void)
[Sony PlayStation 2]
int main(int argc, char *argv[])
The last one looks closest...
BTW first you might want to hire four artists for every programmer and
get a game design written but that depends on the type of game :-)
Comment