Monday, March 15, 2010
Minor Updates
What? no activity in a long time?? Lots of things have been happening in the personal life, parents came for a visit, grandmother passed, wife directing a play so I get both kids in the afternoons/evenings, etc. Huge project crunch at work..
But I did find the time to tweak some of my tools to remove more of the handwritten code and replace it with data generated from the maps. The final piece was for auto generating the teleport locations.
I have also enlarged my map, I felt it was too cluttered so I embiggened it and spread the continents out more. It always irked me a little to hop in a sailing shop and sail only a few spaces and traverse the seas.. So I made more use of some open space and moved things out further making sea travel longer, but not monotonous. Sea travel is important and it needs to feel like it takes you a while to get from A to B (and the movement speed of the ship is slower than that of land speed movement). It certainly wont be as redundant and monotonous as it was in Demon’s Winter which had huge tracts of open ocean and a very poorly laid out world.
Still beavering away on the combat engine affects
Filed Under : Computers • Development • Fishguts •
Tags: CRPG • Demon's Winter • Mapping • Travel
(2) Comments
Tuesday, February 09, 2010
Expression Engine Plugin AddToAny
I knocked out a plugin for ExpressionEngine, it adds the ‘addtoany’ bar at the bottom of posts.
Adding the tag
{exp:addtoany name="{title}" url="{title_permalink}"}
to your templates generates the javascript for the AddToAny code.
You can get it here;
https://redmine.bloodycactus.com/projects/ee1addtoany
Filed Under : Computers • Development •
Tags: ExpressionEngine • Plugin
(0) Comments
Saturday, February 06, 2010
Grafx2
With the internet down at my house this weekend being under a tonne of snow (ok its back up now).. I’ve been working some minor patches against my favourite pixel editor, Grafx2, which is very Deluxe Paint / Brilliance oriented, written in SDL and free
so it wins all way around…
Normally I’d use promotion by Cosmigo but that costs, and this does all I need so it wins out.
Filed Under : Computers •
Tags: deluxe paint • grafx2 • promotion
(0) Comments
Monday, February 01, 2010
Haiku + Ruby
Building ruby 1.8.6 on haiku is a PITA. Aftere much mangling (swapping in new config.sub/guess files) and several segfaults I got through configure but there is such a mash of include files it confuses itself. arugh. sed throws errors, sometimes it cant deduce the size of short or long.. The old beos build of runy 1.8.4 has a broken etc.so file when trying to build rubygems. Everytime I try and get a haiku dev box setup something pops up.
Filed Under : Computers • Development •
Tags: haiku • ruby
(0) Comments
Sunday, January 31, 2010
Combat
Aaah the smell of freshly upgraded stats when casting a haste spell.. Yes I spent some time this weekend working on the combat engine, I’ve got all spells working that run over set number of rounds and alter stats.. I need to enable the targetting code and the animation code is mostly built to handle the spells being thrown across the map. Once targetting is done I can better do the fireball explosions and other area affect spells. Thankfully code reuse is good, I can use my existing ranged weapon target code.
Filed Under : Computers • Development • Fishguts •
Tags: Combat • CRPG • Design
(0) Comments
Friday, January 01, 2010
Install dir patch for UCC
I hate apps that hardcode install paths.. I found one while I was messing with UCC (a chinese authored c compiler).
svn diff against the head
Index: ucl/Makefile
===================================================================
--- ucl/Makefile (revision 10)
+++ ucl/Makefile (working copy)
@@ -5,7 +5,7 @@
ucl.c uildasm.c vector.c x86.c x86linux.c
OBJS = $(C_SRC:.c=.o)
CC = gcc
-CFLAGS = -g -D_UCC
+CFLAGS = -g -D_UCC -D"UCCDIR=\"$(UCCDIR)\""
UCC = ../driver/ucc
all: $(OBJS) assert.o
Index: driver/linux.c
===================================================================
--- driver/linux.c (revision 10)
+++ driver/linux.c (working copy)
@@ -4,7 +4,9 @@
#include "ucc.h"
#define _P_WAIT 0
+#ifndef UCCDIR
#define UCCDIR "/usr/local/lib/ucc/"
+#endif
static char *CPPProg[] =
{
Index: driver/Makefile
===================================================================
--- driver/Makefile (revision 10)
+++ driver/Makefile (working copy)
@@ -1,5 +1,5 @@
CC = gcc
-CFLAGS = -g
+CFLAGS = -g -D"UCCDIR=\"$(UCCDIR)\""
all: ucc.c linux.c
$(CC) -o ucc $(CFLAGS) $^
Index: Makefile
===================================================================
--- Makefile (revision 10)
+++ Makefile (working copy)
@@ -1,4 +1,4 @@
-UCCDIR = /usr/local/lib/ucc
+UCCDIR = /opt/ucc/
export UCCDIR
all:
Filed Under : Computers • Development •
Tags: Compiler • Patches • UCC
(0) Comments