belal
3dfbc5fb21
update widows getPath to only output the path, not the path and exe filename, to correspond with the linux versions
2010-09-16 21:44:38 -04:00
belal
040f8f7b7a
Add function to get the current working directory of the DF process, as well as offsets for the relative paths of the current tileset and color file, also created a simple program to dump those three things out
2010-09-12 21:38:21 -04:00
Petr Mrázek
143f30f64b
Merge branch 'master' of http://github.com/sizeak/dfhack
...
Conflicts:
library/VersionInfo.cpp
2010-08-23 16:16:58 +02:00
Petr Mrázek
1bceac2343
Rename memory_info and its factory class.
2010-08-20 14:10:05 +02:00
Petr Mrázek
a159707250
Fix memleak with Context not cleaning up.
2010-08-14 01:25:18 +02:00
Petr Mrázek
1645df7088
Some offsets for 0.31.04, bugfixes
2010-06-06 00:56:09 +02:00
Petr Mrázek
bd4456b5f6
Fix bad SHM reads of ranges above 1MB.
2010-05-26 18:05:12 +02:00
Petr Mrázek
af1a41712e
Tiny fixes.
2010-05-26 17:54:30 +02:00
Petr Mrázek
04b71f154c
Fun and games. Also turning old DFWindow class into a module tracked by Context.
2010-05-26 12:24:45 +02:00
Petr Mrázek
966a145b3e
Moving stuff around, part 3
2010-05-26 08:42:09 +02:00
Petr Mrázek
b710ed687a
Moving stuff around, part 2
2010-05-26 06:48:23 +02:00
Petr Mrázek
c26da9b84c
More DF 2010 reorganization
2010-04-02 16:46:33 +02:00
Petr Mrázek
71fc49897f
Accelerated creatures work on Windows
...
Refactored vector reading, proper length of vectors from MSVC9 is known (0x18, triplet starts at 0xC)
2010-03-30 02:26:52 +02:00
Petr Mrázek
6522d0c498
Even more fixes for random crashes in some less common cases (DF in the menu, etc...)
2010-03-26 13:38:49 +01:00
Petr Mrázek
c283197b71
Flush input in veinlook, so it doesn't 'lag' so bad
2010-03-18 20:05:32 +01:00
Petr Mrázek
310669737e
Port multiple client SHM to Windows
2010-03-13 17:44:36 +01:00
Petr Mrázek
9d503515dd
Another try at locking
2010-03-12 00:13:50 +01:00
Petr Mrázek
f0087926c5
Revert "Nuked many Process classes. Only SHM remains. We'll see how it goes :)"
...
This reverts commit b3424418e6
.
Conflicts:
library/DFProcess-linux-SHM.cpp
library/DFProcess-windows-SHM.cpp
library/DFProcess.h
library/DFProcessEnumerator-linux.cpp
library/DFProcessEnumerator-windows.cpp
Minor manual changes were required.
2010-03-09 15:15:15 +01:00
Petr Mrázek
3e581908c1
Each DF process on windows now has unique mutex and shm names.
2010-03-09 13:41:55 +01:00
Petr Mrázek
9d7574dafe
DF disappeared exception
2010-03-09 03:30:22 +01:00
Petr Mrázek
36a6f1f0a4
mod-core rework
...
squashed some init commands together
fixed a problem with non-atomic shm command reading on the DF side that caused segfaults
2010-03-08 07:31:12 +01:00
Petr Mrázek
c86464502c
SHM rework, stage 2
2010-03-05 00:05:01 +01:00
Petr Mrázek
6e69dcdeed
Use sched_yield depending on CPU affinity
2010-03-04 04:40:06 +01:00
Petr Mrázek
0192520d43
SHM rework, stage 1
2010-03-03 05:43:38 +01:00
Petr Mrázek
b3424418e6
Nuked many Process classes. Only SHM remains. We'll see how it goes :)
2010-03-02 01:18:34 +01:00
Petr Mrázek
c4cb3afd0b
Fix for Windows exceptions
2010-02-28 19:59:07 +01:00
Petr Mrázek
de5b2ecb4e
Fixes for crash bugs and memory corruption.
2010-02-25 17:50:52 +01:00
Petr Mrázek
1e04722a63
Refactor of memory_info class, now with more d-pointer
2010-02-22 23:34:20 +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
f71fef9ef5
Process::readClassName implemented
2010-02-19 02:48:03 +01:00
Petr Mrázek
56969fb977
Added std::string read/write by belal. Extremely volatile.
2010-02-16 00:04:15 +01:00
Petr Mrázek
de32b65c11
engraving offsets for linux d16, attempt to fix MSVC bugs
2010-02-12 23:25:41 +00:00
Petr Mrázek
7fcc4d5e22
resolved a shm suspend/resume bug on windows
2010-02-11 05:10:23 +00:00
Petr Mrázek
9f1216fa2f
fixes
2010-01-11 18:57:57 +00:00
Petr Mrázek
7c784bce32
deadlock-filled windows SHM version
2010-01-11 06:27:59 +00:00
Petr Mrázek
ebd14ea1bb
copy of linux SHM
2010-01-08 05:56:36 +00:00