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
mizipzor
6447420c35
moved digger.cpp to tools/
2010-02-18 18:09:05 +01:00
Petr Mrázek
e9e1d2b8b9
Tabs to spaces
2010-02-18 18:06:32 +01:00
Petr Mrázek
6b92ea274d
Veinlook shows material of mineral veins
2010-02-18 17:58:25 +01:00
Petr Mrázek
2e02efa8d2
Merge branch 'master' of git://github.com/belal/dfhack
2010-02-18 17:55:43 +01:00
belal
3ac42b7960
Add missing hotkeynotedump.cpp, thanks peterix
...
Signed-off-by: belal <jimbelal@gmail.com>
2010-02-18 09:27:22 -05: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
belal
e71f41fd42
test commit of notes-windows d17
...
Signed-off-by: belal <jimbelal@gmail.com>
2010-02-17 18:33:08 -05:00
mizipzor
90afd360e8
Merge branch 'master' of git://github.com/peterix/dfhack.git
2010-02-17 22:07:17 +01:00
mizipzor
6515ad6c36
changed DigTarget to struct
...
removed valid flag in DigTarget
removed assignment operator, relies on compiler to generate one (todo, write a real one)
added isequal operator test for DigTarget (todo, implement operator)
it seems to mark trees correct now! :D
2010-02-17 21:54:01 +01:00
mizipzor
0480df6b80
more OO
...
added some test cases to make sure the math works
2010-02-17 21:43:24 +01:00
mizipzor
531e10683d
more coord calc fixes
2010-02-17 20:38:15 +01:00
mizipzor
6f4f406b89
fixed some coordinate calculation bugs
2010-02-17 20:28:41 +01:00
mizipzor
cf2ae626a6
more digger testing
2010-02-17 20:08:34 +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
mizipzor
2051073a2d
some improvements to digger
2010-02-17 19:21:23 +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
mizipzor
a448504e4a
Merge branch 'master' of git://github.com/peterix/dfhack.git
2010-02-16 20:55:35 +01:00