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
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
Petr Mrázek
e61fdffcf9
Merge git://github.com/mizipzor/dfhack
2010-02-16 20:51:09 +01:00
Petr Mrázek
054fec0afc
Updated README and COMPILE, split tools into tools and examples.
...
Tools are now useful, and with a working user interaction where applicable.
Examples are a collection of benchmarks, tests and simple unfinished ideas.
2010-02-16 07:21:38 +01:00