#bitfighter IRC Log

Index Search ←Prev date Next date→

IRC Log for 2011-11-12

Timestamps are in GMT/BST.

00:02:00sam686we might need more people to deside which is best scrolling, i think...
00:05:00raptoryes
00:06:00raptoror find common implementations in other software
00:07:00raptorand use whats most common
00:09:00raptorthe gimp is hold-middle drag
00:09:00raptorany other editing software you know of?
00:10:00sam686Adobe Reader 9, mainly have a middle button smooth scroll, but have an option to have left mouse drag
00:11:00raptoryeah but it's nnot an editor
00:11:00raptorneither is a broswer
00:11:00raptordoes microsoft paint do something?
00:12:00sam686on windows xp, it have its default "Paint", but middle mouse button do nothing at all on that program..
00:13:00sam686my KVIrc (irc client), middle mouse button do nothing either..
00:13:00raptorlet me install inkscape
00:14:00raptorlooking for graphical editing programs
00:14:00sam686Visual C++ 2008, have a middle mouse smooth auto scroll..
00:15:00raptorthat makes sense for programs that you read text in...
00:15:00sam686maybe that where my scrolling idea came from, i am so used to scrolling that way..
00:15:00sam686bitfighter editor is not very graphics (no bitmaps, no textures)
00:16:00raptorneither is inkscape
00:16:00raptorit is vector graphics
00:16:00raptoralmost installed...
00:18:00sam686i happen to have inkscape-0.48.1-2-win32 already downloaded as an archive, extracting...
00:20:00sam686it seem to do a middle mouse drag..
00:20:00raptoryes
00:21:00raptorso it looks like the standard for text-based programs is your way; and the standard for graphics editing/building programs is watusimoto's
00:22:00sam686but middle mouse button don't work in incscape while drawing rectangle (holding down left button), all it does is zoom in...
00:28:00sam686only problem is when you click on the middle mouse button but don't hold it, and nothing happens (except, zoom in, which i might not want)
00:31:00raptorso you are saying that if we do drag with holding down middle button in the editor, we should have an action for just clicking it?
00:32:00sam686don't know..
00:32:00sam686I have run into a few levels that are extremely big, editor can't zoom out all the way to see the whole level..
00:36:00sam686i think the revision ba5a600202bd was mostly good, as it allows both methods without keyboard..
00:37:00raptoryes i agree
00:38:00sam686i kind of not like "Middle mouse centers " replacement, almost no programs does that way..
00:39:00raptoryeah me neither
01:57:00watusimoto Quit (Ping timeout: 258 seconds)
02:34:00koda Quit (Quit: koda)
02:56:00raptor Quit (Remote host closed the connection)
02:57:00raptor has joined
02:57:00raptor Quit (Changing host)
02:57:00raptor has joined
02:57:00ChanServ sets mode +o raptor
03:46:00raptor Quit (Remote host closed the connection)
04:00:00raptor has joined
04:00:00ChanServ sets mode +o raptor
04:40:00raptorI think we need to update/change the stock maps
04:40:00raptorElmer's revenge has a score that is waaay too low
04:40:00raptorrabbit of 10 points
06:21:00raptorIT COMPILED!!
06:21:00raptorfirst time in a week!
06:30:00raptorand it doesn't crash!
06:30:00raptorit doesn't work either, but great!
07:23:00raptor Quit (Remote host closed the connection)
10:03:00watusimoto has joined
12:17:00CrazyLinuxNerd has joined
12:28:00CrazyLinuxNerd Quit (Quit: Leaving)
13:22:00CrazyLinuxNerd has joined
14:25:00LordDVG has joined
14:42:00koda has joined
14:44:00Flash_GardenI'm unclear as to why scrolling is a problem.
14:46:00watusimotoit's not a problem per se
14:46:00watusimotowe just have some new ways of doing it that are better
14:47:00sam686This is for middle mouse button...
14:47:00watusimotobut the ideas are in slight conflict with one another
14:47:00watusimotothe old ways will still work
14:47:00watusimotothought I suspect the new ways are so much better that they will come to dominate
14:48:00sam686i kind of like grab scroll holding down middle mouse button, but with auto scroll with click middle mouse button...
14:49:00sam686no need to mess up with keyboard buttons to grab scroll..
14:56:00watusimotoperhaps I would like that arrangement better if if we didn;t draw the arrows until after you released the button and it was clear you hadn't initiated a grab-scroll
14:56:00watusimotothe flashing arrows really bugs me
14:57:00sam686thats easily done, by turning on mScrollWithMouse on keyUp.
14:57:00Flash_GardenI zoom-scroll-zoom. Its crazy fast and easy.
15:18:00sam686ok, i got the old way to work, but did watusimoto make changes to UIEditor.cpp? Here is my changes (not pushed yet) http://208.107.52.15/hg.php/rev/b0219c0c871f
15:19:00sam686with, no blinking arrows on drag scroll
15:50:00watusimotoif that works, you can remove the mDragPanning var as well, but I think you'll need it to make things work. But if you see it working ok, then you can commit. You didn't mess with anything unrelated as far as I can see.
15:51:00sam686ok, i got it into main source...
15:52:00BFLogBot - Commit b0219c0c871f | Author: sam8641 | Log: Revert UIEditor.cpp to revision ba5a600202bd and make arrows show only on release of press scroll button
16:07:00raptor has joined
16:07:00ChanServ sets mode +o raptor
16:07:00raptorhi
16:07:00watusimotohi
16:07:00BFLogBot - Commit 6284f19a7374 | Author: watusim...@bitfighter.org | Log: Took sky_lark's suggestion to make nexus/bitbash/rabbit say Team ___ on the intro screen if they are team based.
16:07:00BFLogBot - Commit 79aee6150316 | Author: watusim...@bitfighter.org | Log: Merge
16:07:00watusimotook, the scrollig you just checked in seems to work well.
16:07:00raptorwatusimoto: sam686 and I did research and found that the standard way to move in graphics editors is to hold-middle-mouse down
16:07:00watusimotothe only thing to do now is change cursor to "spray" when you're holding middle mouse
16:08:00watusimotogotta run -- back later
16:08:00raptoroh
16:08:00raptorit's back
16:08:00raptornevermind
16:12:00sam686i think auto scroll should be faster...
16:14:00watusimoto Quit (Ping timeout: 276 seconds)
16:22:00BFLogBot - Commit 48ecc2a52722 | Author: sam8641 | Log: Fix drag scroll while dragging FlagItem mMoveOrigin conflict, auto scroll now works better while dragging something
16:27:00raptori can't believe that unordered_map just barely made it into c++ stl
16:48:00CrazyLinuxNerdw5PKtX9Ce37CrnpZqWB7iobTQxZFIMKCmUm7im3NhRQ4LBGSQ
16:48:00CrazyLinuxNerdwoops, soz not ment to go in here..
16:49:00sam686what was that?
16:49:00raptorit's his e-mail password
16:49:00CrazyLinuxNerdnope not my email password haha
16:49:00raptoror his bank account
16:49:00CrazyLinuxNerdnot that one either
16:49:00raptor:)
16:49:00sam686password of something?
16:49:00CrazyLinuxNerdmaybe.
16:50:00CrazyLinuxNerdthat's what i get for blindly control + v'ing
16:50:00CrazyLinuxNerdthankfully, it's only for an encrypted memorystick, nothing online :-)
16:50:00sam686it looks too long and too random for that to be password..
16:51:00CrazyLinuxNerdyeah, it's generated :-) Not all my passwords are made by me, i use a generator for a lot of my pass'es
16:52:00CrazyLinuxNerdanyhows... nevermind about it and forget i pasted it here :-)
16:53:00sam686good luck trying to erast that on BFLogBot (and my log file, though i can erase from my log...)
16:54:00CrazyLinuxNerd goes off to change that particular password and generate a new one
16:59:00CrazyLinuxNerdbesides, i can't be the only one to have accidently pasted his password into an irc channel :-)
17:01:00sam686One time, I somehow pasted in a google code and commited / pushed without knowing my password to push was pasted there.. http://code.google.com/p/bitfighter/source/detail?r=e2a94221cac9
17:01:00sam686in projectile.cpp
17:02:00raptorhaha, i remember that
17:02:00CrazyLinuxNerdlmao, how quick did you change that password?
17:02:00sam686i noticed it because, it obviously failed to compile..
17:03:00CrazyLinuxNerdoh yeah, you should of put in in a nice var or something :-)
17:03:00CrazyLinuxNerdso when game boots it starts up and prints "Password: xx"
17:04:00raptor Quit (Remote host closed the connection)
17:04:00sam686if it was at the end of comment (// blah blah ... password), i won't have noticed that fast...
17:05:00CrazyLinuxNerdhmm, i might have to go search the bf source code for some passwords :-) - kidding
17:06:00sam686i don't think there any password (other then the useless one that have now been changed)
17:06:00CrazyLinuxNerd... you hope
17:08:00sam686i am sure raptor might have pasted their password once (or more?) somewhere in a chat (irc chat or skype chat?)
17:09:00CrazyLinuxNerdyou never know :-)
17:10:00CrazyLinuxNerdit's all well and good having strong randomized passwords.. but you have to past them if their really good.. but if that's the case, how do you remember them if your computer goes up in smoke?
17:13:00CrazyLinuxNerdBut that's why I have a memory stick, with a text file with every single generated and normal password for every email account website etc in it :-).. and the password i pasted in here, is for that memorystick :o So no worries...
17:14:00sam686what if your computer dies by sending a spark and killing both your USB flash drive and hard disk?
17:14:00CrazyLinuxNerdI'm 100% stuffed
17:26:00watusimoto has joined
17:40:00watusimotoso
17:41:00watusimotoI think that the protective shield that appears when you first spawn should slowly "unwind" as the time it is effective elapses, so it can act as a sort of timer of how much longer it will remain active
17:41:00CrazyLinuxNerdwatusimoto: I like that idea.
17:42:00watusimotomaybe it should change color or something as it unwinds... so it starts all green and unwindes leaving a faint shell behind
17:42:00watusimotoof course moving would just make it disappear as it does today
17:42:00watusimotothx
17:42:00sam686well, if we want that, then we would need to send a timer to clients, instead of just one bit, in Ship::pack / unpack
17:43:00watusimotothat's a good point
17:50:00raptor has joined
17:50:00ChanServ sets mode +o raptor
17:50:00raptorso
17:51:00raptori have had much success with joystick settings in the INI
17:51:00raptorin its own ini
17:51:00raptorthis is what it looks like: http://pastie.org/2853158
17:52:00LordDVG Quit (Ping timeout: 258 seconds)
17:53:00raptorNow I have to do that with the other 8 controllers, and I need people to test again...
17:53:00watusimoto Quit (Ping timeout: 252 seconds)
18:01:00LordDVG has joined
18:06:00raptorFlash_Garden: which joystick was yours again?
18:12:00CrazyLinuxNerdcopying message 8 of 28077 to CentOS Discussion - Argh, this is why i dislike moving my mails from one provider to another (via imap) due to mailing lists ha -.-
18:36:00LordDVG Quit (Ping timeout: 240 seconds)
18:47:00raptor Quit (Remote host closed the connection)
19:00:00koda Quit (Ping timeout: 240 seconds)
19:23:00watusimoto has joined
19:26:00koda has joined
19:31:00koda_ has joined
19:31:00koda Quit (Ping timeout: 248 seconds)
19:32:00koda_ is now known as koda
19:39:00koda Quit (Read error: Connection reset by peer)
19:39:00koda has joined
20:28:00Zoomber has joined
20:28:00ChanServ sets mode +v Zoomber
20:29:00Zoomberyoyoyoyoyo
21:00:00Zoomber Quit (Quit: Zoomber)
21:01:00raptor has joined
21:01:00ChanServ sets mode +o raptor
21:01:00raptorhi
21:07:00raptorFlash_Garden: you here?
21:10:00sam686hi
21:10:00sam686how far do you got in your joystick INI thing?
21:10:00raptoralmost done!
21:10:00raptorI just need to finish migrating the profiles in the INI - i have 4 of 9 done
21:11:00sam686good, i could test that when you are done..
21:12:00raptorOK, four to go...
21:12:00BFLogBot - Commit 7453784aa2ef | Author: sam8641 | Log: Asteroid: add ajustable size in editor, convert mSizeIndex into mSizeLeft, remove unneeded Asteroid getCollisionCircle as MoveObject have their own.
21:14:00raptorI still need to get the playstation symbols to work, but i can do that while you test..
21:19:00CrazyLinuxNerd Quit (Quit: Leaving)
21:26:00raptorps2 i hate you
21:26:00watusimotohey raptor
21:26:00sam686how about ps3 sixaxis?
21:27:00watusimotolooking at an sdl thing
21:27:00watusimotodo we create an sdl_surface?
21:27:00raptorsam686: ps3 is next
21:27:00watusimotoor, I should say, do we keep track of the one we creaet?
21:27:00raptorwatusimoto: no
21:27:00raptorbecause we use SDL_OPENGL
21:27:00raptorthe surface is delegated to the system
21:28:00watusimotodo you know if there is a way to get it?
21:28:00raptori don't think you can when using opengl - what do you wish to accomplish?
21:28:00watusimotoor maybe there is a different way to do what I'm trying to do, which is to blit a bmp onto the screen
21:28:00watusimototo create custom pointers in the editor
21:28:00raptorah...
21:29:00raptorthere is a way to do it with the opengl one - i researched this a while ago
21:29:00watusimotoI know you're in the middle of something, so I can do some more research
21:29:00watusimotook
21:29:00raptorbut i can't remember my findings :(
21:29:00raptordie PS2!!!
21:30:00raptorsigh - i'm going to leave PS2 slightly borken...
21:30:00raptoron to ps3!
21:32:00raptorsam686: did the ps3 dpad work ok? or was it detected as buttons?
21:33:00sam686in linux D-Pad was 4 buttons..
21:34:00raptorrats
21:34:00raptorok
21:34:00sam686in windows, it was mostly the same button mapping as PS2, including POV..
21:41:00raptorok, done with the INI i think...
21:41:00raptorlet me do a few tests
21:42:00raptorok
21:42:00raptorready for this commit?
21:42:00sam686ok..
21:43:00raptorwatusimoto, if i commit, will you be able to update without merging?
21:46:00raptorok ready or not
21:46:00raptori'm pushing...
21:47:00raptor100k patch set
21:47:00raptorenjoy!
21:48:00BFLogBot - Commit 14aed12c1276 | Author: buckyballreaction | Log: Partial rewrite of the joystick system to dynamically load joystick profiles from an INI - converted in code profiles to joystick_presets.ini. read thoroughly - rewrote much of joystick render - still more optimization to do - TODO: implement symbol drawing for buttons (like with PS2)
21:48:00raptorwatusimoto: i hope you can merge ok
21:49:00sam686one problem, exe/joystick_presets.ini was added, but will installer include that file?
21:49:00raptornope
21:49:00raptorthat's on my TODO list :)
21:51:00raptorlet me fix the installer...
21:52:00sam686http://208.107.52.15/bitfighter/white_number_inside_red_button.png
21:52:00raptorwhoa
21:52:00raptorwhat happened??
21:52:00sam686umm, buttons doesn't look right while the button is held down
21:52:00raptordid you do a complete make clean?
21:52:00sam686number 1,2,3,4 stayed white
21:53:00sam686no, that me holding down all the buttons
21:53:00raptoroh
21:53:00sam686i couldn't hold down all button 1-10 at the same time
21:53:00raptorhaha
21:53:00raptorwhat do you mean they don't look right?
21:54:00sam686but it shows a number 1-4 button stay white, while 5-8 have red numbers
21:54:00raptorah.... my fault...
21:54:00sam686that is, red circle, white number 1,
21:54:00raptorok
21:54:00raptoronly on rectangle buttons?
21:55:00sam686also, logitech dual action button 12 should show as 10, 11 should show as 9, as those is really numbered on my Logitech dual action controller
21:56:00raptoryou can change the INI
21:56:00raptorand commit your better profile
21:56:00sam686the last 2 circle is not labeled on my controller, but is left / right analog stick button press
21:56:00raptoryes
21:56:00raptormany buttons are not labeled
21:58:00sam686My logitech dual action have all the buttons numbers (except last 2 which is analog stick left / right)
21:59:00raptorok, add the appropriate "Label:12;" to the INI
22:00:00raptorok, i think i fixed the button colors
22:03:00sam686fix playstation buttons? http://208.107.52.15/bitfighter/ps_buttons.png
22:03:00raptorhaha
22:04:00raptorremember when i said they were going to be a bit borken...
22:04:00raptorbroken
22:04:00raptoralso the TODO in the commit message...
22:04:00raptor:)
22:04:00sam686ok..
22:04:00raptori'll get there eventually - i wanted to commit so you could do some quick testing
22:05:00raptorI have to think about code drawing the PS symbols with my current system...
22:05:00raptorthink about coding the drawing...
22:05:00raptorand be efficient
22:05:00raptori just need to think
22:08:00BFLogBot - Commit 423e548a7bcf | Author: buckyballreaction | Log: Fix joystick button activation colors
22:08:00sam686There is only 4 symbols in Playstation controller, maybe drawing code could be hard coded, and ini could have button1draw = button_square or something
22:09:00raptoryeah - i'm going with hard coding...
22:18:00BFLogBot - Commit 2ebec415f7a6 | Author: buckyballreaction | Log: Minor INI cleanup; also adjust label on right triangle button a little
22:21:00raptorok added to windows installer..
22:23:00BFLogBot - Commit 98782e546101 | Author: buckyballreaction | Log: Add joystick_presets.ini to the windows installer
22:24:00sam686and, on sixaxis, button back (select) and start is reversed..
22:24:00raptorsweet!
22:25:00raptori'm suprised it wasn't completely messed up...
22:25:00sam686but the rest seems fine on those controller
22:35:00raptorwatusimoto: basically you turn off the SDL_Cursor, then draw what you want in openGL (like with the shoot axis in-game)
22:37:00watusimotoI'm trying to figure out how to use glDrawPixels with a gimp c file
22:38:00watusimotobut now the compile's gone bad
22:39:00watusimotoprobably because I had an extra } in there somehow
22:39:00watusimotoah, much better... from 300 to 1 error
22:41:00raptorsounds like you might get more errors soon...
23:00:00watusimotoit basically comes down to this:
23:00:00watusimoto glRasterPos3f(mMousePos.x, mMousePos.y, 0);
23:00:00watusimoto glDrawPixels( gimp_image.height, gimp_image.width, GL_RGBA, GL_UNSIGNED_BYTE, gimp_image.pixel_data);
23:00:00watusimotoso easy, yet so hard to figure out
23:00:00raptorwhat you need is to look at someone else's source code
23:02:00raptorhttp://code.google.com/p/glextensions/
23:02:00raptormaybe here?: http://code.google.com/p/glextensions/wiki/GL_ARB_pixel_buffer_object
23:04:00watusimotowell, it seems to be working now
23:05:00watusimotonow I just need my cursor(s)
23:06:00sam686as with any glExtensions, it might not work on computer opengl hardware that is missing that extensions...
23:07:00raptoryes - but we need to move to GLES eventually...
23:07:00raptorif we ever want to do a mobile release
23:07:00raptoror at least code in GLES alternatives
23:07:00raptorbut that is for 019 at least... :)
23:08:00sam686as for drawing custom cursors, it could be drawn with only using lines, or by using a texture..
23:17:00sam686I found a problem, if your ship dies, then restart before it respawns, then it spawns 2 of your ship in which one of it seems idling..
23:17:00raptorneat!
23:36:00raptorbe back later tonight with my render optimizations and symbols done
23:36:00raptor Quit (Remote host closed the connection)

Index Search ←Prev date Next date→

These logs were automatically created by BFLogBot on irc.freenode.net.