January 17th: Concessions

Fine, fuck it.

I wracked my brain trying to figure out a way around adding a bunch of lines which, to me, seemed redundant and unnecessary. Though I’m sure Haxe macros are much more powerful and impressive than using #define in C/C++, that’s cold comfort when it makes doing something that would be trivially easy with the simple code replacement of #define a byzantine nightmare.

So, whatever. It works. It just works in such a way that means that each parameter I declare on each behavior requires 6 lines of code instead of 1 or 2.

It builds now, it runs now. Tomorrow I’ll iron all the bugs out and start figuring out the parameter editor. I have a good idea of the general shape of it, but it will take some care to properly structure it. Hopefully crafting the interface won’t be too onerous.

Advertisements

About problemmachine

What is the nature of your problem? Can we modify the nature of your problem? Can your problem be touched? Eaten? May we eat your problem for you? May we eat your soul for you? Would you like a replacement problem? We make problems. We eat souls. We crap solutions. We are Problem Machine.
This entry was posted in Daily Update, Programming. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s