Re: [AD] Proposal for new magic main (2)

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


Oh wait, we are breaking compability in 4.1 series?
Can we then disable the three mouse button emulation by default?

Sorry if I'm being so repetitive, but since I discovered it, it just drives
me nuts that by default my two buttons mouse doesnt  have both buttons
pressed,
but a third non-existant one =)

I know this probably can be turned off with a cfg file, but I see this as
something that
can be very confusing to allegro newcomers, and somehow ilogical...

Don't worry, I'll stop making this proposal if it is not accepted =)


----- Original Message -----
Wrom: KMBIPBARHDMNNSKVFVWRKJVZCMHVIBGDADRZFSQHYU
To: "Allegro conductors" <conductors@xxxxxxxxxx>
Sent: Wednesday, March 27, 2002 7:35 PM
Subject: [AD] Proposal for new magic main (2)


> ...and this time, it works !
>
> Here's the proposal:
> - no (more) magic main on systems that provide the standard main() entry
> point (all but Windows),
> - install_allegro() and allegro_init() require a copy of the 'argc' and
> 'argv' parameters,
> - the Windows port implements a new magic main, based on macro
substitution
> of main(argc, argv)
> - END_OF_MAIN() R.I.P (Hurra !)
>
> Drawbacks:
> - breaks source compatibility for allegro_init(),
>
> Benefits:
> - Darwin/MacOS X support,
> - better cooperation with other libraries,
> - END_OF_MAIN() is gone.
>
> The patch is located at:
> http://www.multimania.com/ebotcazou/dev/magic_main3.zip
>
> - magic_main3.diff is the core patch,
> - ansify.diff updates the whole distribution to the new argc/argv format
> - build_docs.diff removes the 'hey, don't forget END_OF_MAIN()!' lines in
> the build docs.
>
> Compiled under DJGPP, Borland C++, Mingw32 and Linux. The only remaining
> hurdle is MSVC.
>
> --
> Eric Botcazou
> ebotcazou@xxxxxxxxxx
>
>



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/