| |
| |
| |
|
Page: 1 2 3
Comments:
<0> darklite what did you do? <1> I first corrected a stupid error in my makefile :) <1> plus I generated the import lib from a pre-build DLL <1> SDL_main was not found because I didn't include my main.cpp in the link, doh :) <1> that's what you get for copy-n-pasting <1> lovely, such fast compiles :) <0> darklite, so what ide are you using again <0> im not familiar with it? <1> no IDE <1> just a compiler <1> as an alternative to MinGW (GCC) <2> darklite: what compiler? <1> digital mars <3> Digital Mars <3> for (i=0; i<num_results; i++) { <3> res = new RESULT;
<3> res->clear(); <3> strncpy(res->name,argv[i+1],sizeof(res->name)); <3> results[i]=res; <3> } <3> damn WTF <1> :) <3> where do I disable 'insert' being paste >_> <2> PovAddict: that code looks bad <4> i've been recommended a cool baby product: http://tinyurl.com/ynr4z7 <3> exDM69: exactly why I want to avoid accidental pastes <3> people would see my crap <1> tss, what people do to become popular on the net :) <3> huh <2> PovAddict: do you have an excuse for using strncpy with C++? <2> darklite: is digital mars any good? <3> RESULT.name being a char array <3> would you prefer strcpy? <2> PovAddict: I would prefer std::string <3> not my struct <2> PovAddict: unless there was a damn good reason not to <2> PovAddict: probably the only "damn good" I can think of is saving binary data or transmitting over the net <3> I use what I want to use; and I use std::string only if there is a damn good reason to use it <3> and when C++ purists tell me not to, I think about going back to plain C <2> PovAddict: std::string saves you a ton of headaches <2> PovAddict: and other std::containers <1> exDM69: it compiles faster than MinGW <1> and it supposedly produces faster binaries <1> but no libs support it <1> I was trying to compile zlib and libpng with it <1> but I'm stuck here and there <1> you can create import libs from prebuilt DLL's though <1> exDM69: www.digitalmars.com for more info <0> darklite, is digital mars an offshoot of c++ or an ide? <0> i see ill have to check it out when i have a bit time <0> PovAddict, do you remember when jessicatz talked about "logic limiting" <1> black_13: it's a C/C++ compiler <1> black_13: but they also have this "D" language, which is a sort of merging of C++/Java and other languages <1> aiming to be better <0> i like the idea it can target to freedos <0> or did i read that incorrectly <1> I don't know about that$ <0> DOS32 <0> it would be nice if had something that would target an rtos <0> there probably is <0> PovAddict, doesnt imagemagic have a program to inform you about a graphic file? <3> black_13: yes it does <0> identify <3> that's it :) <0> take care yall <1> I have made a developers quickstart package for SDL on DMC: http://wiki.mos6581.org/DigitalMars <5> Is there any reason SDL_SaveBMP(surface, "foo.bmp"); is dumping core on me? surface is not null. The app renders aok, but it IS using openGL. Suggestions? <3> hmm <3> show some more code, like how you're creating/using the surface <6> fowler: also, you've got write permissions in the directory your trying to write foo.bmp to write <6> *right <3> erm <3> if no write permissions cause a core dump... that's what I call a bug <5> feesh, I figured it out. It can't be done because of the GL stuff. I'm using some glRead code now <5> err ReadPixels. <3> fowler: oh, surface was the screen surface? <3> with GL enabled?
<5> PovAddict, yup <6> oh... even I knew you couldn't do that... <3> I don't think you even have *anything* on surface->pixels then... <5> It's OK, it's all sorted out now. :) <5> THanks <3> a GL screen surface should be considered as a quite different thing, just using the same struct :P <1> night <7> heya <8> :) <9> bye <3> hmm <3> if I edit a file on a CVS working copy, how do I revert to the version on the server using cvs command line? <3> I use svn myself :) <8> delete it and check out again? <3> that's the way I did it, I thought it was sti <3> stupid to do it like that <3> rm file;cvs update; <8> otherwise it tries to merge the files <3> I mean, I have the latest version, I edit it, I want to undo <3> svn has a revert <3> so if cvs doesn't... svn ftw <8> cvs has been around a lot longer :) <0> well i found out something moving the reel strip continuously actually is less pleasing <0> but the movement is to slow <10> hello. newbie here. any suggestions for a good GUI to use with SDL /C++? <3> you mean a GUI library like GTK to add an user interface to a SDL program? <11> never used it myself, but I hear guichan is pretty good <3> or an IDE? <10> not an IDE. It is aimed at an in-game overlay sort of gui <10> for example, there would be a starfield or particle effects in the background <3> make your own? ^^ <10> :D thanks, that's what I thought, but I don't have the time <3> an OpenGL based GUI made by yourself would be the best choice if you want those cool effects <10> I'm giving GUIChan a look <10> but thanks <3> there are libraries with OpenGL GUI widgets though <10> are they a good idea if i'm not interested in 3D ? <3> think about it, GUI elements are usually 2D images but they show 3D-like things <10> hmmm....not necessarily <10> you could have planar widgets that "glow" for example <3> buttons usually get pushed down when clicked... <10> that lends itself to conventionality <3> and the most recent GUIs (still 2D) look more and more 3D... <10> you mean to tell me that after so many years of SDL developers, not a single team has built a skinnable UI ? <10> this is disheartening <10> but not discouraging enough to drive me away from SDL :D <3> none that I know of, just****inggoogleit.com <10> i'm on it <10> why do you think I came here for help, though? <10> coz googleisnthelping.com <3> even if *you* actually do your homework before asking (that is, try to find the answer yourself), unfortunately most people don't <3> and by the way, http://just****inggoogleit.com/ really exists <10> you're right. i've been looking far and wide for a while <10> i think i should start on my own <3> if you make something tied to your needs, you'll get it working fast <3> if you make it generic and skinnable, you'll make something useful for the next one looking for the same! <10> are you hinting on the second option :) <3> maybe :] <3> the fact that you didn't find anything means nobody has chosen second option before... <3> scribble: http://www.libsdl.org/libraries.php?category=14 <10> thanks. I think GUIchan is pretty good. <10> you should try it out if you're interested <12> Hi <12> Is there a definitive gui to including a sdl window in a gtk application? <12> I am actualy more talking about wrapping existing applications like tuxpaint <7> you want tuxpaint withing a sdl window? <12> no tuxpaint is already sdl <12> I want a gtk window around tuxpaint. <7> oh <7> there is a way yea <7> this will **** up event handling though <12> I have found gtksdl on sourceforge (an made it compile) <7> since tuxpaint won't receive the events (IIRC from the mailing list) <7> yea
Return to
#sdl or Go to some related
logs:
#php install vsftpd without cd should you use primary or extended patitions in linux #gentoo eggzeck wget netgear dg834G ellocoyas navicat longtext paste #perl #perl
|
|