Archive for January, 2014

Embarcadero RAD in Action Webinar – Unit Testing

Thursday, January 30th, 2014

Just a quickie to let anyone who may be interested know that Nick Hodges is hosting a RAD in Action webinar for Embarcadero on February 12th 2014. The topic, as the post title suggests is unit testing in Delphi. You can register now at http://embt.co/1eeHJXu.


Thursday, January 2nd, 2014

Well, whilst writing my last post about generics, I realised one of the long standing issues I have with pre-formatted code segments in my blog. It doesn’t handle it very well as illustrated in this example:-

function countLeadingSpaces(src:string):integer;
loop : integer;
if (length(trim(src))>0) then

Having had to manually tweak code segments for quite some time I decided it was time to write something that will automate the process for me. If you have a need for something similar read on. (more…)

Generics Saved My Sanity

Thursday, January 2nd, 2014

Quick introduction and then straight into it. As I’ve already mentioned, ORE (the game engine I started about 7 years ago during a Pascal Game Development competition) is being resurrected, although to be fair resurrected is a little strong… the original engine relied on unDelphiX and was pitiful when it came to performance, most notably so whenever I started to get ‘fancy’ ideas like alpha blended shadows. So, a resurrection isn’t quite accurate, it’s a complete new genetic code if you like… first up, it’s targetting Windows, Mac OSX, Android and iOS, so naturally it has to be some flavour of OpenGL if I am to retain my sanity (plus I know I can do alpha blending etc. with OpenGL with no really noticeable slowdown). (more…)

Welcome to 2014

Thursday, January 2nd, 2014

Just a little post to wish anyone who visits regularly a Happy New Year. I hope it’s a good one for everyone :-)

Bad Behavior has blocked 195 access attempts in the last 7 days.