![]() |
|
This thread is locked; no one can reply to it.
![]() ![]() |
1
2
|
Allegro + Win32 GUI |
Fabiano Lopes
Member #3,024
December 2002
![]() |
In the following link, there's an example of how to create a Win32 menu. Is possible to merge it with Allegro gfx routines? Windowed mode? Please, any help is appreciated. |
23yrold3yrold
Member #1,134
March 2001
![]() |
See the AGDN in my sig for an example of how to combine Allegro and Win32. -- |
Matt Smith
Member #783
November 2000
|
WTF is that 'CLICK YES TO CONTINUE' plugin that tried to install itself from AGDN? |
RallyMonkey
Member #4,615
May 2004
![]() |
It is of no use to the site. Either an ad or spyware. I don't need it to view the site on Linux. NOTICE: This post's grammar/spelling/puncuation is definitive. English is frequently inaccurate. |
Matt Smith
Member #783
November 2000
|
Daniel needs to have a word with his hosts about their adverts. Great tute tho. I've always assumed it would be in C++ |
Gideon Weems
Member #3,925
October 2003
|
23, do you have any advice for someone who just wants to eliminate Allegro's little, background, console window (ala Icy Tower, and most pro Allegro games)? Is setting up a WndProc with a message pump necessary if that's all someone wants to do? Though your tut is inspiring, I, err, don't think I could so easily alter my program structure to that extent... Okay, I just did a little manual checking. It seems that the WndProc and window can be registered with Allegro. Why don't you simply do that in the tutorial? Too cool, or do I have something wrong? |
23yrold3yrold
Member #1,134
March 2001
![]() |
Quote: Is setting up a WndProc with a message pump necessary if that's all someone wants to do? Absolutely not. Just pass the -Wl,--subsystem,windows compiler flag. Voila; no more console window. -- |
Specter Phoenix
Member #1,425
July 2001
![]() |
MattSmith: If AGDN still links to the site I'm thinking of he is using Geocities free account so he can't get rid of the adverts. I think he would have to pay like $10~$15USD in order to get rid of it and that would be pointless because it is just a tutorial site nothing major. [EDIT]Opera won't display MSDN properly???.
|
Sporus
Member #3,815
August 2003
![]() |
23 said: Just pass the -Wl,--subsystem,windows compiler flag.
Mind telling us which compiler that's for? AFAIK in mingw32 gcc all you have to do is put in the -mwindows flag...
|
hazul
Member #4,338
February 2004
![]() |
Actually what 23 posted is what's preferred. AFAIK -mwindows is deprecated.
* * * * * |
CGamesPlay
Member #2,559
July 2002
![]() |
Yeah, -mwindows is deprecated is all. -- Ryan Patterson - <http://cgamesplay.com/> |
23yrold3yrold
Member #1,134
March 2001
![]() |
What hazul said. And AGDN is working fine from here ... and while ads are fine, trying to install plugins is not. -- |
Sporus
Member #3,815
August 2003
![]() |
Oh well!
|
Gideon Weems
Member #3,925
October 2003
|
Fabiano Lopes
Member #3,024
December 2002
![]() |
Err... what is exactly the command-line? I mean, instead of: gcc -mwindows file.c what's the flags to replace -mwindows? gcc -??? file.c |
gnolam
Member #2,030
March 2002
![]() |
-Wl,--subsystem,windows
-- |
Fabiano Lopes
Member #3,024
December 2002
![]() |
CFLAGS = $(INCS) -DHOST_LITTLE_ENDIAN -Wl,--subsystem,windows -O3 -march=i686 -msse gives an error: multiple target patterns. |
ReyBrujo
Moderator
January 2001
![]() |
First, don't use -O3, use -O2. Second, never use -march. Third, what does INCS have? -- |
Fabiano Lopes
Member #3,024
December 2002
![]() |
First, why not -O3? Second, is -march=i686 deprecated or something? |
ReyBrujo
Moderator
January 2001
![]() |
-O3 is used only with C++, and even it can be discussed wheter it gives more or less optimizations than -O2. About -march, you will be compiling for that architecture. Programs won't be able to run correctly in older computers. And I asked what INCS have, in order to see what is going wrong with your makefile. -- |
DanielH
Member #934
January 2001
![]() |
Ok, here is the scoop. The correct address of AGDN is Now either work. If you are one of the few people not up to the times and don't have a popup blocker then .... so sad. I would prefer that people not use the cjb redirector at all. But I leave it there for all those people who only know AGDN by that url. I commented on the real site a while ago. 23 hasn't gotten the news yet. |
23yrold3yrold
Member #1,134
March 2001
![]() |
What what what's this now? -- |
DanielH
Member #934
January 2001
![]() |
cjb was free, now you have popups. Pyrosoftware supplied me some space for AGDN with no ads. So now I'm completely ad free. If you want a small url then get a popup blocker and use cjb. |
Fabiano Lopes
Member #3,024
December 2002
![]() |
INCS = -I"C:/Dev-Cpp/include"
I use Dev-Cpp + MinGW to compile my emulator, not aimed for older machines |
ReyBrujo
Moderator
January 2001
![]() |
Hmm... nothing wrong there. Post the whole makefiles. -- |
|
1
2
|