Allegro.cc - Online Community

Allegro.cc Forums » Allegro Development » Allegro 5.0 (or 6?) - Request For Comments

This thread is locked; no one can reply to it. rss feed Print
Allegro 5.0 (or 6?) - Request For Comments
Thomas Fjellstrom
Member #476
June 2000
avatar

Exactly. Just like I said with DOS support, if someone is willing and able to write a C++ version I'm all for it. :) hehe reminds me of the ALSA MIDI driver... I wrote it because I had a need. And Still I wonder if anyone else uses it. :)

--
Thomas Fjellstrom - [website] - [email] - [Allegro Wiki] - [Allegro TODO]
"If you can't think of a better solution, don't try to make a better solution." -- weapon_S
"The less evidence we have for what we believe is certain, the more violently we defend beliefs against those who don't agree" -- https://twitter.com/neiltyson/status/592870205409353730

Bob
Free Market Evangelist
September 2000
avatar

Mandrake: other than syntaxic sugar, a C++ only lib won't bring anything "new" to Allegro.

Ok, I've changed my mind, DOS can stay, as long as some features are documented as non-existent in the DOS port (like multi-threading or networking or whatever).

--
- Bob
[ -- All my signature links are 404 -- ]

Mandrake Root Produc
Member #300
April 2000

being that OOP is much mroe than syntactical sugar, it can add ALOT to allegro. Including making updating, adding pulgins, modifying the library a snap.

Of course the same arguement could be made for dos...for what else is windows but icon based sugar?

You know what feature I want in the new allegro? HMMMM? heh, a nicer looking gui :)

Bob
Free Market Evangelist
September 2000
avatar

FOR THE LAST TIME C++ != OOP.
IF I CATCH ANYONE EVER SAYING THAT EVER AGAIN I WILL REALLY GET REALLY PISSED!

--
- Bob
[ -- All my signature links are 404 -- ]

Bob
Free Market Evangelist
September 2000
avatar

Oh yeah, we could have AGUP as a plug-in

--
- Bob
[ -- All my signature links are 404 -- ]

Thomas Fjellstrom
Member #476
June 2000
avatar

hehe... C++ is OOP... oops ;) I think I got those mixed up a bit. :) I mean, Is C++ OOP? j/k.

The second you use '//' for a comment or 'new' your in C++ land... even without all the niceties of C++ like templates, namespaces, and inheritance.

--
Thomas Fjellstrom - [website] - [email] - [Allegro Wiki] - [Allegro TODO]
"If you can't think of a better solution, don't try to make a better solution." -- weapon_S
"The less evidence we have for what we believe is certain, the more violently we defend beliefs against those who don't agree" -- https://twitter.com/neiltyson/status/592870205409353730

23yrold3yrold
Member #1,134
March 2001
avatar

I'm yanking this from another thread ....

Allegro 5.0 request? A console port. Highly recommended would be Dreamcast, but since it's in short supply as of late (Sega has stopped manufacturing them I believe) XBox would probably be the next best idea. Maybe Shawn could get us some stats :D (kidding, kidding).

How feasible is this? I've seen hints on the mailing list that a GBA and PS port have been considered. How seriously have these been looked into? If a console port is possible, I highly recommend the Allegro crew look into the Dreamcast; not only is it not terribly difficult, but much work has already been done. Relatively speaking, it would probably be the easiest console to port to.

--
Software Development == Church Development
Step 1. Build it.
Step 2. Pray.

orz
Member #565
August 2000

Edit: removed post. I accidentally posted in the wrong thread

[ December 03, 2001: Message edited by: orz ]

Thomas Fjellstrom
Member #476
June 2000
avatar

A console port would be awesome. and if I could get an M105 somehow maybe I could do a Palm port ;)

p.s. Hey bob.. did you know that under konqueror, the image of winamp on your home page messes up the layout a bit?

--
Thomas Fjellstrom - [website] - [email] - [Allegro Wiki] - [Allegro TODO]
"If you can't think of a better solution, don't try to make a better solution." -- weapon_S
"The less evidence we have for what we believe is certain, the more violently we defend beliefs against those who don't agree" -- https://twitter.com/neiltyson/status/592870205409353730

orz
Member #565
August 2000

