#bitfighter IRC Log

Index Search ←Prev date Next date→

IRC Log for 2012-03-19

Timestamps are in GMT/BST.

00:26:47Flynnn Quit (Quit: This computer has gone to sleep)
00:35:37koda Quit (Quit: koda)
00:38:45Flynnn has joined
00:43:47zoomber_mbp has joined
00:52:31raptorok, SDL2 works much better on mac, but i need to figure out how to add back the shortcut keys to the menu
00:55:07BFLogBot - Commit f7f888ab15ec | Author: buckyballreaction | Log: Fix minor compile warning. Something about initialization out-of-order
01:11:56Watusimotoif it's not a mac specific problem, spell it out and I'll have a look on windows
01:11:58Watusimotogood night
01:12:09raptorit's mac-specific
01:12:11raptorgood night
01:14:13zoomber_mbp Quit (Ping timeout: 252 seconds)
01:17:24Watusimoto Quit (Ping timeout: 252 seconds)
01:23:04zoomber_mbp has joined
01:30:12BFLogBot - Commit 5be5c468709b | Author: buckyballreaction | Log: Add missing class to Xcode project
01:32:11zoomber_mbp Quit (Quit: zoomber_mbp)
01:48:43Flynnn Quit (Quit: This computer has gone to sleep)
02:15:44Flynnn has joined
02:28:09zoomber_mbp has joined
02:28:11zoomber_mbpyoyo
02:28:18raptorma
02:53:22zoomber_mbp Quit (Quit: zoomber_mbp)
04:08:05Flynnn Quit (Quit: This computer has gone to sleep)
04:12:32Flynnn has joined
04:44:26raptor Quit ()
05:12:05Flynnn Quit (Quit: This computer has gone to sleep)
07:26:15koda has joined
07:26:59koda Quit (Client Quit)
07:44:36Flynnn has joined
08:00:09sam686 Quit (Ping timeout: 245 seconds)
08:02:42sam686 has joined
08:02:53ChanServ sets mode +v sam686
09:01:06watusimoto has joined
09:01:06ChanServ sets mode +o watusimoto
09:18:29sam686 Quit (Ping timeout: 245 seconds)
10:13:01Flynnn Quit (Ping timeout: 246 seconds)
10:17:59Flynnn has joined
10:34:02Flynnn Quit (Quit: This computer has gone to sleep)
15:26:29raptor has joined
15:26:30ChanServ sets mode +o raptor
15:26:38raptorgood morning!
16:46:44watusimotohi
16:46:50raptorhello
16:47:16raptori'm afraid I can't use SDL2 for Mac for 017 like I was hoping...
16:48:05raptorone technical issue is holding me back: how to use a custom Cocoa menu with SDL2
16:48:18raptorbecause it builds up its own menu with no shortcuts
16:51:24watusimotowhat does that mean?
16:51:36watusimotowe don't use cocoa menus, do we?
16:51:59raptorSDL2 now wraps (properly) the Mac Cocoa framework
16:52:04raptorso it's practically native
16:52:46raptorand originally, SDL 1.2 would use cocoa bindings to build up the menu with the shortucts (like command q)
16:53:23raptorbut it used the quartz window framwork
16:53:55raptorfor whatever reason, SDL 2 build up a really basic menu in comparison, and I can't figure out how to override it...
16:54:33watusimotowhere do these menus come into play? they're not in the game
16:54:53raptorremember all the mac users complaining that command+q wasn't working?
16:55:44raptorthose come from the mac menus - which are required for every application on mac
16:57:21watusimotoso this is when you are interacting with the app from the os level
16:57:27raptorcorrect
16:57:38watusimotowhy don't those keys happen automatically?
16:57:48watusimotowhy should we need to mess around with them at all?
16:58:19watusimotowe don't have to handle alt-tab, for example
16:58:24raptorbecause mac allows for every application to have custom menus
16:58:56raptorand the default is like a simple file menu with a quit option tied to no shortcut
16:59:08watusimotoyou wrote: it builds up its own menu
16:59:21watusimotowhat builds them up?
16:59:22raptorit = SDL, yes
16:59:22watusimotosdl?
16:59:38watusimotoand sdl ignores os conventions
16:59:43watusimoto?
17:00:02raptorwell.. to define 'convention' in this case means almost nothing at all
17:00:13raptorthe convention exists, but is not defaulted to by the OS
17:00:16watusimotocommand-q is a convention, no?
17:00:35watusimotoor is that something that all apps code in themselves?
17:00:40raptor^^ that
17:00:41raptorboth
17:00:52raptorit is a convention that the OS makes all apps code in themselves
17:00:53watusimotokind of like ctrl-a selects everything in the editor
17:01:12watusimotoit's a convention, but we code it
17:01:17watusimotoor not, at our discretion
17:01:20raptorhehe, yep
17:01:25watusimotobut when it's missing people squak
17:01:31raptoryep yep
17:01:34watusimotook
17:01:36watusimotoso
17:01:37raptorsquakety squake
17:02:02watusimotowhat do you recommend? do you think this is something sdl will fix, or are we stuck until we figure a way around it?
17:02:13raptorI think either:
17:02:16watusimotoi.e. is this an sdl bug, or just a design decision on their part
17:02:19raptor1. I will patch SDL myself
17:02:23watusimotofun!
17:02:44raptor2. I will find someone who knows how to include a custom menu file in SDL from a c++ project
17:02:48raptorand they will help me
17:03:39raptorbut i've had no luck on #2 yet, even with the all-powerful google
17:04:50raptor#1 will be a bit difficult - it is obj-c
17:05:06watusimotois this something that most(all) sdl apps will want?
17:05:10raptoryes
17:05:28watusimotoso you could make the patch and pass it upstream or file a bug and hope they do it
17:05:57watusimotowe can certainly do the 017 release without sdl2, so we have time
17:06:11raptoryeah, i figure that may be best...
17:06:29watusimotowant to file a bug report, then put sdl2 on ice?
17:07:03raptori've been asking on the #sdl channel about it...
17:07:26raptoroh and i found a ppc compile issue i posted to the mailing list
17:07:31raptorso i think ice is good for now
17:07:39watusimotook, suits me
17:08:10raptorit'll give me more time
17:08:43watusimotook, well I think there is a better than even chance we can get 017 wrapped up tonight
17:09:03raptoryes!!
17:09:36watusimotodid you ever settle on a sfx for panel destruction, or should I find one this evening?
17:09:45raptorno
17:09:51raptori couldn't make up my mind
17:09:55watusimoto:-)
17:10:07watusimotoI have the same problem
17:10:10watusimotook, I'll find one
17:11:20watusimotook, I'm heading out; I'll be on later and we can review the todo list and see what needs to be wrapped up
17:11:29raptorok cool
17:11:34raptori'll be here all day :)
17:11:35watusimotoor deferred
17:11:42watusimotohave fun!
17:11:49raptorlater
17:15:59watusimoto Quit (Ping timeout: 245 seconds)
17:16:37Flynnn has joined
17:36:36Watusimoto has joined
17:55:26LordDVG has joined
18:08:00raptorblech - i may have to somehow call an ObjC method from our c++ main()
18:08:53raptorthis is the closest i found to a solution, but i don't understand it fully yet: http://forums.libsdl.org/viewtopic.php?t=7279&sid=3e668a75606593e4308b67c5a4d7ee93
18:10:07raptorblech: http://stackoverflow.com/questions/525609/use-c-with-cocoa-instead-of-objective-c
18:22:58Watusimoto Quit (Ping timeout: 245 seconds)
18:46:34Flynnn Quit (Quit: This computer has gone to sleep)
18:50:29Flynnn has joined
19:23:35Watusimoto has joined
19:39:54Flynnn Quit (Ping timeout: 260 seconds)
19:46:00Flynnn has joined
19:54:17Watusimotohi
19:54:25raptorhello
20:01:56Watusimotogoing to try to fix this last paper bug
20:06:56raptoris that the error message one?
20:07:54Watusimoto Quit (Ping timeout: 260 seconds)
20:21:32Watusimoto has joined
20:28:08Watusimotofixed
20:29:04raptoryay
20:30:40raptorI'm trying to figure out how to call a Cocoa ObjC method from out main.cpp... so far failing miserably
20:32:53raptorso... does this mean we can release?
20:33:25raptoroh wait.. sound effect..
20:36:21WatusimotoI should also test a few more game timer scenarios, just to make sure I didn't screw anything up
20:36:35WatusimotoI'm hoping that cores will now rotate on unlim time games
20:37:04BFLogBot - Commit 3a932da56cee | Author: watusim...@bitfighter.org | Log: Trap untrapped error message
20:37:06BFLogBot - Commit 60adc89b80d7 | Author: watusim...@bitfighter.org | Log: Merge
20:38:34Watusimotothey do!
20:39:13raptorwhat
20:39:15raptorreally!?
20:39:37raptordid you program a new game timer?
20:39:42raptorlike a server timer?
20:39:47Watusimotoyes; that was a side-effect of my fixes yesterday. Game timer continues to count down even when set to unlim
20:40:01Watusimotoso we can rely on the timer
20:40:09raptorgreat!
20:40:35raptoractual time synchonization - i would have never thought we'd get this far... :]
20:40:58raptoruh
20:41:13raptormaybe i need to clean compile TNL, too...
20:41:21Watusimotook, still a problem with nexus games when game is set to unlimited time in the level file; should be an easy fix
20:42:08BFLogBot - Commit 7cf052a7479a | Author: watusim...@bitfighter.org | Log: whitespace
20:42:32raptorok, i just did /settime 0 in a Core game and all the Cores stopped rotating
20:42:38Watusimotolooks like an easy fix
20:42:44Watusimotoreally?
20:42:50Watusimotonot for me
20:42:51raptoryeah, through hosting a game
20:43:00danger89 has joined
20:43:09WatusimotoI hosted via test; should make no difference
20:43:23Watusimotohello danger
20:43:26raptori did clean compile of tnl and zap, just to make sure
20:43:28danger89hi
20:43:38danger89I dont know who are the devs in this IRC
20:43:42Watusimotoa dutchman in our midst
20:43:46raptorme neither
20:43:50danger89however try to compile bitfighter from source under GNU/Linux
20:43:58danger89dat klopt, hallo
20:44:03raptoruhh... i guess that's me then
20:44:22Watusimotothe only dutch I understand is that which I can translate to german
20:44:25raptordanger89: what distribution + version are you running?
20:44:34Watusimotoand then it needs ot be german I understnad, limiting it somewhat
20:44:50danger89well 'you' should add readline to the dependencies of bitfighter
20:45:04Watusimotoah yes, the secret dependency
20:45:10raptorthat's for lua, right?
20:45:15WatusimotoI think so
20:45:27Watusimotothough we don't actually use it
20:45:32raptorbecause we sure don't use it with our reinvention of tab-completion..
20:45:34Watusimotoor the part of lua that uses it
20:45:37danger89gcc -O2 -Wall -DLUA_USE_LINUX -c -o lua.o lua.c
20:45:37danger89In file included from lua.h:17:0,
20:45:37danger89 from lua.c:15:
20:45:37danger89luaconf.h:275:31: fatale fout: readline/readline.h
20:45:40danger89seems to be yes
20:45:42Watusimotobut it is needed
20:45:50danger89exactly
20:45:55danger89I got it installed, no problem
20:45:59danger89but just FYI
20:46:10danger89add it to the readme or sth
20:46:17Watusimotowait... did you actually read some documentation?
20:46:23raptordanger89: what distro are you on?
20:47:05danger89just Ubuntu based
20:47:07danger89Linux Mint
20:47:15danger8964bit
20:47:16danger89with awesome window manager
20:47:28raptordid ubuntu not package bitfighter yet?!?
20:47:45WatusimotoI gave up on them
20:47:53raptorwhat!>?
20:47:55WatusimotoI can't run it on my mint either
20:48:17Watusimotolet's check
20:48:19danger89raptor: ahha it is packed for Ubuntu
20:48:35WatusimotoVersion: 0.0.016-1~getdeb2
20:48:36danger89but I found it a pain in the ass to grap the deb
20:48:42danger89stupid getdeb
20:49:05Watusimotolooks like it finally got done
20:49:05Watusimotohttp://www.playdeb.net/updates/ubuntu/11.10/?q=bitfighter
20:49:05raptorwell, they'll get to lag behind again soon enough... :)
20:49:10Watusimotoif you care
20:49:32danger89will the be a make install soon
20:49:35WatusimotoI talked to the guy doing that site... he seems overwhelmed
20:49:36danger89?*
20:49:51raptori bet
20:49:56Watusimotohe does all the packaging manually
20:50:09raptor'make install' does not exist...
20:50:12Watusimotoor at least parts of it
20:50:23Watusimotoso danger, what docs did you read?
20:50:29Watusimotoi.e. where do we need to update?
20:50:31raptoryou can just copy the resource/* into the exe/ folder
20:50:52Watusimotoupdated 2012-02-25
20:51:19raptorpoor guy
20:51:34raptori bet he'll get burnt out soon unless others help him
20:51:42danger89Watusimoto: uhm you can add the readline dep to the README.txt
20:52:02Watusimotooh... the readme
20:52:07danger89yep
20:52:09WatusimotoI'm kind of scared to look
20:52:12Watusimototo be honest
20:52:27Watusimotoone of the players rewrote it about 2 years ago
20:53:00danger89off-topic README.txt shouldnt have an extension xD
20:53:02raptori know i rewrote some doc somewhere, once
20:53:15raptordanger89: we run on windows and Mac, too
20:53:18Watusimotoread.me? :-)
20:53:26danger89well thanks to the LAS, they named your game. That is how I found you
20:53:33WatusimotoLAS?
20:53:39danger89Linux Action Show ;)
20:53:51danger89Watusimoto: no extension, just README
20:54:00WatusimotoI need to see what this is...
20:54:06raptorhttp://www.jupiterbroadcasting.com/tag/linux-action-show/
20:54:53Watusimotoit's a video!
20:55:02Watusimotogoogle suggests this episode
20:55:04Watusimotohttp://www.jupiterbroadcasting.com/18071/bryan-hates-freedom-las-s21e01/
20:55:29danger89yes :P
20:55:49Watusimotosponsored by godaddy! My favorite!
20:55:58danger89that about freedom is about the previous episode with Richard Stallman
20:56:09danger89but ok
20:56:22danger89just check LAS :P
20:56:23danger89http://git.kernel.org/?p=linux/kernel/git/stable/linux-stable.git;a=tree;h=c16fa4f2ad19908a47c63d8fa436a1178438c7e7;hb=c16fa4f2ad19908a47c63d8fa436a1178438c7e7
20:56:31danger89you see how they use the README :P?
20:56:34WatusimotoI always though richard stallman was thinner
20:56:45danger89you though wrong xD
20:57:17danger89Linus is maybe
20:57:44raptorit's around 9:30
20:57:59Watusimotojust found it
20:58:09WatusimotoI was very wrong, apparently
20:58:32raptorhey look, you're the only player
21:00:01raptorinteresting...
21:00:15Watusimotothat's awesome!
21:00:28WatusimotoI was on there twice by the end of the episode
21:00:32raptorhaha, yeah
21:01:01danger89so.. :P
21:01:15danger89i try to play it too now ahah
21:02:02Watusimoto Quit (Read error: Connection reset by peer)
21:02:19LordDVG Quit (Remote host closed the connection)
21:03:19Watusimoto has joined
21:03:48raptori like that were not really ships, but triangles
21:03:58Watusimotothey even used my robotron line
21:04:05Watusimotowhich is in fact a total lie
21:04:09Watusimotobut it is spreading
21:04:17raptordoes this mean we can put it on wikipedia?
21:04:26Watusimotonow we have two sources
21:04:39Watusimotothey'll still remove the article
21:05:08Watusimotobut maybe worth another try, especially if we still have the old one around
21:05:52raptori forgot i have to take off in 45 min for about 1.5 hours today
21:05:59raptori'll look at that readme..
21:07:07Watusimotothis is what I thought stallman looked like:
21:07:08Watusimotohttp://upload.wikimedia.org/wikipedia/commons/thumb/f/f2/HowardStern2000.jpg/220px-HowardStern2000.jpg
21:07:12Watusimotobut with a beard
21:07:18raptorhahaha
21:07:24Watusimotoand maybe no shades
21:10:00raptorok, updated readme
21:10:08raptorI did rewrite the whole thing for 016
21:12:10Watusimotogreat, thanks
21:12:13BFLogBot - Commit 5dbd149219d5 | Author: buckyballreaction | Log: Update readme for hidden linux dependencies
21:14:41raptormade another small change...
21:15:55Flynnn Quit (Quit: This computer has gone to sleep)
21:17:11Flynnn has joined
21:17:15BFLogBot - Commit abfde3010081 | Author: buckyballreaction | Log: Another readme update for clarity
21:18:24LoneWolfy has joined
21:24:50Watusimotooh, one side effect of all this timer work is that unlimited games now only last 24 days
21:25:06Watusimotojust as a bit of trivia
21:25:30Watusimoto2^31 ms
21:25:45raptorexcept
21:25:55raptorcore is still stationary for me...
21:31:14Watusimotofound one use case that's unravelling everything else
21:31:24Watusimotobut core WILL work
21:31:30Watusimotoif it doesn't already
21:38:30Flynnn Quit (Ping timeout: 272 seconds)
21:42:40raptorwhoa, it works
21:42:56Flynnn has joined
21:44:20raptorcool
21:46:29LoneWolfy Quit (Ping timeout: 260 seconds)
21:56:05Watusimotoit was probably your readme fix
21:56:17raptorhaha
21:56:30raptor(it was actually because I forgot to re-link tnl...)
21:58:02raptorok, i'm heading out for about 1.5 hours...
21:58:38raptor Quit ()
22:00:26Watusimotolater
22:43:40koda has joined
22:46:09LoneWolfy has joined
22:48:15Flynnn Quit (Quit: Leaving)
23:07:24BFLogBot - Commit bcfad35cda00 | Author: watusim...@bitfighter.org | Log: I am so freakin' sick of this timer issue
23:07:26BFLogBot - Commit 1aa61009fc8d | Author: watusim...@bitfighter.org | Log: Merge
23:17:35raptor has joined
23:17:35ChanServ sets mode +o raptor
23:17:41raptorok back
23:18:24raptortimer issue over with?
23:25:57raptorafter you /settime 0 now, every 2 rotations the Core skips a few degrees
23:26:10raptormust be a rounding issue..
23:39:48raptorhi koda
23:40:30kodahey there raptor
23:40:42raptorObjc question for you if you have time - have you ever called a Cocoa class from c++?
23:41:47raptorspecifically, I am trying to do this: http://forums.libsdl.org/viewtopic.php?t=7279&sid=3e668a75606593e4308b67c5a4d7ee93
23:42:46kodayes
23:42:56kodait's doable
23:43:03kodayou need to create virtual c++ class
23:43:12kodaand implement the methods in a .mm file
23:43:18kodaobjc with c++ syntax
23:44:01raptori need to call [NSApplication sharedApplication] but my main is in c++
23:44:21raptori've been reading the mac docs on objc slowly...
23:44:30raptortrying to get used to the syntax
23:44:43kodayou need to call that only to get the reference to the application instance
23:44:49kodaso that you can call nsmenus on it
23:44:56kodai suggest that you read this http://el-tramo.be/blog/mixing-cocoa-and-qt/
23:45:03kodait was enlightening for me
23:45:11koda(aka i shamelessy copied)
23:45:13koda:D
23:45:16raptorhehe, great!
23:45:18raptorthanks
23:45:42kodayou can create a method of that virtual class that does everything for you before sdl_init
23:45:54raptorexcellent
23:46:06LoneWolfy Quit (Read error: Connection reset by peer)
23:46:11LoneWolfy has joined
23:47:17raptorthanks a million!
23:48:52kodanp :)
23:49:06raptorgood job on getting accepted to GSOC again
23:49:14koda\o/
23:49:16kodathanks
23:51:39kodalet's hope it goes well like last year
23:52:02kodai wished we managed to get out a release before the start
23:56:48LoneWolfyGsoc?

Index Search ←Prev date Next date→

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