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
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
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
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
5c4ef73f4d
Merge branch 'shm-only'
2010-03-09 15:31:44 +01:00
Petr Mrázek
1c499121e6
Fixes to memory.xml, name reading
2010-03-08 18:27:19 +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
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
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
347eb66d21
Changes for better SWIG support
2010-02-26 22:22:10 +01:00
Petr Mrázek
4509e275ce
Tabs to spaces
2010-02-25 17:53:41 +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
fbad1cb5a3
Fixed annoying MSVC bug and MSVC warning spam
2010-02-22 00:18:44 +01:00
Petr Mrázek
e9e1d2b8b9
Tabs to spaces
2010-02-18 18:06:32 +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
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
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
Petr Mrázek
568fcd6105
designation and traffic bits turned into enums
2010-02-14 00:45:46 +00:00
Petr Mrázek
5b0a03b16d
merged itemdesignator and menustate patches
2010-01-18 16:44:24 +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
3888d0fc06
fixed tons of warnings, removed dependency on xtest
2009-12-13 21:03:19 +00:00
Petr Mrázek
63dedc5da3
move t_special to a new file
2009-12-13 00:56:11 +00:00
Petr Mrázek
069597f10c
more cleanup
2009-12-13 00:47:58 +00:00
Petr Mrázek
337d42e15a
merged input injection patch by belal
2009-12-12 19:52:30 +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
47b61a907d
suspend and continue calls, a method for reading creatures within a volume
2009-11-16 16:47:22 +00:00
Petr Mrázek
37d08a05ca
creatures almost done
2009-11-14 03:46:56 +00:00
Petr Mrázek
e88e9b2951
more creature rework, now with none of the strings
2009-11-13 14:28:42 +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
7ce31ae483
shallow copy fix from belal
2009-11-12 17:50:50 +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
d84ed97d5a
creature flags from Toady
2009-10-29 14:06:05 +00:00
Petr Mrázek
adb33b88f9
fixed swapped metal and plant matgloss, got rid of deprecated old stuff
2009-10-28 15:40:10 +00:00
Petr Mrázek
2c5c1f3a32
hidden ambusher bit - maybe
2009-10-26 03:06:11 +00:00
Petr Mrázek
6fb365b558
creature flags, lots of unknown ones
2009-10-24 02:32:57 +00:00
Petr Mrázek
f5acba111e
flags for creatures. no idea what they mean
2009-10-23 16:50:36 +00:00
Petr Mrázek
876dcbf7cc
base support for creatures
2009-10-23 01:39:19 +00:00
Petr Mrázek
b5137240dc
merged C API patch from Jifodus
2009-10-22 00:18:49 +00:00
Petr Mrázek
8e72f2af0e
Visual Studio compatibility patch from jifodus
2009-10-04 13:08:20 +00:00
Petr Mrázek
921802ce00
sync
2009-09-18 11:31:56 +00:00