Commit Graph

229 Commits (e4210ad4445c3b016eefd781a2ae8c438b3271c7)

Author SHA1 Message Date
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