Quantcast
Channel: Operational Warfare Developer's Blog
Browsing latest articles
Browse All 34 View Live

Image may be NSFW.
Clik here to view.

Software Craftsmanship rant

I posted this elsewhere in response to someone's questions about the synergy between craftsmanship and business needs. I'm copying it here because I can Sorry, I didn't have time for a shorter rant...

View Article



Rewiring TOAW dialogs

Right now, it looks like the TOAW dialogs grew a bit organically, they are all very similar, but don't take advantage of inheritance and are complete hand-coded with references to pixel coordinates....

View Article

Code status

Don't misunderstand me, TOAW was very well written for it's time. I've looked at other programs written around that timeframe and they are absolute messes in comparison. Norm did a fantastic job given...

View Article

Button, Button, who's got the button.

Figuring out how big average text is is HARD.Normal text isn't too bad, there's a function that will take strings in and spit out the size. Trying to set buttons to the same size so they don't look...

View Article

What's worse than a bug that suddenly appears for no apparent reason?

One that suddenly disappears! You can't ignore it even though it's gone, you still have to figure out where it went.Yesterday, upon the stair,I met a man who wasn't there.He wasn't there again today,I...

View Article


Modern C++ code

Just for fun, here's a little of the new code that's being written. Helicopters is an array that is created here and contains only the helicopters and is used instead of looping through the unit array...

View Article

Unity 5 changes

Unity 5 has made some changes to their product with the 5 release which make it a lot more tempting for me now. The biggest one is that they are now shipping the same engine for the free and paid...

View Article

Failure

I just had the opportunity to hit two kinds of failure today.One was the good kind, I tried to generalize sorted lists and after banging my head against different walls for two days decided that...

View Article


Image may be NSFW.
Clik here to view.

PBEM

Oh how I hate managing PBEM games, it is so much simpler to let the player worry about finding matches and sending the games back and forth Simple for a human, not so much for a computer.So much code,...

View Article


Heaps and Heaps

Dang it! Run time libraries shouldn't be lightly intertwined.I'm trying to link to a C# DLL to do some web related stuff.  Simple right? At least my testbet linked and ran just peachy keen.Then I tried...

View Article

3 steps forward, two steps back.

Well, that was 'fun' After all that work it worked fine on my machine and failed on everyone else's.So, rewrite everything in libcurl. Aside from all the side alleys filled with gangs of thugs, it...

View Article

I HATE LIBCURL!!!!

Darn it, why do people insist on creating one entrypoint and passing in 27 different possible parameters.I just spent 12 hours finding out that I needed to typecast the int to a long long or I'd get...

View Article

UI Code

Here's an example of the new UI code. The old code had a fixed font and used absolute pixel placement so I wrote a quick and dirty UI library based rougly on Deplhi/WPF.My one real regret is that I...

View Article


Testing

The first rule of finding out where things went south is to make sure that you're looking in the right place :(I just spent two days looking for where I broke things with a recent change that coudl...

View Article

UI Design and Testing

Sometime I need to sit down and figure out exactly what it would take to convert the dialogs to use CSS-like text files. The code is reasonably close to that now, the difference is that I've got the...

View Article

Browsing latest articles
Browse All 34 View Live


Latest Images