Commit Graph

312 Commits (dd3bdecc1a4a1b19e1ccc0102f751e78c05e0d14)

Author SHA1 Message Date
doomchild ed65961071 added Position_C.cpp to build list 2010-04-30 16:04:17 -05:00
doomchild 177bbf30c0 added ReadRaw/WriteRaw 2010-04-30 16:04:05 -05:00
doomchild d750e30612 now using DFCommonInternal.h 2010-04-30 16:03:37 -05:00
doomchild 08a897f086 using integers.h now 2010-04-30 16:01:40 -05:00
doomchild 4166f1e194 added EXPORT definition, because I'm lazy and don't like typing __declspec(dllexport) everywhere 2010-04-30 16:01:29 -05:00
doomchild 39ab2cd8ec added C api to make lists 2010-04-30 15:25:12 -05:00
doomchild d95ea2c006 first commit 2010-04-30 15:24:49 -05:00
Petr Mrázek 26bbd1de17 Make new probe tool out of the 'vecc' thing. 2010-04-30 21:52:37 +02:00
simon 9f939687ec Some generic material is decoded, although not well 2010-04-30 17:42:31 +02:00
simon 6531829268 adding creature extract support 2010-04-30 17:03:21 +02:00
sami 3c9ac77581 fixes for the python stuff 2010-04-29 23:59:47 +03:00
simon 43dff6522a multiple fixes so that the python interface builds with my modifications 2010-04-29 18:24:34 +02:00
simon 860b0a67af Merge commit 'origin' into bartavelle 2010-04-29 18:13:43 +02:00
simon d5b8821a90 better names for what's in the "t_material" structure 2010-04-29 16:59:30 +02:00
Petr Mrázek 07f8c442b9 Fix MSVC build of pydfhack, remove config.h (this is generated by cmake on build) 2010-04-29 00:10:39 +02:00
Petr Mrázek c0ae0840db stones.py sort-of works 2010-04-28 23:48:50 +02:00
Petr Mrázek 61c5e36537 Pythn module fixes for 64bit, it gets built now, but doesn't work AFAIK 2010-04-28 23:11:24 +02:00
simon 3cab327704 Added embryo function for getting item descriptions 2010-04-28 18:24:27 +02:00
simon 3e16c75944 fixes for some compilation warnings 2010-04-28 18:21:52 +02:00
simon 82dbf08d0b Modified the material API 2010-04-28 18:09:32 +02:00
simon 8065867a3b moving the t_material structure to the Materials.h file 2010-04-28 17:40:27 +02:00
Petr Mrázek 87a2741a09 Merge branch 'master' of http://github.com/doomchild/dfhack 2010-04-28 13:29:36 +02:00
Petr Mrázek c37f164c39 More work on local features - hell temple 2010-04-27 23:48:25 +02:00
Petr Mrázek 06ce1c7225 Fix local feature read for arena mode (no read if base == 0) 2010-04-27 00:17:53 +02:00
Petr Mrázek 41268470b6 Fix ptrace bug on 64bit linux systems 2010-04-27 00:12:22 +02:00
Petr Mrázek 157deb85af CR/LF? 2010-04-26 18:23:47 +02:00
Petr Mrázek f91720c97e Merge branch 'bartavelle' of git://bigbox.banquise.net/dfhack 2010-04-26 18:22:41 +02:00
Petr Mrázek 96c2effab6 Sync 2010-04-26 18:12:00 +02:00
doomchild 097b65b5ba added error check to TranslateName 2010-04-26 10:32:06 -05:00
doomchild 3bf53e59f1 tweaked BuildName 2010-04-26 10:31:43 -05:00
doomchild e43bc0dfc5 changed Name to namedtuple 2010-04-26 10:31:29 -05:00
simon bc08be3cbb Another flag is useful here 2010-04-26 17:19:20 +02:00
simon 9be275727c Material flags is a DWORD, not a WORD 2010-04-26 15:39:42 +02:00
simon 2188ab1122 Add support for reading those strange flags in the mood materials 2010-04-26 15:34:07 +02:00
simon 4ef3108d58 offset magic 2010-04-26 15:25:12 +02:00
simon dfea1911ca mood skill support in the creature structure 2010-04-26 14:12:07 +02:00
simon 310f8c3dbe forgot to remove debug printf ... 2010-04-26 13:29:28 +02:00
simon b59b552f93 Mood reading preliminary support 2010-04-26 13:23:57 +02:00
simon a60470ccd1 Merge branch 'bartavelle' of gitosis@bigbox.banquise.net:dfhack into bartavelle 2010-04-26 10:22:01 +02:00
Petr Mrázek d03cb827f3 Merge branch 'master' of http://github.com/doomchild/dfhack 2010-04-25 22:24:39 +02:00
Petr Mrázek 78dbe8cca6 Fixes for Maps, local features still problematic 2010-04-25 20:52:57 +02:00
Petr Mrázek 6268d66221 API::Attach doesn't trash the current attached process and its modules. 2010-04-25 11:05:11 +02:00
Petr Mrázek abaee5ce45 uint -> uint32_t, removed 8 unit offset from the local feature dump method 2010-04-24 16:36:41 +02:00
Petr Mrázek 340b0cf91c Veinlook uses Map features 2010-04-24 01:50:04 +02:00
Petr Mrázek 8156469825 Global, local feature reading in Maps 2010-04-24 01:15:15 +02:00
doomchild ee9da5910b updated to use new namedtuples 2010-04-23 14:32:38 -05:00
doomchild 8eacdbe7f9 added new namedtuples 2010-04-23 14:32:24 -05:00
U-glouglou\simon 72dc92d2fb new tool : mood dump 2010-04-23 20:13:08 +02:00
doomchild 365c6dd0ed updated to Tree tuple type 2010-04-23 11:56:38 -05:00
Petr Mrázek 9bd7a6ea9b Fixes for DFError.h 2010-04-23 18:51:54 +02:00
simon 9f93a48bb4 Revert "mood dump test"
This reverts commit ceaea4341d.

