Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
I need a favor.
#21
The wrapper thing is just a portability issue, not to save lines. I had a DJGPP game, and now I have a Windows game. Just that, instead of rewriting the game in DirectX, I just recompiled it. Fast enough? yes, so everyone is happy Tongue

I'm on the works, trying to contact my friend. I'd give you the code right now, but I prefer asking him first.
SCUMM (the band) on Myspace!
ComputerEmuzone Games Studio
underBASIC, homegrown musicians
[img]http://www.ojodepez-fanzine.net/almacen/yoghourtslover.png[/i
Reply
#22
Bah, there are wrapping libraries like sdl for porting. and if it doesn't, who cares? linux and osx can emulate windows.
Reply
#23
You are not getting my point: I *had* the game done in DOS/DJGPP Smile I wanted it to run in Windows XP, so I just compiled it for windows.

Anyhow, allegro is still a nice library to make things easy. Also, in the retrogaming scene there are loads of people who use Linux. Think about it like in the QB scene: How many average users can run QB? Those people in the community. QB games are not for everyone. Same here: Linux may not be very representative overall, but in the scene there are loads of people that use it. So widening a little bit more your audience ain't a bad thing, is it?
SCUMM (the band) on Myspace!
ComputerEmuzone Games Studio
underBASIC, homegrown musicians
[img]http://www.ojodepez-fanzine.net/almacen/yoghourtslover.png[/i
Reply
#24
Quote:Bah, there are wrapping libraries like sdl for porting. and if it doesn't, who cares? linux and osx can emulate windows.

Sdl doesnt have as many features as Allegro does. Also, emulation is lot slower than a native executable =P
Reply
#25
All WINE is is an api, much like cgywin is for windows & unix.

And SDL is just a porting of the DirectX API, like WINE is for the Windows API. It can do things like sound and input as well. What more do you need?

I don't care if you use allegro, I really don't. It's a useful library. But I can tell you this, it uses as many lines of initialization code, and more in its own routines... That code can be cut and pasted, that stuff can be cut and pasted for anything and from anything, it really doesnt matter.

Anyways, has anyone found anything in the way of an example bitmap blitter yet?
Reply
#26
Well, if you take the liberty to scroll up, then you will see nathans waiting to get permission permission from his friend to send the code to rocku.

Heres a tut i found on the net:
http://www.programmingcentral.com/source/ddraw.html
Reply
#27
LOL. I don't understand 90% of the jargons your using guys. :*)
y smiley is 24 bit.
[Image: anya2.jpg]

Genso's Junkyard:
http://rel.betterwebber.com/
Reply
#28
....................................na_th_an........ did your friend say "Yes" yet...
Reply
#29
He did... But now we don't live together and I'll have to email him :oops:
SCUMM (the band) on Myspace!
ComputerEmuzone Games Studio
underBASIC, homegrown musicians
[img]http://www.ojodepez-fanzine.net/almacen/yoghourtslover.png[/i
Reply
#30
yo rocku, i don't know if this helps, it's plain c and it's not commented. what it does:
-open a window
-initialize directdraw (two surfaces, clipper)
-access surface memory and draw some crap
it works with 32 bit rgb888 (like html) color values regardless of the color depth it is actually being displayed in.
http://qh2.qbtk.com/60-d

ps. oh, i just saw this thread was started in march Smile probably you found out yourself in the meantime...
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)