Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Poll

No poll?

That's right
That is right

Pages: 1 ... 323 324 [325] 326 327 ... 379

Author Topic: Stonesense - Old Official thread - Now locked  (Read 1719398 times)

Jeoshua

  • Bay Watcher
  • God help me, I think I may be addicted to modding.
    • View Profile
Re: Stonesense - Official thread
« Reply #4860 on: March 11, 2011, 12:05:30 pm »

Jiri, your idea will still work.  Make your trees, then cut out sections that match the 1 square template in stonesense.  You could even make each piece look good on it's own as an edge.  Wouldn't Stonesense simply not display a cube of the tree if it were on the same tile as something else? Say, a construction, like in that picture?  If you make each cube look alright as an edge piece *<*on it's own*>*, then that's something you can use to make it look better.
Logged
I like fortresses because they are still underground.

Rose

  • Bay Watcher
  • Resident Elf
    • View Profile
Re: Stonesense - Official thread
« Reply #4861 on: March 11, 2011, 12:11:44 pm »

if you just want to preview trees, and want a quick and dirty way to do it, that will even work in the current version, you just have something like this:

<plant bla bla bla>
<subsprite bla bla offsetx=32 offsety=0 />
<subsprite bla bla offsetx=-32 offsety=0 />
</plant>
Logged

Mrhnhrm

  • Bay Watcher
    • View Profile
Re: Stonesense - Official thread
« Reply #4862 on: March 12, 2011, 01:47:23 am »

Greetings everyone,

