Commit Graph

150 Commits (76dddb8419c78258eb772320e79443d2c3279e04)

Author SHA1 Message Date
simon 43dff6522a multiple fixes so that the python interface builds with my modifications 2010-04-29 18:24:34 +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 61c5e36537 Pythn module fixes for 64bit, it gets built now, but doesn't work AFAIK 2010-04-28 23:11:24 +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
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
doomchild 365c6dd0ed updated to Tree tuple type 2010-04-23 11:56:38 -05: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 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 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 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
doomchild 2b544ba2de updated compiler flags to get rid of stupid newline warnings 2010-04-20 09:19:23 -05: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
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
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
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
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 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
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 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
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
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
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
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 c4ffb0d0b3 Purge 2010-04-02 21:09:37 +02:00
Petr Mrázek cd18db8ccd Reorganize pydfhack 2010-04-02 16:49:07 +02:00