mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-10 14:51:40 +00:00
6cd1e2ce6a
memcpy to copy the player structures. - Fixed compilation with MinGW again and removed most of the new warnings. And following is the log that I forgot to paste in for the previous commit: - Changed the memory management for FString. Instead of using a garbage collected heap, it now uses normal heap calls and reference counting to implement lazy copying. You may now use bitwise operators to move (but not copy!) FStrings around in memory. This means that the CopyForTArray template function is gone, since TArrays can now freely move their contents around without bothering with their specifics. There is one important caveat, however. It is not acceptable to blindly 0 an FString's contents. This necessitated the creation of a proper constructor for player_s so that it can be reset without using memset. I did a quick scan of all memsets in the source and didn't see anything else with a similar problem, but it's possible I missed something. - Fixed: Build tiles were never deallocated. - Fixed: Using Build's palette.dat only got half the palette right. SVN r117 (trunk)
22 lines
552 B
Text
22 lines
552 B
Text
MAKEWAD=../tools/makewad/makewad
|
|
XLATCC=../tools/xlatcc/xlatcc
|
|
DEHSUPP=../tools/dehsupp/dehsupp
|
|
|
|
ifneq ($(MAKECMDGOALS),clean)
|
|
include Makefile2
|
|
endif
|
|
|
|
wadmake: zdoom.lst $(MAKEWAD).exe $(XLATCC).exe $(DEHSUPP).exe
|
|
$(MAKEWAD) -make wadmake zdoom.lst
|
|
|
|
clean:
|
|
del /q /f wadmake zdoom.pk3 xlat\*.x dehsupp.lmp 2>nul
|
|
|
|
../tools/makewad/makewad.exe:
|
|
$(MAKE) -C ../tools/makewad -f Makefile
|
|
|
|
../tools/xlatcc/xlatcc.exe:
|
|
$(MAKE) -C ../tools/xlatcc -f Makefile
|
|
|
|
../tools/dehsupp/dehsupp.exe:
|
|
$(MAKE) -C ../tools/dehsupp -f Makefile
|