| |
| |
| |
|
Page: 1 2
Comments:
<0> !jump <1> Whee!!! <2> hi <2> anyone can imagine why UDP could be slower than tcp? <2> specificly with SDLNet <3> lower priority done by some router? <2> hm <2> in general it should be faster, right? <3> but know nothing about these stuff :-x <3> I think so <2> ;) <2> thx anyway <4> ok i take it back :D <4> its sooo great =) <4> i sent the position msg too often that was the reason why it was even slower than tcp.. <4> because it was so fast sending them :)
<3> ;-) <5> hey guys! why does it segfaults if I putpixel in the screen's surface? <6> is the SDL surfrace locked before you try to access the pixels pointer? <5> no, I should use sdl_locksurface on the main screen? <6> if needed <5> oh... <6> look at http://www.libsdl.org/cgi/docwiki.cgi/SDL_5fLockSurface <6> "Not all surfaces require locking. If SDL_MUSTLOCK(surface) evaluates to 0, then you can read and write to the surface at any time, and the pixel format of the surface will not change" <5> hmmm, and when should I update the rect? once it is unlocked again? <6> yes <5> ok, thanks, I'll try that out <5> oh, but, I just thought of it... when you use opengl, you can't go back to using plain sdl right? <5> yea, I think that's it... now it crashed on the SDL_UpdateRect() <7> I'm using sdl-ttf and all of a sudden, TTF_RenderText_Solid() refuses to render text with spaces in it <7> what's that about? <7> TTF_GetError() is blank <8> common error, I use TTF_RenderText_Shaded or Blended instead <7> :/ <7> is it a bug? <8> maybe :\ <8> I dunno, but it's very common <7> weird <8> indeed <7> well I'm using this for text with a backgroun <7> background* <7> er, no, text without a background <7> so blended then <8> yup <7> ah, yeah, that's what I was afraid of <7> Blended doesn't work, it's invisible; that's why I switched to solid in the first place <8> invisible? the text itself? weird, I use it and works well <7> I think I might need to do SDL_DisplayFormat or something <8> I don't to it <8> http://rafb.net/paste/results/uHgaCl72.html <8> that's how I do it <7> thanks <8> ^^ <7> what's the reason for the size check? <7> oh.. I see <8> ate the begining of the app, I load each font 5 times (0 .. 4), with diferent sizes <8> s/ate/at <7> yeah <7> hmm <7> well it's drawn, and then blitted, and then blitted to the display surface <7> oh.. it doesn't seem to be the Blended text that doesn't work, but the Shaded <8> :p <7> what a mess :s <7> yahoo <7> fixed <9> my app crashed, didn't hand back the mouse. Now what? <9> anything cooler than restarting to get the mouse back? <9> I'm on ubuntu linux, 6.06 <10> CTRL+ALT+Backspace to kill X <9> yeah <10> or at least just restart X. <9> I was hoping for something that didn't also kill all my windows <11> or anothe app that locks/hides the mouse and close that regularly <9> I should just make a little "recover" app that does that <9> hmm.... <7> what's the best way to blit a surface WITHOUT and alpha channel to a surface WITH an alpha channel, making sure all the blitted pixels are opaque? <7> it seems to be ending up transparent right now
<12> there is a keyboard combination to release the mouse in X11 ... disabled by default however <12> AllowDeactivateGrabs <9> rnx: interesting <9> pygame rescued me this time....made a quick little init, grab mouse, quit script <13> yop <14> yop <15> my program sometimes works, sometimes I get http://rafb.net/paste/results/UrOkiQ41.html , can I do anything about it? <16> is there a way to use sdl_interface (sdl_loadbmp) to opengl textures? <10> yes <10> read this page: http://osdl.sourceforge.net/OSDL/OSDL-0.3/src/doc/web/main/documentation/rendering/SDL-openGL.html <17> Hi every1 <17> Does someone know how could i create a playlist in fulscreen sdl-application? <12> what's stopping you ? <17> cant figure out what to use to display it.. <18> :p <18> text? <17> need to have it scrollable by keyboard... =\ upcoming headache with this 1... <12> not exactly a sdl related problem <12> check one of the gui libs <17> oops.. i feared that... <17> the best would be gtk i suppose? <16> i still cant get how i convert a sdl_surface to opengl texture, is there a place were i can see an example on how to do this? <17> SDL_Surface *your_texture; then operate your_texture as opengl <16> how? you cant write: glBindTexture(GL_TEXTURE_2D, mySDLSurface); <19> IHK: glTexImage2D ( GL_TEXTURE_2D, 0, GL_RGBA, width, height, 0, GL_BGRA, GL_UNSIGNED_BYTE, img->pixels ); where img is your SDL_Surface* and width and height are ints <16> well i have already done that, but i see no textures on my drawings, though they might be wrong, not sure... <16> well now ive gotten so far that windows gives an error when i start the program, though i can run it in debug mode without errors :S, can anyone tell me what the problem is? http://cpp.sourceforge.net/?show=19126 <19> IHK: #include <gl\glaux.h> <-- \ are not allowed in #include statements <19> IHK: SDL_SetVideoMode(width, height, depth, SDL_OPENGL|SDL_HWSURFACE|SDL_DOUBLEBUF|SDL_FULLSCREEN); <-- SDL_HWSURFACE should not be there <19> IHK: while(Frequency.QuadPart/60/*makes atleast 16 2/3 millisec between each frame*/>liStop.QuadPart-liLast.QuadPart); <-- I have no idea how your compiler can see that <19> well, I can <19> but it does look very confusing <16> well its only for myself to see.. and the compiler can figure it out just fine <19> IHK: also, you don't set any GL attributes <19> IHK: you need to set buffer sizes before SDL_SetVideoMode for OpenGL <16> do i need to do that? if i seperate opengl and sdl.. <19> IHK: yes, you do <19> IHK: http://docs.mandragor.org/files/Common_libs_documentation/SDL/SDL_Documentation_project_en/sdlglsetattribute.html <19> IHK: also, remove SDL_DOUBLEBUF from SDL_SetVideoMode <16> think i have changed it all now, except whats the error with: #include <gl\glaux.h> the compiler doesn't bother about this.. <16> and i still cant run the program, windows still give an error and program terminates <20> http://www.tuxpaint.org/ <21> a shameless plug from kendrick... <22> for some reason under x I cannot seem to disable the sym cursor <22> SDL_ShowCursor(SDL_DISABLE); <22> no work <12> "sym cursor" ? <22> the black one <22> nm <22> why is that disable not working ? <12> it disables the mouse cursor ... and works fine generally <22> not here\ <22> do I need SDL_Cursor *happycurse <12> post a testcase <12> you don't make much sense <22> haha my mistake im a tard <22> I had it placed before all my init styff <22> thanks for the help <12> !next <1> Another satisfied customer. Next! <22> hu hu <12> anyway ... i'm off <22> !NEXT <1> Another satisfied customer. Next! <22> color pallets.... what are they good for these days ? <22> im reading through the focus on sdl book, <22> who wants to make a free starcraft clone ? <23> like freecraft? <24> aka. stratagus? <23> yeah <23> wasn't sure on the new name <23> after they got sued or whatever <22> yes exactly, but better
Return to
#sdl or Go to some related
logs:
system-config-samba command not found #sed perl geolcation module remove xwindows nukepuppy #lisp #gentoo integrate 1/dt
(1036, Table is read only) xsane ubuntu cant scan a4
|
|