// has been a valid comment in C for a long time... since the ANSI standard, I think (though it wasn't in K&R C, if I recall correctly)
C is a good language for libraries, since
1. it doesn't use name mangling. This makes it easier to interface with other languages.
2. it's efficient & powerfull.
3. C compilers are available for almost all platforms. C++ compilers are a lot more iffy.
4. Most C compilers actually meet the ANSI C standard. Zero C++ compilers meet the ANSI C++ standard.

Troy D Patterson
Member #41
April 2000
avatar

The arguement of getting rid of DOS is completely valid. I mean why do you want some top of the line Video Card just to run Sprite based games? It DOES hender the further progress of Allegro simply because everything slows down to add support for it.
When I new video card comes out... it just works.... period. But with DOS Allegro.. we have to add new drivers... What a waste of time. And I honestly thing some things would be a lot cooler if Allegro could do.. Networking,USB support, REAL 3D. If you hate those features being in Allegro... then why upgrade? Why want a new allegro. If you want to stick with sprite games. Why is Allegro 4 soooooo bad?
What makes it so terrible that you can't deal with it? The garbage argement that it doesn't hurt anything in fact it does. Because no one will really want to write drivers for something that's suppose to be multiplatform. If it only works on some of the platforms.
I'm sorry but I write games for COMPUTER USERS to play... not just PROGRAMMERS. And weather you like it or not. Programmers are the only people still using DOS as a gamming platform. And people who have DOS as their maing OS. Honestly can't have great systems to begin with. So what's the deal with stopping progrogress.
Well then again maybe it shouldn't be called Allegro 5? Would that make people happy then? Remember the time when it was said that Allegro would never be ported to windows to begin with? I honestly love the fact now that I can play my games on more than just windows 95 systems. I can't even run the DOS games on my 98 system. So I guess that's the reason I want to get rid of DOS.
But as people keep saying. What's wrong with using Allegro 4?

Oh yeah, great Idea Chris. Lets port it over to MORE platforms instead of DOS. Then I would really be happy. No sarcasmin intended ^_^

---------------------------------------
I am Troy
KQ Lives!|Studio-Griz

Matthew Leverton
Supreme Loser
January 1999
avatar

Yes it should be called Allegro. For the simple reason that I don't want my website to be out-dated. =)

Korval
Member #1,538
September 2001
avatar

