BrenDevLog
Follow along as Brennan attempts to bootstrap a 1-man software company/indie game studio.
What is this blog about?

What I'm workin' on

wifight is a free online multi-player multi-game turn-based game service. Is that enough hyphens? It's fun. I'm basu. Say hi in the chat room!
WINDOWS/PALMOS

Debris Visual Art: A long-running art project. It generates surrealistic paintinglike displays from random imagery accumulated from the Internet. The image continually shifts, but just barely too slowly to see. Someday you'll have a dedicated LCD picture frame in your house running this. I have been working on this off and on since about 2001.
WINDOWS

bmem: A simple (very simple) HUD for your PC, showing memory/CPU/disk use. In win32 the disk cache memory and free memory are kind of the same thing but they are reported separately, which is a huge pain. So I was inspired to write bmem. I also tried to make it as tiny and efficient as possible.
WINDOWS

RSXE: This is my RSS/Atom/whatever newsreader. It's kind of approaching alpha 1.0. I use it every day and code up a feature or two when I find something I miss. The goal here is simplicity, efficiency, and speed.
WINDOWS

Hlscript: When a programmer starts a blog, he can either use a pre-existing software package, or write one himself. Guess which option I picked. Hint: this blog runs on it! The design goals here are once again simplicity and speed. And easy hackability/customization. And not requiring a SQL engine. And not requiring too recent a version of PHP. Or browser.
PHP

Listo: A PHP-based personal streaming mp3 server. I wrote this to use with my Treo 650. It has a Web page interface to queue up songs while you stream them via PocketTunes or similar. It uses LAME to transcode songs to a usable bitrate. I use 32-40kbit mono variable bit rate over GPRS/EDGE.
PHP

 




 

jan 29 2009

thursday
 
wifight on win32: status update

Screenshot of wifight login screen on win32 So for the last two months or so, I've just been pushing on getting the win32 port of the wifight client up and running. The game engine had already been ported, but that still left all the UI. And there is actually a lot of it now. So what I did was write a parser that reads from the PalmOS .rcp file and outputs some C-style tables into a header file. Then I #include that header file back into the C++ and have some code that parses the data in it and recreates the same UI, but with win32-native elements (buttons, edit fields, checkboxes etc.) Then button clicks and such are passed to the portable Screen object for processing which doesn't know or care which OS it is running on. So this is really getting the clients in sync. I'm at the point where you can switch between screens, play turns (of course!) and a lot of the features work, including a bunch of the menu items and buttons.

It's still a work in progress, but you can try the build I just posted to the forums if you have a wifight login already.

So that's coming along nicely, and the client codebase is getting very portableized in general, which should make future ports go much more easily. And now at this point I'm doubling back and porting the PalmOS build to the new portable code. So hopefully by the time everything is working on both sides again I'll have a nice portable codebase to build features on, and hopefully I'll be able to add basic UI features to both clients simultaneously.

Wifight winclient has also been cursorially tested on WINE, so if you're on Mac or Linux (or ...?) and at all adventurous, you should give it a shot.


 linkme
<<prev
next>>
 
Comments(0)

Your Name: (Leave blank for Anonymous)
ANTI SPAM: What is two plus two?
Comment:
 

RSS
for posts

RSS
for comments