Timestamps are in GMT/BST.
| 00:30:00 | | BitfighterLogBot - Commit 574856c953ca | Author: sam8641 | Log: Don't do multi-dest if loading in editor, add missing #include math.h |
| 01:03:00 | | watusimoto has joined |
| 01:18:00 | | watusimoto Quit (Ping timeout: 246 seconds) |
| 01:47:00 | | Flynnn Quit (Quit: This computer has gone to sleep) |
| 02:48:00 | | watusimoto has joined |
| 02:57:00 | | Zoomber has joined |
| 02:57:00 | Zoomber | website up and working again http://bitfighter.sytes.net/ |
| 02:59:00 | | zoomber_ has joined |
| 02:59:00 | zoomber_ | hey karamazavopy, are you working on your level? |
| 03:02:00 | sam686 | that bitfighter.sytles.net doesn't work, i can't connect to it.. |
| 03:02:00 | zoomber_ | really? |
| 03:02:00 | zoomber_ | it shoudl now |
| 03:03:00 | zoomber_ | i correctly portfora it this time |
| 03:03:00 | zoomber_ | oh your right |
| 03:03:00 | zoomber_ | let me try somethign else |
| 03:03:00 | zoomber_ | ok |
| 03:03:00 | zoomber_ | try 69.237.148.156 |
| 03:04:00 | zoomber_ | it just looks like my dynamic dns updater isnt doing anythign yet |
| 03:04:00 | zoomber_ | that could take a while i suppose |
| 03:04:00 | zoomber_ | but ip is up right now ^ |
| 03:05:00 | sam686 | ok, seems to work... |
| 03:05:00 | zoomber_ | sky_lark turned 100! |
| 03:06:00 | sam686 | i think that is a fake age or fake birthday? not sure |
| 03:07:00 | zoomber_ | yeah lol |
| 03:08:00 | zoomber_ | hey sam, what would you like to see as a new server? |
| 03:08:00 | zoomber_ | maybe one with /getmap disabled? exclusive maps that can be found only on that server |
| 03:09:00 | zoomber_ | ping me (so i get the sound) if you need me anyone. i am writing a concert review right now and this will be in the background. |
| 03:34:00 | | zoomber_ has left |
| 04:35:00 | | Flynnn has joined |
| 05:00:00 | | BitfighterLogBot - Commit b2602ac4d7db | Author: sam8641 | Log: Some cleanup to gameStats |
| 05:03:00 | | raptor has joined |
| 05:03:00 | | ChanServ sets mode +o raptor |
| 05:04:00 | raptor | good evening! |
| 05:05:00 | raptor | sam686: did you remove some stats from that last commit? |
| 05:06:00 | sam686 | no, there was one that uas mostly the same as teams.getSize() |
| 05:06:00 | raptor | ah ok |
| 05:07:00 | sam686 | teamCount i removed, as it is the same as TeamStats.getSize.. |
| 05:13:00 | | Flynnn Quit (Quit: Leaving) |
| 05:17:00 | raptor | WOW |
| 05:17:00 | raptor | so many classes were dependant on the global declarations in input.cpp.... |
| 05:17:00 | raptor | i have a lot of cleanup to do before I can give you broken code to play with sam686. :) |
| 05:24:00 | | karamazovapy Quit (Read error: Connection reset by peer) |
| 05:25:00 | | karamazovapy has joined |
| 05:28:00 | raptor | watusimoto: I want to split off the joystick button rendering into its own class - what would be a good class name? |
| 05:28:00 | raptor | JoystickRender |
| 05:28:00 | raptor | ? |
| 05:28:00 | raptor | sam686, what do you think, too? |
| 05:30:00 | | sam686 Quit (Ping timeout: 258 seconds) |
| 05:35:00 | | sam686 has joined |
| 05:35:00 | | ChanServ sets mode +v sam686 |
| 05:50:00 | | BitfighterLogBot - Commit cf8624019364 | Author: sam8641 | Log: Removed "UIChat.h" from game.h to speed up compiler; add some needed includes |
| 05:51:00 | raptor | my diff for the joystick change is nearing 120KB... |
| 05:54:00 | raptor | sam686: i am getting the following warning with every class I compile: |
| 05:54:00 | raptor | ../tnl/tnlByteBuffer.h: In copy constructor ‘TNL::ByteBuffer::ByteBuffer(const TNL::ByteBuffer&)’: |
| 05:55:00 | raptor | ../tnl/tnlByteBuffer.h:80:4: warning: base class ‘class TNL::Object’ should be explicitly initialized in the copy constructor |
| 05:55:00 | sam686 | thats probably watusimito changes to TNL::object.. |
| 05:56:00 | raptor | oh ok - i just haven't been able to get this far in compiling before.. :) |
| 06:04:00 | raptor | sam686: did you say you never completed the JoystickMapping stuff in config.cpp? |
| 06:05:00 | raptor | because it is giving me grief right now - and I wonder if I can just comment it out... |
| 06:05:00 | sam686 | it wasn't done, and i haven't ever started writing the UI part of custom configuration.. |
| 06:05:00 | raptor | ok, is it ok if I comment it out for now? |
| 06:05:00 | sam686 | ok.. |
| 07:01:00 | raptor | sam686: I have a syntax question |
| 07:02:00 | raptor | http://pastie.org/2216487 |
| 07:02:00 | raptor | or watusimoto, or anyone |
| 07:02:00 | sam686 | ? |
| 07:02:00 | raptor | I am initializing this array |
| 07:03:00 | raptor | and i get tons of errors like this: |
| 07:03:00 | raptor | error: array must be initialized with a brace-enclosed initializer |
| 07:03:00 | sam686 | where is shootAxes[LogitechWingman]? |
| 07:04:00 | raptor | ok, now look back here: http://pastie.org/2216487 |
| 07:04:00 | sam686 | maybe because they are not const? |
| 07:05:00 | sam686 | maybe try static const shootAxes? |
| 07:05:00 | raptor | ok |
| 07:05:00 | raptor | nope |
| 07:06:00 | sam686 | i guess compiler don't like being initalized that way.. |
| 07:11:00 | sam686 | can you try comething like this? {9, {0,1}, {shootAxes[LogitechWingman][0], shootAxes[LogitechWingman][1]}, |
| 07:12:00 | raptor | i just did - it gets rid of one error |
| 07:12:00 | raptor | 19 to go... |
| 07:12:00 | raptor | but there has got to be a better way |
| 07:12:00 | raptor | wait!, I know what to do, i think... |
| 07:13:00 | sam686 | initalizing with { }, instead of like Color a = colorRed; can help avoid uninitalized zero when using |
| 07:20:00 | raptor | ok, this compiles, but i'm not sure it is good, can you take a look?: http://pastie.org/2216487 |
| 07:23:00 | sam686 | i guess it is ok.. |
| 07:25:00 | raptor | ok, now I get warnings: |
| 07:25:00 | raptor | this: PredefinedJoystickList[i].moveAxesSdlIndex = {0, 1}; |
| 07:25:00 | raptor | gives warning: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x |
| 07:26:00 | sam686 | ok, that might mean compatibility problem, as if i might not be able to compile, but not sure yet.. |
| 07:27:00 | raptor | yeah, i need to get rid of it |
| 07:27:00 | raptor | it has something to do with the braces |
| 07:29:00 | | zoomber_ has joined |
| 07:29:00 | | zoomber_ Quit (Quit: zoomber_) |
| 07:34:00 | raptor | ok apparently c++ doesn't like that as much as C does |
| 07:35:00 | raptor | i.e. initializing arrays with {} |
| 07:35:00 | raptor | the solution is to use std:vector... |
| 07:41:00 | | BitfighterLogBot - Commit 281a9b74d4ec | Author: sam8641 | Log: remove include "game.h" from gameObect.h, add missing lots of missing includes. |
| 07:41:00 | sam686 | i have just reduced my full-rebuild compile file from 9.2 minutes to 7.75 minutes from moving includes around.. |
| 07:41:00 | raptor | uh oh... this might be a messy merge |
| 07:42:00 | sam686 | well, it is only the includes i changes, as well as moving come functions from .h to cpp |
| 07:42:00 | raptor | oh good, it merged ok with only 1 conflict |
| 07:42:00 | raptor | phoew |
| 07:43:00 | sam686 | i end up changing 57 files, but most are just a simple change.. |
| 07:43:00 | raptor | wow |
| 07:43:00 | raptor | that's half the files |
| 07:44:00 | sam686 | having includes in .h files can slow down compiler it looks like.. |
| 07:45:00 | raptor | oh yeah |
| 07:45:00 | sam686 | expecially if that .h file is used a lot.. |
| 07:51:00 | raptor | bah: |
| 07:51:00 | raptor | call of overloaded ‘getStringWidth(const TNL::U32&, const char*&)’ is ambiguous |
| 07:53:00 | sam686 | could try getStringWidthF32(F32, const char *) |
| 07:53:00 | raptor | ah.. a simple cast |
| 07:53:00 | raptor | of course! |
| 07:54:00 | sam686 | getStringWidth calls getStringWidthF32... |
| 07:57:00 | raptor | ok, 60% the way through compiling that time... |
| 08:00:00 | raptor | yay linking errors! |
| 08:03:00 | | LordDVG has joined |
| 08:03:00 | | LordDVG Quit (Changing host) |
| 08:03:00 | | LordDVG has joined |
| 08:11:00 | raptor | linker order problems again... |
| 08:27:00 | raptor | I can't solve my linking problems |
| 08:27:00 | raptor | i need to go to bed... |
| 08:27:00 | sam686 | if you can push your clone so far, i might be able to see whats wrong.. |
| 08:27:00 | raptor | ok |
| 08:27:00 | raptor | everything is compiling now |
| 08:27:00 | raptor | let me set one up.. |
| 08:31:00 | raptor | ok, here you are: http://code.google.com/r/buckyballreaction-sdl-joystick/source/list |
| 08:32:00 | raptor | thanks sam686, ahead of time, for anything you find out/fix |
| 08:32:00 | raptor | have a good night |
| 08:34:00 | | raptor Quit (Remote host closed the connection) |
| 08:58:00 | | kodax has joined |
| 09:12:00 | | kodax Quit (Ping timeout: 240 seconds) |
| 09:14:00 | | LordDVG is now known as neka |
| 09:15:00 | | neka is now known as LordDVG |
| 09:17:00 | | kodax has joined |
| 09:27:00 | | kodax Quit (Ping timeout: 260 seconds) |
| 09:57:00 | | LordDVG Quit (Remote host closed the connection) |
| 10:56:00 | | sam686 Quit (Read error: Connection reset by peer) |
| 10:58:00 | | sam686 has joined |
| 10:58:00 | | ChanServ sets mode +v sam686 |
| 11:07:00 | - *sam686* Raptor, here is my linker fix: http://code.google.com/r/sam8641-bitfighter05/source/lis | *sam686* Raptor, here is my linker fix: http://code.google.com/r/sam8641-bitfighter05/source/list |
| 11:34:00 | | kodax has joined |
| 11:35:00 | | kodax Quit (Remote host closed the connection) |
| 13:19:00 | | kodax has joined |
| 15:07:00 | | raptor has joined |
| 15:07:00 | | ChanServ sets mode +o raptor |
| 15:08:00 | raptor | thanks sam686!!! |
| 15:24:00 | | kodax Quit (Ping timeout: 252 seconds) |
| 16:04:00 | raptor | watusimoto: I think I am ready to commit my joystick changes (and sam's fixes) |
| 16:05:00 | raptor | however, sam686 last said that the axes are broken - i've made a few fixes and hope that it will help |
| 16:05:00 | raptor | it's just that I don't have a joystick and I need you guys to test |
| 16:06:00 | raptor | Do you think it would be OK to commit anyways? (And essentially leave some of the fixing up to you two?) |
| 16:07:00 | raptor | I tried to comment the code well |
| 16:08:00 | raptor | and variable names are descriptively verbose :) |
| 16:14:00 | raptor | say yes |
| 16:23:00 | watusimoto | yes |
| 16:23:00 | watusimoto | also... |
| 16:23:00 | raptor | hi |
| 16:23:00 | watusimoto | I just pushed an experimental modification ot the editor I want feedback on |
| 16:24:00 | watusimoto | when you drag an item around that might snap to a wall, I'm trying to render the vertices of that wall differenlty to show that they are snap targets |
| 16:24:00 | watusimoto | if we like this, we'll expand it to other items as well |
| 16:24:00 | raptor | ok merged |
| 16:24:00 | watusimoto | if it's just annoying, we can remove it |
| 16:25:00 | raptor | pushing joystick radical changes... |
| 16:25:00 | watusimoto | great :-) |
| 16:27:00 | | BitfighterLogBot - Commit 4da60c4d316f | Author: watusim...@bitfighter.org | Log: Adding repair item via keyboard ("B") no longer crashes editor |
| 16:27:00 | | BitfighterLogBot - Commit edeaa1fa373d | Author: watusim...@bitfighter.org | Log: Item goes where the mouse is when inserting via keyboard in editor |
| 16:27:00 | | BitfighterLogBot - Commit c6ac561593d9 | Author: watusim...@bitfighter.org | Log: Restore snapping of zones to wall vertices... why was this ever disabled? |
| 16:27:00 | | BitfighterLogBot - Commit 33851d88c58f | Author: watusim...@bitfighter.org | Log: Experimental rendering of snap targets |
| 16:27:00 | | BitfighterLogBot - Commit 7840241a25c3 | Author: watusim...@bitfighter.org | Log: Merge |
| 16:27:00 | raptor | ok pushing for reals now... |
| 16:28:00 | raptor | the deed is done... |
| 16:28:00 | raptor | before you continue coding, can you update to my latest changes and make sure they compile for you? |
| 16:29:00 | raptor | sam686 did a good job at cleaning it up for windows in his project file, I tried to make the same changes for yours |
| 16:29:00 | raptor | Joystick rewrite stats: 31 files changed, 1795 insertions(+), 2545 deletions(-) |
| 16:32:00 | | BitfighterLogBot - Commit 9f6a070e5879 | Author: buckyballreaction | Log: Joystick system rewrite/refactor to SDL - axis probably broken, please test! - Remove all OS specific input classes and methods, use SDL abstraction instead - Integrate Joystick event handling with SDL - Make joystick methods/members static - Lots of clean-up/refactor with global objects |
| 16:34:00 | raptor | dropping 600 lines of code is a good think... right? |
| 16:34:00 | raptor | 800 |
| 16:41:00 | raptor | More fun repo stats: http://pastie.org/2218610 |
| 16:41:00 | raptor | i'm winning! |
| 16:41:00 | raptor | sort of... |
| 16:41:00 | raptor | probably because of all the library changes and addition I did |
| 16:44:00 | raptor | ok not really winning once you add watusimoto*2 together |
| 17:09:00 | raptor | testing the new editor mod.. |
| 17:21:00 | raptor | watusimoto: I don't know what i'm looking for in the editor... |
| 17:24:00 | raptor | also polywalls leave behind ghosts when you move them.. |
| 17:24:00 | raptor | actually to duplicate: |
| 17:25:00 | raptor | 1. create polywall |
| 17:25:00 | raptor | 2. add barrier |
| 17:25:00 | raptor | 3. move polywall |
| 17:25:00 | raptor | 4. ghost! |
| 17:47:00 | | BitfighterLogBot - Commit ecf423eb7711 | Author: buckyballreaction | Log: Fix music volume not being set properly on start-up |
| 19:40:00 | watusimoto | polywalls are still broken |
| 19:40:00 | watusimoto | add regular wall |
| 19:40:00 | watusimoto | add repair item |
| 19:40:00 | watusimoto | drag repair item |
| 19:40:00 | raptor | ok |
| 19:40:00 | watusimoto | vertices on wall have magenta circle |
| 19:40:00 | raptor | ohhh |
| 19:40:00 | watusimoto | showing you can snap there |
| 19:40:00 | raptor | yes, i saw those |
| 19:41:00 | watusimoto | need to decide if they're good or bad |
| 19:41:00 | raptor | not sure how they can be used... |
| 19:41:00 | watusimoto | then either implement them everywhere or remove them |
| 19:42:00 | watusimoto | well, you can snap to them |
| 19:42:00 | watusimoto | you always could snap there, but now it shows them |
| 19:42:00 | raptor | snap what to them? |
| 19:43:00 | raptor | oooo |
| 19:43:00 | raptor | i see it now |
| 19:44:00 | raptor | i can actually snap DIRECTLY to them, which is good on maps where the snap may be off due to angles |
| 19:44:00 | raptor | and i want to combine zones or something... |
| 19:45:00 | raptor | so the new feature is actually showing them |
| 19:56:00 | watusimoto | yes |
| 19:56:00 | watusimoto | so the question is to show or not to show, and if we show, how to show |
| 19:57:00 | raptor | i like showing - but maybe less apparent - like show as other snapping points, but dimmer, maybe? |
| 20:05:00 | watusimoto | we don't show other snapping points |
| 20:05:00 | raptor | not even the end's of barriers and corners of zones? |
| 20:33:00 | watusimoto | no, but we would add those |
| 20:38:00 | raptor | I need to get my hands on a dual action joystick |
| 21:02:00 | | zoomber_ has joined |
| 21:03:00 | zoomber_ | raptor! |
| 21:04:00 | zoomber_ | xcode 4 looks like a jam session gone wrong |
| 21:04:00 | zoomber_ | it cant find any roots |
| 21:04:00 | zoomber_ | no frameworks |
| 21:11:00 | zoomber_ | oh...... |
| 21:11:00 | zoomber_ | mac.... |
| 21:11:00 | zoomber_ | is...mean |
| 21:13:00 | raptor | hi |
| 21:13:00 | raptor | sorry, fell asleep on my arm |
| 21:14:00 | raptor | i'm thinking I will just keep the Xcode project at 3.1 compatibility, compile a x86_64 package for Snow Leopard when Lion comes out, and hope it runs ok on it |
| 21:15:00 | zoomber_ | it shuold... |
| 21:15:00 | zoomber_ | mac is good at backwards compatability for OLD stuff |
| 21:16:00 | zoomber_ | just, they cut off compatibility for any mroe stuff, so the old stuff eventually dies out and you dont need bc :) |
| 21:16:00 | zoomber_ | Its basically |
| 21:16:00 | zoomber_ | im at the point where, all the frameowrks get Invalid values for GCC_version |
| 21:16:00 | zoomber_ | g |
| 21:16:00 | zoomber_ | which confuses me because, this hasnt changed...has it? |
| 21:17:00 | zoomber_ | gcc always been 4.0 |
| 21:17:00 | zoomber_ | maybe now its only sending 4.0 and not 4, when the code can only use 4? |
| 21:17:00 | raptor | i have no idea - but we always set it to 4.0 |
| 21:17:00 | raptor | because there is a 4.2 option, too |
| 21:18:00 | zoomber_ | yeah, but its still on 4.0 |
| 21:20:00 | zoomber_ | where is the GCC pre-requirement in Libtomcrypt? could we try changing it from 4 to 4.0? |
| 21:20:00 | zoomber_ | gcc version* |
| 21:21:00 | zoomber_ | oh wait |
| 21:21:00 | zoomber_ | im building libogg |
| 21:22:00 | zoomber_ | ah, |
| 21:23:00 | zoomber_ | i must go, i will look at this later tongiht |
| 21:23:00 | zoomber_ | see you later |
| 21:23:00 | | zoomber_ Quit (Quit: zoomber_) |
| 21:25:00 | | koda has joined |
| 21:26:00 | raptor | koda: hi |
| 21:26:00 | raptor | just curious - what was the ABI change that you needed to do for OS X Lion? |
| 21:27:00 | koda | hello |
| 21:28:00 | koda | there was a bug with sdl calling external c functions |
| 21:28:00 | koda | by sdl i mean freepascal |
| 21:28:00 | raptor | ok - because I am not too thrilled to upgrade to Xcode 4 |
| 21:29:00 | raptor | and I was hoping to compile a bitfighter x86_64 package for Snow Leopard and hope it runs on Lion |
| 21:31:00 | koda | basically under lion the compiler retuned garbage instead of 0s as required by x64 abi |
| 21:31:00 | koda | it had nothgin to do with xcode4 |
| 21:31:00 | koda | though i haven't upgraded yet |
| 21:32:00 | raptor | ok |
| 21:32:00 | raptor | thanks |
| 21:35:00 | koda | bitfighter is getting pretty nice |
| 21:35:00 | koda | you should submit that game to the mac appstore |
| 21:36:00 | sam686 | for that joystick changes, buttons works, but joystick axis only lets me move ship left no matter what.. can't fire.. |
| 21:37:00 | raptor | even with my latest commit? |
| 21:37:00 | sam686 | yes |
| 21:37:00 | raptor | i put in a lot of logging to output what is detected |
| 21:37:00 | raptor | maybe I messed up the axes direction mask logic |
| 21:39:00 | sam686 | also, Left seems to go bigger then 1.0, up to 1.2 right/up/down is always zero due to handling problem.. |
| 21:39:00 | raptor | koda: we have a long way to go before app store - I consider the biggest hurdle how to get dual axes controls working on touch screens (not to mention actions) |
| 21:40:00 | raptor | sam686: thanks for solving my linker issues - I couldn't think properly last night |
| 21:40:00 | raptor | it should never go higher than 1.0 |
| 21:41:00 | raptor | i don't even know how that is possible... |
| 21:41:00 | koda | well don't be so negative ;) |
| 21:41:00 | raptor | haha, ok |
| 21:43:00 | sam686 | probably something going wrong with conversion S16 to F32 and joystick::SensitivityThreshold |
| 21:44:00 | raptor | the threshold should be 3200 |
| 21:44:00 | raptor | but maybe it's being set to 0? |
| 21:45:00 | sam686 | why if (value < -0.5 || value > 0.5) (value is S16) in updateJoyAxesDirections(U32 axisMask, S16 value) |
| 21:47:00 | raptor | ah ha! |
| 21:48:00 | raptor | that should be normalValue |
| 21:48:00 | | raptor is ashamed |
| 21:48:00 | | koda de-ashames raptor |
| 21:49:00 | | raptor raptor gets back to work furiously |
| 21:49:00 | | raptor fails |
| 21:49:00 | raptor | thanks for being a guinea pig sam686 |
| 21:50:00 | sam686 | one problem is if value < 0, it can screw up conversion of F32, i don't see no code yet to flip it back to positive |
| 21:51:00 | raptor | so there are two outputs of that method: the keycode state and the joystick axis value as a float |
| 21:51:00 | raptor | if (value < -0.5 || value > 0.5) |
| 21:51:00 | raptor | shoudl be: |
| 21:51:00 | raptor | if (normalValue < -0.5 || normalValue > 0.5) |
| 21:51:00 | raptor | and that is only used to determine the keycode state |
| 21:52:00 | raptor | however normalValue is exported in the axis value array as: |
| 21:52:00 | raptor | normalValue = fabs((F32)(value - Joystick::SensitivityThreshold)/(F32)(S16_MAX - Joystick::SensitivityThreshold)); |
| 21:52:00 | raptor | I may have some casting problems there |
| 21:52:00 | raptor | fabs makes it always positive |
| 21:54:00 | sam686 | what if value is less then zero? it can cause it to be (-32760 - 3200) / (32767 - 3200) whick goes to be about 1.2 |
| 21:54:00 | raptor | math fail |
| 21:54:00 | raptor | on my part |
| 21:54:00 | raptor | oops |
| 21:57:00 | sam686 | just remember about integer abs((S32)-2147483648) = -2147483648 (it overflows trying to convert to positive), but no problem with float abs.. |
| 21:57:00 | sam686 | i will need to go, may be back in 2 hours.. |
| 21:57:00 | koda | cya sam686 |
| 22:37:00 | karamazovapy | <raptor> More fun repo stats: http://pastie.org/2218610 |
| 22:37:00 | karamazovapy | I am not winning. |
| 22:37:00 | | zoomber_ has joined |
| 22:41:00 | zoomber_ | hello |
| 22:41:00 | zoomber_ | again |
| 22:41:00 | zoomber_ | can anyone tell me what fxgrid.cpp is / is it in use yet? |
| 22:50:00 | zoomber_ | anyone on at all? |
| 23:04:00 | | zoomber_ Quit (Quit: zoomber_) |
| 23:05:00 | | raptor Quit (Remote host closed the connection) |
| 23:13:00 | | BitfighterLogBot - Commit 682324bde8fc | Author: buckyballreaction | Log: Joystick axis calculation adjustments. Does it work now? |