As it occurs to me, I think it would be better to create 2 libraries, but with 1 API. You would have the full Allegro 5.0 (with OpenGL, maybe networking, maybe multithreading, with all the other features we can't put into an external module). Then, you have Allegro Lite, which supports a subset of the Allegro 5.0 features and functions. Allegro Lite is suitable for low-resource systems (like palm-top computers, etc) and perhaps even DOS.

The key feature between the two is that, while Allegro Lite has fewer functions, every Allegro Lite function has a corresponding function that provides the same functionality in Allegro 5.0. That is, if Allegro Lite has an alBltBitmap, then Allegro 5.0 will have the same function that takes the same arguments. This way, you can just link with slightly different libraries (if you adhere to Lite functions) and your code can run on all kinds of things. However, if you want, you can use the full 5.0 features, knowing that you are limitting the portability of the code.

However, Allegro Lite will suffer. Because the API for Allegro Lite functions must be derived from the functionality of Allegro 5.0. Also, Allegro Lite must not have functions or variables that aren't mirrored in Allegro 5. This means that, if in DOS you should make some strange function call when blitting to improve performance, but no 5.0-supported OS has need for such a function, then Allegro Lite must not have such a function either. It is vital that Allegro Lite be a complete and total subset of Allegro 5.0 such that Lite programs, with a simple recompile, can become full-fledged 5.0 programs. This means no OS-specific functions in Allegro Lite that are not in 5.0.

Is this a sufficient compromise to keeping DOS support? You can have DOS support (and the support of increased performance in some areas), while still preventing DOS from becoming an API burden.

jakerohs
Member #485
June 2000
avatar

I'm not saying DOS is a bad thing, but Allegro is a game programming library after all, and I honestly can't remember the last commercial game I played that used DOS, let alone had DOS support. I realise that not everyone here (probably very few, in fact) is in the business of writing commercial games, but why can't those who prefer DOS (which is no longer being developed...) stick to Allegro 4.0 or earlier (which will not be compatable with 5.0 onward anyway) ?

  • IFF * removing DOS support simplified Allegro and/or reduced its size considerably then it should seriously be considered.

Sure, DOS is stable, but who buys a game for its DOS support nowadays? Is stability the only thing that DOS does better?

Idealius
Member #1,619
November 2001

Well...I know you guys love the name Allegro, but if you're planning on keeping 4.0 seperate from 5.0, and your'e rewriting everything, why don't you just rename the whole project. It'll mean less confusion for newbies. Remember guys, logic over sentiment.

Neil Walker
Member #210
April 2000
avatar

I'd like the following please :)

1. Consistent parameters in functions (e.g. draw_sprite and blit have reverse source/dest bitmaps)

2. Be able to compile Windows version without having to have DJGPP and all the utilities

3. Aliases of 'color' to 'colour' for the British counterparts of Allegro.

4. If functions are getting prefixed, why not rename them consistently, e.g. putting noun-verb rather than verb-noun that way it will be easier to group and remember related functions, e.g. blit_masked, blit_stretch, sprite_draw, sprite_draw_trans, etc. Life would be much easier.

5. Stick with DX3 for us NT users.

6. Allow me to put in a decent warning level for my games. Currently Allegro has to be level 2 for MSVC to avoid trillions of warnings.

Neil.

[ December 04, 2001: Message edited by: Sad Mackem ]

[ December 04, 2001: Message edited by: Sad Mackem ]

Neil.
MAME Cabinet Blog / AXL LIBRARY (a games framework) / AXL Documentation and Tutorial

wii:0356-1384-6687-2022, kart:3308-4806-6002. XBOX:chucklepie

Johnny13
Member #805
October 2000
avatar

So many smiley...
OK! SIMPLE question:
If Allegro drop DOS,
Can http://www.delorie.com/djgpp/zip-picker.html
drop Allegro??

Alg3D Praise my Games!!<code>#define SPAMMER (post>=666&&postperday>=6)</code><Mr.spellcaster>What post? <Mr.spellcaster>A useful post by me.

Bob
Free Market Evangelist
September 2000
avatar

quote:p.s. Hey bob.. did you know that under konqueror, the image of winamp on your home page messes up the layout a bit?
You need to bring up your monitor's resolution to something respectable, like 1280x960
Ok guys, I think I have a way to make this DOS/no DOS support a non-issue. I'll work on it during the week-end and post it here and on the [AD] list. It would also take care of people complaining about bloat and about lack of feature all in one
Johnny13: ZipPicker will show Allegro 4, just like it shows 3.12 now.

--
- Bob
[ -- All my signature links are 404 -- ]

Flecko
Member #566
August 2000
avatar

I want to put my vote in for Dreamcast support. If not official dreamcast support, then partial, or unsupported dreamcast implementation would be nice. First of all, Sega DID stop making them, but has produced more to "meet expected holiday demand" and on top of that, the price has dropped to $50 US for a BRAND NEW dreamcast. Now, this just blows the socks off of the Playstation in terms of price/performance.
And to answer a few gripes, although there isn't an emulator for the PC that plays commercial Dreamcast games, there are at least 2 emulators that play several emulators written for the Dreamcast as well as some homebrew demo's and games. This is a big step for people who don't own coders cables, or who don't feel like burning alot of cdrs.
And just so everyone knows, I run WinXP and had no trouble getting the compiler tools up and running to code for the DC. The only problem is, the documentation for KallistiOS is somewhat sparse for someone with my programming knowledge. That is why I use a library like Allegro, it eliminates much of the "computer-ese" overhead.
Just a pipe dream for now, but I really want to pitch support for this, but obviously, to some extent, the dreamcast is a limited platform. I can easily understand why support wouldn't be added, but I'd like to voice my opinion all the same.
Thanks for your time,
-Flecko

ben's drivel
A shark on whiskey is mighty risky, but a shark on beer is a beer engineer. This message brought to you by Old Kentucky Shark of Kentucky Nightmare Whiskey Co.

Mandrake Root Produc
Member #300
April 2000

ok, no C++ is not OOP in itself, but it supprots it very well and I see very few other reasons to use C++ over over C, without OOP it is just syntactical sugar.

But the arguement still stands, you guys are playing favorites, wanting to ditch dos for windows, but why? EVERY single arguement you make for it works for dropping C as well, the logic is flawed.

I'm not saying drop C. Never said that. I'm saying the people claiming to drop DOS are hypocrites, since there arguements are not valid.

Justin_W
Member #655
September 2000
avatar

I agree with Mandrake. DOS like C is alive and very well. If you ignore the thousands of people running pure DOS or millions running Win9x/ME/XP Home, then look at embedded systems as I said in the proper topic located here.

Bob
Free Market Evangelist
September 2000
avatar

I guess this all depends what we want Allegro to be. If Allegro is a Game Programming library, then DOS doesn't make sense. If Allegro is a cross-platform DirectX (kinda), then DOS does make a lot of sense.

Mandrake: Allegro uses inheritence, polymorphism, and overloading. It's all done in C. Funny huh?

--
- Bob
[ -- All my signature links are 404 -- ]

Javier Gonzalez
Member #1,559
October 2001
avatar

Ok, here goes my thoughs
C vs C++ topic: C++ cannot be used because the DLLs compiled by several compilers (say MSVC and Mingw32 (the compiler bundled with Dev C++)), if they use a C++ interface are just "incompatible". (And don't think even about calling those functions from other languages like Java or well, whatever).
Oh, and from ASM? A real pain! (if you never
tried... try... try... )
That above doesn't happen if the interface is a C interface.
Also (may you like it or may you not) classes and such are slower than plain C (you gotta pass the pointer to the class then hook the virtual member table... well, slower )
If you don't believe me, make a program that calls a lot of times a C function and then a C++ function in a class. Probably this last issue (speed) may not look important to you (fast computers...), but indeed the DLL one is.

DOS vs Windows topic: Personally, I would like to drop DOS support, cause I don't really see any use for it anymore, but just personally. But I guess (or should I say it is a fact?) a lot of people does still like it / use it, BUT as long as those DOS lovers people are willing to code it, I don't mind letting it in. What I would mind is seeing how other developers that don't care about DOS make the port just to keep people happy (IMHO those who want DOS, should code DOS).

And of course not cutting the library by what DOS can do and what it cannot do, but I guess we all agree on that this won't happen (If there is something DOS doesn't support, empty function for it and everybody happy, isn't it? ).
Modularization: Yes please, a must. The more independant the better. It even makes easier to follow the sources and, even better, if say the FLI video is buggy and they fix what is better? to recompile the full allegro as well as get it all again just to have the more up to date version? (even though you don't care about FLIs at all, but you want to test all those "some fixes") or to let people download their FLI module and you, that don't care at all, live without knowing what's going on there?
Of course, I must say there is a limit to modularization. For example SDL (to my eyes) is way TOO much modularized. A module to load images, a module to use putpixel, a module to play several sound effects at once... way too much )
Modules should be features that not too much people "play" with. Also modules could make ports to other platforms easier (like PalmOses that doesn't need X or Y feature of allegro)
Oh yeah, about DirectX 3 for NT 3 (4?)users... cmon, we cannot stay with it all the time, it is not like it was a version released a few days ago, but we are near DX9!
DX8 has very nice acceleration features (thanks to unifying directdraw and direct3d into directgraphics) that DX <= 7 cannot do...
Well, those are my thoughts. What do you think?
[ December 04, 2001: Message edited by: XavierGonz ]

Mandrake Root Produc
Member #300
April 2000

"Mandrake: Allegro uses inheritence, polymorphism, and overloading. It's all done in C. Funny huh?"...
hmm if you used real polymorphism/overloading then you would laugh at the statement. Allegro's hacked in C way of doing it works, but in a class structure things would behave a lot diffrently and a lot better IMHO.
but what is your point? mine using the arguement for dropping dos in a way that people who want to drop dos would understand that the arguement would be offensive if it was for dropping something they were attached to.

Thomas Fjellstrom
Member #476
June 2000
avatar

bob> Yah but my montior is a 15' beastie that can only do 1024x768 if I turn DDC off and run it at 60Htz. (yes I do need a new monitor :)

Hmm... How about we all agree to stop arguing and start coding? Most of us are saying basically the same thing. (Can't we all get along ;) I say if noone is willing to code a feature or whatever than it should deffinitly not make it into allegro no matter which version. But coding something shouldn't nessesarily mean it make it in though... UNLESS we know a fair amount of people would use/benifit from such a feature.

--
Thomas Fjellstrom - [website] - [email] - [Allegro Wiki] - [Allegro TODO]
"If you can't think of a better solution, don't try to make a better solution." -- weapon_S
"The less evidence we have for what we believe is certain, the more violently we defend beliefs against those who don't agree" -- https://twitter.com/neiltyson/status/592870205409353730



Go to: