Timestamps are in GMT/BST.
| 01:12:00 | | sam686 has joined |
| 01:12:00 | | ChanServ sets mode +v sam686 |
| 01:31:00 | | watusimoto Quit (Ping timeout: 248 seconds) |
| 01:38:00 | | raptor Quit (Remote host closed the connection) |
| 02:37:00 | | sam686 Quit (Quit: .) |
| 03:35:00 | | raptor has joined |
| 03:35:00 | | ChanServ sets mode +o raptor |
| 05:12:00 | | raptor Quit (Remote host closed the connection) |
| 05:19:00 | | Zoomber has joined |
| 05:19:00 | | Zoomber Quit (Client Quit) |
| 11:59:00 | | sam686 has joined |
| 11:59:00 | | ChanServ sets mode +v sam686 |
| 14:12:00 | | raptor has joined |
| 14:12:00 | | ChanServ sets mode +o raptor |
| 14:31:00 | | raptor Quit (Remote host closed the connection) |
| 14:40:00 | | watusimoto has joined |
| 15:32:00 | | raptor has joined |
| 15:32:00 | | ChanServ sets mode +o raptor |
| 15:32:00 | raptor | good morning! |
| 15:37:00 | watusimoto | hi |
| 15:39:00 | sam686 | hi |
| 15:39:00 | raptor | i'm on vacation next week so I may be sparse at that time |
| 15:40:00 | watusimoto | have fun! |
| 15:41:00 | raptor | i'm a bit reluctant to start the SDL migration - because I see it as a point of no return |
| 15:41:00 | watusimoto | going away? |
| 15:41:00 | raptor | yeah, leaving town for a week |
| 15:45:00 | watusimoto | great |
| 15:45:00 | watusimoto | fun |
| 15:52:00 | raptor | so yeah - SDL |
| 15:52:00 | raptor | any way to split up the work? |
| 15:53:00 | raptor | because it sounds like a lot |
| 15:53:00 | raptor | but i may be mistaken - since you did say that you have a lot of code in there already |
| 15:54:00 | watusimoto | yes -- I had it nominally working at one point, and most of that code is still there |
| 15:55:00 | watusimoto | not fully working, but at least somewhat working |
| 15:55:00 | raptor | what stopped you from continuing at the time, again? |
| 15:55:00 | watusimoto | I'm not sure, really |
| 15:55:00 | watusimoto | it wasn't a technical hurdle |
| 15:55:00 | watusimoto | I think it was uncertainty if that was what I wanted to do |
| 15:55:00 | raptor | ok |
| 15:55:00 | raptor | well we do want to do it now, right? |
| 15:56:00 | raptor | especially with greater key control |
| 15:56:00 | watusimoto | It was always a project for the future, and I wanted to see if it would work |
| 15:56:00 | watusimoto | yes, we want to |
| 15:56:00 | watusimoto | better key control, perhaps better joystick system |
| 15:56:00 | watusimoto | mouse wheel |
| 15:57:00 | watusimoto | (though we can get that from freeglut) |
| 15:57:00 | watusimoto | middle mouse button |
| 15:57:00 | raptor | i've been doing research into cross-platform frameworks, and it seems that QT is really the most versatile |
| 15:57:00 | raptor | but it is HUGE compared to SDL |
| 15:58:00 | watusimoto | most of what it does we don't need |
| 15:58:00 | raptor | exactly |
| 15:58:00 | watusimoto | unless we want to add regular menus to the editor |
| 15:58:00 | watusimoto | which would be nice in a way |
| 15:58:00 | raptor | I'm just trying to be thorough |
| 15:58:00 | watusimoto | but would break the current look and feel |
| 15:58:00 | watusimoto | good, I appreciate that |
| 16:00:00 | watusimoto | I'm having a hard time with these walls in the editor |
| 16:00:00 | watusimoto | they're driving me bonkers |
| 16:00:00 | raptor | reinventing the wheel? |
| 16:01:00 | raptor | (because of the new arch.) |
| 16:01:00 | watusimoto | no, just fixing it |
| 16:01:00 | watusimoto | they work fine when you interact with them |
| 16:01:00 | watusimoto | it's just the loading |
| 16:01:00 | watusimoto | something is wrong |
| 16:01:00 | raptor | i noticed that the toString for barriers is 'BarrierMaker' |
| 16:01:00 | watusimoto | it looks like loading does exactly the same thing as does creating one |
| 16:01:00 | raptor | and it tries to create an object with that name |
| 16:01:00 | watusimoto | but it produces a different result |
| 16:01:00 | watusimoto | yes -- but that is fixed |
| 16:01:00 | raptor | oh ok |
| 16:02:00 | watusimoto | on my version |
| 16:02:00 | watusimoto | I neglected to override the processing of what I call "psuedo items" |
| 16:02:00 | watusimoto | those are handled differently in the editor compared to the game |
| 16:02:00 | watusimoto | walls, spawns, asteroidspawns, etc. |
| 16:02:00 | watusimoto | those are the pseudoitems |
| 16:03:00 | watusimoto | things that need to be transformed into other things |
| 16:03:00 | watusimoto | walls get transformed into wallsegments that are actually used ingame |
| 16:03:00 | watusimoto | spawns etc. aren't actually items in the game, just pointers to the server of where to put stuff |
| 16:03:00 | watusimoto | but they need to be items in the editor |
| 16:03:00 | watusimoto | hence the different code |
| 16:03:00 | raptor | ah |
| 16:04:00 | watusimoto | so I just need to figure out why the walls disappear when loaded |
| 16:05:00 | raptor | in an editor game |
| 16:05:00 | watusimoto | I think I'm clearing the wall database somewhere |
| 16:05:00 | watusimoto | yes |
| 16:05:00 | watusimoto | when I add them manually, they work fine |
| 16:05:00 | raptor | what do you mean manually |
| 16:05:00 | watusimoto | everything works; merging, snapping, etc. |
| 16:05:00 | raptor | directly in the file |
| 16:05:00 | watusimoto | in the editor with right-click |
| 16:05:00 | raptor | ah ok |
| 16:06:00 | watusimoto | when reading from the file, they go into the database, but disappear somewhere |
| 16:06:00 | watusimoto | I hope when I find that, problem will be solved |
| 16:06:00 | raptor | do they go into the correct database? |
| 16:06:00 | raptor | there are at least two, right? |
| 16:06:00 | raptor | one for zones |
| 16:10:00 | watusimoto | there are several in the editor |
| 16:10:00 | watusimoto | but yes, I think they aer |
| 16:10:00 | watusimoto | we have all these intermediate wall products we need to store |
| 16:11:00 | watusimoto | for wall snapping, merging, etc. |
| 16:13:00 | raptor | so i guess the first move is to get rid of GLUT includes and see what breaks... |
| 16:14:00 | sam686 | so we are getting rid of glut? there a lot that uses GLUT. |
| 16:15:00 | raptor | i just started a clone for SDL |
| 16:15:00 | raptor | maybe i should have started a branch instead |
| 16:15:00 | watusimoto | There is a lot that uses GLUT, but I've done much of the work in the past, and it's really not so bad |
| 16:16:00 | watusimoto | I look forward to changing weapons with the mouse wheel |
| 16:17:00 | watusimoto | and maybe viewing the cmdrs map by pressing the mouse wheel button |
| 16:19:00 | sam686 | does GLUT currently detect middle mouse button? and does it support mouse wheel moving? |
| 16:19:00 | watusimoto | freeglut supports mouse wheel, but not mouse button |
| 16:20:00 | sam686 | one problem raptor had is pressing shift might type in 'q' or 'p' |
| 16:20:00 | raptor | haha, oh yeah |
| 16:20:00 | raptor | for some reason GLUT has gone goofy with my distro |
| 16:21:00 | raptor | the OS doesn't quite handle GLUT modifier keys very well anymore |
| 16:34:00 | raptor | what would you guys say to me doing a major directory structure clean-up first? |
| 16:34:00 | raptor | like putting all the source code into a sub-folder called 'src' |
| 16:34:00 | raptor | because we have lots of directories at the root right now |
| 16:36:00 | raptor | except i'd have to wait for watusimoto's changes to get it |
| 16:39:00 | sam686 | try joining my test server in older version 015 - i am sort of trying to write my own new editor.. it edits game objects while game is running, for now... |
| 16:42:00 | watusimoto | that's an interesting editing approach |
| 16:42:00 | raptor | WOW |
| 16:42:00 | raptor | that's crazy |
| 16:42:00 | raptor | talk about being a dungeon master |
| 16:42:00 | watusimoto | actually, the latest editor mods should make that a bit easier, as the editor works with real game objects |
| 16:42:00 | watusimoto | ok, off to work... back later |
| 16:43:00 | sam686 | editing while the same is running is useful for testing dongeons without having to restart and disconnect other players.. |
| 16:43:00 | raptor | that was nuts! |
| 16:44:00 | sam686 | i should start a clone with my editing system.. |
| 16:47:00 | | watusimoto Quit (Ping timeout: 252 seconds) |
| 16:56:00 | sam686 | ok, my editor (for 015) changes is here: http://code.google.com/r/sam8641-bitfighter04/source/list Note that it is not merges with the latest.. |
| 16:59:00 | | sam686 Quit (Quit: .) |
| 17:07:00 | | watusimoto has joined |
| 17:08:00 | watusimoto | arrived safely |
| 17:08:00 | raptor | ok all mention of glut headers is removed from my clone |
| 17:08:00 | raptor | fighting traffic? |
| 17:08:00 | watusimoto | uh oh |
| 17:08:00 | raptor | with your bike? |
| 17:08:00 | watusimoto | no traffic |
| 17:09:00 | watusimoto | part of my route is through a tree lined bike boulevard |
| 17:09:00 | raptor | sounds nice |
| 17:09:00 | watusimoto | then a bit on a moderate traffic street with painted bike shared lane designations |
| 17:09:00 | watusimoto | then up on the bridge, which has a combined bike pedestrian sidewalk |
| 17:10:00 | watusimoto | then down along the river, either on the bike-ped trail along the water, or the slightly faster but more annoying road, with good bike lanes |
| 17:10:00 | watusimoto | then a couple of blocks along very slow streets here in old town |
| 17:10:00 | raptor | WOW |
| 17:10:00 | watusimoto | it's pretty nice |
| 17:10:00 | raptor | that sounds like a great ride! |
| 17:10:00 | watusimoto | it is |
| 17:11:00 | watusimoto | not long enough to get sweaty if i dress right |
| 17:11:00 | watusimoto | but far enough to get my heart rate up |
| 17:12:00 | watusimoto | these are great: cheap to install, and the message is clear: |
| 17:12:00 | watusimoto | http://www.google.com/search?q=sharrow&num=100&hl=en&safe=off&client=firefox-a&hs=jph&rls=org.mozilla:en-US:official&prmd=ivns&source=lnms&tbm=isch&ei=s6zvTfbOCY2-sAPC0N3_Bg&sa=X&oi=mode_link&ct=mode&cd=2&ved=0CBwQ_AUoAQ&biw=1366&bih=615 |
| 17:12:00 | watusimoto | at first I thought they were kind of dookie, but now I see their value |
| 17:12:00 | watusimoto | it sends a clear message |
| 17:18:00 | raptor | you mean the road paint? |
| 17:21:00 | raptor | so i have a question: did glut32.dll provide the openGL functions? or did it use ones from the system? |
| 17:24:00 | watusimoto | yes and I think glut stuff comes from glut32 |
| 17:24:00 | raptor | so i wonder if we have to provide some other OpenGL library... |
| 17:25:00 | watusimoto | oh, not sure about that |
| 17:26:00 | watusimoto | I may be mistaken |
| 17:26:00 | watusimoto | when I did my provisional sdl conversion, I don't think I used a different oopenGL library... perhaps SDL has one? |
| 17:27:00 | raptor | i'm leaning heavily ona project called 'naev' for some discovery: they use SDL and openGL |
| 17:27:00 | raptor | http://code.google.com/p/naev/ |
| 17:31:00 | raptor | they aren't providing any gl libraries in their windows installation.. |
| 17:32:00 | raptor | ha! |
| 17:32:00 | raptor | i'm an idiot |
| 17:32:00 | raptor | there is SDL_opengl.h |
| 17:42:00 | raptor | ok another question: where did you get the glut32.dll and .lib? did you build freeglut yourself? |
| 17:43:00 | watusimoto | no -- they might be zap originals |
| 18:09:00 | raptor | mouse cursors are providing to be a problem - GLUT provided some nice predefined ones that are drawn with openGL |
| 18:09:00 | watusimoto | we only need two, right? pointer and move-item? |
| 18:13:00 | raptor | I think the SDL cursor is going to break the feel of the game... |
| 18:14:00 | raptor | because the standard one isn't drawn with OpenGL |
| 18:17:00 | watusimoto | can we define our own cursors? |
| 18:17:00 | raptor | i'm looking into stealing GLUT source code to do just that :) |
| 18:17:00 | watusimoto | :-) |
| 18:17:00 | watusimoto | and is the SDL cursor that different? |
| 18:18:00 | raptor | not sure - it looks like a standard desktop mouse cursor |
| 18:18:00 | raptor | have to get it compile first... |
| 18:55:00 | raptor | i think i'll have to remove the screenShooter for now... |
| 18:56:00 | raptor | actually maybe not.. |
| 19:03:00 | raptor | all right - all but 4 classes are compiling now: main, keyCode, UI, screenShooter |
| 19:03:00 | watusimoto | keyCode needs to be modded, but at least some is done already |
| 19:03:00 | watusimoto | look for the comments |
| 19:03:00 | raptor | keycode and main look hefty |
| 19:04:00 | watusimoto | mostly it is th enum, I think |
| 19:04:00 | watusimoto | which is hefty... but done. |
| 19:04:00 | raptor | oh look, half the file is commented out code |
| 19:04:00 | raptor | excellent |
| 19:07:00 | raptor | there are two glut methods: standard and special |
| 19:07:00 | raptor | for keys |
| 19:07:00 | raptor | are they combined into just 'standard' for SDL? |
| 19:09:00 | watusimoto | I think so |
| 19:14:00 | raptor | keyCode is done - that wasn't so hard |
| 19:16:00 | raptor | now to dive into glut sources to find out how to draw text with openGL |
| 19:17:00 | watusimoto | :-) |
| 19:22:00 | raptor | what would be a good class name for GL text drawing? |
| 19:23:00 | raptor | OpenglText |
| 19:23:00 | raptor | TextGL |
| 19:23:00 | raptor | StolenFromGlutTextOpenGLFunctions |
| 19:28:00 | watusimoto | can you give an example of how it would be used? |
| 19:28:00 | raptor | actually |
| 19:28:00 | watusimoto | textGL("hello")? |
| 19:28:00 | watusimoto | like that? |
| 19:28:00 | raptor | i think SDL_ttf can be combined to work with openGL |
| 19:28:00 | raptor | if so, then i don't need GLUT code |
| 19:28:00 | raptor | research research |
| 19:31:00 | raptor | actually sdl_ttf requires freetype - which is another dependecy |
| 19:31:00 | raptor | back to glut... |
| 20:45:00 | raptor | SDL is getting there: http://code.google.com/r/buckyballreaction-sdl/source/list |
| 20:49:00 | | sam686 has joined |
| 20:49:00 | | ChanServ sets mode +v sam686 |
| 21:26:00 | raptor | ok, i'm ignoring the screenshooting code for now.. |
| 21:27:00 | raptor | that just leaves main.cpp |
| 21:40:00 | watusimoto | wow you'll have the whole thing done in a day! |
| 21:57:00 | raptor | ok, checked in latest changes to my clone |
| 21:58:00 | raptor | still doesn't compile, i got rid of about 1/2 the errors in main.cpp but I need to do lots of research to do the rest |
| 21:58:00 | raptor | so anyone is welcome to pick up at any time :) |
| 21:58:00 | watusimoto | great!! |
| 22:02:00 | raptor | ok, updated vc++ project to at least compile the classes - but it won't link in the end |
| 22:02:00 | raptor | (in my clone) |
| 22:02:00 | raptor | ok, now i have to go |
| 22:02:00 | raptor | later |
| 22:02:00 | | raptor Quit (Remote host closed the connection) |
| 23:03:00 | | [1]watusimoto has joined |
| 23:06:00 | | watusimoto Quit (Ping timeout: 276 seconds) |
| 23:06:00 | | [1]watusimoto is now known as watusimoto |
| 23:23:00 | | seniorbarfalot has joined |
| 23:24:00 | | seniorbarfalot has left |