Commit Graph

169 Commits (bdf2d15179481d2e90d56d61f719f2e0364ed835)

Author SHA1 Message Date
Petr Mrázek 81cf60c0e0 Fixes to creature offsets. Needs more checking. 2010-04-13 07:36:16 +02:00
Petr Mrázek 88a3d96ef6 0.31.03 support. Creature soul offsets need a bit of work it seems. 2010-04-13 05:46:26 +02:00
Petr Mrázek e85b429127 Throw exceptions on memory read errors! Fix reading creatures that have no soul. 2010-04-13 03:11:26 +02:00
Petr Mrázek 549b845738 Custom buildings (tested) 2010-04-13 00:03:29 +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 6ba2804b68 Creature traits, added back map occupancy. 2010-04-12 00:48:25 +02:00
Petr Mrázek 7e0a560574 Fix uninitialized variable 2010-04-11 06:50:43 +02:00
Petr Mrázek d96d2018a8 Hotkey reading 2010-04-11 02:32:50 +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 e2a7d9e639 Windows fixes 2010-04-10 05:48:50 +02:00
Petr Mrázek 887f1942cc Tagging first DF 2010 release 2010-04-10 03:49:37 +02:00
Petr Mrázek d8e356b2b2 Resurrected the cleanmap tool, fix for crash in construction dump 2010-04-10 02:12:45 +02:00
Petr Mrázek 85ce3ce1d8 Construction reading 2010-04-10 00:24:41 +02:00
Petr Mrázek ce279302d5 Possibly figured out building type offsets.
buildingsdump improvements (interacts with cursor, dump all with no parameters)
2010-04-09 15:16:14 +02:00
Petr Mrázek fb01ecf6c9 Buildings - names, type offsets and other stuff could be wrong 2010-04-09 14:44:00 +02:00
Petr Mrázek 75e36a59ba Fix for map reading 2010-04-09 04:29:24 +02:00
Petr Mrázek c08d696d56 Creature mental attributes 2010-04-09 03:21:42 +02:00
Petr Mrázek aa32e79fea Physical attributes in creaturedump 2010-04-09 02:14:47 +02:00
Petr Mrázek 409e3ffcf0 More creature stuff 2010-04-09 02:08:46 +02:00
Petr Mrázek 4bb05d015a Support for v0.31.02 2010-04-08 19:48:06 +02:00
Petr Mrázek 1476390f14 Spatter veins in veinlook 2010-04-08 11:18:31 +02:00
Petr Mrázek 659e57e3c4 Added missing file, small changes 2010-04-08 02:20:54 +02:00
Petr Mrázek 13571a9bde *VERY* Specific Blood 2010-04-07 23:56:23 +02:00
Petr Mrázek 62fc5bd677 Spatter veins, spatterdump tool 2010-04-07 22:28:05 +02:00
Petr Mrázek 9589617d98 Moved some common bits of the examples to a header file
treedump utility
2010-04-07 16:45:38 +02:00
Petr Mrázek 839e255d17 Vegetation reading 2010-04-07 12:49:37 +02:00
Petr Mrázek 01383fd8b7 Dwarf labors work, added to creaturedump 2010-04-07 03:38:22 +02:00
Petr Mrázek f81c66d9ea Reading creature skills 2010-04-07 02:46:46 +02:00
Petr Mrázek 5ee584b372 Name translation for real 2010-04-07 01:17:03 +02:00
Petr Mrázek 7b1edd5122 Name translation module - untested 2010-04-06 17:11:58 +02:00
Petr Mrázek d5aa1488a6 Magma create works 2010-04-06 13:05:54 +02:00
Petr Mrázek 500ee6a49b Modular API 2010-04-05 00:48:19 +02:00
Petr Mrázek 1d513256fd Processed profession list 2010-04-04 12:43:11 +02:00
Petr Mrázek 51a1ec5c1e Very basic creature reading 2010-04-04 12:29:56 +02:00
Petr Mrázek e9642310de Materials - semi-finished 2010-04-04 10:10:00 +02:00
Petr Mrázek ef6af19c8d Fix t_vein, tiletype offset 2010-04-03 04:41:21 +02:00
Petr Mrázek 7d48ea49ae Reveal and prospector tools work. Basic inorganic matgloss works. Basic map reading works. 2010-04-03 03:52:46 +02:00
Petr Mrázek 5b8fa0ffa6 Added material addresses to veccheck and Memory.xml 2010-04-02 22:00:33 +02:00
Petr Mrázek bcbc540283 More moving of things 2010-04-02 17:27:35 +02:00
Petr Mrázek 8137c73b98 Beginning DF2010 support 2010-04-02 15:47:08 +02:00
Petr Mrázek c631270425 Fix squads on Linux
Sync catsplosion
2010-03-30 20:20:34 +02:00
Petr Mrázek 71fc49897f Accelerated creatures work on Windows
Refactored vector reading, proper length of vectors from MSVC9 is known (0x18, triplet starts at 0xC)
2010-03-30 02:26:52 +02:00
Petr Mrázek 6522d0c498 Even more fixes for random crashes in some less common cases (DF in the menu, etc...) 2010-03-26 13:38:49 +01:00
Petr Mrázek 4d939363b5 Many fixes to DFHack tools and examples 2010-03-26 13:01:46 +01:00
Petr Mrázek 02b7d92135 Update readme and fix up some build system problems 2010-03-26 12:20:30 +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 517aa0e6e3 Merge branch 'master' of git://github.com/Zhentar/dfhack
Conflicts:
	examples/CMakeLists.txt
	library/DFHackAPI.cpp