Conflicts:

	tools/moodump.cpp
2010-04-23 18:39:25 +02:00
simon ceaea4341d mood dump test 2010-04-23 18:22:45 +02:00
doomchild cabe5d9271 added WriteLabors 2010-04-23 11:01:34 -05:00
doomchild f06f8cc752 updated to match upstream flag definition 2010-04-23 09:18:01 -05:00
doomchild 95ce40e4b6 Merge remote branch 'upstream/master' 2010-04-23 09:14:10 -05:00
Petr Mrázek ddc2dd354d operator precedence! 2010-04-23 04:00:41 +02:00
doomchild b288f43c3e first commit 2010-04-22 13:06:59 -05:00
doomchild 73f676bc36 fixed std::string to Python string conversion in DF_Building_ReadCustomWorkshopTypes 2010-04-22 09:07:04 -05:00
doomchild 6903a46d90 Merge remote branch 'upstream/master' 2010-04-22 09:01:04 -05:00
simon a6c42c6468 the Materials::ReadDescriptorColors function does return a value now ... 2010-04-22 10:38:26 +02:00
doomchild b0bda21d8e fixed type setters to return -1 instead of NULL on error 2010-04-21 14:59:04 -05:00
doomchild dcaeadf4d3 include DFTypes.h 2010-04-21 14:58:38 -05:00
doomchild 662bb2291b added base type assignments 2010-04-21 14:58:17 -05:00
doomchild d148aeecc8 updated build script 2010-04-21 14:57:53 -05:00
doomchild 60c41d41df include DFTypes.h 2010-04-21 14:57:41 -05:00
doomchild 1a575a2d19 include std stuff 2010-04-21 14:57:23 -05:00
doomchild b7a9a0d146 include DFTypes.h 2010-04-21 14:57:05 -05:00
doomchild 831afd391d add integer conversions for union types 2010-04-21 14:56:34 -05:00
doomchild 7ecdc4a5b4 added type changes for vegetation and gui 2010-04-21 10:41:06 -05:00
doomchild 3a94785cc0 changed API type name 2010-04-21 10:40:43 -05:00
doomchild 73fc2cf498 first commit 2010-04-21 10:40:31 -05:00
doomchild 16d5175ee5 updated for upstream additions 2010-04-20 16:23:23 -05:00
doomchild 20b752f68f Merge remote branch 'upstream/master' 2010-04-20 15:04:18 -05:00
doomchild f86cb94d36 updated type string, tweaked reverse designation build 2010-04-20 12:21:52 -05:00
doomchild 5cc3b5e4c7 added map_type...now I should be able to subclass easier 2010-04-20 12:20:30 -05:00
doomchild 45f81d18bd updated type strings/names 2010-04-20 12:19:53 -05:00
simon 72376d1d35 Color descriptors handling 2010-04-20 18:25:52 +02:00
simon 22b703e085 readFloat support (to be checked for SHM builds !) 2010-04-20 18:13:00 +02:00
doomchild 2b544ba2de updated compiler flags to get rid of stupid newline warnings 2010-04-20 09:19:23 -05:00
simon ae01bfe18e Merge commit 'origin' into bartavelle 2010-04-20 11:48:48 +02:00
Petr Mrázek 8676ba5f07 Extremely basic map feature reading, lives in vector check ... 2010-04-20 04:37:45 +02:00
U-glouglou\simon ac57250f5e Forgot to remove this debugging help ... 2010-04-19 20:05:10 +02:00
simon 7f5edd58c8 Merge commit 'origin' into bartavelle 2010-04-19 14:46:30 +02:00
simon 1ff7f6e478 Add civilization support :
* field in creature structure
* offset of the player civilization id
2010-04-19 14:36:21 +02:00
Petr Mrázek 25f5db1b4c Invalidate all modules on Detach(), fix reveal. 2010-04-19 14:14:37 +02:00
simon 9705e05d8c Creature tile description support
Reading of the tile character and colors in the race structure, plus
offsets in Memory.xml.
Upgrade of creaturedump
2010-04-19 11:23:11 +02:00
Petr Mrázek 5b28ac3b59 Fix compilation undex MSVC/Windows. 2010-04-19 00:56:22 +02:00
Petr Mrázek 96b42f8ac1 Fix linux crashes. 2010-04-19 00:32:50 +02:00
Petr Mrázek 39eacd2069 Merge branch 'master' of git://github.com/doomchild/dfhack 2010-04-18 21:53:12 +02:00
Petr Mrázek 2eddc69ef8 Removed g_pProcess global. 2010-04-18 21:30:02 +02:00
Petr Mrázek fb9ca213ec DFVector is now a template, eliminationg tons of ugly casts.
I think I got them all, but testing is required.
2010-04-18 14:56:09 +02:00
Petr Mrázek caa482fbd1 Support for reading/writing temperature, extended veinlook 2010-04-17 15:30:25 +02:00
doomchild 765d65a107 added vein reading 2010-04-16 16:21:16 -05:00
doomchild 9729ca420e added new type imports 2010-04-16 16:21:05 -05:00
doomchild 9c6d889a24 added vein types 2010-04-16 11:59:38 -05:00
Petr Mrázek 52b9ed3afe Reading of dwarf race index 2010-04-16 13:28:07 +02:00
doomchild 3db399504e got reading/writing working 2010-04-15 15:56:13 -05:00
doomchild f65d4cfb29 added getters for new modules 2010-04-15 12:56:33 -05:00
doomchild a89eb15375 trimmed definitions 2010-04-15 12:56:18 -05:00
doomchild b2ab2037bb fixed ctypes import 2010-04-15 12:56:09 -05:00
doomchild b563a9a22d added remaining module types 2010-04-15 12:55:54 -05:00
doomchild b11e7d4748 added type definition 2010-04-15 12:55:44 -05:00
doomchild d7d05132b2 updated for new composite types 2010-04-15 12:55:31 -05:00
doomchild 3e70644160 first commit 2010-04-15 12:55:12 -05:00
doomchild a68a998fd1 switched from using raw dictionaries to imported python types for Note and Name 2010-04-15 10:04:38 -05:00
doomchild 0af57ac972 added flag and composite imports 2010-04-15 10:04:10 -05:00
doomchild 95d364dfca moved flag types to pydfhackflags.py
added namedtuples for a couple of composite types
2010-04-15 10:03:45 -05:00
doomchild 5ce44119bb removed some unneeded types and imports 2010-04-15 10:03:07 -05:00
Petr Mrázek 59cdbeefe7 catsplosion ported, doesn't work 2010-04-15 13:04:58 +02:00
doomchild 0d2554f829 first commit 2010-04-14 16:54:27 -05:00
doomchild 2284fb32d2 added construction type 2010-04-14 16:54:11 -05:00
doomchild d4d026656b fixed #define 2010-04-14 16:53:52 -05:00
Petr Mrázek ab3a842fdb Support for creature castes 2010-04-14 22:12:02 +02:00
doomchild 64852e958e first commit 2010-04-14 12:36:42 -05:00
doomchild 849b6e53c2 added building type 2010-04-14 12:26:14 -05:00
doomchild 15a11355b3 added getter for dicts 2010-04-14 10:50:59 -05:00
doomchild 02334e640d added vegetation type 2010-04-14 10:50:42 -05:00
doomchild 2f730797b9 first commit 2010-04-14 10:49:39 -05:00
doomchild ad642cf4e7 added a reverse name builder (PyObject* to DFHack::t_name) 2010-04-13 16:13:22 -05:00
doomchild f6b2abca5b added translate type 2010-04-13 16:12:54 -05:00
doomchild f047f96eef first commit 2010-04-13 16:12:36 -05:00
doomchild 244a3c1333 fixed a couple of attribute accesses 2010-04-13 09:08:49 -05:00
Petr Mrázek 4bcd653732 0.3.1.2 tag, fixes for attach on Windows 2010-04-13 14:18:09 +02:00
Petr Mrázek e85b429127 Throw exceptions on memory read errors! Fix reading creatures that have no soul. 2010-04-13 03:11:26 +02:00
Petr Mrázek 549b845738 Custom buildings (tested) 2010-04-13 00:03:29 +02:00
doomchild 32cbdea87b added type init 2010-04-12 14:47:55 -05:00
doomchild 524d4f6025 turned off imports (I think they're hanging references, and I don't actually need them right now) 2010-04-12 14:47:42 -05:00
doomchild 2eb66640bf added debugging messages to deallocation 2010-04-12 14:47:18 -05:00
doomchild c296080cac switched to using PyList_SET_ITEM in BuildSkillList 2010-04-12 14:46:53 -05:00
doomchild e9c592b5dd added debugging messages to deallocation 2010-04-12 14:46:22 -05:00
doomchild ecb2aefba1 Merge remote branch 'upstream/master' 2010-04-12 12:05:02 -05:00
Petr Mrázek da0602dbb1 Dirty bit for creature equipment pickup on labor setting 2010-04-12 18:19:53 +02:00
Petr Mrázek 08658373d6 Occupancy stuff - very strange 2010-04-12 15:29:01 +02:00
doomchild 6e03283953 updated for DF2010 struct changes 2010-04-11 21:07:52 -05:00
doomchild 5c9711c641 added BuildSoul 2010-04-11 21:07:23 -05:00
Petr Mrázek 6ba2804b68 Creature traits, added back map occupancy. 2010-04-12 00:48:25 +02:00
Petr Mrázek 5ef87773be Infinite loop fix related to block events. Added traction bench to known buildings. 2010-04-11 13:03:00 +02:00
Petr Mrázek 7e0a560574 Fix uninitialized variable 2010-04-11 06:50:43 +02:00
Petr Mrázek d96d2018a8 Hotkey reading 2010-04-11 02:32:50 +02:00
Petr Mrázek c58abe8ef9 Veindig the digger of veins. It menaces with spikes of cache and floodfill. 2010-04-11 02:08:21 +02:00
Petr Mrázek e2a7d9e639 Windows fixes 2010-04-10 05:48:50 +02:00
Petr Mrázek 887f1942cc Tagging first DF 2010 release 2010-04-10 03:49:37 +02:00
Petr Mrázek b248663e33 Merge branch 'pydfhack' of git://github.com/doomchild/dfhack into DF2010 2010-04-10 02:37:53 +02:00
Petr Mrázek 85ce3ce1d8 Construction reading 2010-04-10 00:24:41 +02:00
Petr Mrázek 9208354991 Missing files again 2010-04-09 16:43:00 +02:00
Petr Mrázek fb01ecf6c9 Buildings - names, type offsets and other stuff could be wrong 2010-04-09 14:44:00 +02:00
Petr Mrázek 75e36a59ba Fix for map reading 2010-04-09 04:29:24 +02:00
Petr Mrázek c08d696d56 Creature mental attributes 2010-04-09 03:21:42 +02:00
Petr Mrázek 409e3ffcf0 More creature stuff 2010-04-09 02:08:46 +02:00
doomchild b555085e8c hopefully fixed reference counting when adding to dictionaries 2010-04-08 14:09:14 -05:00