]>
git.draconx.ca Git - liblbx.git/log
summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
Nick Bowler [Tue, 1 Jan 2008 04:48:27 +0000 (23:48 -0500)]
Add a basic regression test tool.
Nick Bowler [Mon, 31 Dec 2007 22:56:13 +0000 (17:56 -0500)]
Allow embedded palettes to override arbitrary locations in the palette.
The first word of the palette header indicates where to start writing.
This (at least) makes techsel.lbx.000 work.
Nick Bowler [Mon, 31 Dec 2007 10:24:40 +0000 (05:24 -0500)]
Update handling of embedded palette data in image files.
The pal (formerly wtf2) value indicates the presence of a palette: 0x1000 if
present; 0 otherwise. Then, immediately following the offsets comes the
palette header: 2 bytes always zero, 2 bytes for the number of entries.
Entries are sequential starting from zero.
This makes the logo images work.
Nick Bowler [Mon, 31 Dec 2007 09:40:18 +0000 (04:40 -0500)]
Fixes to image processing.
The noffsets and nframes values stored in image files appear to be one less
than what they actually are, so increment them on load. This makes single
frame images work.
If the xval read on a 'type 0' row command is 1000, stop processing the frame.
This makes the 50th frame of mainmenu.lbx.000 work.
Nick Bowler [Mon, 31 Dec 2007 07:25:15 +0000 (02:25 -0500)]
Implement decoding for lbximg.
Nick Bowler [Mon, 31 Dec 2007 06:32:51 +0000 (01:32 -0500)]
Print newline after _lbx_assert messages.
Nick Bowler [Mon, 31 Dec 2007 01:50:44 +0000 (20:50 -0500)]
Add README.
Nick Bowler [Mon, 31 Dec 2007 01:31:15 +0000 (20:31 -0500)]
Initial implementation of the lbximg tool.
Nick Bowler [Mon, 31 Dec 2007 01:26:57 +0000 (20:26 -0500)]
.gitignore updates.
Nick Bowler [Mon, 31 Dec 2007 01:23:26 +0000 (20:23 -0500)]
Add lbx_getinfo() to query properties of a loaded LBX image.
Nick Bowler [Mon, 31 Dec 2007 01:22:39 +0000 (20:22 -0500)]
Rename LBXIMG to LBX_IMG.
Nick Bowler [Mon, 31 Dec 2007 01:20:53 +0000 (20:20 -0500)]
Fix segfault on EOF in lbximg_fopen().
Nick Bowler [Sun, 30 Dec 2007 16:43:48 +0000 (11:43 -0500)]
"Soften" the format assertions so that they no longer abort().
Nick Bowler [Sun, 30 Dec 2007 09:29:48 +0000 (04:29 -0500)]
Fix processing of the 2nd type of drawing command in images.
The unknown word in the bunch turns out to be an x-adjustment value.
This makes *all* frames of the main menu animation decodable.
Nick Bowler [Sun, 30 Dec 2007 09:02:59 +0000 (04:02 -0500)]
Implement functions for loading palettes, and slightly improve the image reader.
Nick Bowler [Sun, 30 Dec 2007 06:03:02 +0000 (01:03 -0500)]
Starting implementation of image parsing code.
Nick Bowler [Sat, 29 Dec 2007 23:08:48 +0000 (18:08 -0500)]
Split off _lbx_fseek() into a shared component of the library.
Nick Bowler [Sat, 29 Dec 2007 19:28:31 +0000 (14:28 -0500)]
Start adding image support to liblbx.
Nick Bowler [Thu, 27 Dec 2007 19:23:38 +0000 (14:23 -0500)]
Make the letoh? macros consistent between little-endian and big-endian.
Nick Bowler [Thu, 27 Dec 2007 19:18:20 +0000 (14:18 -0500)]
Use AC_HEADER_ASSERT to allow users to disable assertions.
Nick Bowler [Thu, 27 Dec 2007 18:38:02 +0000 (13:38 -0500)]
Convince autoconf to not emit useless C++/Fortran checks.
Nick Bowler [Wed, 26 Dec 2007 23:13:06 +0000 (18:13 -0500)]
Update byte order stuff.
Nick Bowler [Tue, 25 Dec 2007 04:22:05 +0000 (23:22 -0500)]
Update Makefile.am so that lbx.h is installed.
Nick Bowler [Sun, 23 Dec 2007 23:06:44 +0000 (18:06 -0500)]
Add lbx_mmap() to map archive members into memory.
Currently, the whole LBX archive is mapped into memory on the first call, then
offsets from that are returned. If this proves to be problematic, it may have
to be changed.
Nick Bowler [Sun, 23 Dec 2007 22:47:17 +0000 (17:47 -0500)]
Add lbx_mopen() to allow "opening" a region of memory as an LBX archive.
Nick Bowler [Sun, 23 Dec 2007 05:00:08 +0000 (00:00 -0500)]
Implement filename globbing on list/extract.
Nick Bowler [Sun, 23 Dec 2007 04:11:26 +0000 (23:11 -0500)]
Fix lbx_extract's seeking to maintain a correct offset even on errors.
Nick Bowler [Sat, 22 Dec 2007 23:40:41 +0000 (18:40 -0500)]
Initial implementation of list and extract operations.
Nick Bowler [Sat, 22 Dec 2007 21:22:30 +0000 (16:22 -0500)]
Add a name field to support LBX1 fallback.
LBX1 fallback requires files to be named like "archive.lbx.XXX", so we need
to keep track of "archive.lbx".
Nick Bowler [Sat, 22 Dec 2007 21:21:26 +0000 (16:21 -0500)]
Implement stub list operation.
Nick Bowler [Sat, 22 Dec 2007 20:01:35 +0000 (15:01 -0500)]
Add basic stubbiness for lbxtool.
Nick Bowler [Sat, 22 Dec 2007 20:00:31 +0000 (15:00 -0500)]
Update configure to use C99 mode.
Nick Bowler [Sat, 22 Dec 2007 19:05:35 +0000 (14:05 -0500)]
Add GPLv2 license.
Nick Bowler [Sat, 22 Dec 2007 19:02:40 +0000 (14:02 -0500)]
Initial commit