05:13.17 | *** join/#opencombat ibot (ibot@apt.bot.TimRiker.active.supporter.pdpc) |
05:13.17 | *** topic/#opencombat is An online gaming system || OpenCombat::CoreWars = an online combat game || http://www.opencombat.net , who do you want to be today || Please read and comment, for some reason it has a story.. http://www.opencombat.net/docs/ |
05:55.21 | *** join/#opencombat creeperz (~creeperz@host-23-144-230-24.midco.net) |
06:59.16 | *** join/#opencombat creeperz (~creeperz@host-23-144-230-24.midco.net) |
07:25.39 | *** join/#opencombat JeffM2501 (~JeffM@Patlabor221.active.supporter.pdpc) |
07:25.39 | *** mode/#opencombat [+o JeffM2501] by ChanServ |
14:48.17 | *** join/#opencombat bryjen (~bryjen@63.147.94.151) |
16:48.33 | *** join/#opencombat JeffM2501 (~JeffM@Patlabor221.active.supporter.pdpc) |
16:48.33 | *** mode/#opencombat [+o JeffM2501] by ChanServ |
16:58.16 | *** join/#opencombat orchid (orchid@orchid.user) |
17:22.14 | JeffM2501 | how is the canada today? |
17:23.55 | JeffM2501 | amathis, how did your project go? |
17:27.02 | amathis | well still working |
17:27.06 | amathis | for some reason it doesn't draw |
17:27.11 | amathis | still working on it |
17:29.42 | orchid | JeffM2501: 2C and raining :) |
17:30.02 | orchid | but otherwise fine, at least its not snowy and coldy |
17:45.38 | amathis | SWEET |
17:45.44 | amathis | sweet sweet sweet sweet |
17:45.47 | amathis | w00 h00 |
17:46.11 | JeffM2501 | 2c is not warm :( |
17:46.27 | JeffM2501 | wana go to hawaii with me in july? |
17:46.47 | JeffM2501 | amathis, did you translate it back so you could see it? |
17:47.09 | amathis | I will show you. |
17:47.12 | CIA-2 | 03amathis101 * 10quadDraw/ (main.cpp main.h sdlWindow.cpp): it finally draws the stuff (grid) |
17:47.13 | amathis | if sf was a little faster |
17:53.29 | JeffM2501 | you have some issues still |
17:53.37 | JeffM2501 | in your event section |
17:53.45 | JeffM2501 | for SDL_QUIT you want to return false |
17:53.57 | JeffM2501 | since true is your "keep on going" state |
17:54.04 | JeffM2501 | also once you return, you don't need the break :) |
17:55.20 | JeffM2501 | also your "handle key press" thing |
17:55.30 | JeffM2501 | it needs to reutrn a state |
17:55.33 | JeffM2501 | not call kill |
17:55.40 | JeffM2501 | otherwise you don't know when to stop your loop |
17:56.47 | JeffM2501 | your allways going to call kill outside your event loop anyway |
17:56.59 | JeffM2501 | with your current system you end up drawing to a killed window ( aka not good ). |
18:01.12 | JeffM2501 | also dosn't look like your initing your perspective matrix |
18:02.49 | amathis | heh. |
18:06.41 | JeffM2501 | wow and your not even doing your glu setup |
18:13.02 | JeffM2501 | want to see what setup your mising? |
18:51.16 | *** join/#opencombat Grumbler (~Grumbler@grumbler.bronze.supporter.pdpc) |
18:53.06 | amathis | yes |
18:53.09 | amathis | please |
18:54.15 | Grumbler | sure, you want that super-sized? |
18:54.30 | JeffM2501 | we are out of frys |
18:55.13 | CIA-2 | 03jeffm2501 * 10quadDraw/ (main.cpp main.h): |
18:55.14 | CIA-2 | make it acualy quit |
18:55.14 | CIA-2 | make it set the view. |
18:55.47 | JeffM2501 | there ya go |
19:00.40 | *** join/#opencombat CIA-9 (~CIA@flapjack.navi.cx) |
19:07.10 | JeffM2501 | the changes are small |
19:07.13 | JeffM2501 | they should make sense |
19:10.01 | amathis | ok |
19:11.09 | amathis | haha |
19:11.48 | amathis | JeffM2501: does it work fullscreen for you? |
19:11.55 | JeffM2501 | never tried |
19:12.13 | amathis | well, you can uncomment the thing in handleKeyPRess, or you can add -f |
19:12.47 | JeffM2501 | fullscreen is something you worry about at the end usualy |
19:13.27 | amathis | ok |
19:13.28 | JeffM2501 | I've never done toglefullscreen |
19:13.36 | JeffM2501 | that's usualy for 2d SDL stuff |
19:13.51 | amathis | wow |
19:13.53 | amathis | that grid is harsh |
19:13.55 | amathis | :P |
19:14.05 | JeffM2501 | well it's white on black |
19:14.13 | JeffM2501 | what do you expect :) |
19:14.40 | amathis | do we really need a grid |
19:14.44 | amathis | I think a + would be fine |
19:14.46 | JeffM2501 | up to you |
19:15.27 | JeffM2501 | then just do a line at 0 in each axis |
19:15.27 | amathis | ever heard of privateer? |
19:15.28 | JeffM2501 | yeah |
19:15.28 | JeffM2501 | and yes i read /. |
19:15.28 | JeffM2501 | dude, you never set surface |
19:15.33 | JeffM2501 | how can your "togle" function even work? |
19:15.34 | amathis | it is on slashdot? |
19:15.41 | amathis | I did set a surface |
19:15.46 | JeffM2501 | no |
19:15.50 | JeffM2501 | you make a variable for it |
19:15.57 | JeffM2501 | you never set it to anytying |
19:16.00 | amathis | the toggle worked, |
19:16.08 | amathis | heh |
19:16.13 | *** join/#opencombat orchid (orchid@orchid.user) |
19:16.14 | JeffM2501 | dosn't for me |
19:16.24 | amathis | that is because the line that does it is commented out |
19:16.27 | JeffM2501 | you'd want to store your surface in your windows class |
19:16.28 | amathis | in handleKeyPress |
19:16.38 | JeffM2501 | amathis, that USES the surface |
19:16.40 | JeffM2501 | it dosn'ts et it |
19:16.56 | JeffM2501 | the surface you want is returned from GetVideoMode |
19:17.05 | JeffM2501 | SDL supports more then on surface |
19:17.09 | amathis | ok |
19:22.57 | CIA-9 | 03jeffm2501 * 10quadDraw/ (main.cpp main.h sdlWindow.cpp sdlWindow.h): |
19:22.57 | CIA-9 | keep the surface with the window class |
19:22.57 | CIA-9 | <PROTECTED> |
19:27.45 | *** join/#opencombat CIA-2 (~CIA@flapjack.navi.cx) |
19:55.58 | Grumbler | wow, i see progress, like commits even. |
19:56.23 | JeffM2501 | those are his commits |
19:56.28 | JeffM2501 | for his learning thing |
19:57.34 | Grumbler | awe, sry to hear that...... |
19:58.51 | JeffM2501 | it's good to learn |
20:06.15 | *** join/#opencombat Grumbler (~Grumbler@grumbler.bronze.supporter.pdpc) |
20:07.26 | *** join/#opencombat Grumbler_ (~Grumbler@static-162-83-13-211.sal.east.verizon.net) |
21:13.12 | *** join/#opencombat CIA-9 (~CIA@flapjack.navi.cx) |
22:22.51 | *** join/#opencombat bryjen (~bryjen@63.147.94.151) |
22:28.05 | *** join/#opencombat bryjen (~bryjen@63.147.94.151) |
22:45.48 | *** join/#opencombat creeperz (~creeperz@host-23-144-230-24.midco.net) |
23:14.02 | *** join/#opencombat vitriol (~vitriol@ip24-255-8-154.tc.ph.cox.net) |