I was wondering if someone has any idea about why Stonesense r950 wouldn't compile under Linux for me. Doing make fails spectacularly here:
Code: [Select]
[ 10%] Building CXX object CMakeFiles/stonesense.dir/MapLoading.cpp.o
/home/mrhn/Games/dwarf fortress/stonesense/MapLoading.cpp:215: error: ‘planecoord’ is not a member of ‘DFHack’
/home/mrhn/Games/dwarf fortress/stonesense/MapLoading.cpp:215: error: ‘planecoord’ is not a member of ‘DFHack’
/home/mrhn/Games/dwarf fortress/stonesense/MapLoading.cpp:215: error: template argument 1 is invalid
/home/mrhn/Games/dwarf fortress/stonesense/MapLoading.cpp:215: error: template argument 3 is invalid
/home/mrhn/Games/dwarf fortress/stonesense/MapLoading.cpp:215: error: template argument 4 is invalid
/home/mrhn/Games/dwarf fortress/stonesense/MapLoading.cpp: In function ‘void ReadCellToSegment(DFHack::Context&, WorldSegment&, int, int, int, uint32_t, uint32_t, uint32_t, uint32_t, uint16_t, std::vector<DFHack::t_building, std::allocator<DFHack::t_building> >*, std::vector<DFHack::t_construction, std::allocator<DFHack::t_construction> >*, std::vector<std::vector<short unsigned int, std::allocator<short unsigned int> >, std::allocator<std::vector<short unsigned int, std::allocator<short unsigned int> > > >*, std::vector<DFHack::t_feature, std::allocator<DFHack::t_feature> >*, int*, DFHack::Maps*)’:
/home/mrhn/Games/dwarf fortress/stonesense/MapLoading.cpp:496: error: ‘planecoord’ is not a member of ‘DFHack’
/home/mrhn/Games/dwarf fortress/stonesense/MapLoading.cpp:496: error: expected ‘;’ before ‘pc’
/home/mrhn/Games/dwarf fortress/stonesense/MapLoading.cpp:497: error: ‘pc’ was not declared in this scope
/home/mrhn/Games/dwarf fortress/stonesense/MapLoading.cpp:499: error: ‘planecoord’ is not a member of ‘DFHack’
/home/mrhn/Games/dwarf fortress/stonesense/MapLoading.cpp:499: error: ‘planecoord’ is not a member of ‘DFHack’
/home/mrhn/Games/dwarf fortress/stonesense/MapLoading.cpp:499: error: template argument 1 is invalid
/home/mrhn/Games/dwarf fortress/stonesense/MapLoading.cpp:499: error: template argument 3 is invalid
/home/mrhn/Games/dwarf fortress/stonesense/MapLoading.cpp:499: error: template argument 4 is invalid
/home/mrhn/Games/dwarf fortress/stonesense/MapLoading.cpp:499: error: expected initializer before ‘it’
/home/mrhn/Games/dwarf fortress/stonesense/MapLoading.cpp:500: error: ‘it’ was not declared in this scope
/home/mrhn/Games/dwarf fortress/stonesense/MapLoading.cpp:500: error: request for member ‘find’ in ‘* local_features’, which is of non-class type ‘int’
/home/mrhn/Games/dwarf fortress/stonesense/MapLoading.cpp:501: error: request for member ‘end’ in ‘* local_features’, which is of non-class type ‘int’
/home/mrhn/Games/dwarf fortress/stonesense/MapLoading.cpp: In function ‘WorldSegment* ReadMapSegment(DFHack::Context&, int, int, int, int, int, int)’:
/home/mrhn/Games/dwarf fortress/stonesense/MapLoading.cpp:589: warning: deprecated conversion from string constant to ‘char*’
/home/mrhn/Games/dwarf fortress/stonesense/MapLoading.cpp:599: warning: deprecated conversion from string constant to ‘char*’
/home/mrhn/Games/dwarf fortress/stonesense/MapLoading.cpp:608: warning: deprecated conversion from string constant to ‘char*’
/home/mrhn/Games/dwarf fortress/stonesense/MapLoading.cpp:632: warning: deprecated conversion from string constant to ‘char*’
/home/mrhn/Games/dwarf fortress/stonesense/MapLoading.cpp:645: warning: deprecated conversion from string constant to ‘char*’
/home/mrhn/Games/dwarf fortress/stonesense/MapLoading.cpp:729: warning: deprecated conversion from string constant to ‘char*’
/home/mrhn/Games/dwarf fortress/stonesense/MapLoading.cpp:759: warning: deprecated conversion from string constant to ‘char*’
/home/mrhn/Games/dwarf fortress/stonesense/MapLoading.cpp:777: error: ‘planecoord’ is not a member of ‘DFHack’
/home/mrhn/Games/dwarf fortress/stonesense/MapLoading.cpp:777: error: ‘planecoord’ is not a member of ‘DFHack’
/home/mrhn/Games/dwarf fortress/stonesense/MapLoading.cpp:777: error: template argument 1 is invalid
/home/mrhn/Games/dwarf fortress/stonesense/MapLoading.cpp:777: error: template argument 3 is invalid
/home/mrhn/Games/dwarf fortress/stonesense/MapLoading.cpp:777: error: template argument 4 is invalid
/home/mrhn/Games/dwarf fortress/stonesense/MapLoading.cpp:777: error: invalid type in declaration before ‘;’ token
/home/mrhn/Games/dwarf fortress/stonesense/MapLoading.cpp:778: error: no matching function for call to ‘DFHack::Maps::ReadLocalFeatures(int&)’
/usr/include/dfhack/modules/Maps.h:416: note: candidates are: bool DFHack::Maps::ReadLocalFeatures(std::map<DFHack::DFCoord, std::vector<DFHack::t_feature*, std::allocator<DFHack::t_feature*> >, std::less<DFHack::DFCoord>, std::allocator<std::pair<const DFHack::DFCoord, std::vector<DFHack::t_feature*, std::allocator<DFHack::t_feature*> > > > >&)
/home/mrhn/Games/dwarf fortress/stonesense/MapLoading.cpp: In function ‘bool ConnectDFAPI(DFHack::Context*)’:
/home/mrhn/Games/dwarf fortress/stonesense/MapLoading.cpp:1090: warning: deprecated conversion from string constant to ‘char*’
/home/mrhn/Games/dwarf fortress/stonesense/MapLoading.cpp: In function ‘void FollowCurrentDFWindow()’:
/home/mrhn/Games/dwarf fortress/stonesense/MapLoading.cpp:1174: warning: deprecated conversion from string constant to ‘char*’
/home/mrhn/Games/dwarf fortress/stonesense/MapLoading.cpp: In function ‘void FollowCurrentDFCenter()’:
/home/mrhn/Games/dwarf fortress/stonesense/MapLoading.cpp:1206: warning: deprecated conversion from string constant to ‘char*’
/home/mrhn/Games/dwarf fortress/stonesense/MapLoading.cpp: In function ‘void reloadDisplayedSegment()’:
/home/mrhn/Games/dwarf fortress/stonesense/MapLoading.cpp:1295: warning: deprecated conversion from string constant to ‘char*’
/home/mrhn/Games/dwarf fortress/stonesense/MapLoading.cpp:1296: warning: deprecated conversion from string constant to ‘char*’
make[2]: *** [CMakeFiles/stonesense.dir/MapLoading.cpp.o] Error 1
make[1]: *** [CMakeFiles/stonesense.dir/all] Error 2
make: *** [all] Error 2
I've downloaded DFHack sources yesterday and installed them.

