Sunday, July 7, 2013
Summary
While I did explore a few potentially-valuable lines of thought in the car today, I didn't manage to come up with anything particularly inspiring. If you'll allow me, I'd like to blame this on the overwhelming amount of hostile rain that was trying to blind and throw me off the road
I did get pretty excited today when I realized that abstract copies of objects can be created for free if you have a translation layer (without duplicating any code!) The trick is to run all of the pieces of an object through the translator (which is presumably hooked up to an "abstract" object). For example, if you have a ship, then you would run all of the hardpoints through the translation layer via AddObject(hardpoint_i). The translation layer would say "ok, that's a weapon and it does 550 DPS, so I'll add 550 to the abstract ship's firepower score." It would be the exact same as if an abstract ship had just equipped the same weapon. This is a neat trick for enforcing consistency between the conversion from concrete to abstract and the abstract simulation itself. Nothing groundbreaking, but neat and definitely will save some code.
There were a few other interesting ideas, but I feel like my definition of "interesting" is drifting further and further away from reality as time goes on, so I think I'll keep them to myself until I feel more certain that they're worth sharing
Well, I'm back in the coding cave, and very much ready for a big day back at the "office" tomorrow Also looking forward to being more active on the forums again, as I've hardly had any time to read / post during my stay at home.
[ You can visit devtime.ltheory.com for more detailed information on today's work. ]
Post
Sun Jul 07, 2013 11:46 pm
#1
Week of July 7, 2013
“Whether you think you can, or you think you can't--you're right.” ~ Henry Ford