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
belal
e500b13533
offsets are all correct for 40d, creature offsets are not constant all the way back to 38.a, so more work needs to be done there
...
This could probably be used in stonesense as it is though, all the map data is correct
2010-03-10 21:24:31 -05:00
Petr Mrázek
5c4ef73f4d
Merge branch 'shm-only'
2010-03-09 15:31:44 +01:00
Zhentar
65bf8f69fd
Proper-fy name handling for creatures. For surnames and such, official DF logic is used.
2010-03-05 00:02:41 -06:00
Petr Mrázek
c86464502c
SHM rework, stage 2
2010-03-05 00:05:01 +01:00
Petr Mrázek
7a85682ea0
Many fixes to DFHack::API
...
Wrapper generation still manual, but makes a lot more sense
2010-02-28 01:25:04 +01:00
Petr Mrázek
347eb66d21
Changes for better SWIG support
2010-02-26 22:22:10 +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
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
fbad1cb5a3
Fixed annoying MSVC bug and MSVC warning spam
2010-02-22 00:18:44 +01:00
Petr Mrázek
9268a79a66
Reading of tiletypes under ice - 'ice veins'
2010-02-21 05:51:29 +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
e9e1d2b8b9
Tabs to spaces
2010-02-18 18:06:32 +01:00
Petr Mrázek
2e02efa8d2
Merge branch 'master' of git://github.com/belal/dfhack
2010-02-18 17:55:43 +01:00
belal
387e1e8794
Finish up code for hotkeys and notes, just need to find offsets for linux versions and windows < d17
...
Signed-off-by: belal <jimbelal@gmail.com>
2010-02-17 21:08:54 -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
Petr Mrázek
a17cb053d4
quick creature API fix
2010-02-13 16:19:11 +00:00
Petr Mrázek
63f82cd580
API changes: InitRead* methods made safer - they now return false on error
2010-02-11 21:08:39 +00:00
Petr Mrázek
5b0a03b16d
merged itemdesignator and menustate patches
2010-01-18 16:44:24 +00:00
Petr Mrázek
91f64ac8ba
iteration for huge reads and writes, async suspend call for polling
2010-01-02 02:25:21 +00:00
Petr Mrázek
037d1369cb
syntax fixes, some things were out of sync
2010-01-01 02:30:35 +00:00
Petr Mrázek
c7c446a33a
merged previous patch from belal (things intended for Dwarf Therapist)
2010-01-01 02:14:41 +00:00
Petr Mrázek
117fcce0d9
merged item patch from belal
2010-01-01 01:49:32 +00:00
Petr Mrázek
efce0ab21b
merge in shm branch
2009-12-22 21:19:39 +00:00
Petr Mrázek
1d25a995b8
comments, leftovers, fixed repeated character input on linux
2009-12-13 04:43:06 +00:00
Petr Mrázek
63dedc5da3
move t_special to a new file
2009-12-13 00:56:11 +00:00
Petr Mrázek
337d42e15a
merged input injection patch by belal
2009-12-12 19:52:30 +00:00
Petr Mrázek
6cb7c4a636
optimizations
2009-11-22 14:43:53 +00:00
Petr Mrázek
989fa8f887
ForceResume call
2009-11-19 01:48:18 +00:00
Petr Mrázek
dea1ce858b
merged window dimension and item matgloss patches from belal
2009-11-18 03:35:43 +00:00
Petr Mrázek
2f710730ac
merged item support by belal
2009-11-17 14:52:47 +00:00
Petr Mrázek
5be36e0f42
load dfvector whole instead of on-demand
2009-11-16 20:00:14 +00:00
Petr Mrázek
47b61a907d
suspend and continue calls, a method for reading creatures within a volume
2009-11-16 16:47:22 +00:00
Petr Mrázek
7e3af38941
add support for enumerating process memory ranges. full of fail on windows.
2009-11-15 04:25:00 +00:00
Petr Mrázek
37d08a05ca
creatures almost done
2009-11-14 03:46:56 +00:00
Petr Mrázek
7489fe51ab
fix for the ambiguous abs() call, slowly reworking creatures
2009-11-13 13:35:44 +00:00
Petr Mrázek
370655a516
move creature getters to the public API
2009-11-12 01:53:49 +00:00
Petr Mrázek
30d8a015fd
cursor and window coords reading and writing (only for 40d16 on windows right now)
2009-11-12 01:39:43 +00:00
Petr Mrázek
e8e3f9e794
view and cursor coords for 40d16 on windows
2009-11-12 01:05:07 +00:00
Petr Mrázek
4f279680b5
using D pointer, a proper interface
2009-11-11 03:37:28 +00:00
Petr Mrázek
88771ab973
merged another big creature patch from belal, moved C API to unmaintained, starting a big cleanup of the new code
2009-11-09 23:18:20 +00:00
Petr Mrázek
a7bf3595b7
merged a big patch from belal, unstable on anything but windows 40d16
2009-11-07 21:05:10 +00:00
Petr Mrázek
41475d1918
manual merge of patch from http://www.bay12games.com/forum/index.php?topic=41916.msg850579#msg850579
2009-11-06 01:04:17 +00:00
Petr Mrázek
d3b62a7672
research into buildings, building hexdump tool
2009-11-04 01:01:55 +00:00
Petr Mrázek
a09f45df71
resolved some problems
2009-10-23 18:05:42 +00:00
Petr Mrázek
f5acba111e
flags for creatures. no idea what they mean
2009-10-23 16:50:36 +00:00