Saturday, December 05, 2009

Two little Git helpers

Git is really powerful but some of its commands can be very obtuse. Two little helpers I have in my .gitconfig that I thought some of you might find useful are

[alias]
uncommit 
reset --soft HEAD^
unstage reset HEAD 

The uncommit will back out the last non-pushed commit. Unstage will do as it says, remove a file from the staging buffer.

The alias section is a great place for your shortcuts.

 

Posted by Stu on 12/05/2009 at 11:18 PM Permalink to this post.
Filed Under : ComputersDevelopment
Tags:

(0) Comments
Share/Bookmark

Monday, November 23, 2009

Busy Busy

With the arrival of our new baby (Sebastian) things have been hectic but I did some time on some of my to-do list. Some of the low hanging fruit turned out to be harder than expected.

I have horses appearing on the main map now. I learnt that I cant draw a horse to save myself! Ha, it looks so bad its funny. Adding horses to the main map proved slightly problematic mostly because the main map is handled different from the other maps because of its size and that all the maps are segmented, so a minor technicality on my part and we have horses appear outside town after you buy em.

Added some more attribute extraction to my maps so more things are generated by tools than by hand written code. Map transitions (entering towns, dungeons, etc) are no longer hard coded and handled in the tool.

Posted by Stu on 11/23/2009 at 09:58 AM Permalink to this post.
Filed Under : ComputersDevelopmentFishguts
Tags:

(0) Comments
Share/Bookmark

Saturday, November 07, 2009

Some of that fruit

(This post has embedded CSS that does not look good in a RSS Reader)

So I picked some of that low hanging fruit I was talking about before, only what I picked was nothing in my list.. Still I got something done that REALLY needed to be done.

Click HERE to read more

Posted by Stu on 11/07/2009 at 10:46 AM Permalink to this post.
Filed Under : ComputersDevelopmentFishguts
Tags:

(0) Comments
Share/Bookmark

Monday, November 02, 2009

Being stubborn

I’ve been pretty stubborn lately, not working on Fishguts (I’ve been working on my compiler), but now its time to get back into the swing of things, so I have picked some low hanging fruit to knock off the todo list.

That being said, sometime in the next couple of weeks I hope to bash out the following;

- Using a horse for transport, this basically is nothing more than an icon change and an enumeration. The game already takes care of food consumption when on a horse or ship. I do need to test some timing so that the party can travel faster on horse than on foot.

- As above, but using a ship

- Proper testing of splitting the party. The code is all there but I need to knock out a script that allows you to choose whom you want in what party based on who is currently in your party (you follow me?!)

- Fix the bestiary, to log how many of each type of monster you kill and have it display other info like a short description to go with its battle icon.

I’m also thinking of rewriting the quest log so its not so much of an “You have 2 open quests. 1 - foo, 2 - bar, You completed 4 quests - .....” type plain boring list of stuff, but to make it more like playing the game writes your open epic.. or more diary like… the problem with going diary like is the diary then is required to be infinite as far as storage goes “You traveled to the city of X, you traveled to the city of Y, you traveled to the city of X, etc” each action is a point of data stored.  Showing a plain old open/closed quest list just uses existing data…

meh. If I were not restricting my memory usage…

Posted by Stu on 11/02/2009 at 02:55 PM Permalink to this post.
Filed Under : ComputersDevelopmentFishguts
Tags:

(0) Comments
Share/Bookmark

Thursday, October 22, 2009

Haiku testing

Was going to do some port testing on Haiku but there is no current ruby port and a lot of dev tools are lacking right now. I had to hack lua to build, as it does not support libm.. they folded libm into libroot, which is a real pain in the ass and they wont change it (even tho everything in the world links against libm grrrr).

Without ruby I’m dead in the water as my build system is all ruby based. :(

sigh…. haiku was looking so nice too

Posted by Stu on 10/22/2009 at 09:51 PM Permalink to this post.
Filed Under : ComputersDevelopment
Tags:

(0) Comments
Share/Bookmark

Sunday, October 11, 2009

Because I’m not doing enough things

I’ve been poking at D (the programming language) for a long time but never really done more than ultra basic things and look at some of its included examples.. Well, know I figure its time to actually build something with it and learn it for real.  I’m going to combine a few things together to tie the learning experience.

The goal is to learn D v1 and GTK+ at the same time and use it to build a useful application (well one I find useful). I’ve always wanted a good tool to manage Firebird databases on Linux, that is connection manager, stored proc manager, sql editor, table manager etc, ddl, import/export data etc. The EMS tools on windows make me jealous.

I’ve decided on D1 because D2 is still half baked and I really don’t like the idea that its everything and the kitchen sink..

To that affect, I’ve already got D1 + GTK-D working on my linux box (install was actually quite simple and painless), I’ve got it loading glade files, so I’m not building the GUI in code.

Time to write a small function + technical spec to keep me on track, otherwise I’ll wander all over the place. This way I can define exactly what I’m going to be doing and come up with a basic feature set to avoid feature creep.

I have my copy of Lean to Tango with D (Even tho I am using Phobos, its still a good D primer), and my copy of Foundations of GTK+ Development… both sitting unused for ages so its time to dust them off and see what comes.

 

Posted by Stu on 10/11/2009 at 03:54 PM Permalink to this post.
Filed Under : ComputersDevelopment
Tags:

(0) Comments
Share/Bookmark
Page 4 of 117 pages « First  <  2 3 4 5 6 >  Last »