--- Log opened Sun Dec 02 00:00:09 2012 |
00:33 | <~Vornicus> | Oh, duh. |
00:33 | | You're now known as TheWatcher[T-2] |
00:34 | <~Vornicus> | To make new game and load game both work without issue, both create a semi-serialized structure that the true game object deserializes to get the game going. |
00:38 | | You're now known as TheWatcher[zZzZ] |
00:39 | <&McMartin> | 07:58 <&ToxicFrog> Don't use arrays~ |
00:39 | <&McMartin> | No choice; this is for interop |
00:41 | <&McMartin> | (Specifically, for dealing with java.awt.image.BufferedImage so that I can build spritesheets with Clojure scripts, and precompute shadings in ways that proper blitters never quite get right >_<) |
00:41 | <~Vornicus> | So New Game and Load Game both produce basically parsed json structures and then the actual model object builds the shit around them. |
00:41 | <~Vornicus> | "precompute shadings"? |
00:42 | <&McMartin> | If I'm trying to arrange things that have alpha values, blitters perform alpha blending instead of actually just copying over the alphas, generally |
00:42 | <&McMartin> | Or they ignore alpha entirely |
00:42 | <&McMartin> | You have to block pixel copies. |
00:43 | <&McMartin> | It turns out Java's relatively convenient for this if you're using PNGs because it's got a handy 32-bit-color class and knows all the relevant formats. |
00:43 | <&McMartin> | But it's Java, which is a pain, so I wrote up some interop routines so I could use Clojure for that. |
00:49 | | * Vornicus realizes the pun in a certain Minecraft mod. |
00:55 | <~Vornicus> | The Equivalent Exchange mod allows you to use the Transmutation Tablet to convert objects into other objects based on their "EMC" value; you can also use a Klein Star to store stuff, in which case you don't need to give it specific stuff. Compare to the Kleene Star... |
01:07 | <~Vornicus> | Okay so. Planets have random locations (restricted to not being 8-connected; I have this written already), random names (chosen from a list in a file), random classes (done by shuffling a list of classes ie 1 1 1 1 2 2 2 2 2 2 3 3 3 3 3 3 4 4 4 4); class 4 planets are homeworlds for the major factions, others are set to the neutral faction which has no real AI |
01:08 | <&McMartin> | Oh, your horrible pun has reminded me. |
01:08 | <~Vornicus> | uh oh |
01:08 | <&McMartin> | Also, VornMoo |
01:08 | <~Vornicus> | I should flee screaming shouldn't I. |
01:08 | <&McMartin> | Nah |
01:08 | <&McMartin> | But, how constrained is ship design in VornMoo? |
01:08 | <&McMartin> | Is "more flexibility in what you can mount" a thing to research? |
01:09 | <&McMartin> | Because if so, the top tier vessel - corresponding to the Metamorph or the Nubian in Stars! - should be the Voidstar. |
01:09 | <~Vornicus> | VornMoo was to be a faithful remake of MoO1, and as such, uh |
01:10 | <&McMartin> | Just mount points then. |
01:10 | <~Vornicus> | All ships could mount up to four different types of weapon and three different accessories. |
01:10 | <&McMartin> | Yeah |
01:10 | <&McMartin> | Oh well. |
01:10 | <&McMartin> | void * puns will have to wait~ |
01:10 | <&McMartin> | (The Nubian was named because n00bs kept whinging about equipment restrictions) |
01:11 | <~Vornicus> | The thing I'm building now is not VornMoO but actually Galactic Vorntiers, from the old Mac game Galactic Frontiers. Which I still haven't gotten running to actually examine its entrails. |
01:12 | | Kindamoody[zZz] is now known as Kindamoody |
01:14 | | 963AADPM6 is now known as froztbyte |
01:14 | <~Vornicus> | (for those of you playing the home game: in MoO, your technology improved 1. what equipment is available to mount and 2. how cheap that equipment is. Ships can also carry more stuff at higher tech levels.) |
01:15 | | * froztbyte does not know what Mo0 is |
01:15 | <&McMartin> | Master of Orion, an old strategy game by Microprose. |
01:15 | < froztbyte> | MoO* ? |
01:16 | < froztbyte> | oh |
01:16 | < froztbyte> | ah yes, the name is known to me, though I never played it |
01:16 | <~Vornicus> | Came out in 1990, same year as Civilization and X-COM |
01:16 | < froztbyte> | iirc Worms was the thing from Microprose that I had the most exposure to |
01:16 | <~Vornicus> | It was a good year. |
01:16 | < froztbyte> | I had a weird childhood in that sense |
01:16 | <&McMartin> | X-COM was also Microprose |
01:17 | < froztbyte> | parents didn't even want to get me a console ever, so my days of playing MK2 were when I could get away to a friend's house |
01:17 | | * McMartin is old, so Worms was "eh, Scorched Earth is already a thing" |
01:17 | < froztbyte> | had a 386 at home, and a very limited supply of things I could get with sneakernet |
01:19 | < froztbyte> | '91~'96: 386, '96~'98: 133MHz P1 that slowly got morphed into a 200MHz MMX, '98~'00: MMX, '00: 500MHz P3 with an SiS 6326 at the start |
01:19 | < froztbyte> | later upgraded to a Riva TNT |
01:20 | < froztbyte> | and through all this time, it was always the family computer |
01:20 | < froztbyte> | so I didn't get to do all that much, either |
01:20 | < froztbyte> | in '04 I finally got my own rig |
02:39 | <&McMartin> | Hrm |
02:39 | | * McMartin pokes at stuff |
02:39 | | * McMartin remembers he wrote a program to do that poking for him. |
02:40 | <~Vornicus> | what poking is being done? |
02:41 | <&McMartin> | When a certain call made it into OpenGL. |
02:41 | <&McMartin> | As opposed to being simulated in GLU |
02:41 | <&McMartin> | (Answer: The ARB_framebuffer_object extension, which was added to core in 3.0.) |
02:41 | <~Vornicus> | hooray, ARGLE |
02:42 | | thalass [thalass@Nightstar-a93a3641.bigpond.net.au] has joined #code |
02:42 | <~Vornicus> | Okay vornda needs to fucking stop. |
02:42 | <&McMartin> | Some of this hasn't properly ARGLEd yet; specifically, the bit where extensions become core |
02:43 | | thalass is now known as Thalass|KSP |
02:47 | <&McMartin> | OK, this is a job for Python |
02:58 | | Kindamoody is now known as Kindamoody|afk |
02:58 | | Thalass|KSP [thalass@Nightstar-a93a3641.bigpond.net.au] has quit [Client closed the connection] |
02:58 | | thalass [thalass@Nightstar-a93a3641.bigpond.net.au] has joined #code |
03:14 | <~Vornicus> | Okay, next tasks: learn to render text, use that to render the name, ship count, fort count in overload situations. Convert rendering to a spritesheet. Draw more planet shapes for each size. |
03:15 | < thalass> | Planet shape: Round. |
03:15 | < thalass> | >.> |
03:15 | <~Vornicus> | Well. Planet sprites. |
03:16 | | Alek [omegaboot@Nightstar-56dbba0f.in.comcast.net] has joined #code |
03:16 | | mode/#code [+o Alek] by ChanServ |
03:18 | <&McMartin> | Success |
03:18 | <&McMartin> | mcmartin@osmium:~/devel/argle$ ./argle Material\ Texture.cpp |
03:18 | <&McMartin> | Minimum required version of OpenGL: 2.0 |
03:18 | <&McMartin> | Required extensions: GL_ARB_sampler_objects, GL_ARB_uniform_buffer_object, GL_NVX_conditional_render |
03:18 | <&McMartin> | Some extensions part of OpenGL by version: 3.3 |
03:18 | <&McMartin> | Remaining extensions: GL_NVX_conditional_render |
03:21 | | thalass is now known as Thalass|portal2 |
03:22 | <~Vornicus> | \o/ |
03:23 | <~Vornicus> | what's conditional render do? |
03:23 | <&McMartin> | I have no idea. I just picked a token I knew was never imported into core. |
03:24 | <&McMartin> | It's nVidia specific and marked experimental; I must assume it is from the era when Nothing Fucking Worked. |
03:24 | <&McMartin> | However, a function with a very similar name became part of OpenGL 3.0, so. |
03:33 | | Attilla [Obsolete@Nightstar-253c8553.as43234.net] has quit [Ping timeout: 121 seconds] |
03:39 | | 629AAAJRM is now known as cpux |
03:41 | < Tarinaky> | McMartin: Worms 2 was awesome though. |
03:48 | | gnolam_ [lenin@Nightstar-bb103c17.cust.bredbandsbolaget.se] has joined #code |
03:48 | | VirusHome [VirusJTG@Nightstar-09c31e7a.sta.comporium.net] has joined #code |
03:48 | | shawn-p [Shawn@Nightstar-4db8c1df.mo.charter.com] has joined #code |
03:49 | | Vornotron [Vorn@Nightstar-35eb62f8.sd.cox.net] has joined #code |
03:49 | | Moltare [Moltare@583787.FF2A18.190FE2.4D81A1] has joined #code |
03:49 | | simon`_ [simon@Nightstar-fe311ff3.pronoia.dk] has joined #code |
03:49 | | Thrae_ [ircuser@Nightstar-7fbd3546.fios.verizon.net] has joined #code |
03:49 | | Netsplit *.net <-> *.split quits: cpux, @Vornicus, gnolam, franny, @jerith, simon`, @629AAAJS3, @McMartin, ErikMesoy|sleep, Zemyla, (+5 more, use /NETSPLIT to show all of them) |
03:49 | | cpux|2 [cpux@Nightstar-98762b0f.dyn.optonline.net] has joined #code |
03:50 | | cpux|2 is now known as cpux |
03:50 | | Thalass|portal2 [thalass@Nightstar-a93a3641.bigpond.net.au] has quit [Connection reset by peer] |
03:51 | | Netsplit over, joins: franny |
03:52 | | ErikMesoy [Erik@A08927.B4421D.E795B2.4E4ED1] has joined #code |
03:52 | | thalass [thalass@Nightstar-a93a3641.bigpond.net.au] has joined #code |
03:53 | | McMartin [mcmartin@Nightstar-d5b339a6.pltn13.sbcglobal.net] has joined #code |
03:53 | | mode/#code [+ao McMartin McMartin] by ChanServ |
03:53 | | jerith [jerith@Nightstar-bf52129d.slipgate.za.net] has joined #code |
03:53 | | Azash [ap@Nightstar-339920e6.net] has joined #code |
03:53 | | Zemyla [zemyla@Nightstar-8fbb7981.compute-1.amazonaws.com] has joined #code |
03:53 | | mode/#code [+ao jerith jerith] by ChanServ |
03:55 | <&McMartin> | Hm, OK, one more feature before ARGLE can be 1.1 |
03:57 | | Reiv [Reiver@Nightstar-6ca59a6f.callplus.net.nz] has joined #code |
04:01 | | Derakon [Derakon@Nightstar-a3b183ae.ca.comcast.net] has joined #code |
04:01 | | mode/#code [+ao Derakon Derakon] by ChanServ |
04:04 | | himi-cat [fow035@Nightstar-5d05bada.internode.on.net] has joined #code |
04:19 | | 963AADPLI [VirusJTG@Nightstar-09c31e7a.sta.comporium.net] has quit [[NS] Quit: Program Shutting down] |
04:41 | | thalass is now known as Thalass|lunch |
04:47 | | Vornotron is now known as Vornicus |
04:47 | | mode/#code [+qo Vornicus Vornicus] by ChanServ |
05:27 | | simon` [simon@Nightstar-fe311ff3.pronoia.dk] has joined #code |
05:28 | | simon`_ [simon@Nightstar-fe311ff3.pronoia.dk] has quit [Client closed the connection] |
05:29 | | Thrae_ is now known as Thrae |
05:35 | | Thalass|lunch is now known as Thalass |
05:38 | | Thalass [thalass@Nightstar-a93a3641.bigpond.net.au] has quit [[NS] Quit: alons-y!] |
05:48 | | Kindamoody|afk is now known as Kindamoody |
06:21 | | shawn-p [Shawn@Nightstar-4db8c1df.mo.charter.com] has quit [Ping timeout: 121 seconds] |
06:25 | | shawn-p [Shawn@Nightstar-4db8c1df.mo.charter.com] has joined #code |
06:38 | | Vornicus [Vorn@Nightstar-35eb62f8.sd.cox.net] has quit [[NS] Quit: Leaving] |
06:59 | | Kindamoody is now known as Kindamoody|out |
07:23 | | Derakon is now known as Derakon[AFK] |
07:29 | | celticminstrel is now known as celmin|sleep |
07:40 | | himi-cat [fow035@Nightstar-5d05bada.internode.on.net] has quit [Z-Lined: Your IP range has been attempting to connect too many times in too short a duration. Wait a while, and you will be able to connect.] |
07:51 | | himi [fow035@Nightstar-5d05bada.internode.on.net] has joined #code |
07:51 | | mode/#code [+o himi] by ChanServ |
09:39 | | syksleep is now known as syk_fancydinner |
09:54 | | You're now known as TheWatcher |
10:19 | | himi [fow035@Nightstar-5d05bada.internode.on.net] has quit [Ping timeout: 121 seconds] |
10:50 | | Attilla [Obsolete@Nightstar-253c8553.as43234.net] has joined #code |
11:39 | | Attilla_ [Obsolete@Nightstar-3eeb3e20.as43234.net] has joined #code |
11:40 | | celmin|sleep [celticminst@Nightstar-e83b3651.cable.rogers.com] has quit [[NS] Quit: And lo! The computer falls into a deep sleep, to awake again some other day!] |
11:41 | | Attilla [Obsolete@Nightstar-253c8553.as43234.net] has quit [Ping timeout: 121 seconds] |
11:45 | | Attilla [Obsolete@Nightstar-4880b691.as43234.net] has joined #code |
11:46 | | Attilla_ [Obsolete@Nightstar-3eeb3e20.as43234.net] has quit [Ping timeout: 121 seconds] |
12:29 | | VirusJTG [VirusJTG@Nightstar-09c31e7a.sta.comporium.net] has joined #code |
13:34 | | Kindamoody|out is now known as Kindamoody |
13:35 | <&McMartin> | Elch |
13:35 | <&McMartin> | OK, one thing that unmistakably sucks about Game Maker is that there's no good way to export room formats. |
13:35 | | * McMartin extracts the geometry of his test level with a text editor and a lot of tile counting. |
13:41 | | syk_fancydinner is now known as Syk |
14:20 | | Kindamoody is now known as Kindamoody|out |
14:22 | | gnolam_ is now known as gnolam |
14:50 | | Netsplit *.net <-> *.split quits: cpux, @Alek, simon`, @Tamber, gnolam, franny, VirusHome, Moltare, rms, Thrae, (+6 more, use /NETSPLIT to show all of them) |
14:57 | | Netsplit over, joins: Moltare, @PinkFreud, VirusJTG, VirusHome, &jerith, @Tamber, gnolam, &Derakon[AFK], franny, Zemyla (+6 more) |
14:59 | | Netsplit *.net <-> *.split quits: Zemyla, @Derakon[AFK], simon`, VirusJTG, Thrae, @PinkFreud, Moltare, franny, cpux, Azash, (+6 more, use /NETSPLIT to show all of them) |
15:00 | | Netsplit over, joins: VirusJTG, Moltare, VirusHome, Zemyla, simon`, @Alek, cpux, @PinkFreud, &jerith, @Tamber (+6 more) |
15:02 | | ErikMesoy [Erik@A08927.B4421D.E795B2.4E4ED1] has left #code [] |
15:27 | | Kindamoody|out is now known as Kindamoody |
15:46 | | * Tamber mentally page faults |
15:47 | <@Tamber> | What's the name of the <condition> ? <a> : <b> operator thingy in C/Perl/et al? |
15:48 | < gnolam> | It's usually referred to as either simply the "conditional operator" or the "ternary operator". |
15:48 | <@Tamber> | Aha, ternary! Thank-you. |
16:27 | | VirusHome [VirusJTG@Nightstar-09c31e7a.sta.comporium.net] has quit [Client closed the connection] |
16:27 | | VirusNotAtWork [VirusJTG@Nightstar-09c31e7a.sta.comporium.net] has joined #code |
16:27 | | McMartin [mcmartin@Nightstar-d5b339a6.pltn13.sbcglobal.net] has quit [Operation timed out] |
16:51 | | celticminstrel [celticminst@Nightstar-e83b3651.cable.rogers.com] has joined #code |
16:58 | | McMartin [mcmartin@Nightstar-27c7a4bc.pltn13.sbcglobal.net] has joined #code |
16:58 | | mode/#code [+ao McMartin McMartin] by ChanServ |
17:04 | | Vornicus [Vorn@Nightstar-35eb62f8.sd.cox.net] has joined #code |
17:04 | | mode/#code [+qo Vornicus Vornicus] by ChanServ |
17:40 | | Vornicus [Vorn@Nightstar-35eb62f8.sd.cox.net] has quit [Client closed the connection] |
17:52 | | iospace is now known as io\PACKERS |
17:55 | | Reiv [Reiver@Nightstar-6ca59a6f.callplus.net.nz] has quit [Client closed the connection] |
17:58 | | rms is now known as Vasi |
18:10 | | Syk is now known as syksleep |
18:11 | | Moltare [Moltare@583787.FF2A18.190FE2.4D81A1] has quit [Ping timeout: 121 seconds] |
18:12 | | Moltare [Moltare@583787.FF2A18.190FE2.4D81A1] has joined #code |
18:57 | | Reiv [Reiver@Nightstar-6ca59a6f.callplus.net.nz] has joined #code |
19:57 | | Kindamoody is now known as Kindamoody[zZz] |
20:04 | | Omega [omegaboot@Nightstar-56dbba0f.in.comcast.net] has joined #code |
20:05 | | Alek [omegaboot@Nightstar-56dbba0f.in.comcast.net] has quit [NickServ (GHOST command used by Omega)] |
20:05 | | Omega is now known as Alek |
20:06 | | mode/#code [+o Alek] by ChanServ |
20:44 | | celticminstrel [celticminst@Nightstar-e83b3651.cable.rogers.com] has quit [[NS] Quit: KABOOM! It seems that I have exploded. Please wait while I reinstall the universe.] |
20:44 | | celticminstrel [celticminst@Nightstar-e83b3651.cable.rogers.com] has joined #code |
21:00 | | io\PACKERS is now known as iospace |
21:58 | | Derakon[AFK] is now known as Derakon |
22:18 | | Reiv [Reiver@Nightstar-6ca59a6f.callplus.net.nz] has quit [Ping timeout: 121 seconds] |
22:31 | | Orthia [orthianz@Nightstar-6ca59a6f.callplus.net.nz] has quit [Ping timeout: 121 seconds] |
22:35 | | himi [fow035@D741F1.243F35.CADC30.81D435] has joined #code |
22:35 | | mode/#code [+o himi] by ChanServ |
22:42 | | Vasi is now known as rms |
23:09 | | Orthia [orthianz@Nightstar-6ca59a6f.callplus.net.nz] has joined #code |
23:16 | | Orthia [orthianz@Nightstar-6ca59a6f.callplus.net.nz] has quit [Ping timeout: 121 seconds] |
23:19 | < iospace> | http://threepanelsoul.com/2012/11/19/on-legacy-code/ |
23:31 | | Orthia [orthianz@Nightstar-6ca59a6f.callplus.net.nz] has joined #code |
23:46 | <&McMartin> | Whoops |
23:46 | <&McMartin> | Well, time to learn more about git. |
23:46 | < gnolam> | And I still say that the difference is mostly in the skill level of whoever wrote the legacy code. |
23:50 | | * simon` is completing his BSc in CS somewhat behind schedule. I decided to speed up a little, and now it seems I have three months next year I have to fill out with something else. |
23:52 | <&Derakon> | Yeah, that strip isn't really accurate IMO. |
23:53 | <&Derakon> | Even a master maintaining legacy code isn't really doing what I'd call craftsmanship. |
23:54 | <&McMartin> | Stewardship. |
23:55 | <&McMartin> | Now, *extending* legacy code... |
--- Log closed Mon Dec 03 00:00:24 2012 |