Jump to content
The Dark Mod Forums

ezze

Member
  • Posts

    87
  • Joined

  • Last visited

  • Days Won

    1

Posts posted by ezze

  1. According to gcc manual the type is indeed __int128, but it seems that older versions it was __int128_t (and __uint128).

    For some reason it seems my gcc seek for the older way when compiling TDM... it does not make sense to me, what can cause this effect?

     

    Excluding GCH this is one command that fails:

    g++ -o build/release/game/game/AF.os -c -fPIC -pipe -Wall -Wno-unknown-pragmas -fmessage-length=0 -fpermissive -fvisibility=hidden -m32 -O3 -march=pentium3 -ffast-math -fno-unsafe-math-optimizations -fomit-frame-pointer -fno-strict-aliasing -Wno-deprecated -Winvalid-pch -DGAME_DLL -Igame -Ibuild/release/game/sys/scons -Isys/scons -Iinclude -Iinclude/zlib -Iinclude/minizip -Iinclude/libjpeg -Iinclude/devil -I. game/AF.cpp
    

    It is weird that TDM has local copies of the various libraries (afraid of different versions perhaps?), besides is the -m32 really needed in my 64bit system? The rest seems fairly normal to me.

     

    :(

  2. World at the Crossroads is a highly re-playable Windows computer game, prepared by the Polish ASPO chapter together with European Regional Environmental Center. The game simulates the rise of the industrial civilization, from 1900 to 2200. It can be viewed as a model of The Limits to Growth, commissioned by the Club of Rome in 1972, converted into a strategy game that helps understand systems dynamics and complex interactions between Earth and human civilization.

     

    http://www.skepticalscience.com/World-At-The-Crossroads.html

     

    If you are interested in understanding better the world or you like strategy game, this is for you.

  3. @New Horizon

    Oh, dear... Why? Then it is fairly useless. Yes...

     

    @Springheel

    If you think in terms of "square centimeters" of course not. But the cloud looks fairly transparent and so you can see through it, that is why I kinda like it. However I am not sure why there is also the classic gem on the bottom left. :unsure: Edit: I read New Horizon's answer... I am sadder now.

  4. The gameplay video is indeed quite bad... However, I liked some parts:

    the scene where Garret beats the guard;

    - the ring for the equipment (perhaps it is a little big) since I like the idea of pressing one button and move the mouse to select an item;

    - the hand animations when picking-up items;

    - actually the new light-gem as a cloud around the screen seems a good idea as it reduces the clutter on the screen, but it should be much more subtle.

     

    Other things instead are really bad...

    - there are lots of writing in the screen that appears just to annoy you. Since they obviously like hands animation showing an handwritten checklist with a button would work much better as objective list. Other writings seems pointless, like when Garret kills the guards.

    - the hand animations when idle or near the walls are just annoying. Realistic perhaps, but in a game they just bother;

    - avoidable clutter on the screen;

    - extremely weird "blue-vision" what is that; Garret mechanical eye perhaps?

  5. I cannot compile TDM, I get this weird error that appears inside the standard library limits. The source code comes from the homepage.

    I tried to include and use limits in a small C++ program and I get no problems, so I have no idea how to continue.

     

     

    Can anybody help?

     

    Here is the log (out of topic, how can I disable the syntax coloring?):

    % g++ --version
    g++ (GCC) 4.8.2 20131219 (prerelease)
    Copyright (C) 2013 Free Software Foundation, Inc.
    This is free software; see the source for copying conditions.  There is NO
    warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
    
    % uname -a
    Linux pendulum 3.12.6-1-ARCH #1 SMP PREEMPT Fri Dec 20 19:39:00 CET 2013 x86_64 GNU/Linux
    
    % scons -j2 BUILD_GAMEPAK=1 NO_GCH=0 BUILD=release --debug=explain "$@"
    scons: Reading SConscript files ...
    Loading build configuration from site.conf:
     BUILD_GAMEPAK='1'
     JOBS='1'
     NO_GCH='0'
     DEDICATED='0'
     SILENT='0'
     GL_HARDLINK='0'
     CC='gcc'
     BUILD_ROOT='build'
     ID_NOLANADDRESS='0'
     ID_MCHECK='2'
     TARGET_CORE='1'
     BUILD='release'
     TARGET_GAME='1'
     TARGET_MONO='0'
     BASEFLAGS=''
     CXX='g++'
     NOCURL='0'
     DEBUG_MEMORY='0'
     IDNET_HOST=''
     LIBC_MALLOC='1'
     ALSA='1'
     TARGET_DEMO='0'
    Command line: BUILD_GAMEPAK='1'
    Command line: NO_GCH='0'
    Command line: BUILD='release'
    scons: done reading SConscript files.
    scons: Building targets ...
    scons: building associated VariantDir targets: build/release/core/glimp build/release/core build/release/game
    scons: building `game/precompiled_game.h.gch' because it doesn't exist
    g++ -o game/precompiled_game.h.gch -x c++-header -c -pipe -Wall -Wno-unknown-pragmas -fmessage-length=0 -fpermissive -fvisibility=hidden -m32 -O3 -march=pentium3 -ffast-math -fno-unsafe-math-optimizations -fomit-frame-pointer -fno-strict-aliasing -Wno-deprecated -Winvalid-pch -fPIC -DGAME_DLL -Igame -Ibuild/release/game/sys/scons -Isys/scons -Iinclude -Iinclude/zlib -Iinclude/minizip -Iinclude/libjpeg -Iinclude/devil -I. game/precompiled_game.h
    In file included from game/../idlib/../idlib/math/Math.h:24:0,
    			 from game/../idlib/../idlib/Heap.h:23,
    			 from game/../idlib/../idlib/Lib.h:157,
    			 from game/../idlib/precompiled.h:107,
    			 from game/precompiled_game.h:28:
    /usr/include/c++/4.8.2/limits:1405:35: error: template argument 1 is invalid
     struct numeric_limits<__int128>
    							   ^
    /usr/include/c++/4.8.2/limits:1479:44: error: template argument 1 is invalid
     struct numeric_limits<unsigned __int128>
    										^
    In file included from game/../idlib/../idlib/Heap.h:25:0,
    			 from game/../idlib/../idlib/Lib.h:157,
    			 from game/../idlib/precompiled.h:107,
    			 from game/precompiled_game.h:28:
    /usr/include/c++/4.8.2/cstdlib:178:10: error: expected unqualified-id before ‘__int128’
      inline __int128
    	  ^
    In file included from game/../idlib/../game/Game_local.h:1305:0,
    			 from game/../idlib/precompiled.h:172,
    			 from game/precompiled_game.h:28:
    game/../idlib/../game/ai/AI.h:453:8: warning: extra qualification ‘idAI::’ on member ‘GetBaseAcuity’ [-fpermissive]
     float idAI::GetBaseAcuity(const char *type) const; // grayman #3552
    	^
    scons: Cannot explain why `build/release/game/game/randomizer/userintf.os' is being rebuilt: No previous build information found
    g++ -o build/release/game/game/randomizer/userintf.os -c -fPIC -pipe -Wall -Wno-unknown-pragmas -fmessage-length=0 -fpermissive -fvisibility=hidden -m32 -O3 -march=pentium3 -ffast-math -fno-unsafe-math-optimizations -fomit-frame-pointer -fno-strict-aliasing -Wno-deprecated -Winvalid-pch -fPIC -DGAME_DLL -Igame -Ibuild/release/game/sys/scons -Isys/scons -Iinclude -Iinclude/zlib -Iinclude/minizip -Iinclude/libjpeg -Iinclude/devil -I. game/randomizer/userintf.cpp
    scons: building `build/release/game/idlib/Base64.os' because it doesn't exist
    g++ -o build/release/game/idlib/Base64.os -c -fPIC -pipe -Wall -Wno-unknown-pragmas -fmessage-length=0 -fpermissive -fvisibility=hidden -m32 -O3 -march=pentium3 -ffast-math -fno-unsafe-math-optimizations -fomit-frame-pointer -DXTHREADS -fno-strict-aliasing -Iidlib -Ibuild/release/game/sys/scons -Isys/scons -Iinclude -Iinclude/zlib -Iinclude/minizip -Iinclude/libjpeg -Iinclude/devil -I. idlib/Base64.cpp
    In file included from idlib/../idlib/math/Math.h:24:0,
    			 from idlib/../idlib/Heap.h:23,
    			 from idlib/../idlib/Lib.h:157,
    			 from idlib/precompiled.h:107,
    			 from idlib/Base64.cpp:2:
    /usr/include/c++/4.8.2/limits:1405:35: error: template argument 1 is invalid
     struct numeric_limits<__int128>
    							   ^
    /usr/include/c++/4.8.2/limits:1479:44: error: template argument 1 is invalid
     struct numeric_limits<unsigned __int128>
    										^
    In file included from idlib/../idlib/Heap.h:25:0,
    			 from idlib/../idlib/Lib.h:157,
    			 from idlib/precompiled.h:107,
    			 from idlib/Base64.cpp:2:
    /usr/include/c++/4.8.2/cstdlib:178:10: error: expected unqualified-id before ‘__int128’
      inline __int128
    	  ^
    In file included from include/boost/filesystem/path_traits.hpp:23:0,
    			 from include/boost/filesystem/path.hpp:25,
    			 from include/boost/filesystem.hpp:16,
    			 from idlib/../idlib/Image.h:29,
    			 from idlib/../idlib/Lib.h:230,
    			 from idlib/precompiled.h:107,
    			 from idlib/Base64.cpp:2:
    include/boost/system/error_code.hpp:214:36: warning: ‘boost::system::posix_category’ defined but not used [-Wunused-variable]
     static const error_category &  posix_category = generic_category();
    								^
    include/boost/system/error_code.hpp:215:36: warning: ‘boost::system::errno_ecat’ defined but not used [-Wunused-variable]
     static const error_category &  errno_ecat	 = generic_category();
    								^
    include/boost/system/error_code.hpp:216:36: warning: ‘boost::system::native_ecat’ defined but not used [-Wunused-variable]
     static const error_category &  native_ecat	= system_category();
    								^
    scons: *** [build/release/game/idlib/Base64.os] Error 1
    scons: *** [game/precompiled_game.h.gch] Error 1
    scons: building terminated because of errors.
    OSError: [Errno 2] No such file or directory: 'scons.signatures.dblite':
     File "/usr/lib/python2.7/site-packages/SCons/Script/Main.py", line 1344:
    _exec_main(parser, values)
     File "/usr/lib/python2.7/site-packages/SCons/Script/Main.py", line 1308:
    _main(parser)
     File "/usr/lib/python2.7/site-packages/SCons/Script/Main.py", line 1072:
    nodes = _build_targets(fs, options, targets, target_top)
     File "/usr/lib/python2.7/site-packages/SCons/Script/Main.py", line 1266:
    jobs.run(postfunc = jobs_postfunc)
     File "/usr/lib/python2.7/site-packages/SCons/Job.py", line 113:
    postfunc()
     File "/usr/lib/python2.7/site-packages/SCons/Script/Main.py", line 1263:
    SCons.SConsign.write()
     File "/usr/lib/python2.7/site-packages/SCons/SConsign.py", line 109:
    syncmethod()
     File "/usr/lib/python2.7/site-packages/SCons/dblite.py", line 127:
    self._os_unlink(self._file_name)
    Exception OSError: OSError(2, 'No such file or directory') in <bound method dblite.__del__ of <SCons.dblite.dblite object at 0x1b149d0>> ignored
    scons -j2 BUILD_GAMEPAK=1 NO_GCH=0 BUILD=release --debug=explain "$@"  12,59s user 1,88s system 62% cpu 23,085 total
    

×
×
  • Create New...