|
|
_common/path.h2 L4 N6 ?1 k$ r, z7 W, R
找到
" F2 o2 I* E; C- I8 u f( j#define DIR_WORLDTEX _T( "World\\Texture\\" ) ! P" ~& f& E: D' O+ X! T a3 V" t( w
#define DIR_WORLDTEXMID _T( "World\\TextureMid\\" )
' S5 V$ B+ v7 n#define DIR_WORLDTEXLOW _T( "World\\TextureLow\\" ) % P% n0 j4 z; Z! \9 `2 a) |! M& E
, t# O5 |: C) w$ M: i* i$ t J
改为* ~5 ]$ V; B4 `( T
#define DIR_WORLDTEX _T( "World\\Texture\\" )
) P/ X( z5 w/ Q( i" j: R#define DIR_WORLDTEXMID _T( "World\\Texture\\" ) * X$ C2 ~+ V w, _
#define DIR_WORLDTEXLOW _T( "World\\Texture\\" ) ( p9 ` x2 H, ^) y# e9 I7 M% _
3 V+ n2 R- ~" F+ c( @0 m7 c这样原来需要读取三个文件夹的,现在都读取同一个文件夹的模型$ _8 V* X. g$ ]& \
8 ]0 w) x! k, ~1 K! [7 C找到
* O' K6 O" v; q$ s* A7 B#define DIR_MODELTEX _T( "Model\\Texture\\" )
# N( K% c* [2 n: D" w#define DIR_MODELTEXMID _T( "Model\\TextureMid\\" )% X9 ^- \/ g# Z2 \6 r+ i
#define DIR_MODELTEXLOW _T( "Model\\TextureLow\\" )
9 @! E- S( @' V8 ~+ J- ~$ K/ T. h: _# A u$ i$ x' ]8 b. W4 p M
改为0 v' |5 z9 F, \' }
#define DIR_MODELTEX _T( "Model\\Texture\\" )
" t3 ` \8 O& a- Z$ V#define DIR_MODELTEXMID _T( "Model\\Texture\\" )- Q( ], w- |0 Y% r
#define DIR_MODELTEXLOW _T( "Model\\Texture\\" )
. M) D; E5 e$ Q4 ?; x9 x( q7 }+ W' f$ Y8 T/ Q
这样原来需要读取三个文件夹的,现在都读取同一个文件夹的地图纹理
# [' c" J# K# ^ U( ?
! y! ~! R/ D {/ [修改完毕后重新编译源码
+ t2 u+ J! ~; ~; w( G到客户端model目录下删除TextureMid、TextureLow
/ M E0 w* {* D$ e1 p$ l到客户端World目录下删除TextureMid、TextureLow2 x- p) k% B5 w5 J6 i' `1 ]8 |; a
% j# J, @! q+ @& z# y这样客户端体积减少约300多M。2 g+ Q' B) @( S: Y) Q( h& E
! X4 `" p* O* A& d6 C) R
|
|