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 ... 16 17 [18] 19 20 ... 379

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

quinnr

  • Bay Watcher
    • View Profile
Re: Stonesense - The isometric visualizer, official thread
« Reply #255 on: October 27, 2009, 08:05:23 pm »

java.freenode.net is a good web based one. If you need a client.
Logged
To exist or not exist, that is the query. For whether it is more optimal of the CPU to endure the viruses and spam of outragous fortune, or to something something something.

Talvara

  • Bay Watcher
    • View Profile
Re: Stonesense - The isometric visualizer, official thread
« Reply #256 on: October 27, 2009, 10:28:42 pm »



So I figured I'd convert an old skeleton into a skull totem... Now you must understand that its very late and I should be sleeping, anyway when I was done with this it dawned on me that skull totems arent constructable items >.<...

urgh...



And heres and old piece I made which could be used for a ratman...

Will there be a new downloadable Exe version sometime soon? I tried to look into compiling myself but its still a bit of a headache =(...

anyway! looking great guys,
Logged

jonask84

  • Bay Watcher
    • View Profile
    • Stonesene at Google Code
Re: Stonesense - The isometric visualizer, official thread
« Reply #257 on: October 27, 2009, 10:38:35 pm »

I superpromise I will launch the next release this Saturday, in all it's glory :)
There's a boatload of new features, so it's gonna be fun I think.

Spritelist, yes, it completely slipped my mind...  IDreamOfGiniCoefficient, some monkeys would be awesome, of course :D In fact, Here's the sprite list: any animal. Here's a reference of how they could look (artwork by Solifuge)
Logged

MP2E

  • Bay Watcher
    • View Profile
Re: Stonesense - The isometric visualizer, official thread
« Reply #258 on: October 27, 2009, 10:55:33 pm »

Stonesense in Linux doesn't seem to work properly for me... It shows a tiny window with some plants and grass but it freezes there, the minimap doesn't show up and pressing pgup or pgdown doesn't seem to work. I am compiling in x64 though...
Can you get into #dfhack on freenode? I'd like to debug that as soon as possible.
Sure! I'll get on tomorrow if I can
By the way, new compiling error with Linux:
Code: [Select]
MapLoading.cpp:(.text+0xc15): undefined reference to `GroundMaterialNamesTranslatedFromGame'                                                                                     
MapLoading.cpp:(.text+0xc1d): undefined reference to `TranslateGroundMaterialNames()'   
CMakeFiles/stonesense.dir/SpriteMaps.cpp.o: In function `getFloorSpriteWithDefault(int, int)':                                                                                   
SpriteMaps.cpp:(.text+0xe): undefined reference to `groundTypes'                         
CMakeFiles/stonesense.dir/SpriteMaps.cpp.o: In function `getWallSpriteWithDefault(int, int)':
SpriteMaps.cpp:(.text+0x2e): undefined reference to `groundTypes'
CMakeFiles/stonesense.dir/SpriteMaps.cpp.o: In function `GetWallSpriteMap(int, int)':
SpriteMaps.cpp:(.text+0x160): undefined reference to `groundTypes'
SpriteMaps.cpp:(.text+0x1dc): undefined reference to `groundTypes'
SpriteMaps.cpp:(.text+0x236): undefined reference to `groundTypes'
CMakeFiles/stonesense.dir/SpriteMaps.cpp.o:SpriteMaps.cpp:(.text+0x282): more undefined references to `groundTypes' follow
CMakeFiles/stonesense.dir/UserInput.cpp.o: In function `doKeys()':
UserInput.cpp:(.text+0x3c5): undefined reference to `LoadGroundMaterialConfiguration()'
CMakeFiles/stonesense.dir/main.cpp.o: In function `main':
main.cpp:(.text+0x2ad): undefined reference to `LoadGroundMaterialConfiguration()'
collect2: ld returned 1 exit status
make[2]: *** [../stonesense] Error 1
make[1]: *** [CMakeFiles/stonesense.dir/all] Error 2
Logged

jonask84

  • Bay Watcher
    • View Profile
    • Stonesene at Google Code
Re: Stonesense - The isometric visualizer, official thread
« Reply #259 on: October 27, 2009, 10:58:27 pm »

I can fill that one right away. I added some new files, they're probably not in the makefile. I should get a continuous integration server going...


*post bellow* hmm, yeah they can. but since most creatures are not falling most of the time, leave the shadows in for now. I'll remove them manually at some point :)
« Last Edit: October 27, 2009, 11:03:52 pm by jonask84 »
Logged

Footkerchief

  • Bay Watcher
  • The Juffo-Wup is strong in this place.
    • View Profile
Re: Stonesense - The isometric visualizer, official thread
« Reply #260 on: October 27, 2009, 11:00:46 pm »

I know backseat artists are really annoying, but it might make sense to omit the blob shadow on future creatures.  Those will look pretty odd for creatures that are falling, in the water, etc., and they can be drawn dynamically, right?
Logged

strich

  • Bay Watcher
    • View Profile
Re: Stonesense - The isometric visualizer, official thread
« Reply #261 on: October 28, 2009, 12:29:39 am »

Anyone been able to compile in VS08 on Windows?
Seems to compile fine for me, but instant crashes every time I run it - The executable size is ~100kb instead of the standard 300+ so I'm guessing its not linking in extra code properly.

EDIT: Looks like Jonas has put in some cmake batch files to build. Did so, seemed to work fine for MSVC2008. But compile has many linking errors.

EDIT2: Fixed the linking errors - CMakeLists.txt was missing a cpp file: GroundMaterialConfiguration.cpp
Updated CMakeLists below.
Code: [Select]
# main project file. use it from a build sub-folder
PROJECT (stonesense)
cmake_minimum_required(VERSION 2.6)

# disable warning, autosearch
if(COMMAND cmake_policy)
  cmake_policy(SET CMP0003 NEW)
endif(COMMAND cmake_policy)

if("${PROJECT_SOURCE_DIR}" STREQUAL "${PROJECT_BINARY_DIR}")
   message(SEND_ERROR "In-source builds are not allowed.")
endif("${PROJECT_SOURCE_DIR}" STREQUAL "${PROJECT_BINARY_DIR}")

IF(NOT DEFINED CMAKE_BUILD_TYPE)
  SET(CMAKE_BUILD_TYPE "Release" CACHE STRING "Choose the type of build, options are: None(CMAKE_CXX_FLAGS or CMAKE_C_FLAGS used) Debug Release RelWithDebInfo MinSizeRel.")
ENDIF(NOT DEFINED CMAKE_BUILD_TYPE)

SET( EXECUTABLE_OUTPUT_PATH ${stonesense_SOURCE_DIR} CACHE PATH "Output directory for stonesense, default is root" )

include_directories (
    ${include_directories}
    ${CMAKE_SOURCE_DIR}/dfhack/library/
    ${CMAKE_SOURCE_DIR}/dfhack/library/md5/
    ${CMAKE_SOURCE_DIR}/dfhack/library/tinyxml
    ${CMAKE_SOURCE_DIR}/loadpng
    ${CMAKE_SOURCE_DIR}
)

SET(PROJECT_SRCS
    dfhack/library/tinyxml/tinystr.cpp
    dfhack/library/tinyxml/tinyxml.cpp
    dfhack/library/tinyxml/tinyxmlerror.cpp
    dfhack/library/tinyxml/tinyxmlparser.cpp

    dfhack/library/DFDataModel.cpp
    dfhack/library/DFHackAPI.cpp
    dfhack/library/DFMemInfo.cpp
    dfhack/library/DFProcess.cpp
    dfhack/library/DFProcessManager.cpp
    dfhack/library/DFTileTypes.cpp
    dfhack/library/md5/md5.cpp
    dfhack/library/md5/md5wrapper.cpp

    loadpng/loadpng.c
    loadpng/regpng.c
    loadpng/savepng.c

    Block.cpp
    BlockCondition.cpp
    BuildingConfiguration.cpp
    ConditionalSprite.cpp
    Config.cpp
    Constructions.cpp
    Contributions.txt
    CreatureConfiguration.cpp
    Creatures.cpp
    GUI.cpp
    GameBuildings.cpp
    GroundMaterialConfiguration.cpp
    MapLoading.cpp
    SpriteMaps.cpp
    UserInput.cpp
    WorldSegment.cpp
    main.cpp
    xmlBuildingReader.cpp
)
#linux
IF(UNIX)
    LINK_DIRECTORIES(${LINK_DIRECTORIES})
    add_definitions(-DLINUX_BUILD)
    add_definitions(-DBUILD_DFHACK_LIB)
    SET(PROJECT_LIBS alleg-4.2.2 png ${PROJECT_LIBS})
    ADD_EXECUTABLE(stonesense ${PROJECT_SRCS})
    TARGET_LINK_LIBRARIES(stonesense ${PROJECT_LIBS})
# windows
ELSE(UNIX)
    add_definitions(-DBUILD_DFHACK_LIB)
    # use local allegro
    include_directories (
    ${include_directories}
    ${CMAKE_SOURCE_DIR}/allegro
    )
    LINK_DIRECTORIES(
    ${LINK_DIRECTORIES}
    ${CMAKE_SOURCE_DIR}/allegro/lib_msvs8
    ${CMAKE_SOURCE_DIR}/loadpng/libpng/lib/
    )
    # MinGW is broken. doesn't link properly for some reason.
    IF(MINGW)
        add_definitions(-DALLEGRO_MINGW32)
        SET(PROJECT_LIBS alleg psapi mingw32 libpng)
    # MSVC
    ELSE(MINGW)
        add_definitions(-DALLEGRO_MSVC)
        SET(PROJECT_LIBS alleg psapi libpng)
    ENDIF(MINGW)
    ADD_EXECUTABLE(stonesense WIN32 ${PROJECT_SRCS})
    TARGET_LINK_LIBRARIES(stonesense ${PROJECT_LIBS})
   
ENDIF(UNIX)

Also, only appears to work when its compiled from the debug config.
« Last Edit: October 28, 2009, 02:42:56 am by DJDD »
Logged

7¢ Nickel

  • Bay Watcher
    • View Profile
Re: Stonesense - The isometric visualizer, official thread
« Reply #262 on: October 28, 2009, 02:25:51 am »

Meant to post this earlier but I got sidetracked.



I think I'm gonna go ahead and lay claim on all the machine stuff.  Hopefully I'll be able to get them all to link up properly.
« Last Edit: October 28, 2009, 02:32:37 am by 7¢ Nickel »
Logged
Re: Stonesense - The isometric visualizer, official thread
« Reply #263 on: October 28, 2009, 02:39:29 am »

Here's a monkey.
« Last Edit: October 28, 2009, 02:48:43 am by IDreamOfGiniCoefficient »
Logged

Neruz

  • Bay Watcher
  • I see you...
    • View Profile
Re: Stonesense - The isometric visualizer, official thread
« Reply #264 on: October 28, 2009, 02:52:42 am »

Jesus christ that is a terrifying looking monkey, and it's huge! And it's eyebrows make it look mildly distressed.

kaypy

  • Bay Watcher
    • View Profile
Re: Stonesense - The isometric visualizer, official thread
« Reply #265 on: October 28, 2009, 06:13:26 am »

Ok, I now have a working process for building with MinGW

Spoilered for tl;dr
Spoiler (click to show/hide)
Logged

Neruz

  • Bay Watcher
  • I see you...
    • View Profile
Re: Stonesense - The isometric visualizer, official thread
« Reply #266 on: October 28, 2009, 06:27:16 am »

Jesus christ that is a terrifying looking monkey

I was thinking the same thing. That is definitely a monkey I would not want to encounter. It looks like a beast.

Actually it looks pretty scared, i guess it's found a mirror.

frumpton

  • Escaped Lunatic
    • View Profile
Re: Stonesense - The isometric visualizer, official thread
« Reply #267 on: October 28, 2009, 09:21:50 am »

I decided to register here after playing around with this awesome program for a bit. Hopefully these terrible pixel creatures will be of use!

Deer


Giant Olm


CARP


Bear 1 & 2 (new)
-

Colossus


Let me know if you want more :D

More!
Antman


Batman

 ::)
« Last Edit: October 28, 2009, 11:51:42 am by frumpton »
Logged

kaypy

  • Bay Watcher
    • View Profile
Re: Stonesense - The isometric visualizer, official thread
« Reply #268 on: October 28, 2009, 09:39:28 am »

I think I'm gonna go ahead and lay claim on all the machine stuff.  Hopefully I'll be able to get them all to link up properly.

Here's some I was already working on... If you want to improve on them, please go ahead 8-)



Oh... And I also made this abomination:



which combines being badly drawn with crimes against perspective...

I think something by nature of the perspective abuse is necessary - windmills shouldn't be flat - but hopefully someone can come up with something better looking...
Logged

jonask84

  • Bay Watcher
    • View Profile
    • Stonesene at Google Code
Re: Stonesense - The isometric visualizer, official thread
« Reply #269 on: October 28, 2009, 10:18:34 am »

I actually came up with some 1x1 buildings we need too :)

animal trap
archery target (think unidirectional)
Stonefall trap
cage
floodgates

Also: Some great sprites coming along here! I'm putting some of them in, only the best :)
frumpton I especially love that deer, really nice. But i can tell you right now, The Batman will not make it hehe

7¢ Nickel; go for it. I've designed a system to get orientation of axles, just so you know :)

IDreamOfGiniCoefficient that is a freaking vicious little monkey! Im just saying:
Spoiler (click to show/hide)
« Last Edit: October 28, 2009, 11:43:23 am by jonask84 »
Logged
Pages: 1 ... 16 17 [18] 19 20 ... 379