Also added offsets for all supported versions
2010-03-26 02:40:17 +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 8543d09c39 More messing with cmake and veinlook 2010-03-23 23:53:46 +01:00
Petr Mrázek 1ad9dfea11 Auto-find ncurses libs and include files for veinlook 2010-03-23 21:35:14 +01:00
Zhentar c4f1c3d212 Created the catsplosion utility 2010-03-21 16:22:02 -05:00
Zhentar 4287abbc94 Add pregnancy and blood stuff to the creature struct 2010-03-21 15:47:24 -05: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
belal 917bbf6c4a Fixed findnameindexes.cpp and added a description of its purpose, it wasn't working because someone had commented out the body, which makes it hard to function. 2010-03-15 18:18:05 -04:00
Petr Mrázek 34a2f238b0 Merge branch 'version_compatiblity' of git://github.com/belal/dfhack 2010-03-14 20:15:54 +01:00
belal 12abef8ace used different creature vector than before, this is the correct one, the old one was missing some creatures, and the current_creature index was not right, also found the offsets for mood and artifacts for 40d
Everything should work now from 40d,40d2->40d19 on windows, linux was already done before

I also modified creaturedump.cpp to show mood and aritifacts if a creature has one, also the mood is now a int rather than a uint, as we check for -1
2010-03-14 13:21:52 -04:00
Petr Mrázek d0531c2925 Add class entries to meta-40d for stonesense 2010-03-14 13:37:39 +01:00
Petr Mrázek 2bd68b9c58 Fix out of bounds vector access in itemdesignator/itemdump 2010-03-14 00:36:09 +01:00
belal 17e81ddcce fixed merge for creaturedump.cpp 2010-03-13 09:09:14 -05:00
belal 0582354191 Merge remote branch 'remotes/peterix/master' into version_compatiblity
trying merge

Conflicts:
	examples/creaturedump.cpp
	output/Memory.xml
2010-03-13 08:45:30 -05:00
belal 791ac8dd75 modify the renamer and creature dump to output the new current cursor creature code 2010-03-12 09:21:45 -05:00
Petr Mrázek 5c4ef73f4d Merge branch 'shm-only' 2010-03-09 15:31:44 +01:00
Petr Mrázek 864bf1a8df Fix for dfrenamer 2010-03-09 12:50:32 +01:00
Petr Mrázek 1c499121e6 Fixes to memory.xml, name reading 2010-03-08 18:27:19 +01:00
Petr Mrázek d2c84df4c8 Merge branch 'master' of git://github.com/Zhentar/dfhack into mergeb
Conflicts:
	library/DFHackAPI.cpp
2010-03-08 13:56:32 +01:00
Zhentar 052dd53c03 Further cleanup for name stuff; fixing examples that I broke and handling settlements. Also added mood, so that it can be determined whether or not the dwarf's artifact was created. 2010-03-07 20:01:30 -06:00
Petr Mrázek 96512a7e1d Linux d19 support 2010-03-05 22:19:27 +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 3c02079a30 Added numeric parameter to expbench 2010-03-01 02:06:22 +01:00
belal f35472214a Made the number of iterations easy to change, and the percentage indicator less spammy, it now overwrites itself as it goes. 2010-02-28 19:00:27 -05:00
Petr Mrázek fa878f2e9d Fix terrible Linux SHM performance on single-core 2010-02-28 18:08:44 +01:00
mizipzor 4f85f37b01 added some exceptions to handle errors 2010-02-28 01:13:34 +01:00
Petr Mrázek 347eb66d21 Changes for better SWIG support 2010-02-26 22:22:10 +01:00
belal 0fa2bb8cd8 settlement offsets for windows and linux d9-d17, fixes for linux offsets, forgot the name offset, and switched the current and all settlement address :) 2010-02-25 17:50:52 +01:00
belal a5d42e4051 Code for getting the current and all settlements in the world, currently has offsets for the settlement location, name, and area size. Right now the current settlement causes msvc to claim the heap is corrupted, I think due to the fact that the current_settlement vector only has 1 item in it. I think it may be a bug in the vector code, as my code is basically identical between the current settlement and the other settlements.
Signed-off-by: belal <jimbelal@gmail.com>
2010-02-25 17:50:52 +01:00
Petr Mrázek 49a2f97601 Silly building reading bug fixed 2010-02-25 14:59:29 +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 1e04722a63 Refactor of memory_info class, now with more d-pointer 2010-02-22 23:34:20 +01:00
Petr Mrázek 7c3f146197 Put findnameindexes to the right place 2010-02-21 06:40:30 +01:00
Petr Mrázek c2a77d2de9 Merge branch 'master' of git://github.com/mizipzor/dfhack 2010-02-21 05:59:21 +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
mizipzor 9799a78afe some code restructure to make position not exit instantly on fail 2010-02-21 01:12:12 +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 1c64010b80 Missed one glitch in the merge 2010-02-18 20:16:05 +01:00
Petr Mrázek 49cd747a59 Merge branch 'master' of git://github.com/mizipzor/dfhack
Conflicts:
	examples/CMakeLists.txt
2010-02-18 18:45:46 +01:00
mizipzor fe77ac2d00 fixed CMakeLists.txt since digger is now relocated 2010-02-18 18:19:14 +01:00