Commit Graph

81 Commits (ea6c5f726f723e2f7fe5306cbbc8f6f5971304f7)

Author SHA1 Message Date
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