mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-16 09:21:43 +00:00
7a601515df
or not SSE2 is available at runtime. Since most of the time is spent in ClassifyLine, using SSE2 in just this one function helps the most. - Nodebuilding is a little faster if we inline PointOnSide. - Changed FEventTree into a regular binary tree, since there just aren't enough nodes inserted into it to make a red-black tree worthwhile. - Added more checks at the start of ClassifyLine so that it has a better chance of avoiding the more complicated checking, and it seems to have paid off with a reasonably modest performance boost. - Added a "vertex map" for ZDBSP's vertex selection. (Think BLOCKMAP for vertices instead of lines.) On large maps, this can result in a very significant speed up. (In one particular map, ZDBSP had previously spent 40% of its time just scanning through all the vertices in the map. Now the time it spends finding vertices is immeasurable.) On small maps, this won't make much of a difference, because the number of vertices to search was so small to begin with. SVN r173 (trunk)
44 lines
1.1 KiB
Text
44 lines
1.1 KiB
Text
RELEASETARGET = zdoomgcc.exe
|
|
DEBUGTARGET = zdoomgccd.exe
|
|
|
|
all: basetools game
|
|
debug: basetools debuggame
|
|
release: basetools game
|
|
|
|
ifndef CONFIG
|
|
CONFIG=Release
|
|
endif
|
|
|
|
game: basetools ccdv.exe
|
|
@$(MAKE) -f Makefile.mingw
|
|
|
|
debuggame: basetools ccdv.exe
|
|
@$(MAKE) CONFIG=Debug -f Makefile.mingw
|
|
|
|
$(RELEASETARGET): game
|
|
$(DEBUGTARGET): debuggame
|
|
|
|
basetools: ccdv.exe
|
|
$(MAKE) -C tools/lemon -f Makefile
|
|
$(MAKE) -C tools/re2c -f Makefile
|
|
$(MAKE) -C wadsrc -f Makefile
|
|
$(MAKE) -C zlib -f Makefile.mgw
|
|
$(MAKE) -C flac -f Makefile.mgw
|
|
|
|
cleanexe:
|
|
@$(MAKE) -C . -f Makefile.mingw clean
|
|
|
|
clean:
|
|
@$(MAKE) -C tools/lemon -f Makefile.mgw clean
|
|
@$(MAKE) -C tools/re2c -f Makefile.mgw clean
|
|
@$(MAKE) -C tools/dehsupp -f Makefile clean
|
|
@$(MAKE) -C tools/makewad -f Makefile clean
|
|
@$(MAKE) -C tools/xlatcc -f Makefile clean
|
|
@$(MAKE) -C wadsrc -f Makefile.mgw clean
|
|
@$(MAKE) -C . -f Makefile.mingw clean
|
|
@$(MAKE) -C zlib -f Makefile.mgw clean
|
|
@$(MAKE) -C flac -f Makefile.mgw clean
|
|
del /q /f ccdv.exe 2>nul
|
|
|
|
ccdv.exe: ccdv-win32.c
|
|
@gcc -Os -s -nostdlib -fomit-frame-pointer -o ccdv.exe ccdv-win32.c -lkernel32 -luser32
|