410ca7f
Get rid of confusable same names and no names - fokkonautvalgrind --tool=callgrind ./twmod
?if(Temp.x > 0 && ((pCharCore->m_TileIndex == TILE_STOP && pCharCore->m_TileFlags == ROTATION_270) || (pCharCore->m_TileIndexL == TILE_STOP && pCharCore->m_TileFlagsL == ROTATION_270) || (pCharCore->m_TileIndexL == TILE_STOPS && (pCharCore->m_TileFlagsL == ROTATION_90 || pCharCore->m_TileFlagsL ==ROTATION_270)) || (pCharCore->m_TileIndexL == TILE_STOPA) || (pCharCore->m_TileFIndex == TILE_STOP && pCharCore->m_TileFFlags == ROTATION_270) || (pCharCore->m_TileFIndexL == TILE_STOP && pCharCore->m_TileFFlagsL == ROTATION_270) || (pCharCore->m_TileFIndexL == TILE_STOPS && (pCharCore->m_TileFFlagsL == ROTATION_90 || pCharCore->m_TileFFlagsL == ROTATION_270)) || (pCharCore->m_TileFIndexL == TILE_STOPA) || (pCharCore->m_TileSIndex == TILE_STOP && pCharCore->m_TileSFlags == ROTATION_270) || (pCharCore->m_TileSIndexL == TILE_STOP && pCharCore->m_TileSFlagsL == ROTATION_270) || (pCharCore->m_TileSIndexL == TILE_STOPS && (pCharCore->m_TileSFlagsL == ROTATION_90 || pCharCore->m_TileSFlagsL == ROTATION_270)) || (pCharCore->m_TileSIndexL == TILE_STOPA)))
extern CreateObject
#if MOD____
#include "this"
#else
#include "standard"
#endif
find . | grep -E '\.(cpp|h)$' | xargs python -c 'import sys;for a in sys.argv[1:]:contents=open(a).read();open(a, "w").write(contents.replace("#if defined(CONF_DEBUG)\n\tCALL_STACK_ADD();\n#endif\n", ""))'
(edited)find . | grep -E '\.(cpp|h)$'
does what I expectset background=dark
set nocompatible
set backspace=indent,eol,start
set showcmd " display incomplete commands
set incsearch " do incremental searching
set hlsearch
set number
set smartcase
set autoindent
set ruler
set hls bg=dark
set completeopt+=longest
set wildmode=longest,full
filetype plugin on
syntax on
"scratch indent reconfiguration, use vim-sleuth
function! CleverTab()
if strpart( getline('.'), 0, col('.')-1 ) =~ '^\s*$'
return "\<Tab>"
else
return "\<C-N>"
endif
endfunction
inoremap <Tab> <C-R>=CleverTab()<CR>
"autocmd filetype rust set comments^=:///
"autocmd filetype rust set comments^=://!
autocmd filetype rust set tw=0
(edited)