I'd appreciate some pointers on where to go from here.
Logged
/* a placeholder for a clever signature */

Rose

  • Bay Watcher
  • Resident Elf
    • View Profile
Re: Stonesense - Official thread
« Reply #4863 on: March 12, 2011, 01:52:41 am »

probably a better idea to get help from the dfhack guys, since it looks like that's the problem.

also, they have build Stonesense on linux while I haven't.
Logged

Caldfir

  • Bay Watcher
    • View Profile
Re: Stonesense - Official thread
« Reply #4864 on: March 12, 2011, 04:09:54 am »

So I finally got around to updating my dwarf sprite sheet's .xml file.  Is there any way to set sprites for nobles/positions?  I created the sprites over a year ago for fun, but I don't think there has ever been a way to use them (or ever will be for the poor philosopher). 

Unrelated: The compiler hates me.  I reciprocate. 
Logged
where is up?

Rose

  • Bay Watcher
  • Resident Elf
    • View Profile
Re: Stonesense - Official thread
« Reply #4865 on: March 12, 2011, 04:12:31 am »

Nope still no nobles, that I know of, sorry.
Logged

Mrhnhrm

  • Bay Watcher
    • View Profile
Re: Stonesense - Official thread
« Reply #4866 on: March 12, 2011, 05:21:35 am »

probably a better idea to get help from the dfhack guys, since it looks like that's the problem.

also, they have build Stonesense on linux while I haven't.
Apparently, peterix doesn't feel like assuming responsibility for the problem in question. He implies that some modifications to Stonesense are in order: http://www.bay12forums.com/smf/index.php?topic=58809.msg2067439#msg2067439
Logged
/* a placeholder for a clever signature */

Rose

  • Bay Watcher
  • Resident Elf
    • View Profile
Re: Stonesense - Official thread
« Reply #4867 on: March 12, 2011, 05:23:31 am »

yeah, I read that, and talked to him, and I'll fix it, but not before the next release, for fear of breaking something.
Logged

gu1dry

  • Bay Watcher
    • View Profile
Re: Stonesense - Official thread
« Reply #4868 on: March 12, 2011, 01:42:20 pm »

The next release of DFHacks, Stonesense or DF in general?
Logged

Rose

  • Bay Watcher
  • Resident Elf
    • View Profile
Re: Stonesense - Official thread
« Reply #4869 on: March 12, 2011, 01:45:03 pm »

Next release of stonesense.

till it's out, only bugfixes.

till then, you can get a few days older version of DFhack.
Logged

gu1dry

  • Bay Watcher
    • View Profile
Re: Stonesense - Official thread
« Reply #4870 on: March 13, 2011, 07:31:32 pm »

peterix said he pushed a fix DFHacks & Stonesense to now build fine but I get the following error: http://pastebin.com/eeVbU2MU. Building on Windows 7 Pro 64bit. Any thoughts?
Logged

Rose

  • Bay Watcher
  • Resident Elf
    • View Profile
Re: Stonesense - Official thread
« Reply #4871 on: March 13, 2011, 07:35:34 pm »

which compiler?
Logged

gu1dry

  • Bay Watcher
    • View Profile
Re: Stonesense - Official thread
« Reply #4872 on: March 13, 2011, 08:18:01 pm »

Cmake 2.8.4 with the latest MinGW32.
Logged

Rose

  • Bay Watcher
  • Resident Elf
    • View Profile
Re: Stonesense - Official thread
« Reply #4873 on: March 13, 2011, 08:21:11 pm »

yeah, haven't done any testing with Cmake in a while. I do all my compiling on MSVC.

that said, now that I know DFhack is working with Mingw again, I can get that working again.
Logged

gu1dry

  • Bay Watcher
    • View Profile
Re: Stonesense - Official thread
« Reply #4874 on: March 13, 2011, 08:22:36 pm »

I have MSVB2010 Express installed, could I compile it with that? Also I can compile just DFHacks fine with Cmake + MinGW32.
Logged
Pages: 1 ... 323 324 [325] 326 327 ... 379