![]() |
|
Allegro 5.0 (or 6?) - Request For Comments |
spellcaster
Member #1,493
September 2001
![]() |
I'd also like funcWithCaps(). So it's one more. But that's mainly because I'm used to the Java coding rules... But I don't think the header idea is that cool... I'm using a doxygen variant of the allegro docs, so my editor can display all of the help directly while I type... but if I'd use a macro, that wouldn't really work anymore. Oh, while we're at this: A javadoc / doxygen style documentation would be cool. I handmade a "parse_me.h" header with javadoced function decls, so my editor can parse it, and present me my inline help. Took me sometime, though to do it... and I would hate do it again. Can't you guys not simply add another doc dir with a doxygen-ed header? Since the functions will be created from scratch anyway, so documenting it doxygen style or XML might be a good idea. -- |
Korval
Member #1,538
September 2001
![]() |
Quote: For one more time, Allegro needs to go 3D. Everyone is doing 3D; couldn't Allegro developers provide an API for 3D ? or they don't like 3D at all ? And don't say again 'use AllegGL'; OpenGL is not the most efficient way of doing 3D in Windows; Direct3D is. The API would provide wrappers above Direct3D/OpenGL/whatever 3D system is available in the target machine. AllegroGL already provides sufficient functionality. And I can make an OpenGL program run faster than any D3D program on an nVidia card (thanks to NV_Vertex_Array_Range). I can access more functionality of that nVidia card in OpenGL than D3D. And, most importantly, I can use that OpenGL program on non-Windows machines. Allegro should not define the 3D API. Allegro doesn't grow fast enough to keep up with OpenGL or D3D's progress. Not only that, making a good 3D API requires a great deal of time and effort. Even OpenGL 1.0 didn't get it right (no texture objects). What if someday, they come out with a fully programmable interface to texture lookup, allowing the user to write some type of microcode or something that will allow you to change how texture lookups happen (replacing bilinear or trilinear). D3D would have a new version that exposes this functionality. Popular vendors would produce OpenGL extensions to this mechanism (assuming OpenGL2.0 wasn't already written with this in mind). And Allegro 3D wouldn't be able to keep up. Not only that, Allegro's 3D routines would provide additional overhead to D3D/OpenGL routines, which are already an indirection away from the hardware. Since good 3D is so performance driven, we don't need another layer of indirection. [ January 05, 2002: Message edited by: Korval ] |
axilmar
Member #1,204
April 2001
|
quote: I do not mean that Allegro should have the best 3D in the world. I am saying that Allegro needs reasonable 3D support, in order to easily make 3D games, not of professional level maybe. Current 3D support in Allegro is very very primitive. You can not do a lot of things with it. |
Korval
Member #1,538
September 2001
![]() |
Quote: providing an easy api for implementing the game loop, A game loop is a pretty basic thing to write. If someone can't write something as simple as that, then he's not going to be able to write a decent game. A certain level of programming skill is required to make a half-way decent game; among this level of skill is the ability to write a decent game. |
Richard Phipps
Member #1,632
November 2001
![]() |
I'm on Bob's side! Let's_use_underscore (I do in my functions and it's much easier to read.) And I'm a lazy programmer at heart too! So If I can do it then so can you! Still a wrapper should be fine for all those CapsLoversOutThere.. Can I request support for a new kind of masked_blit? It would be useful for some of my ideas if I could have a masked_blit where the mask is read from a seperate bitmap or the same as the source image but from different co-ordinates. So add three new parameters.. Mask_bitmap, Mask_x, Mask_y to a function called something like "Masked_blit_seperate" or something like that.. I know this would be slower than the normal masked_blit, but it wouldn't be used for every sprite drawn.. This new function would allow me to do things like materialisation effects without predrawing the effect for every sprite (but only for the mask) Anybody else like this idea, would it be hard to implement? Rich. |
Funklord
Member #467
June 2000
![]() |
I find this discussion silly. ---------------------- Age is inversely proportional to how much drink you've had - Funklord |
axilmar
Member #1,204
April 2001
|
Korval : Although OpenGL is nice and I agree with you, it feels to me that Allegro is incomplete (as a games lib) without 3D. I can't say to my buddies "hey, do you want to write a game ? use Allegro! it covers everything you need!", because ...it lacks 3D. In fact, this has happenned. If it is so difficult to write 3D routines that use the underlying hardware, due to hardware constantly evolving and because of different standards, can we have at least a nice software 3D renderer(good enough to write good games with it) ? Maybe intergrate some add-on ? maybe intergrate p3d or other libraries that provide the same stuff with Allegro, only being much faster ? |
Bob
Free Market Evangelist
September 2000
![]() |
p3d is already intergrated! -- |
Wetimer
Member #1,622
November 2001
|
I'd agree with the idea of Allegro being completely plugged in. I.E. Everything is a plug in to the main package. You would be able to download different sets of packages dump them all into \allegro\ and run make <code>if(Windows.State = Crash) Computer.halt();</code> |
Daniel_C_McKinnon
Member #685
October 2000
|
TuxBox support will be ESSENTIAL. I was just checking out the site http://www.tuxboxproject.com/ |
Jeremiah Blanchard
Member #444
June 2000
![]() |
In X11, part of the reason many of my programs run slowly is because of mouse support. Would it be possible to make it so that, when the "default" Allegro cursor is being used, that the standard X cursor / routines etc could be used? I'm not an expert, but I think this could significantly increase performance when dealing with the mouse. |
Korval
Member #1,538
September 2001
![]() |
As to this "TuxBox", why bother? They already tried with Indrema, and that failed miserably. The real attraction to Dreamcast development at home is that it is a real console owned by millions of people. In theory, I could write a game for Dreamcast and people could download it, burn a CD, and play it on their actual Dreamcast. The only people who will be buying a TuxBox (especially at those prices) are people who are in the Linux community. Besides, the OS of a console is basically inconsequential. If the fact that Linux is running the console matters in any way, it will be to TuxBox's detriment. |
attilas
Member #1,598
October 2001
|
I long awaited to scream about this just needed the right place and time. |
Zaphos
Member #1,468
August 2001
|
Way to double post incoherently, attilas!
|
Bob
Free Market Evangelist
September 2000
![]() |
Deleted duplicate post. The nice thing about Allegro 5 is that a lot of the new stuff can be built on the old code (ex: the new graphics core). As new features are added, the new code will progressivaly merge with the old code. Or at least, that's how I see it -- |
JohnO
Member #1,910
February 2002
|
I know I should read through all the suggestions first, so sorry if this is redundant. But more than anything else, I think we would all benefit from some sort of config file functions. Now, I'm not talking about the actual screen res, and low level allegro stuff (already implmented well enough), but some generic stuff for game levels, paths to resource files, whatever. Maybe it should be INI, and maybe it should be XML, or even something else. I'm not experienced enough to make that call. But string.h just doesn't cut it, and half the libraries I've tried so seem to have one problem or another. A half dozen ini routines could come in handy. Yes, I'd be willing to help with this, but to be honest, I have no idea how to design such stuff properly. I'm just a hobbyist, and not a very good one at that. One last thing, PLEASE could we have some decent video playback support? 1.6megs for a 8bit 320x240 SOUNDLESS 3 second movie is ridiculous. Flic is dead, let it rest in peace. |
Neil Walker
Member #210
April 2000
![]() |
On a slightly more mundane note, it would be nice if there was: Neil. wii:0356-1384-6687-2022, kart:3308-4806-6002. XBOX:chucklepie |
Bob
Free Market Evangelist
September 2000
![]() |
If you're going to post suggestions - I suggest you read this thread or the other threads first. All of this has already been discussed, and most of this already planned on. -- |
Johan Henriksson
Member #11
April 2000
![]() |
Adding my own comments in the last minute: I can add another thing; We should merge in AASTR with Allegro. It's a really nice set of features that at least I think fits into the core dist. This works with the idea of a flagged blit. I had this problem earlier that I had to use function pointers to incorporate antialiasing properly in my code |
|
|