Timestamps are in GMT/BST.
| 00:27:00 | | raptor Quit (Remote host closed the connection) |
| 01:18:00 | | raptor has joined |
| 01:18:00 | | ChanServ sets mode +o raptor |
| 01:26:00 | raptor | i'm just glad i can compile trunk in linux again.. |
| 01:35:00 | | watusimoto Quit (Ping timeout: 240 seconds) |
| 02:44:00 | | BitfighterLogBot Quit (Ping timeout: 240 seconds) |
| 02:44:00 | | Disconnected. |
| 02:44:00 | | -barjavel.freenode.net- *** Looking up your hostname... |
| 02:44:00 | | -barjavel.freenode.net- *** Checking Ident |
| 02:44:00 | | -barjavel.freenode.net- *** Couldn't look up your hostname |
| 02:44:00 | | -barjavel.freenode.net- *** No Ident response |
| 02:44:00 | | BitfighterLogBot has joined |
| 02:44:00 | | Topic is 'Latest release 015a http://bitfighter.org | Forums: http://bitfighter.org/forums/ | GC Project: http://code.google.com/p/bitfighter/' |
| 02:44:00 | | Set by raptor!~raptor@unaffiliated/greenmachine on Sat Apr 30 22:51:58 PDT 2011 |
| 02:44:00 | | -ChanServ- [#bitfighter] Welcome to #bitfighter. This is an IRC channel, many or all of the users may not be paying attention. Please have patience when waiting for a response. |
| 04:40:00 | raptor | ok, i'm putting actual effort into trying ot solve the black menu problem in linux.. |
| 04:44:00 | sam686 | as for black menu problem, it is most likely a problem in the MenuItem::render (UIMenuItems.cpp line 49) |
| 05:13:00 | raptor | this is crazy - i can't find any anomaly anywhere |
| 05:13:00 | raptor | UIMenus.cpp:600 is where the items are set up |
| 05:13:00 | raptor | the dfault constructor sets them to white color |
| 05:14:00 | raptor | and i see no place where it is changed |
| 05:14:00 | raptor | i'm gonna sleep on it.. |
| 05:14:00 | sam686 | maybe menu get crated in different constructor? |
| 05:14:00 | | raptor Quit (Remote host closed the connection) |
| 05:17:00 | | watusimoto has joined |
| 08:09:00 | | watusimoto Quit (Read error: Connection reset by peer) |
| 08:12:00 | | watusimoto has joined |
| 08:15:00 | | watusimoto Quit (Read error: Connection reset by peer) |
| 08:16:00 | | watusimoto has joined |
| 14:56:00 | | raptor has joined |
| 14:56:00 | | ChanServ sets mode +o raptor |
| 14:56:00 | raptor | good morning! |
| 15:44:00 | watusimoto | yuck! |
| 15:44:00 | watusimoto | const Vector<EditorObject *> *objList = ((EditorObjectDatabase *)gEditorGame->getGridDatabase())->getObjectList(); |
| 15:57:00 | raptor | const? |
| 16:08:00 | raptor | casting craziness? |
| 16:11:00 | raptor | pointer madness |
| 17:42:00 | watusimoto | that's what's replacing mItems |
| 17:42:00 | raptor | wow |
| 17:43:00 | watusimoto | items are stored in the database, so mItems isn't needed |
| 17:43:00 | watusimoto | but to improve performance, I created this getObjectList method that returns a const pointer to a database-maintained list of objects |
| 17:44:00 | watusimoto | but to avoid having to cast each object every time you use it, I wanted a method that could keep them as EditorObjects, not just DatabaseObjects |
| 17:45:00 | watusimoto | but EditorObjects are only needed by the EditorGame, never by ClientGame or ServerGame |
| 17:45:00 | watusimoto | so I created an EditorObjectDatabase that extended GridDatabase |
| 17:45:00 | watusimoto | and overrode the getGridDatabase method of game to return that EOD |
| 17:45:00 | raptor | is it actually a separate database? or just a class extension |
| 17:45:00 | watusimoto | extension |
| 17:46:00 | raptor | ah ok |
| 17:46:00 | watusimoto | just adds a couple of methods |
| 17:46:00 | raptor | cool |
| 17:46:00 | watusimoto | but you need to cast the database returned by getGridDB() to an EOD, then I created a pointer *objList so access was less cumbersome |
| 17:47:00 | watusimoto | and it all has to be const so you don't screw up the list without telling the database |
| 17:47:00 | watusimoto | and hence that ugly line was born |
| 17:47:00 | raptor | haha |
| 17:47:00 | watusimoto | Maybe we can find some way to simplify it |
| 17:48:00 | watusimoto | but even if we do, the overall structure is going to stay the way it is |
| 17:49:00 | raptor | have you run into many problems since my shared_ptr check-in? |
| 18:17:00 | watusimoto | not many |
| 18:17:00 | watusimoto | just looked at the playing graphs |
| 18:17:00 | watusimoto | there's a spike every 7 days |
| 18:18:00 | raptor | oh |
| 18:18:00 | raptor | there is an update to graph2.php |
| 18:18:00 | raptor | and the gamereports/index.php |
| 18:19:00 | raptor | the gamereports/index.php now saves your filter criteria when you submit |
| 18:19:00 | raptor | i put both on the game server in the usual spot |
| 19:25:00 | watusimoto | didn't know this: |
| 19:25:00 | watusimoto | int myints[] = {16,2,77,29}; |
| 19:25:00 | watusimoto | vector<int> fifth (myints, myints + sizeof(myints) / sizeof(int) ); |
| 19:25:00 | watusimoto | can init a vector directly from an array |
| 19:25:00 | raptor | neat |
| 19:26:00 | watusimoto | wonder if that could be helpful with the recast stuff, where we're always repackaging stuff |
| 19:27:00 | watusimoto | also |
| 19:27:00 | watusimoto | int myints[] = {1776,7,4}; |
| 19:27:00 | watusimoto | third.assign (myints,myints+3); // assigning from array. |
| 19:28:00 | raptor | do you think we should move directly to vector instead of Vector? |
| 19:28:00 | raptor | or maybe implement the assign() in Vector |
| 19:54:00 | karamazovapy | question - does the /setserverpass command alter the .ini file? |
| 20:49:00 | | watusimoto Quit (Ping timeout: 260 seconds) |
| 21:17:00 | | watusimoto has joined |
| 21:20:00 | raptor | i don't know _k |
| 21:28:00 | watusimoto | @raptor -- aren't there things that Vector does that vector does not? |
| 21:28:00 | watusimoto | there's a reason we didn't move earlier |
| 21:28:00 | raptor | a couple: like provide the convenient address() |
| 21:28:00 | raptor | also in-place sorting |
| 21:29:00 | raptor | oh and i think we implemented a push_front() method, too |
| 21:29:00 | raptor | and eraseFast() |
| 21:29:00 | raptor | so never mind.. |
| 22:04:00 | watusimoto | I hope to have mItems gone tonight, FYI |
| 22:05:00 | raptor | sweet! |
| 22:05:00 | raptor | i've been trying to solve why the main menu in linux is black text |
| 22:06:00 | raptor | been going through all of your revisions, and i haven't found anything to suggest why the text isn't white |
| 22:07:00 | raptor | because each MenuItem is constructed as white |
| 23:20:00 | | raptor Quit (Remote host closed the connection) |
| 23:44:00 | | Zoomber has joined |