- Timestamp:
- 08/17/11 18:17:22 (13 years ago)
- Location:
- ps/trunk
- Files:
-
- 3 edited
-
build/premake/extern_libs4.lua (modified) (1 diff)
-
build/premake/premake4.lua (modified) (3 diffs)
-
source/tools/atlas/DatafileIO/BAR/BAR.cpp (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
ps/trunk/build/premake/extern_libs4.lua
r9989 r10026 254 254 end, 255 255 }, 256 devil = { 257 compile_settings = function() 258 if os.is("windows") then 259 add_default_include_paths("devil") 260 end 261 end, 262 link_settings = function() 263 -- On Windows, it uses #pragma comment(lib ...) to link the library, 264 -- so we only need to include the library-search-path 265 if os.is("windows") then 266 add_default_lib_paths("devil") 267 end 268 add_default_links({ 269 unix_names = { "IL", "ILU" }, 270 }) 271 end, 272 }, 256 273 enet = { 257 274 compile_settings = function() -
ps/trunk/build/premake/premake4.lua
r10018 r10026 808 808 end 809 809 810 setup_atlas_project("AtlasUI", "SharedLib", atlas_src, 811 { -- include 812 "..", 813 "CustomControls", 814 "Misc" 815 },{ -- extern_libs 810 atlas_extern_libs = { 816 811 "boost", 817 812 "comsuppw", … … 823 818 "x11", 824 819 "zlib", 825 },{ -- extra_params 820 } 821 if _OPTIONS["aoe3ed"] then 822 table.insert(atlas_extern_libs, "devil") 823 end 824 825 setup_atlas_project("AtlasUI", "SharedLib", atlas_src, 826 { -- include 827 "..", 828 "CustomControls", 829 "Misc" 830 }, 831 atlas_extern_libs, 832 { -- extra_params 826 833 pch_dir = rootdir.."/source/tools/atlas/AtlasUI/Misc/", 827 834 no_pch = (has_broken_pch), … … 841 848 },{ -- include 842 849 },{ -- extern_libs 850 "devil", 843 851 "xerces", 844 852 "zlib" -
ps/trunk/source/tools/atlas/DatafileIO/BAR/BAR.cpp
r6910 r10026 1 /* Copyright (C) 20 09Wildfire Games.1 /* Copyright (C) 2011 Wildfire Games. 2 2 * This file is part of 0 A.D. 3 3 * … … 23 23 #include "Stream/Memory.h" 24 24 25 //for :25 strncmp and :81 memset26 #include <string.h>27 28 25 #include <cassert> 26 #include <cstdio> 27 #include <cstring> 29 28 30 29 using namespace DatafileIO; … … 65 64 66 65 m_Stream.Read(&unknown, 4); 67 CHECK(unknown == 0); 66 // 0 in AoE3 67 // Non-zero (e.g. 466a800a, 8df1e438) in AoEO; purpose unknown 68 68 69 69 m_Stream.Seek(filetableOffset, Stream::FROM_START);
Note:
See TracChangeset
for help on using the changeset viewer.
