Commit Graph

308 Commits (e26b6269f19ba6fba5f6c4b146824db5767e897e)

Author SHA1 Message Date
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
doomchild e536374aa7 added empty initializers for strings 2010-04-08 13:16:41 -05:00
doomchild 4b70268840 added error checks for strings when building composites 2010-04-08 13:15:55 -05:00
doomchild bc8341df7b Merge remote branch 'upstream/DF2010' into Branch_remotes/origin/pydfhack 2010-04-08 11:04:31 -05:00
Petr Mrázek 659e57e3c4 Added missing file, small changes 2010-04-08 02:20:54 +02:00
doomchild cc7b7d9f0f updated for API changes 2010-04-07 16:26:41 -05:00
doomchild 6cf74283d6 first commit 2010-04-07 16:26:22 -05:00
Petr Mrázek 62fc5bd677 Spatter veins, spatterdump tool 2010-04-07 22:28:05 +02:00
doomchild 5f5a53674b Merge branch 'DF2010' of git://github.com/peterix/dfhack into Branch_remotes/origin/pydfhack 2010-04-07 14:51:41 -05:00
doomchild 12c9a8ef1f merged with origin/pydfhack 2010-04-07 14:42:32 -05:00
doomchild 3cfeb80692 updated to add creature manager 2010-04-07 14:33:56 -05:00
doomchild 5ee28646dc check strings for NULL 2010-04-07 14:33:40 -05:00
doomchild 73d0a103fd fixed initializer and deallocator 2010-04-07 14:33:24 -05:00
doomchild 07f81674ad added creature getter 2010-04-07 14:33:06 -05:00
doomchild d15858dd41 first commit 2010-04-07 14:32:50 -05:00
doomchild cf6052e32d fixed init 2010-04-07 13:45:01 -05:00
Petr Mrázek 839e255d17 Vegetation reading 2010-04-07 12:49:37 +02:00
Petr Mrázek 01383fd8b7 Dwarf labors work, added to creaturedump 2010-04-07 03:38:22 +02:00
Petr Mrázek f81c66d9ea Reading creature skills 2010-04-07 02:46:46 +02:00
Petr Mrázek 5ee584b372 Name translation for real 2010-04-07 01:17:03 +02:00
doomchild ea8290fa6d creature base type defined 2010-04-06 18:13:42 -05:00
doomchild 0ced8164aa added 2010-04-06 18:12:21 -05:00
doomchild 7759ed7b1a imports loaded at module startup 2010-04-06 17:04:43 -05:00
doomchild a48fd26327 changed from using Py_XDECREF to Py_CLEAR 2010-04-06 16:41:22 -05:00
doomchild aaa6c711ad first commit 2010-04-06 16:06:19 -05:00
Petr Mrázek 216cfa74e6 Offsets, assorted funstuff 2010-04-06 22:47:50 +02:00
doomchild 6bec24d6c8 getters for memory info, position, and materials should actually work now 2010-04-06 13:46:24 -05:00
doomchild e56e7dcbea added getter for materials 2010-04-06 10:43:41 -05:00
doomchild 3d70dd5221 updated to include Material type 2010-04-06 10:39:44 -05:00
doomchild 61fb9fb2c6 first commit 2010-04-06 10:39:24 -05:00
doomchild dd14c9ec66 updated for renamed sources 2010-04-06 10:12:01 -05:00
Petr Mrázek 7b1edd5122 Name translation module - untested 2010-04-06 17:11:58 +02:00
Petr Mrázek d5aa1488a6 Magma create works 2010-04-06 13:05:54 +02:00
doomchild a3942478d9 setup script updated 2010-04-05 16:52:43 -05:00
doomchild 2d853daadf Position type is exposed 2010-04-05 16:52:32 -05:00
doomchild 7b0510f5e1 added a getter for Position 2010-04-05 16:52:12 -05:00
doomchild 282421fe5a fixed include path 2010-04-05 16:47:38 -05:00
doomchild 884a6144a8 first commit 2010-04-05 16:45:15 -05:00
doomchild b40d0e4a40 MemInfo class is exposed 2010-04-05 16:43:05 -05:00
doomchild eb17353f3c added getter for memory info 2010-04-05 16:12:37 -05:00
doomchild b79c50d4b7 cleaned out the recently deceased code 2010-04-05 15:01:01 -05:00
doomchild ab0b9f48e9 first commit 2010-04-05 14:58:15 -05:00
doomchild c7217cbdf7 modified setup script to export ReadRaw and WriteRaw 2010-04-05 11:08:55 -05:00
doomchild 514b0a5e45 ReadRaw and WriteRaw are straight C functions, so's I can use ctypes to pass pointers in without a lot of list copying overhead 2010-04-05 11:08:42 -05:00
doomchild f0ed3f2098 turned off all the stuff that DF2010 moved into modules 2010-04-05 11:08:05 -05:00
doomchild 17e920e738 Merge remote branch 'remotes/upstream/DF2010' into Branch_remotes/origin/pydfhack 2010-04-05 09:45:27 -05:00
Petr Mrázek ea120a6709 Comments 2010-04-05 05:53:38 +02:00
Petr Mrázek f8d1c042d7 Layer stone/geology 2010-04-05 05:29:46 +02:00
Petr Mrázek 500ee6a49b Modular API 2010-04-05 00:48:19 +02:00
Petr Mrázek e42bf92654 Disable SHM stuff in Maps 2010-04-04 15:12:06 +02:00
Petr Mrázek 51a1ec5c1e Very basic creature reading 2010-04-04 12:29:56 +02:00
Petr Mrázek e9642310de Materials - semi-finished 2010-04-04 10:10:00 +02:00
Petr Mrázek ef6af19c8d Fix t_vein, tiletype offset 2010-04-03 04:41:21 +02:00
Petr Mrázek e4d6e01ee2 Missing fragment headers 2010-04-03 03:55:09 +02:00
Petr Mrázek 7d48ea49ae Reveal and prospector tools work. Basic inorganic matgloss works. Basic map reading works. 2010-04-03 03:52:46 +02:00
Petr Mrázek 5b8fa0ffa6 Added material addresses to veccheck and Memory.xml 2010-04-02 22:00:33 +02:00
Petr Mrázek c4ffb0d0b3 Purge 2010-04-02 21:09:37 +02:00
Petr Mrázek 2a61cec4a7 Move depends, build them as libs 2010-04-02 17:56:38 +02:00
Petr Mrázek bcbc540283 More moving of things 2010-04-02 17:27:35 +02:00
Petr Mrázek 66eb8c3e23 Move shm 2010-04-02 16:53:09 +02:00
Petr Mrázek cd18db8ccd Reorganize pydfhack 2010-04-02 16:49:07 +02:00
Petr Mrázek d3f1f63d92 Merge branch 'pydfhack' of git://github.com/doomchild/dfhack into DF2010 2010-04-02 16:47:46 +02:00
Petr Mrázek c26da9b84c More DF 2010 reorganization 2010-04-02 16:46:33 +02:00