Timestamps are in GMT/BST.
| 00:19:00 | | watusimoto Quit (Ping timeout: 244 seconds) |
| 01:53:00 | | BitfighterLogBot - Commit c886caf857e9 | Author: ratchet9clank | Log: Added proper linking flag to the ALURE framework when building for OSX. |
| 01:53:00 | | BitfighterLogBot - Commit 9d6c43a07540 | Author: ratchet9clank | Log: Fixed speex linking and added some header search paths |
| 01:53:00 | | BitfighterLogBot - Commit 80fe7b853120 | Author: buckyballreaction | Log: Mac Xcode framework restructure - Remove frameworks from version control: Mac frameworks require soft links to work - add in libogg, libspeex, libvorbis sources to compile as frameworks in-place within the project - add USE_HEADERMAP=NO build option to ALURE and OpenAL-Soft to stop Xcode from being idiotic and pulling in the wrong header files when compiling |
| 01:53:00 | | BitfighterLogBot - Commit 954f539e3154 | Author: buckyballreaction | Log: Mac music works now; Xcode fixes - properly delete mGameType - don't dynamically load Vorbis library with alure (disable DYNLOAD) - finally enable TNL logging in debug build - Xcode project clean-ups - include music dir in launcher script |
| 01:53:00 | | BitfighterLogBot - Commit 63066fcbc82a | Author: buckyballreaction | Log: Merge |
| 01:56:00 | raptor | yay |
| 01:56:00 | raptor | music is working on all three platforms |
| 02:23:00 | raptor | man, i am soooo glad to not have to police spam bots anymore |
| 02:38:00 | | BitfighterLogBot - Commit c79188ef88c9 | Author: buckyballreaction | Log: fix bad way to delete SafePtr. Maybe you meant shared_ptr here? |
| 04:11:00 | | raptor Quit (Remote host closed the connection) |
| 04:39:00 | Zoomber | errrrrr |
| 04:39:00 | Zoomber | if only i told raptor it all builds on bf |
| 04:42:00 | | [1]watusimoto has joined |
| 04:42:00 | Zoomber | hi watusimoto |
| 04:43:00 | [1]watusimoto | hi |
| 04:44:00 | Zoomber | got mac compiled on mac |
| 04:44:00 | Zoomber | imean |
| 04:44:00 | Zoomber | hehe, got bitfighter compiled on mac |
| 04:44:00 | Zoomber | was seeing raptor had some troubles, but not sure if he was able to fix it himself or not |
| 04:45:00 | Zoomber | oh hangon |
| 04:45:00 | Zoomber | ah ok he just merged in mine |
| 04:50:00 | Zoomber | oh |
| 04:50:00 | Zoomber | yeah, that |
| 04:52:00 | Zoomber | message if raptor gets back: sorry about game.cpp if you were using mine. I only meant to temporarly // out conflict //delete mGameType; |
| 04:55:00 | | _k|seriouslybatm is now known as karamazovapy |
| 04:55:00 | karamazovapy | hey watusimoto |
| 04:55:00 | karamazovapy | you get the forum update? |
| 05:00:00 | Zoomber | damit i just got bitfighter running yesterday, pull the new changes, and its already broken again |
| 05:04:00 | Zoomber | hey karamazovapy, do you wnat to play a 1v1 match of bitfighter if you have time? seems like i never seem to play you that much as before |
| 05:05:00 | [1]watusimoto | I'll do the forums tonight. I'e been busy |
| 05:06:00 | Zoomber | ok |
| 05:06:00 | Zoomber | oh |
| 05:06:00 | Zoomber | nvmllol |
| 05:11:00 | | [1]watusimoto Quit (Quit: HydraIRC -> http://www.hydrairc.com <- s0 d4Mn l33t |t'z 5c4rY!) |
| 05:11:00 | | [1]watusimoto has joined |
| 05:37:00 | | Zoomber Quit (Quit: Zoomber) |
| 06:13:00 | [1]watusimoto | @k -- you there? |
| 06:25:00 | [1]watusimoto | ok, I installed k's mod, and can't see that anything changed as a result |
| 06:25:00 | [1]watusimoto | and updated raptor's script |
| 06:42:00 | | Zoomber has joined |
| 06:43:00 | | Zoomber Quit (Client Quit) |
| 07:01:00 | [1]watusimoto | holy crap!!! raptor's music played! |
| 12:18:00 | | raptor has joined |
| 12:18:00 | | ChanServ sets mode +o raptor |
| 12:20:00 | raptor | so early.. |
| 13:19:00 | | BitfighterLogBot - Commit 6fbf942ff67a | Author: buckyballreaction | Log: Music/Sound changes: - go back to 16 sound samples for now - dedicated the music source sample - var names - minor cleanup |
| 13:31:00 | | sam686 has joined |
| 13:31:00 | | ChanServ sets mode +v sam686 |
| 14:00:00 | raptor | hi sam686, long time no see |
| 14:01:00 | sam686 | hi. |
| 14:07:00 | raptor | look were the flag returns to when a bot killed me with it on ctf1: http://96.2.123.136/upload/1snapshot34.png |
| 14:09:00 | sam686 | when flag returns to some odd location (probably (0,0), it is probably a probmem with copy constructor not copying. |
| 14:13:00 | sam686 | in item.cpp line 97, the copy constructor just creates a new geometry item without copying. |
| 14:14:00 | raptor | remember we asked watusimoto about that? he said that was the correct way to do it |
| 14:14:00 | sam686 | and Spawn Ponts position is read inside the "" |
| 14:14:00 | sam686 | PointGeometry |
| 14:19:00 | sam686 | maybe change it to this? mGeometry = boost::shared_ptr<Geometry>(new PointGeometry(*((PointGeometry *)epo.mGeometry.get()))); |
| 14:20:00 | karamazovapy | hey watusimoto - you there? |
| 14:20:00 | karamazovapy | [1]watusimoto |
| 14:25:00 | karamazovapy | it looks to me like forums\adm\style\acp_forums.html didn't get copied the way it should've |
| 14:25:00 | karamazovapy | everything else *should be* in order |
| 14:26:00 | karamazovapy | the permissions settings are all in place, the way they should be |
| 14:26:00 | karamazovapy | but there's no way from the MANAGE FORUMS sections to enable topic evaluation without the updated acp_forums.html |
| 14:28:00 | karamazovapy | Further installation instructions: |
| 14:28:00 | karamazovapy | 1) Run the install script in the root/install directory. The file is called "install_evaluation_mod.php" |
| 14:28:00 | karamazovapy | 2) After the execution of the install script delete the install directory with the file in it. |
| 14:28:00 | karamazovapy | 3) Refresh in the ACP the image set ACP -> Styles -> Imagesets -> Refresh. |
| 14:28:00 | karamazovapy | 4) Maybe the cache files of the templates must be deleted if the evaluation items are not visible. |
| 14:28:00 | karamazovapy | maybe 4) is our only problem |
| 14:31:00 | sam686 | if the problem is only to delete the cache, can you run a "Purge the cache"? shown in the bottom if this admin phpbb http://96.2.123.136/bitfighter/phpbb_adm.png |
| 14:35:00 | karamazovapy | it worked! thanks! |
| 14:36:00 | karamazovapy | what do we want to use? five stars? |
| 14:36:00 | raptor | sure |
| 14:36:00 | raptor | 5 phasers? |
| 14:36:00 | raptor | bullets |
| 14:36:00 | raptor | :) |
| 14:36:00 | karamazovapy | I haven't gotten around to photoshopping the background out of phaser bits |
| 14:36:00 | raptor | oh yuk, yeah forgot about that.. |
| 14:37:00 | karamazovapy | http://bitfighter.org/forums/viewtopic.php?f=31&t=485&start=0 |
| 14:39:00 | raptor | i don't see what i'm supposed to see.. |
| 14:39:00 | karamazovapy | there are evaluation stars at the top of the thread, and you can rate at the bottom |
| 14:39:00 | sam686 | Topic evaluate: ***** � 6 posts � Page 1 of 1 |
| 14:40:00 | karamazovapy | I gave it 5 stars, but you can rate it as you see fit |
| 14:40:00 | karamazovapy | map gallery is fully enabled |
| 14:40:00 | karamazovapy | I still need to adjust the default max rating on the other pages, though...I should've changed 6 from the default when I did the mod |
| 14:42:00 | raptor | ah maybe i should log in.,.. |
| 14:42:00 | karamazovapy | yeah, only registered users get to evaluate |
| 14:42:00 | karamazovapy | I guess I should make ratings visible to non-registered users, though |
| 14:42:00 | raptor | and see the stars? |
| 14:47:00 | raptor | cool |
| 14:47:00 | raptor | it works |
| 14:49:00 | karamazovapy | sure does |
| 14:49:00 | karamazovapy | I'm gonna go map rating! |
| 14:50:00 | raptor | i rated your rating announcement |
| 14:50:00 | raptor | sweet! |
| 14:51:00 | karamazovapy | this is cool. I like this. |
| 14:54:00 | raptor | brb |
| 14:54:00 | | raptor Quit (Remote host closed the connection) |
| 14:54:00 | | BitfighterLogBot - Commit 1a07c6d2576b | Author: sam8641 | Log: Fix mGeometry Copy Constructor to copy mGeometry |
| 14:57:00 | karamazovapy | I like that you can mouseover the ratings to see how many votes and what you voted |
| 15:10:00 | | raptor has joined |
| 15:10:00 | | ChanServ sets mode +o raptor |
| 15:12:00 | raptor | thanks sam for fixing that |
| 15:18:00 | [1]watusimoto | @r -- your music is playing in my latest build |
| 15:18:00 | raptor | YES!! |
| 15:18:00 | [1]watusimoto | how do I turn it off? :-) |
| 15:18:00 | raptor | haha |
| 15:19:00 | sam686 | delete the music? |
| 15:19:00 | raptor | yep |
| 15:19:00 | raptor | umm... i have a long ways to go yet... |
| 15:19:00 | raptor | like integrate sound / disable music with the config and options |
| 15:20:00 | raptor | but yeah, deleting the test.ogg should do it |
| 15:20:00 | sam686 | maybe, disable music by setting music volume to zero? |
| 15:20:00 | raptor | or i could replace it with a movement in one of beethoven's symphonies :] |
| 15:21:00 | sam686 | armor make shield hard to see when using both armor and shield. |
| 15:21:00 | raptor | maybe armor could dim a little if used in conjunction with shield |
| 15:29:00 | [1]watusimoto | maybe we could change the radius of armor |
| 15:30:00 | [1]watusimoto | or do a special rendering when you have both |
| 15:30:00 | [1]watusimoto | like a subtle 5 lobed clover |
| 15:51:00 | raptor | sam686: do you think we should start SDL? |
| 15:51:00 | sam686 | maybe yes, not sure.. |
| 15:52:00 | raptor | [1]watusimoto thinks we are at a point where we can, since we are mostly just doing minor bug fixing |
| 15:55:00 | | BitfighterLogBot - Commit 2fd551943ea5 | Author: buckyballreaction | Log: Fix ALURE building in linux |
| 16:15:00 | [1]watusimoto | or major bug fixing, but I don;t forseee any architectural changes with the editor refactor |
| 16:22:00 | | [1]watusimoto Quit (Ping timeout: 260 seconds) |
| 16:47:00 | | sam686 Quit (Quit: .) |
| 17:00:00 | | watusimoto has joined |
| 17:10:00 | | BitfighterLogBot - Commit 7c1d7de2732c | Author: buckyballreaction | Log: integrate volume control with playing music; you can now ignore my silly test music |
| 17:22:00 | | kodax Quit (Ping timeout: 258 seconds) |
| 17:24:00 | watusimoto | btw, i've now figured out the core issue with undo, and should have that working soon |
| 17:24:00 | raptor | yes! |
| 17:24:00 | watusimoto | fixing that will also fix loading levels |
| 17:24:00 | watusimoto | as they use the same (broken) code |
| 17:25:00 | raptor | i have a minor question: |
| 17:25:00 | watusimoto | just some tedius tracing and seeing what runs when and why |
| 17:25:00 | raptor | in linux, coloring for some things tend to be off |
| 17:25:00 | raptor | like the main menu is black text |
| 17:25:00 | watusimoto | like the menus? |
| 17:25:00 | raptor | the internal line to barriers is blue |
| 17:25:00 | watusimoto | I've heard you mention that before, but have no idea what that's about |
| 17:25:00 | raptor | instead of white |
| 17:25:00 | watusimoto | in the editor? |
| 17:25:00 | raptor | yes |
| 17:25:00 | watusimoto | that internal line is blue on mine too |
| 17:26:00 | raptor | ah ok |
| 17:26:00 | watusimoto | that's an unintentional change in functionality |
| 17:26:00 | watusimoto | and will probably be fixed later |
| 17:26:00 | raptor | then I can cancel my thought about it being some color function glitch |
| 17:26:00 | raptor | i spent an hour trying to figure out the menus |
| 17:26:00 | raptor | i couldn't find anything |
| 17:26:00 | raptor | drove me crazy |
| 17:26:00 | raptor | so i was just curious if you had any ideas |
| 17:27:00 | raptor | the funny thing: it works in Mac |
| 17:27:00 | watusimoto | what if you make the color almost white? |
| 17:27:00 | watusimoto | or red or green |
| 17:27:00 | raptor | that's the thing - the color is only set in the constructor for the menu tiem |
| 17:27:00 | raptor | item |
| 17:28:00 | watusimoto | so change it there |
| 17:28:00 | watusimoto | and see if all colors are broken, or just white |
| 17:28:00 | watusimoto | and maybe if it's only pure white, or all whitish colors |
| 17:28:00 | watusimoto | maybe something is inverting the colors somehow |
| 17:29:00 | raptor | ok, changed - and no colors changed anywhere |
| 17:30:00 | raptor | i changed menu items to be blue, but all was still white (or black for main) |
| 17:30:00 | raptor | compiling from scratch |
| 17:30:00 | watusimoto | so the color in the constructor does not control what gets displayed? |
| 17:31:00 | raptor | ah ok |
| 17:31:00 | raptor | after compiling from scratch |
| 17:31:00 | raptor | they are all blue now |
| 17:31:00 | raptor | except main menu is still black |
| 17:31:00 | watusimoto | but only the main menu |
| 17:31:00 | watusimoto | all items on the main menu |
| 17:31:00 | raptor | yep, all others work fine (i went through them all) |
| 17:31:00 | watusimoto | but none anywhere else |
| 17:31:00 | watusimoto | curious |
| 17:31:00 | raptor | correct |
| 17:32:00 | raptor | it's so goofy |
| 17:32:00 | watusimoto | what if you change the renderer to render in white |
| 17:32:00 | raptor | sam suggested that, and that does work |
| 17:32:00 | watusimoto | or put a break point there and see what color it's trying to render with |
| 17:33:00 | watusimoto | what works? rendering in white? |
| 17:34:00 | raptor | interesting - it's calling Parent::Render first in the method instead of last |
| 17:34:00 | watusimoto | I usually try to do the parent stuff first as a matter of policy |
| 17:35:00 | raptor | yeah that made no difference |
| 17:35:00 | watusimoto | what made no diff? |
| 17:36:00 | raptor | moving the parent render to the end - didn't think it would, but i'm at the point of guess-and-check.. |
| 17:37:00 | watusimoto | add a logprintf statement to see what color it's using |
| 17:39:00 | raptor | yep, both mSelectedColor and mUnselectedColor are returning 0, 0, 0 |
| 17:39:00 | watusimoto | ok, well that's why! |
| 17:40:00 | raptor | well yes! |
| 17:40:00 | raptor | but why are they 0, 0, 0 when the menuitem is created with 1, 1, 1 |
| 17:41:00 | karamazovapy | watusimoto - you see that we can rate maps now? |
| 17:41:00 | watusimoto | hadn't seen that |
| 17:42:00 | watusimoto | I installed the mod, but saw no change |
| 17:42:00 | karamazovapy | we needed to clear the forum cache and adjust permissions |
| 17:42:00 | watusimoto | I really want an in-game map rating system |
| 17:42:00 | watusimoto | can you do that, or do I need to? |
| 17:42:00 | karamazovapy | oh - it's fixed for the forums |
| 17:42:00 | watusimoto | ah, I see |
| 17:42:00 | watusimoto | missed the "ed" |
| 17:43:00 | karamazovapy | but if you want in-game, maybe we could coordinate the thread evaluation data |
| 17:44:00 | karamazovapy | http://bitfighter.org/forums/viewtopic.php?f=20&t=745 |
| 17:46:00 | raptor | hahaha |
| 17:46:00 | karamazovapy | ? |
| 17:46:00 | raptor | one more test to see if i'm right about the menu color issue in linux... |
| 17:53:00 | raptor | rats, my theory was wrong |
| 17:54:00 | raptor | watusimoto: so changing: mUnselectedColor = white; |
| 17:54:00 | raptor | to: mUnselectedColor = Color(1,1,1); |
| 17:54:00 | raptor | in the constructor fixes the problem |
| 17:56:00 | watusimoto | interesting |
| 17:56:00 | watusimoto | what's white defined as? |
| 17:56:00 | raptor | static const Color white = Color(1,1,1); |
| 17:56:00 | watusimoto | in the same file? |
| 17:56:00 | raptor | in UI.h |
| 17:57:00 | watusimoto | try removing the static modifier |
| 17:57:00 | raptor | no go |
| 17:57:00 | raptor | i am doing complete recompiles each time - just to make sure, FYI |
| 18:00:00 | raptor | i added the include UI.h directly UIMenuItems.h (where the constructor is) and |
| 18:00:00 | raptor | it didn't work |
| 18:00:00 | raptor | i also added extern const Color white; to the UIMenuItems.h |
| 18:00:00 | raptor | didn't work |
| 18:02:00 | watusimoto | try defining it in the same file |
| 18:02:00 | watusimoto | it must be a gcc/vc++ compile difference |
| 18:02:00 | watusimoto | you only need extern if you are getting compile errors |
| 18:03:00 | raptor | except mac compiles with gcc |
| 18:03:00 | raptor | and it works fine |
| 18:03:00 | raptor | although it is a different version of GCC |
| 18:05:00 | watusimoto | try putting a Color white; above the header; or try logprintfing white in the constructor |
| 18:06:00 | raptor | white above the header doesn't work |
| 18:06:00 | raptor | i think i may move the constructor into the cpp file next.. |
| 18:06:00 | watusimoto | oh, good idea |
| 18:06:00 | watusimoto | it should be there anyway |
| 18:07:00 | watusimoto | sometimes I'm too lazy |
| 18:07:00 | watusimoto | I didn't realize it was in the header |
| 18:09:00 | raptor | ha! still fails |
| 18:09:00 | watusimoto | try the suggestions I made earlier in the cpp file |
| 18:09:00 | raptor | good idea |
| 18:10:00 | | BitfighterLogBot - Commit 0eec31e7e3fa | Author: buckyballreaction | Log: move constructor into cpp |
| 18:12:00 | raptor | wow, nothing still works... |
| 18:14:00 | watusimoto | even defining white locally? |
| 18:17:00 | raptor | defining it within the constructor like this: Color whitetest = Color(1,1,1); |
| 18:18:00 | raptor | mUnselectedColor = whitetest; |
| 18:18:00 | raptor | works |
| 18:18:00 | watusimoto | how about outside the constructor? |
| 18:18:00 | raptor | nope |
| 18:18:00 | watusimoto | that's messed up |
| 18:18:00 | raptor | yep |
| 18:18:00 | watusimoto | and unfortunate |
| 18:18:00 | watusimoto | I was hoping to move to a future where most colors would be named |
| 18:19:00 | watusimoto | makes for more readable code |
| 18:19:00 | raptor | well, it does work |
| 18:19:00 | raptor | because all other menuitems are instantiated correctly |
| 18:19:00 | raptor | just not the main menu |
| 18:19:00 | watusimoto | colors may be supplied for the other ones |
| 18:20:00 | watusimoto | the defaults may not actully get used |
| 18:22:00 | raptor | nope, defaults are used for the host game menu |
| 18:22:00 | raptor | and it works ok |
| 19:12:00 | raptor | c++ initialization order of individual compilation units is UNDEFINED |
| 19:12:00 | raptor | the static const Color white = Color(1,1,1); isn't initialized by the time the menu is created, I think |
| 19:21:00 | watusimoto | that's odd |
| 19:21:00 | watusimoto | so how can we force it to be intialized? |
| 19:21:00 | raptor | http://stackoverflow.com/questions/2605520/c-where-to-initialize-static-const |
| 19:22:00 | raptor | needs to be done in a compilation unit |
| 19:22:00 | raptor | so not a header |
| 19:22:00 | raptor | testing that now... |
| 19:23:00 | watusimoto | compilation unit being euphimism for .cpp file? |
| 19:23:00 | raptor | yeah |
| 19:23:00 | raptor | i wish they'd use layman's terms sometimes.. |
| 19:23:00 | watusimoto | well, now we know |
| 19:23:00 | watusimoto | we can confuse others with our advanced lingo |
| 19:24:00 | raptor | yes and feign intelligence on the matter |
| 19:25:00 | watusimoto | once we get that going, we should convert to passing colors by reference |
| 19:26:00 | watusimoto | so we don't go through an object copy when we pass a color |
| 19:26:00 | watusimoto | not that it's a huge thing |
| 19:31:00 | raptor | i can't seem to be able to get it compiled within the Zap namespace |
| 19:35:00 | raptor | i may need to do a new class: 'Colors' |
| 19:35:00 | raptor | or something |
| 19:35:00 | watusimoto | do you need to declare it in the header? |
| 19:35:00 | watusimoto | but define it in the cpp? |
| 19:36:00 | raptor | yep |
| 19:36:00 | raptor | let me try... |
| 19:40:00 | | koda has joined |
| 20:15:00 | raptor | it works! |
| 20:15:00 | watusimoto | great! |
| 20:15:00 | raptor | I put the relevant colors into a Colors class and then used the static values within |
| 20:17:00 | raptor | wow vc++ project files are way easy to edit compared to Xcode |
| 20:19:00 | watusimoto | so do we need to do Colors.white? |
| 20:19:00 | raptor | Colors::white; |
| 20:20:00 | raptor | i hope that is ok |
| 20:20:00 | watusimoto | I guess that's not horrible |
| 20:20:00 | watusimoto | especially if we can be consistent throughtout the app |
| 20:20:00 | raptor | I already changed it everywhere :) |
| 20:20:00 | raptor | about to commit... |
| 20:20:00 | watusimoto | how many places do/did we define white? |
| 20:21:00 | raptor | a few dozen |
| 20:21:00 | watusimoto | now only one? |
| 20:21:00 | raptor | oh wait |
| 20:21:00 | raptor | sorry i answered the wrong Q |
| 20:21:00 | raptor | white is defined once in Colors.cpp |
| 20:23:00 | raptor | then you can just call it anywhere by saying Colors::white |
| 20:23:00 | raptor | is that what you mean? |
| 20:23:00 | raptor | const Color Colors::white = Color(1,1,1); |
| 20:23:00 | raptor | is only there once |
| 20:23:00 | watusimoto | right |
| 20:23:00 | watusimoto | but I think some colors are currently defined in sevarl places |
| 20:23:00 | raptor | oh yes |
| 20:23:00 | raptor | i saw tons |
| 20:24:00 | raptor | of Color(1,1,1) |
| 20:24:00 | raptor | haven't changed those yet... |
| 20:24:00 | watusimoto | that's not what I meant; but it looks like I already got rid of a lot of these dupe definitions |
| 20:24:00 | raptor | oh |
| 20:24:00 | raptor | i guess i'm not following then |
| 20:25:00 | watusimoto | gameObjectRenderer.cpp 549 |
| 20:25:00 | watusimoto | it's the only other one I found |
| 20:25:00 | raptor | ohhhhhh |
| 20:26:00 | watusimoto | I used to haev white defined in many places |
| 20:26:00 | watusimoto | yellow, blue, black, red, gree, cyan, magenta, etc. |
| 20:27:00 | raptor | i'll doa quick search and fix any i find, too |
| 20:39:00 | | sam686 has joined |
| 20:39:00 | | ChanServ sets mode +v sam686 |
| 20:44:00 | raptor | yay for regular expressions |
| 20:45:00 | raptor | i'm cleaning up lots of these declared Colors for which we have a constant |
| 20:49:00 | raptor | it's lovely: Color\s*\(\s*\d*[.\d]*\s*,\s*\d*[.\d]*\s*,\s*\d*[.\d]*\s*\) |
| 20:49:00 | watusimoto | great! |
| 21:17:00 | raptor | well i did a huge clean-up and now bouncer is black... |
| 21:17:00 | watusimoto | was it gone? |
| 21:18:00 | watusimoto | oh, black |
| 21:18:00 | raptor | :) |
| 21:18:00 | watusimoto | stealthy |
| 21:32:00 | raptor | oh man: menus are black again |
| 21:34:00 | raptor | ok, i solved it: I put the Colors.cpp class as the last one to compile |
| 21:34:00 | raptor | which seems stupid |
| 21:35:00 | sam686 | maybe raptor have a buggy version of gcc compiler? |
| 21:35:00 | raptor | it has to do with linking order |
| 21:36:00 | raptor | as long as the object file for the Colors is last, all colors work |
| 21:36:00 | raptor | how goofy is that? |
| 21:36:00 | sam686 | yes, that must be a buggy gcc? |
| 21:38:00 | sam686 | the black text in menu doesn't happen to me on both windows + visual 2008 and my linux (ubuntu) version, but i haven't tested linux with latest repository.. |
| 21:43:00 | raptor | 'static const' is such a headache with gcc |
| 21:46:00 | sam686 | i am getting compile error in linux for latest repository - http://96.2.123.136/upload/linux_ubuntu_error1.txt |
| 21:47:00 | raptor | http://stackoverflow.com/questions/2373859/c-static-const-and-initialization-is-there-a-fiasco |
| 21:47:00 | raptor | i fixed that |
| 21:47:00 | raptor | oh, oops |
| 21:47:00 | raptor | no i didn't |
| 21:47:00 | sam686 | fix, but not yet commited / pushed? |
| 21:47:00 | raptor | let me fix it.. |
| 21:47:00 | raptor | i fixed a similar one.. |
| 21:48:00 | sam686 | this might be just a missing ogg/ogg.h ? |
| 21:48:00 | raptor | ok, should be fixed |
| 21:50:00 | | BitfighterLogBot - Commit 12feeda3e258 | Author: buckyballreaction | Log: fix missing include again |
| 21:55:00 | raptor | well, i suppose it's good that c++ has most of these problems: they blazed the trail for newer languages to get them working better |
| 21:58:00 | raptor | sometimes i wish gcc would be a little less strict.. |
| 22:00:00 | sam686 | i am now getting some linker error in linux: /usr/bin/ld: cannot find -lspeex |
| 22:00:00 | raptor | can you show me the lines? |
| 22:00:00 | raptor | oh haha |
| 22:00:00 | raptor | that's because you don't have libspeex installed in the system |
| 22:02:00 | sam686 | well then how to install speex? |
| 22:02:00 | raptor | apt-get speex? |
| 22:02:00 | raptor | or something like that on ubuntu |
| 22:06:00 | sam686 | i did a apt-get install speex, it appear to install, but i still get the same error compiling bitfighter.. |
| 22:08:00 | raptor | apt-get libspeex? |
| 22:08:00 | raptor | ubuntu doesn't have very good dependency resolution sometimes |
| 22:08:00 | raptor | oh |
| 22:08:00 | raptor | maybe libspeex-dev |
| 22:08:00 | raptor | is what you need |
| 22:08:00 | raptor | or speex-dev |
| 22:08:00 | sam686 | i get "couldn't find libspeex" |
| 22:09:00 | sam686 | libspeex-def seem to got installed, but i still get the same error.. |
| 22:10:00 | raptor | so teh -l flag in gcc looks for the .so file in /usr/lib |
| 22:18:00 | sam686 | the error i am getting now is missing -lvorbis |
| 22:22:00 | raptor | hooray! |
| 22:22:00 | raptor | so you need vorbis-dev |
| 22:23:00 | raptor | or libvorbis-dev |
| 22:27:00 | sam686 | i am getting tons of linker errors - http://96.2.123.136/upload/linux_ubuntu_error2.txt i will try full rebuild/// |
| 22:27:00 | raptor | oh wow |
| 22:27:00 | raptor | it may be that watusimoto's new gameobject architecture has problems with older compilers |
| 22:30:00 | sam686 | using gcc --version i get gcc (Ubuntu 4.4.3-4ubuntu5) 4.4.3 |
| 22:30:00 | raptor | that's pretty new |
| 22:30:00 | raptor | i'm on 4.5.1 |
| 22:38:00 | sam686 | ok, rebuild fixed link errors, there no more compile errors, but linux may need libvorbis-dev libspeex-dev.. |
| 22:38:00 | raptor | yes |
| 22:38:00 | raptor | that is done on purpose for now... |
| 22:39:00 | raptor | because most linux distros are highly shared-library oriented |
| 22:39:00 | raptor | we could build in those statically if needed |
| 22:39:00 | sam686 | well, i see the black menu problem showing up in lyu minux, but not windows.. |
| 22:39:00 | raptor | ah ha!!! |
| 22:39:00 | raptor | ah ha! ah ha! ah ha! |
| 22:40:00 | sam686 | black text in menu in linux, but not windows... |
| 22:41:00 | raptor | ok, I have a big commit coming up... |
| 22:47:00 | | sam686 Quit (Quit: "i may be back in a few hours..") |
| 22:49:00 | raptor | ok here goes... |
| 22:51:00 | | BitfighterLogBot - Commit 05d05458f433 | Author: buckyballreaction | Log: Pulled out common colors into their own class - created Colors class - replaced local Color declarations in many classes with the common ones - minor clean-up - NOTE: Color.cpp should be compiled and link last in class order. Colors won't show up in-game unless you do this. It has something to do with static declarations |
| 23:00:00 | raptor | yeah, so linking was the problem |
| 23:00:00 | raptor | but it was good to do the Colors refactor anyways |
| 23:10:00 | watusimoto | yes |
| 23:16:00 | | koda Quit (Quit: k thx bai) |
| 23:29:00 | | raptor Quit (Remote host closed the connection) |
| 23:47:00 | | raptor has joined |
| 23:47:00 | | ChanServ sets mode +o raptor |