| |
| |
| |
|
Page: 1 2 3
Comments:
<0> Hi, I'm coding a screensaver in SDL... and I have some trouble detecting mouse movements when the window is not open (need this to prevent the screensaver from starting if the user moves the mouse) <0> any ideas? :) <1> Yes, don't make screensavers in SDL. <0> other than that? :) <2> erm <2> you shouldn't do mouse detection <0> I just want it to be portable <2> the OS takes care of that and starts your screensaver <0> not all OS'es <2> well, checking for mouse detection OS-wise is impossible to do portable :P <0> fun to discover that after coding the entire thing :) <1> Screensavers aren't portable to start with. Under Windows they are programs which should export functions to draw the preview, under MacOS X they have to be made using the screensaver cocoa framework, under linux you have to use the absolutely mindbendingly horrible XScreenSaver mess of macros. <0> Maybe I could code an OS specific application that starts the sdl exe as a module or somtn <2> why? <2> the OS probably has stuff to do it already <2> xscreensaver
<0> Coding it for MorphOS <0> doesn't have built in screensaver support <3> !mirros <3> !mirrors <4> http://sourceforge.net/project/showfiles.php?group_id=187344 and Linux distros can be used as SDL mirrors: tinyurl.com/27lyls <1> Oh dear, so the 'Amiga' isn't for jokes then :) <0> lol :) <5> I hear OS4 is finally at 1.0? <6> I hear it's at 4.0 :) <6> My MorphOS is still at 1.45 :( <6> Well, still beats OS4 in many ways <5> I find it hilarious that Hyperion didn't want to hear of an x86 version and now even Apple switched to Intel <6> PPC isn't their problem <6> Or I mean... There are far bigger problems <6> X86 wouldn't cure anything really <6> Although maybe it would bring price down to "normal PPC prices" <1> Availability of cheap high-performance chips would be advantegous. <6> You would still need "special Amiga hardware" that's the only one that gets granted a licence <6> And who on earth is going to manufacture some for such small market? <6> Well someone will, and the market size will make the prices skyrocket <6> tesmako: What's the point if you can't use them? <6> tesmako: It's not like there was NO ppc hardware. It's just that OS4 is ported to one... Or two <6> Depends on if you want to separate the two quite different models. Both **** anyway <5> why not make it run on your average PC? <6> Both have bad DMA problems among others <6> wozpa: Why not make it run on ANY other AVAILABLE ppc before talking about switching totally different & incompatible CPU? <5> It's silly to limit the OS to custom hardware <5> Jupp3: because the time is up <5> actually, it's way to late for anything by now <6> wozpa: It is. But on X86, it would probably still be limited to "custom X86 hardware", and I really can't see the big difference to custom PPC hardware <6> Except for a LOT worse backwards compatibility <6> That isn't one of OS4's strong points anyway, but... :D <6> wozpa: Okay, make is X86. Find some company that will do, say, $500 1GHz or-so X86 boards, just for amiga market <6> That company manufactures them for a while, then calls it quits. There's no hardware <6> What's the big difference to the current situation? <6> It's not like the licence problems would just disappear <5> backwards compat? There never was much PPC-only software <6> Well 68k compatibility wouldn't be too easy either <5> but you don't need custom hardware <6> But doable, yeah <5> UAE does it today <6> Amiga needs <6> Or "needs", licences say so <5> and Amithlon did 68k faster than any real 68k <6> sure is <6> Just becouse there aren't any fast enough real 68k's :D <5> Amiga needs someone with an IQ > 1 at the wheel <6> It was funny to see how impressed some OS4 fans were with their "all-asm jit" <6> And do some tests and see how much faster the "obviously slower, it's written in C" MorphOS equivalent was <6> Long ago we could get same framerates on higher resolution and stuff <6> Doing some software-3D tests <6> wozpa: You surely know that Amiga inc. hasn't even bothered announcing the availability of OS4? :) <6> Shows how much they care <6> wozpa: But seriously... I can't see why Amiga inc. would be more generous in granting licences to various hardware alternatives on X86 than (as now) on PPC <6> And that would likely lead to expensive custom hardware... And that's what we have on PPC already <6> Well ok, there's currently no available hardware to run OS4 on, but when/if it will be available again, it will be expensive or slow <6> likely both :P <6> You know, (after >1.5 years of waiting) new hardware is (still) just around the corner! <5> no DMC users in, I suppose? <6> DMC? <5> digital mars compiler
<6> wozpa: Anyway, I've been (more or less) running MorphOS since Amiga inc. announced that Cl***ic AmigaOS is dead, and there won't be new versions (OS4) so why should I really care about it, when they finally allow someone else to do it :) <5> great, lib hung the console <5> why does ".c.o:" work, but ".c.obj:" not? <5> in a makefile <7> !mirrors <4> http://sourceforge.net/project/showfiles.php?group_id=187344 and Linux distros can be used as SDL mirrors: tinyurl.com/27lyls <7> say... is there a SDL port for Plan9? <2> why is a 'port' needed? <2> isn't it just download and compile? <2> or do they have weird graphic libs? <7> well... the library needs to be ported... <7> just not apps using it <7> but hmm.... <2> define port... you download the library code and compile? <6> fails to compile => port :P <8> hi I hacked together a program to draw the mandelbrot set http://rafb.net/p/IbXF6P67.html but I want to increase the screen resolution to something like 1280x1024 when I try this the program does not work .. ne pointers appreciated .. <5> night <9> Hello :) <10> Is this possible to get the dimension of the created SDL window with no handle to SDL surface ?. I've taken a good look at the doc but found nothing. <2> screen->width etc, only way <2> keep your screen SDL_surface around! <10> anyone ? How can I get the dimension of a SDL window ? <11> aww <11> I knew how to do that one too <11> fn1: have you got PovAddict on your ignore list? <10> feesh: No, what do you mean ? <2> I answred you <11> he told you how to get the dimensions is all <2> <2> screen->width etc, only way <2> <2> keep your screen SDL_surface around! <10> PovAddict: I'm sorry, my networking is unstable this time, can you paste the answers again ? <2> just did <10> PovAddict: Oh <10> PovAddict: So there's no other way around, I'm building a lightweight helper functions so that would mean creating a global variable. I don't want the users to save this variable around. <2> guess the pointer <2> :P <11> haha <11> SDL doesn't keep a pointer to your screen no <2> oh WAIT <2> !mirrors <4> http://sourceforge.net/project/showfiles.php?group_id=187344 and Linux distros can be used as SDL mirrors: tinyurl.com/27lyls <2> where's the DOCS mirror? <11> PovAddict: what are you remembering? <2> http://docs.mandragor.org/files/Common_libs_documentation/SDL/SDL_Documentation_project_en/sdlgetvideosurface.html <2> \o/ <10> PovAddict: Just what I needed :) thanks much. <10> feesh: Thanks. <2> somebody add the URL for doc mirror: tinyurl.com/2fb2zx <11> fn1: SDL_Surface *SDL_GetVideoSurface (void); <2> I dont know how to use the bot (maybe I cant?) <11> PovAddict: that function helps alot <:| <10> feesh: I got the doc handy, thanks anyway, I missed that function. <12> whose up <2> so who was the Bastard Operator From Hell here? <2> hmm I tihnk it was another channel <12> heh <12> tesmako? <2> was from another channel... <2> http://www.thinkgeek.com/interests/giftsunder10/8c52/ <2> you may find it interesting anyway <12> hum ... <12> management should be subject to stalinist style purges <12> not just a few beeps <12> PovAddict lets chat i need guidance <12> if you have the time <12> did you fall off <13> !mirrors <4> http://sourceforge.net/project/showfiles.php?group_id=187344 and Linux distros can be used as SDL mirrors: tinyurl.com/27lyls <8> I have hacked together a mandelbrot set program .. http://rafb.net/p/QBj2Cf56.html however I want to increase the screen resolution to 1280 x 1024 but the program fails to run .. ne help appreciated <8> neone home? <14> mad_muppet: Perchance. <8> soz just got back .. what do u mean Zao? <14> I might be around =) <8> yeah I was just reading thru and came to that myself .. doh ..:p
Return to
#sdl or Go to some related
logs:
ubuntu disable iptables emerge --clean no packages selected for removal tahoma word 97 viewer ubuntu change runlevel' undefined symbol: zend_ini_string ranixx error loading new keyboard description xorg7 Conky: drawing to single buffer grub aic7xxx no_reset opensuse evolution exhange-server
|
|