Commit Graph

37 Commits (96b42f8ac15bdeddabc261eee5dc74bf1a6c21d0)

Author SHA1 Message Date
Petr Mrázek fb9ca213ec DFVector is now a template, eliminationg tons of ugly casts.
I think I got them all, but testing is required.
2010-04-18 14:56:09 +02:00
Petr Mrázek caa482fbd1 Support for reading/writing temperature, extended veinlook 2010-04-17 15:30:25 +02:00
Petr Mrázek 9f7e1263a0 Veinlook fix 2010-04-12 16:07:07 +02:00
Petr Mrázek 08658373d6 Occupancy stuff - very strange 2010-04-12 15:29:01 +02:00
Petr Mrázek c58abe8ef9 Veindig the digger of veins. It menaces with spikes of cache and floodfill. 2010-04-11 02:08:21 +02:00
Petr Mrázek 75e36a59ba Fix for map reading 2010-04-09 04:29:24 +02:00
Petr Mrázek 1476390f14 Spatter veins in veinlook 2010-04-08 11:18:31 +02:00
Petr Mrázek 62fc5bd677 Spatter veins, spatterdump tool 2010-04-07 22:28:05 +02:00
Petr Mrázek 500ee6a49b Modular API 2010-04-05 00:48:19 +02:00
Petr Mrázek ef6af19c8d Fix t_vein, tiletype offset 2010-04-03 04:41:21 +02:00
Petr Mrázek 8137c73b98 Beginning DF2010 support 2010-04-02 15:47:08 +02:00
Petr Mrázek 4d939363b5 Many fixes to DFHack tools and examples 2010-03-26 13:01:46 +01:00
Petr Mrázek 0560ce66aa Veinlook displays block flags 2010-03-26 11:28:33 +01:00
Petr Mrázek 62402b3769 Fix silly veinlook columns 2010-03-26 04:04:11 +01:00
Petr Mrázek 8d71f20752 More unicode for veinlook 2010-03-26 01:21:35 +01:00
Petr Mrázek f0edb0c33d Map block flags added to the API
Added a RAMP_TOP tile shape, ramp characters for veinlook
Merged in the magma_create util by Aleric, tweaked it a bit, made it use the block flags
2010-03-26 00:42:07 +01:00
Petr Mrázek 822265443c Make the API a bit saner about the used data types and structures 2010-03-25 21:37:09 +01:00
Petr Mrázek 1ad9dfea11 Auto-find ncurses libs and include files for veinlook 2010-03-23 21:35:14 +01:00
Petr Mrázek 71f8474e11 Added reading/writing support for effects like mist
Veinlook shows effects for it's middle block
Veinlook now uses wide-character ncurses
2010-03-20 17:30:13 +01:00
Petr Mrázek c283197b71 Flush input in veinlook, so it doesn't 'lag' so bad 2010-03-18 20:05:32 +01:00
Petr Mrázek d2afd21318 Stop synchronous suspend from eating CPU cycles.
Untested on windows.
Breaks the SHM protocol. New SHM server library is required.
2010-03-18 19:55:01 +01:00
Petr Mrázek 73f95e4a6d Fix the mapblock reading - C++ was being 'helpful' again 2010-03-05 01:57:51 +01:00
Petr Mrázek 8e8d320a0b Don't build SHM on 64bit, makes no sense
Added origin to mapblock40d
2010-03-05 01:26:39 +01:00
Petr Mrázek c86464502c SHM rework, stage 2 2010-03-05 00:05:01 +01:00
Petr Mrázek 236a28b606 Fixed veinlook (bogus offset retrieval) 2010-03-01 04:58:10 +01:00
Petr Mrázek 726519e2ca Major memory_info rework.
All <class> tags and vtable="" attributes in Memory.xml are now obsolete.
<multiclass> tags are still important, but don't need the vtable attrs.
Vtables are resolved automatically.
All this will be left in Memory.xml until utility authors update to this version or newer.
2010-02-25 13:41:57 +01:00
Petr Mrázek 9268a79a66 Reading of tiletypes under ice - 'ice veins' 2010-02-21 05:51:29 +01:00
Petr Mrázek 54c05279b1 Vein vtables 2010-02-21 04:39:01 +01:00
Petr Mrázek 3c7c197f7a Removed bogus block flags, added actual dirty bit :) 2010-02-20 16:33:30 +01:00
Petr Mrázek 26568fe5ea Added 'dirty' bit of a block to veinlook, API. 2010-02-20 12:58:52 +01:00
Petr Mrázek 88cb312a65 Added block dump function to veinlook 2010-02-20 01:12:55 +01:00
Petr Mrázek 544e37f183 ForceResume DF on exit of veinlook 2010-02-19 03:37:16 +01:00
Petr Mrázek f71fef9ef5 Process::readClassName implemented 2010-02-19 02:48:03 +01:00
Petr Mrázek 6b92ea274d Veinlook shows material of mineral veins 2010-02-18 17:58:25 +01:00
Petr Mrázek 42a12ffaec Veinlook now goes to map edges
API change: isValidBlock now checks for map boundaries
API change: added getBlockPtr. It returns a DF pointer to a block.
2010-02-18 02:10:39 +01:00
Petr Mrázek 3193e3c835 Fixed segfault in veinlook and cleaned it up. Updated precompiled SHM for Linux. 2010-02-17 20:00:55 +01:00
Petr Mrázek 2bde06a2af Added veinlook, linux SHM produces less spam messages.
Veinlook is a tool that allows looking at the map and the different vein types it contains. This adds ncurses as a dependency on Linux.
2010-02-17 17:49:19 +01:00