Author Archives: Chris Heydrick

Win32 and SFML noodling

I ran into a problem that I thought would be best solved by combining a prior UI framework and SFML. There are a zillion reasons you’d want to do this – if you need any kind of UI element (button, … Continue reading

Posted in Programming | 1 Comment

Initializing a C++ class with a reference to another class

I’ve been working on a small game that has a Player class and a Render class. The Render class needs to know about the Player class so that it can draw the player in the right spot. My first pass … Continue reading

Posted in Programming | 1 Comment

Rotation!

I was so surprised that this worked that I actually jumped out of my chair. When I hold down the “A” key the line rotates counter-clockwise around the blue circle (like a clock hand). I spent ages working this out … Continue reading

Posted in Programming | Leave a comment

Moving Around

I was thinking about Command & Conquer this morning, and realized that there’s a very simple feature in that game that I couldn’t work out in my head how to do myself: click on a location on the screen and … Continue reading

Posted in Programming | Leave a comment

Windows 8 beat my Mac

I encountered a very interesting usability issue this evening. A coworkers son completed a school video project in Premier on his Mac, but had to turn in the video in .wmv format. Premier doesn’t appear to be able to do … Continue reading

Posted in Uncategorized | Leave a comment

Project Euler 14 Complete

Project Euler Problem 14 was quick to bang out: https://github.com/cheydrick/Project-Euler/blob/master/ProjectEuler14.c Problem 15 is intimidating.

Posted in Programming | Leave a comment

Project Euler 13 Complete

I finished up my solution to Project Euler 13: https://github.com/cheydrick/Project-Euler This one was easy to work out on paper, but irritating to implement. It’s pretty brute force, and I read a few solutions in the problem’s forum (which you get access … Continue reading

Posted in Programming | Leave a comment

Books in 2014

I’m going to try to keep track of the books I read in 2014. So far in the first 16 days of 2014 I’ve read The Twelve by Justin Cronin, and Island in the Sea of Time by S.M. Stirling. … Continue reading

Posted in Uncategorized | Leave a comment

Project Euler 12 complete

With the exception of one cosmetic change, I didn’t make any progress in the Project Euler problem set at all in 2013. I solved Problem 12 a while ago, but never brought it into the project as a whole, so … Continue reading

Posted in Programming | Leave a comment

VGA Mandelbrot Set

I read Masters of Doom a few weeks ago, and it inspired me to do some old-school DOS VGA graphics programming. https://github.com/cheydrick/VGA-Mandelbrot When I was a kid I played around with some sample programs that came with DJGPP or Borland … Continue reading

Posted in Programming | Leave a comment