├── .github
└── workflows
│ └── build.yml
├── .gitignore
├── COPYING
├── Makefile
├── README.md
├── Star Ruler 2.exe
├── StarRuler2.sh
├── bin
└── win64
│ ├── OpenAL64.dll
│ ├── libcurl.dll
│ ├── libogg.dll
│ ├── libpng64.dll
│ ├── libvorbis.dll
│ ├── libvorbisfile.dll
│ └── zlibwapi.dll
├── credits.txt
├── source
├── angelscript
│ ├── LICENSE-angelscript
│ ├── addons
│ │ └── debugger
│ │ │ ├── debugger.cpp
│ │ │ └── debugger.h
│ ├── as_changes.patch
│ ├── include
│ │ └── angelscript.h
│ ├── projects
│ │ ├── gnuc
│ │ │ └── makefile
│ │ └── msvc10
│ │ │ ├── angelscript.vcxproj
│ │ │ ├── angelscript.vcxproj.filters
│ │ │ └── angelscript.vcxproj.user
│ └── source
│ │ ├── as_array.h
│ │ ├── as_atomic.cpp
│ │ ├── as_atomic.h
│ │ ├── as_builder.cpp
│ │ ├── as_builder.h
│ │ ├── as_bytecode.cpp
│ │ ├── as_bytecode.h
│ │ ├── as_callfunc.cpp
│ │ ├── as_callfunc.h
│ │ ├── as_callfunc_arm.cpp
│ │ ├── as_callfunc_arm_gcc.S
│ │ ├── as_callfunc_arm_msvc.asm
│ │ ├── as_callfunc_arm_xcode.s
│ │ ├── as_callfunc_mips.cpp
│ │ ├── as_callfunc_ppc.cpp
│ │ ├── as_callfunc_ppc_64.cpp
│ │ ├── as_callfunc_sh4.cpp
│ │ ├── as_callfunc_x64_gcc.cpp
│ │ ├── as_callfunc_x64_mingw.cpp
│ │ ├── as_callfunc_x64_msvc.cpp
│ │ ├── as_callfunc_x64_msvc_asm.asm
│ │ ├── as_callfunc_x86.cpp
│ │ ├── as_callfunc_xenon.cpp
│ │ ├── as_compiler.cpp
│ │ ├── as_compiler.h
│ │ ├── as_config.h
│ │ ├── as_configgroup.cpp
│ │ ├── as_configgroup.h
│ │ ├── as_context.cpp
│ │ ├── as_context.h
│ │ ├── as_criticalsection.h
│ │ ├── as_datatype.cpp
│ │ ├── as_datatype.h
│ │ ├── as_debug.h
│ │ ├── as_gc.cpp
│ │ ├── as_gc.h
│ │ ├── as_generic.cpp
│ │ ├── as_generic.h
│ │ ├── as_globalproperty.cpp
│ │ ├── as_map.h
│ │ ├── as_memory.cpp
│ │ ├── as_memory.h
│ │ ├── as_module.cpp
│ │ ├── as_module.h
│ │ ├── as_namespace.h
│ │ ├── as_objecttype.cpp
│ │ ├── as_objecttype.h
│ │ ├── as_outputbuffer.cpp
│ │ ├── as_outputbuffer.h
│ │ ├── as_parser.cpp
│ │ ├── as_parser.h
│ │ ├── as_property.h
│ │ ├── as_restore.cpp
│ │ ├── as_restore.h
│ │ ├── as_scriptcode.cpp
│ │ ├── as_scriptcode.h
│ │ ├── as_scriptengine.cpp
│ │ ├── as_scriptengine.h
│ │ ├── as_scriptfunction.cpp
│ │ ├── as_scriptfunction.h
│ │ ├── as_scriptnode.cpp
│ │ ├── as_scriptnode.h
│ │ ├── as_scriptobject.cpp
│ │ ├── as_scriptobject.h
│ │ ├── as_string.cpp
│ │ ├── as_string.h
│ │ ├── as_string_util.cpp
│ │ ├── as_string_util.h
│ │ ├── as_symboltable.h
│ │ ├── as_texts.h
│ │ ├── as_thread.cpp
│ │ ├── as_thread.h
│ │ ├── as_tokendef.h
│ │ ├── as_tokenizer.cpp
│ │ ├── as_tokenizer.h
│ │ ├── as_typeinfo.cpp
│ │ ├── as_typeinfo.h
│ │ ├── as_variablescope.cpp
│ │ └── as_variablescope.h
├── api
│ └── sr2-api.py
├── as_addons
│ ├── LICENSE-angelscript
│ ├── as_addons
│ │ ├── as_addons.vcxproj
│ │ └── as_addons.vcxproj.filters
│ ├── gcc
│ │ └── Makefile
│ ├── include
│ │ ├── scriptany.h
│ │ ├── scriptarray.h
│ │ ├── scriptdictionary.h
│ │ ├── scripthandle.h
│ │ ├── scripthelper.h
│ │ ├── scriptmap.h
│ │ ├── scriptmath.h
│ │ └── scriptstdstring.h
│ └── source
│ │ ├── scriptany.cpp
│ │ ├── scriptarray.cpp
│ │ ├── scriptdictionary.cpp
│ │ ├── scripthandle.cpp
│ │ ├── scripthelper.cpp
│ │ ├── scriptmap.cpp
│ │ ├── scriptmath.cpp
│ │ ├── scriptstdstring.cpp
│ │ └── scriptstdstring_utils.cpp
├── ci
│ ├── compile_windows.sh
│ └── sr2-ci.py
├── doc
│ ├── document.py
│ ├── dump_wiki.as
│ ├── template.class.html
│ ├── template.enum.html
│ ├── template.functions.html
│ ├── template.globals.html
│ ├── template.index.html
│ ├── template.styles.css
│ ├── template.top.html
│ └── template.util.html
├── freetype2
│ ├── LICENSE-freetype2
│ ├── builds
│ │ ├── detect.mk
│ │ ├── exports.mk
│ │ ├── freetype.mk
│ │ ├── link_dos.mk
│ │ ├── link_std.mk
│ │ ├── mac
│ │ │ ├── FreeType.m68k_cfm.make.txt
│ │ │ ├── FreeType.m68k_far.make.txt
│ │ │ ├── FreeType.ppc_carbon.make.txt
│ │ │ ├── FreeType.ppc_classic.make.txt
│ │ │ ├── README
│ │ │ ├── ascii2mpw.py
│ │ │ ├── ftlib.prj.xml
│ │ │ └── ftmac.c
│ │ ├── modules.mk
│ │ ├── newline
│ │ ├── os2
│ │ │ ├── detect.mk
│ │ │ ├── os2-def.mk
│ │ │ ├── os2-dev.mk
│ │ │ └── os2-gcc.mk
│ │ ├── toplevel.mk
│ │ ├── unix
│ │ │ ├── aclocal.m4
│ │ │ ├── config.guess
│ │ │ ├── config.sub
│ │ │ ├── configure
│ │ │ ├── configure.ac
│ │ │ ├── configure.raw
│ │ │ ├── detect.mk
│ │ │ ├── freetype-config.in
│ │ │ ├── freetype2.in
│ │ │ ├── freetype2.m4
│ │ │ ├── ft-munmap.m4
│ │ │ ├── ft2unix.h
│ │ │ ├── ftconfig.in
│ │ │ ├── ftsystem.c
│ │ │ ├── install-sh
│ │ │ ├── install.mk
│ │ │ ├── ltmain.sh
│ │ │ ├── mkinstalldirs
│ │ │ ├── unix-cc.in
│ │ │ ├── unix-def.in
│ │ │ ├── unix-dev.mk
│ │ │ ├── unix-lcc.mk
│ │ │ ├── unix.mk
│ │ │ └── unixddef.mk
│ │ └── win32
│ │ │ ├── detect.mk
│ │ │ ├── ftdebug.c
│ │ │ ├── vc2010
│ │ │ ├── freetype.sln
│ │ │ ├── freetype.vcxproj
│ │ │ ├── freetype.vcxproj.filters
│ │ │ └── index.html
│ │ │ ├── w32-bcc.mk
│ │ │ ├── w32-bccd.mk
│ │ │ ├── w32-dev.mk
│ │ │ ├── w32-gcc.mk
│ │ │ ├── w32-icc.mk
│ │ │ ├── w32-intl.mk
│ │ │ ├── w32-lcc.mk
│ │ │ ├── w32-mingw32.mk
│ │ │ ├── w32-vcc.mk
│ │ │ ├── w32-wat.mk
│ │ │ └── win32-def.mk
│ ├── include
│ │ ├── freetype
│ │ │ ├── config
│ │ │ │ ├── ftconfig.h
│ │ │ │ ├── ftheader.h
│ │ │ │ ├── ftmodule.h
│ │ │ │ ├── ftoption.h
│ │ │ │ └── ftstdlib.h
│ │ │ ├── freetype.h
│ │ │ ├── ftadvanc.h
│ │ │ ├── ftbbox.h
│ │ │ ├── ftbdf.h
│ │ │ ├── ftbitmap.h
│ │ │ ├── ftbzip2.h
│ │ │ ├── ftcache.h
│ │ │ ├── ftchapters.h
│ │ │ ├── ftcid.h
│ │ │ ├── fterrdef.h
│ │ │ ├── fterrors.h
│ │ │ ├── ftgasp.h
│ │ │ ├── ftglyph.h
│ │ │ ├── ftgxval.h
│ │ │ ├── ftgzip.h
│ │ │ ├── ftimage.h
│ │ │ ├── ftincrem.h
│ │ │ ├── ftlcdfil.h
│ │ │ ├── ftlist.h
│ │ │ ├── ftlzw.h
│ │ │ ├── ftmac.h
│ │ │ ├── ftmm.h
│ │ │ ├── ftmodapi.h
│ │ │ ├── ftmoderr.h
│ │ │ ├── ftotval.h
│ │ │ ├── ftoutln.h
│ │ │ ├── ftpfr.h
│ │ │ ├── ftrender.h
│ │ │ ├── ftsizes.h
│ │ │ ├── ftsnames.h
│ │ │ ├── ftstroke.h
│ │ │ ├── ftsynth.h
│ │ │ ├── ftsystem.h
│ │ │ ├── fttrigon.h
│ │ │ ├── fttypes.h
│ │ │ ├── ftwinfnt.h
│ │ │ ├── ftxf86.h
│ │ │ ├── internal
│ │ │ │ ├── autohint.h
│ │ │ │ ├── ftcalc.h
│ │ │ │ ├── ftdebug.h
│ │ │ │ ├── ftdriver.h
│ │ │ │ ├── ftgloadr.h
│ │ │ │ ├── ftmemory.h
│ │ │ │ ├── ftobjs.h
│ │ │ │ ├── ftpic.h
│ │ │ │ ├── ftrfork.h
│ │ │ │ ├── ftserv.h
│ │ │ │ ├── ftstream.h
│ │ │ │ ├── fttrace.h
│ │ │ │ ├── ftvalid.h
│ │ │ │ ├── internal.h
│ │ │ │ ├── psaux.h
│ │ │ │ ├── pshints.h
│ │ │ │ ├── services
│ │ │ │ │ ├── svbdf.h
│ │ │ │ │ ├── svcid.h
│ │ │ │ │ ├── svgldict.h
│ │ │ │ │ ├── svgxval.h
│ │ │ │ │ ├── svkern.h
│ │ │ │ │ ├── svmm.h
│ │ │ │ │ ├── svotval.h
│ │ │ │ │ ├── svpfr.h
│ │ │ │ │ ├── svpostnm.h
│ │ │ │ │ ├── svpscmap.h
│ │ │ │ │ ├── svpsinfo.h
│ │ │ │ │ ├── svsfnt.h
│ │ │ │ │ ├── svttcmap.h
│ │ │ │ │ ├── svtteng.h
│ │ │ │ │ ├── svttglyf.h
│ │ │ │ │ ├── svwinfnt.h
│ │ │ │ │ └── svxf86nm.h
│ │ │ │ ├── sfnt.h
│ │ │ │ ├── t1types.h
│ │ │ │ └── tttypes.h
│ │ │ ├── t1tables.h
│ │ │ ├── ttnameid.h
│ │ │ ├── tttables.h
│ │ │ ├── tttags.h
│ │ │ └── ttunpat.h
│ │ └── ft2build.h
│ └── src
│ │ ├── Jamfile
│ │ ├── autofit
│ │ ├── Jamfile
│ │ ├── afangles.c
│ │ ├── afangles.h
│ │ ├── afcjk.c
│ │ ├── afcjk.h
│ │ ├── afdummy.c
│ │ ├── afdummy.h
│ │ ├── aferrors.h
│ │ ├── afglobal.c
│ │ ├── afglobal.h
│ │ ├── afhints.c
│ │ ├── afhints.h
│ │ ├── afindic.c
│ │ ├── afindic.h
│ │ ├── aflatin.c
│ │ ├── aflatin.h
│ │ ├── aflatin2.c
│ │ ├── aflatin2.h
│ │ ├── afloader.c
│ │ ├── afloader.h
│ │ ├── afmodule.c
│ │ ├── afmodule.h
│ │ ├── afpic.c
│ │ ├── afpic.h
│ │ ├── aftypes.h
│ │ ├── afwarp.c
│ │ ├── afwarp.h
│ │ ├── autofit.c
│ │ ├── module.mk
│ │ └── rules.mk
│ │ ├── base
│ │ ├── Jamfile
│ │ ├── basepic.c
│ │ ├── basepic.h
│ │ ├── ftadvanc.c
│ │ ├── ftapi.c
│ │ ├── ftbase.c
│ │ ├── ftbase.h
│ │ ├── ftbbox.c
│ │ ├── ftbdf.c
│ │ ├── ftbitmap.c
│ │ ├── ftcalc.c
│ │ ├── ftcid.c
│ │ ├── ftdbgmem.c
│ │ ├── ftdebug.c
│ │ ├── ftfstype.c
│ │ ├── ftgasp.c
│ │ ├── ftgloadr.c
│ │ ├── ftglyph.c
│ │ ├── ftgxval.c
│ │ ├── ftinit.c
│ │ ├── ftlcdfil.c
│ │ ├── ftmac.c
│ │ ├── ftmm.c
│ │ ├── ftobjs.c
│ │ ├── ftotval.c
│ │ ├── ftoutln.c
│ │ ├── ftpatent.c
│ │ ├── ftpfr.c
│ │ ├── ftpic.c
│ │ ├── ftrfork.c
│ │ ├── ftsnames.c
│ │ ├── ftstream.c
│ │ ├── ftstroke.c
│ │ ├── ftsynth.c
│ │ ├── ftsystem.c
│ │ ├── fttrigon.c
│ │ ├── fttype1.c
│ │ ├── ftutil.c
│ │ ├── ftwinfnt.c
│ │ ├── ftxf86.c
│ │ └── rules.mk
│ │ ├── bdf
│ │ ├── Jamfile
│ │ ├── README
│ │ ├── bdf.c
│ │ ├── bdf.h
│ │ ├── bdfdrivr.c
│ │ ├── bdfdrivr.h
│ │ ├── bdferror.h
│ │ ├── bdflib.c
│ │ ├── module.mk
│ │ └── rules.mk
│ │ ├── bzip2
│ │ ├── Jamfile
│ │ ├── ftbzip2.c
│ │ └── rules.mk
│ │ ├── cache
│ │ ├── Jamfile
│ │ ├── ftcache.c
│ │ ├── ftcbasic.c
│ │ ├── ftccache.c
│ │ ├── ftccache.h
│ │ ├── ftccback.h
│ │ ├── ftccmap.c
│ │ ├── ftcerror.h
│ │ ├── ftcglyph.c
│ │ ├── ftcglyph.h
│ │ ├── ftcimage.c
│ │ ├── ftcimage.h
│ │ ├── ftcmanag.c
│ │ ├── ftcmanag.h
│ │ ├── ftcmru.c
│ │ ├── ftcmru.h
│ │ ├── ftcsbits.c
│ │ ├── ftcsbits.h
│ │ └── rules.mk
│ │ ├── cff
│ │ ├── Jamfile
│ │ ├── cff.c
│ │ ├── cffcmap.c
│ │ ├── cffcmap.h
│ │ ├── cffdrivr.c
│ │ ├── cffdrivr.h
│ │ ├── cfferrs.h
│ │ ├── cffgload.c
│ │ ├── cffgload.h
│ │ ├── cffload.c
│ │ ├── cffload.h
│ │ ├── cffobjs.c
│ │ ├── cffobjs.h
│ │ ├── cffparse.c
│ │ ├── cffparse.h
│ │ ├── cffpic.c
│ │ ├── cffpic.h
│ │ ├── cfftoken.h
│ │ ├── cfftypes.h
│ │ ├── module.mk
│ │ └── rules.mk
│ │ ├── cid
│ │ ├── Jamfile
│ │ ├── ciderrs.h
│ │ ├── cidgload.c
│ │ ├── cidgload.h
│ │ ├── cidload.c
│ │ ├── cidload.h
│ │ ├── cidobjs.c
│ │ ├── cidobjs.h
│ │ ├── cidparse.c
│ │ ├── cidparse.h
│ │ ├── cidriver.c
│ │ ├── cidriver.h
│ │ ├── cidtoken.h
│ │ ├── module.mk
│ │ ├── rules.mk
│ │ └── type1cid.c
│ │ ├── gxvalid
│ │ ├── Jamfile
│ │ ├── README
│ │ ├── gxvalid.c
│ │ ├── gxvalid.h
│ │ ├── gxvbsln.c
│ │ ├── gxvcommn.c
│ │ ├── gxvcommn.h
│ │ ├── gxverror.h
│ │ ├── gxvfeat.c
│ │ ├── gxvfeat.h
│ │ ├── gxvfgen.c
│ │ ├── gxvjust.c
│ │ ├── gxvkern.c
│ │ ├── gxvlcar.c
│ │ ├── gxvmod.c
│ │ ├── gxvmod.h
│ │ ├── gxvmort.c
│ │ ├── gxvmort.h
│ │ ├── gxvmort0.c
│ │ ├── gxvmort1.c
│ │ ├── gxvmort2.c
│ │ ├── gxvmort4.c
│ │ ├── gxvmort5.c
│ │ ├── gxvmorx.c
│ │ ├── gxvmorx.h
│ │ ├── gxvmorx0.c
│ │ ├── gxvmorx1.c
│ │ ├── gxvmorx2.c
│ │ ├── gxvmorx4.c
│ │ ├── gxvmorx5.c
│ │ ├── gxvopbd.c
│ │ ├── gxvprop.c
│ │ ├── gxvtrak.c
│ │ ├── module.mk
│ │ └── rules.mk
│ │ ├── gzip
│ │ ├── Jamfile
│ │ ├── adler32.c
│ │ ├── ftgzip.c
│ │ ├── infblock.c
│ │ ├── infblock.h
│ │ ├── infcodes.c
│ │ ├── infcodes.h
│ │ ├── inffixed.h
│ │ ├── inflate.c
│ │ ├── inftrees.c
│ │ ├── inftrees.h
│ │ ├── infutil.c
│ │ ├── infutil.h
│ │ ├── rules.mk
│ │ ├── zconf.h
│ │ ├── zlib.h
│ │ ├── zutil.c
│ │ └── zutil.h
│ │ ├── lzw
│ │ ├── Jamfile
│ │ ├── ftlzw.c
│ │ ├── ftzopen.c
│ │ ├── ftzopen.h
│ │ └── rules.mk
│ │ ├── otvalid
│ │ ├── Jamfile
│ │ ├── module.mk
│ │ ├── otvalid.c
│ │ ├── otvalid.h
│ │ ├── otvbase.c
│ │ ├── otvcommn.c
│ │ ├── otvcommn.h
│ │ ├── otverror.h
│ │ ├── otvgdef.c
│ │ ├── otvgpos.c
│ │ ├── otvgpos.h
│ │ ├── otvgsub.c
│ │ ├── otvjstf.c
│ │ ├── otvmath.c
│ │ ├── otvmod.c
│ │ ├── otvmod.h
│ │ └── rules.mk
│ │ ├── pcf
│ │ ├── Jamfile
│ │ ├── README
│ │ ├── module.mk
│ │ ├── pcf.c
│ │ ├── pcf.h
│ │ ├── pcfdrivr.c
│ │ ├── pcfdrivr.h
│ │ ├── pcferror.h
│ │ ├── pcfread.c
│ │ ├── pcfread.h
│ │ ├── pcfutil.c
│ │ ├── pcfutil.h
│ │ └── rules.mk
│ │ ├── pfr
│ │ ├── Jamfile
│ │ ├── module.mk
│ │ ├── pfr.c
│ │ ├── pfrcmap.c
│ │ ├── pfrcmap.h
│ │ ├── pfrdrivr.c
│ │ ├── pfrdrivr.h
│ │ ├── pfrerror.h
│ │ ├── pfrgload.c
│ │ ├── pfrgload.h
│ │ ├── pfrload.c
│ │ ├── pfrload.h
│ │ ├── pfrobjs.c
│ │ ├── pfrobjs.h
│ │ ├── pfrsbit.c
│ │ ├── pfrsbit.h
│ │ ├── pfrtypes.h
│ │ └── rules.mk
│ │ ├── psaux
│ │ ├── Jamfile
│ │ ├── afmparse.c
│ │ ├── afmparse.h
│ │ ├── module.mk
│ │ ├── psaux.c
│ │ ├── psauxerr.h
│ │ ├── psauxmod.c
│ │ ├── psauxmod.h
│ │ ├── psconv.c
│ │ ├── psconv.h
│ │ ├── psobjs.c
│ │ ├── psobjs.h
│ │ ├── rules.mk
│ │ ├── t1cmap.c
│ │ ├── t1cmap.h
│ │ ├── t1decode.c
│ │ └── t1decode.h
│ │ ├── pshinter
│ │ ├── Jamfile
│ │ ├── module.mk
│ │ ├── pshalgo.c
│ │ ├── pshalgo.h
│ │ ├── pshglob.c
│ │ ├── pshglob.h
│ │ ├── pshinter.c
│ │ ├── pshmod.c
│ │ ├── pshmod.h
│ │ ├── pshnterr.h
│ │ ├── pshpic.c
│ │ ├── pshpic.h
│ │ ├── pshrec.c
│ │ ├── pshrec.h
│ │ └── rules.mk
│ │ ├── psnames
│ │ ├── Jamfile
│ │ ├── module.mk
│ │ ├── psmodule.c
│ │ ├── psmodule.h
│ │ ├── psnamerr.h
│ │ ├── psnames.c
│ │ ├── pspic.c
│ │ ├── pspic.h
│ │ ├── pstables.h
│ │ └── rules.mk
│ │ ├── raster
│ │ ├── Jamfile
│ │ ├── ftmisc.h
│ │ ├── ftraster.c
│ │ ├── ftraster.h
│ │ ├── ftrend1.c
│ │ ├── ftrend1.h
│ │ ├── module.mk
│ │ ├── raster.c
│ │ ├── rasterrs.h
│ │ ├── rastpic.c
│ │ ├── rastpic.h
│ │ └── rules.mk
│ │ ├── sfnt
│ │ ├── Jamfile
│ │ ├── module.mk
│ │ ├── rules.mk
│ │ ├── sfdriver.c
│ │ ├── sfdriver.h
│ │ ├── sferrors.h
│ │ ├── sfnt.c
│ │ ├── sfntpic.c
│ │ ├── sfntpic.h
│ │ ├── sfobjs.c
│ │ ├── sfobjs.h
│ │ ├── ttbdf.c
│ │ ├── ttbdf.h
│ │ ├── ttcmap.c
│ │ ├── ttcmap.h
│ │ ├── ttcmapc.h
│ │ ├── ttkern.c
│ │ ├── ttkern.h
│ │ ├── ttload.c
│ │ ├── ttload.h
│ │ ├── ttmtx.c
│ │ ├── ttmtx.h
│ │ ├── ttpost.c
│ │ ├── ttpost.h
│ │ ├── ttsbit.c
│ │ ├── ttsbit.h
│ │ └── ttsbit0.c
│ │ ├── smooth
│ │ ├── Jamfile
│ │ ├── ftgrays.c
│ │ ├── ftgrays.h
│ │ ├── ftsmerrs.h
│ │ ├── ftsmooth.c
│ │ ├── ftsmooth.h
│ │ ├── ftspic.c
│ │ ├── ftspic.h
│ │ ├── module.mk
│ │ ├── rules.mk
│ │ └── smooth.c
│ │ ├── tools
│ │ ├── Jamfile
│ │ ├── apinames.c
│ │ ├── chktrcmp.py
│ │ ├── cordic.py
│ │ ├── docmaker
│ │ │ ├── content.py
│ │ │ ├── docbeauty.py
│ │ │ ├── docmaker.py
│ │ │ ├── formatter.py
│ │ │ ├── sources.py
│ │ │ ├── tohtml.py
│ │ │ └── utils.py
│ │ ├── ftrandom
│ │ │ ├── Makefile
│ │ │ ├── README
│ │ │ └── ftrandom.c
│ │ ├── glnames.py
│ │ ├── test_afm.c
│ │ ├── test_bbox.c
│ │ └── test_trig.c
│ │ ├── truetype
│ │ ├── Jamfile
│ │ ├── module.mk
│ │ ├── rules.mk
│ │ ├── truetype.c
│ │ ├── ttdriver.c
│ │ ├── ttdriver.h
│ │ ├── tterrors.h
│ │ ├── ttgload.c
│ │ ├── ttgload.h
│ │ ├── ttgxvar.c
│ │ ├── ttgxvar.h
│ │ ├── ttinterp.c
│ │ ├── ttinterp.h
│ │ ├── ttobjs.c
│ │ ├── ttobjs.h
│ │ ├── ttpic.c
│ │ ├── ttpic.h
│ │ ├── ttpload.c
│ │ └── ttpload.h
│ │ ├── type1
│ │ ├── Jamfile
│ │ ├── module.mk
│ │ ├── rules.mk
│ │ ├── t1afm.c
│ │ ├── t1afm.h
│ │ ├── t1driver.c
│ │ ├── t1driver.h
│ │ ├── t1errors.h
│ │ ├── t1gload.c
│ │ ├── t1gload.h
│ │ ├── t1load.c
│ │ ├── t1load.h
│ │ ├── t1objs.c
│ │ ├── t1objs.h
│ │ ├── t1parse.c
│ │ ├── t1parse.h
│ │ ├── t1tokens.h
│ │ └── type1.c
│ │ ├── type42
│ │ ├── Jamfile
│ │ ├── module.mk
│ │ ├── rules.mk
│ │ ├── t42drivr.c
│ │ ├── t42drivr.h
│ │ ├── t42error.h
│ │ ├── t42objs.c
│ │ ├── t42objs.h
│ │ ├── t42parse.c
│ │ ├── t42parse.h
│ │ ├── t42types.h
│ │ └── type42.c
│ │ └── winfonts
│ │ ├── Jamfile
│ │ ├── fnterrs.h
│ │ ├── module.mk
│ │ ├── rules.mk
│ │ ├── winfnt.c
│ │ └── winfnt.h
├── game
│ ├── as
│ │ ├── as_binding_print.cpp
│ │ ├── as_binding_print.h
│ │ ├── as_jit.cpp
│ │ └── as_jit.h
│ ├── compat
│ │ ├── gl.h
│ │ ├── intrin.h
│ │ ├── misc.h
│ │ └── regex.h
│ ├── design
│ │ ├── design.cpp
│ │ ├── design.h
│ │ ├── effect.cpp
│ │ ├── effect.h
│ │ ├── effector.cpp
│ │ ├── effector.h
│ │ ├── effector_functions.cpp
│ │ ├── effector_functions.h
│ │ ├── hull.cpp
│ │ ├── hull.h
│ │ ├── projectiles.cpp
│ │ ├── projectiles.h
│ │ ├── subsystem.cpp
│ │ └── subsystem.h
│ ├── dump_lin.h
│ ├── empire.cpp
│ ├── empire.h
│ ├── empire_stats.cpp
│ ├── empire_stats.h
│ ├── general_states.cpp
│ ├── general_states.h
│ ├── glad
│ │ └── gl.h
│ ├── gui
│ │ ├── skin.cpp
│ │ └── skin.h
│ ├── main.cpp
│ ├── main
│ │ ├── console.cpp
│ │ ├── console.h
│ │ ├── game_platform.h
│ │ ├── initialization.cpp
│ │ ├── initialization.h
│ │ ├── input_handling.cpp
│ │ ├── input_handling.h
│ │ ├── logging.cpp
│ │ ├── logging.h
│ │ ├── profiler.cpp
│ │ ├── profiler.h
│ │ ├── references.cpp
│ │ ├── references.h
│ │ ├── save_load.cpp
│ │ ├── save_load.h
│ │ ├── tick.cpp
│ │ ├── tick.h
│ │ └── version.h
│ ├── master_server.cpp
│ ├── memory
│ │ ├── AllocOnlyPool.h
│ │ └── MemoryPool.h
│ ├── mods
│ │ ├── mod_manager.cpp
│ │ └── mod_manager.h
│ ├── network
│ │ ├── network_manager.cpp
│ │ ├── network_manager.h
│ │ └── player.h
│ ├── obj
│ │ ├── blueprint.cpp
│ │ ├── blueprint.h
│ │ ├── lock.cpp
│ │ ├── lock.h
│ │ ├── obj_group.cpp
│ │ ├── obj_group.h
│ │ ├── object.cpp
│ │ ├── object.h
│ │ ├── object_saving.cpp
│ │ ├── universe.cpp
│ │ └── universe.h
│ ├── os
│ │ ├── driver.h
│ │ ├── glfw_driver.cpp
│ │ ├── glfw_driver.h
│ │ ├── key_consts.h
│ │ └── resource.h
│ ├── physics
│ │ ├── physics_world.cpp
│ │ └── physics_world.h
│ ├── processing.cpp
│ ├── processing.h
│ ├── profile
│ │ ├── keybinds.cpp
│ │ ├── keybinds.h
│ │ ├── settings.cpp
│ │ └── settings.h
│ ├── render
│ │ ├── bmf_loader.cpp
│ │ ├── bmf_loader.h
│ │ ├── camera.cpp
│ │ ├── camera.h
│ │ ├── driver.h
│ │ ├── font.h
│ │ ├── font_fnt.cpp
│ │ ├── font_ft2.cpp
│ │ ├── gl_driver.cpp
│ │ ├── gl_driver.h
│ │ ├── gl_framebuffer.cpp
│ │ ├── gl_framebuffer.h
│ │ ├── gl_mesh.cpp
│ │ ├── gl_mesh.h
│ │ ├── gl_shader.cpp
│ │ ├── gl_shader.h
│ │ ├── gl_texture.cpp
│ │ ├── gl_texture.h
│ │ ├── gl_vertexBuffer.cpp
│ │ ├── lighting.cpp
│ │ ├── lighting.h
│ │ ├── obj_loader.cpp
│ │ ├── obj_loader.h
│ │ ├── ogex_loader.cpp
│ │ ├── ogex_loader.h
│ │ ├── render_mesh.h
│ │ ├── render_state.cpp
│ │ ├── render_state.h
│ │ ├── shader.h
│ │ ├── shader_states.cpp
│ │ ├── spritesheet.cpp
│ │ ├── spritesheet.h
│ │ ├── texture.h
│ │ ├── vertexBuffer.h
│ │ ├── x_loader.cpp
│ │ └── x_loader.h
│ ├── resource
│ │ ├── hot_loading.cpp
│ │ ├── library.cpp
│ │ ├── library.h
│ │ ├── load_font.cpp
│ │ ├── load_material.cpp
│ │ ├── load_model.cpp
│ │ ├── load_shader.cpp
│ │ ├── load_skin.cpp
│ │ ├── load_sound.cpp
│ │ ├── locale.cpp
│ │ └── locale.h
│ ├── scene
│ │ ├── animation
│ │ │ ├── anim_group.cpp
│ │ │ ├── anim_group.h
│ │ │ ├── anim_linear.cpp
│ │ │ ├── anim_linear.h
│ │ │ ├── anim_node_sync.cpp
│ │ │ ├── anim_node_sync.h
│ │ │ ├── anim_projectile.cpp
│ │ │ ├── anim_projectile.h
│ │ │ └── animator.h
│ │ ├── beam_node.cpp
│ │ ├── beam_node.h
│ │ ├── billboard_node.cpp
│ │ ├── billboard_node.h
│ │ ├── culling_node.cpp
│ │ ├── culling_node.h
│ │ ├── frame_line.cpp
│ │ ├── frame_line.h
│ │ ├── icon_node.cpp
│ │ ├── icon_node.h
│ │ ├── line_trail_node.cpp
│ │ ├── line_trail_node.h
│ │ ├── mesh_icon_node.cpp
│ │ ├── mesh_icon_node.h
│ │ ├── mesh_node.cpp
│ │ ├── mesh_node.h
│ │ ├── node.cpp
│ │ ├── node.h
│ │ ├── particle_system.cpp
│ │ ├── particle_system.h
│ │ ├── plane_node.cpp
│ │ ├── plane_node.h
│ │ ├── scripted_node.cpp
│ │ └── scripted_node.h
│ ├── scripts
│ │ ├── bind_creation.cpp
│ │ ├── bind_data.cpp
│ │ ├── bind_datafile.cpp
│ │ ├── bind_design.cpp
│ │ ├── bind_dynamic.cpp
│ │ ├── bind_empire.cpp
│ │ ├── bind_events.cpp
│ │ ├── bind_formula.cpp
│ │ ├── bind_general.cpp
│ │ ├── bind_gui.cpp
│ │ ├── bind_inspection.cpp
│ │ ├── bind_irc.cpp
│ │ ├── bind_joystick.cpp
│ │ ├── bind_json.cpp
│ │ ├── bind_menu.cpp
│ │ ├── bind_network.cpp
│ │ ├── bind_object.cpp
│ │ ├── bind_profile.cpp
│ │ ├── bind_render.cpp
│ │ ├── bind_savefile.cpp
│ │ ├── bind_sound.cpp
│ │ ├── bind_threading.cpp
│ │ ├── bind_web.cpp
│ │ ├── binds.cpp
│ │ ├── binds.h
│ │ ├── context_cache.cpp
│ │ ├── context_cache.h
│ │ ├── generic_call.cpp
│ │ ├── generic_call.h
│ │ ├── manager.cpp
│ │ ├── manager.h
│ │ ├── script_bind.cpp
│ │ ├── script_bind.h
│ │ ├── script_components.cpp
│ │ ├── script_components.h
│ │ ├── script_hooks.cpp
│ │ ├── script_type.cpp
│ │ └── script_type.h
│ └── util
│ │ ├── basic_type.h
│ │ ├── bbcode.cpp
│ │ ├── bbcode.h
│ │ ├── elevation_map.cpp
│ │ ├── elevation_map.h
│ │ ├── format.cpp
│ │ ├── format.h
│ │ ├── formula.cpp
│ │ ├── formula.h
│ │ ├── generic.cpp
│ │ ├── generic.h
│ │ ├── hex_grid.h
│ │ ├── link_container.h
│ │ ├── locked_type.h
│ │ ├── lockless_type.h
│ │ ├── mesh_generation.cpp
│ │ ├── mesh_generation.h
│ │ ├── name_generator.cpp
│ │ ├── name_generator.h
│ │ ├── random.cpp
│ │ ├── random.h
│ │ ├── refcount.h
│ │ ├── save_file.cpp
│ │ ├── save_file.h
│ │ ├── stat_history.cpp
│ │ ├── stat_history.h
│ │ ├── threaded_loader.cpp
│ │ └── threaded_loader.h
├── glfw
│ ├── CMake
│ │ ├── amd64-mingw32msvc.cmake
│ │ ├── i586-mingw32msvc.cmake
│ │ ├── i686-pc-mingw32.cmake
│ │ ├── i686-w64-mingw32.cmake
│ │ ├── modules
│ │ │ ├── FindEGL.cmake
│ │ │ ├── FindGLESv1.cmake
│ │ │ └── FindGLESv2.cmake
│ │ └── x86_64-w64-mingw32.cmake
│ ├── CMakeLists.txt
│ ├── COPYING.txt
│ ├── GLFW.vcxproj
│ ├── GLFW.vcxproj.filters
│ ├── README.md
│ ├── cmake_uninstall.cmake.in
│ ├── config.h
│ ├── deps
│ │ ├── EGL
│ │ │ └── eglext.h
│ │ ├── GL
│ │ │ ├── glext.h
│ │ │ ├── glxext.h
│ │ │ └── wglext.h
│ │ ├── getopt.c
│ │ ├── getopt.h
│ │ ├── tinycthread.c
│ │ └── tinycthread.h
│ ├── docs
│ │ ├── CMakeLists.txt
│ │ ├── Doxyfile.in
│ │ ├── build.dox
│ │ ├── compat.dox
│ │ ├── context.dox
│ │ ├── html
│ │ │ ├── annotated.html
│ │ │ ├── bc_s.png
│ │ │ ├── bdwn.png
│ │ │ ├── bug.html
│ │ │ ├── build.html
│ │ │ ├── build_8dox.html
│ │ │ ├── classes.html
│ │ │ ├── closed.png
│ │ │ ├── compat.html
│ │ │ ├── compat_8dox.html
│ │ │ ├── context.html
│ │ │ ├── context_8dox.html
│ │ │ ├── dir_2234b45d61dd6825fbae406b42298127.html
│ │ │ ├── dir_3f3568fd511578374d584a66680052c4.html
│ │ │ ├── dir_8513384d385aefa7e0df3f96e9cce3ce.html
│ │ │ ├── doxygen.css
│ │ │ ├── doxygen.png
│ │ │ ├── dynsections.js
│ │ │ ├── files.html
│ │ │ ├── ftv2blank.png
│ │ │ ├── ftv2cl.png
│ │ │ ├── ftv2doc.png
│ │ │ ├── ftv2folderclosed.png
│ │ │ ├── ftv2folderopen.png
│ │ │ ├── ftv2lastnode.png
│ │ │ ├── ftv2link.png
│ │ │ ├── ftv2mlastnode.png
│ │ │ ├── ftv2mnode.png
│ │ │ ├── ftv2mo.png
│ │ │ ├── ftv2node.png
│ │ │ ├── ftv2ns.png
│ │ │ ├── ftv2plastnode.png
│ │ │ ├── ftv2pnode.png
│ │ │ ├── ftv2splitbar.png
│ │ │ ├── ftv2vertline.png
│ │ │ ├── functions.html
│ │ │ ├── functions_vars.html
│ │ │ ├── glfw3_8h.html
│ │ │ ├── glfw3_8h_source.html
│ │ │ ├── glfw3native_8h.html
│ │ │ ├── glfw3native_8h_source.html
│ │ │ ├── globals.html
│ │ │ ├── globals_0x62.html
│ │ │ ├── globals_0x63.html
│ │ │ ├── globals_0x64.html
│ │ │ ├── globals_0x65.html
│ │ │ ├── globals_0x66.html
│ │ │ ├── globals_0x67.html
│ │ │ ├── globals_0x68.html
│ │ │ ├── globals_0x69.html
│ │ │ ├── globals_0x6a.html
│ │ │ ├── globals_0x6b.html
│ │ │ ├── globals_0x6c.html
│ │ │ ├── globals_0x6d.html
│ │ │ ├── globals_0x6e.html
│ │ │ ├── globals_0x6f.html
│ │ │ ├── globals_0x70.html
│ │ │ ├── globals_0x72.html
│ │ │ ├── globals_0x73.html
│ │ │ ├── globals_0x74.html
│ │ │ ├── globals_0x76.html
│ │ │ ├── globals_0x77.html
│ │ │ ├── globals_defs.html
│ │ │ ├── globals_defs_0x62.html
│ │ │ ├── globals_defs_0x63.html
│ │ │ ├── globals_defs_0x64.html
│ │ │ ├── globals_defs_0x66.html
│ │ │ ├── globals_defs_0x67.html
│ │ │ ├── globals_defs_0x69.html
│ │ │ ├── globals_defs_0x6a.html
│ │ │ ├── globals_defs_0x6b.html
│ │ │ ├── globals_defs_0x6c.html
│ │ │ ├── globals_defs_0x6d.html
│ │ │ ├── globals_defs_0x6e.html
│ │ │ ├── globals_defs_0x6f.html
│ │ │ ├── globals_defs_0x70.html
│ │ │ ├── globals_defs_0x72.html
│ │ │ ├── globals_defs_0x73.html
│ │ │ ├── globals_defs_0x76.html
│ │ │ ├── globals_func.html
│ │ │ ├── globals_type.html
│ │ │ ├── group__buttons.html
│ │ │ ├── group__clipboard.html
│ │ │ ├── group__context.html
│ │ │ ├── group__error.html
│ │ │ ├── group__errors.html
│ │ │ ├── group__init.html
│ │ │ ├── group__input.html
│ │ │ ├── group__joysticks.html
│ │ │ ├── group__keys.html
│ │ │ ├── group__mods.html
│ │ │ ├── group__monitor.html
│ │ │ ├── group__native.html
│ │ │ ├── group__time.html
│ │ │ ├── group__window.html
│ │ │ ├── index.html
│ │ │ ├── jquery.js
│ │ │ ├── main_8dox.html
│ │ │ ├── modules.html
│ │ │ ├── monitor.html
│ │ │ ├── monitor_8dox.html
│ │ │ ├── moving.html
│ │ │ ├── moving_8dox.html
│ │ │ ├── nav_f.png
│ │ │ ├── nav_g.png
│ │ │ ├── nav_h.png
│ │ │ ├── news.html
│ │ │ ├── news_8dox.html
│ │ │ ├── open.png
│ │ │ ├── pages.html
│ │ │ ├── quick.html
│ │ │ ├── quick_8dox.html
│ │ │ ├── search
│ │ │ │ ├── all_62.html
│ │ │ │ ├── all_62.js
│ │ │ │ ├── all_63.html
│ │ │ │ ├── all_63.js
│ │ │ │ ├── all_65.html
│ │ │ │ ├── all_65.js
│ │ │ │ ├── all_67.html
│ │ │ │ ├── all_67.js
│ │ │ │ ├── all_68.html
│ │ │ │ ├── all_68.js
│ │ │ │ ├── all_69.html
│ │ │ │ ├── all_69.js
│ │ │ │ ├── all_6a.html
│ │ │ │ ├── all_6a.js
│ │ │ │ ├── all_6b.html
│ │ │ │ ├── all_6b.js
│ │ │ │ ├── all_6d.html
│ │ │ │ ├── all_6d.js
│ │ │ │ ├── all_6e.html
│ │ │ │ ├── all_6e.js
│ │ │ │ ├── all_71.html
│ │ │ │ ├── all_71.js
│ │ │ │ ├── all_72.html
│ │ │ │ ├── all_72.js
│ │ │ │ ├── all_73.html
│ │ │ │ ├── all_73.js
│ │ │ │ ├── all_74.html
│ │ │ │ ├── all_74.js
│ │ │ │ ├── all_77.html
│ │ │ │ ├── all_77.js
│ │ │ │ ├── classes_67.html
│ │ │ │ ├── classes_67.js
│ │ │ │ ├── close.png
│ │ │ │ ├── defines_67.html
│ │ │ │ ├── defines_67.js
│ │ │ │ ├── files_62.html
│ │ │ │ ├── files_62.js
│ │ │ │ ├── files_63.html
│ │ │ │ ├── files_63.js
│ │ │ │ ├── files_67.html
│ │ │ │ ├── files_67.js
│ │ │ │ ├── files_6d.html
│ │ │ │ ├── files_6d.js
│ │ │ │ ├── files_6e.html
│ │ │ │ ├── files_6e.js
│ │ │ │ ├── files_71.html
│ │ │ │ ├── files_71.js
│ │ │ │ ├── files_77.html
│ │ │ │ ├── files_77.js
│ │ │ │ ├── functions_67.html
│ │ │ │ ├── functions_67.js
│ │ │ │ ├── groups_63.html
│ │ │ │ ├── groups_63.js
│ │ │ │ ├── groups_65.html
│ │ │ │ ├── groups_65.js
│ │ │ │ ├── groups_69.html
│ │ │ │ ├── groups_69.js
│ │ │ │ ├── groups_6a.html
│ │ │ │ ├── groups_6a.js
│ │ │ │ ├── groups_6b.html
│ │ │ │ ├── groups_6b.js
│ │ │ │ ├── groups_6d.html
│ │ │ │ ├── groups_6d.js
│ │ │ │ ├── groups_6e.html
│ │ │ │ ├── groups_6e.js
│ │ │ │ ├── groups_74.html
│ │ │ │ ├── groups_74.js
│ │ │ │ ├── groups_77.html
│ │ │ │ ├── groups_77.js
│ │ │ │ ├── mag_sel.png
│ │ │ │ ├── nomatches.html
│ │ │ │ ├── pages_62.html
│ │ │ │ ├── pages_62.js
│ │ │ │ ├── pages_63.html
│ │ │ │ ├── pages_63.js
│ │ │ │ ├── pages_67.html
│ │ │ │ ├── pages_67.js
│ │ │ │ ├── pages_6d.html
│ │ │ │ ├── pages_6d.js
│ │ │ │ ├── pages_6e.html
│ │ │ │ ├── pages_6e.js
│ │ │ │ ├── pages_73.html
│ │ │ │ ├── pages_73.js
│ │ │ │ ├── pages_77.html
│ │ │ │ ├── pages_77.js
│ │ │ │ ├── search.css
│ │ │ │ ├── search.js
│ │ │ │ ├── search_l.png
│ │ │ │ ├── search_m.png
│ │ │ │ ├── search_r.png
│ │ │ │ ├── typedefs_67.html
│ │ │ │ ├── typedefs_67.js
│ │ │ │ ├── variables_62.html
│ │ │ │ ├── variables_62.js
│ │ │ │ ├── variables_67.html
│ │ │ │ ├── variables_67.js
│ │ │ │ ├── variables_68.html
│ │ │ │ ├── variables_68.js
│ │ │ │ ├── variables_72.html
│ │ │ │ ├── variables_72.js
│ │ │ │ ├── variables_73.html
│ │ │ │ ├── variables_73.js
│ │ │ │ ├── variables_77.html
│ │ │ │ └── variables_77.js
│ │ │ ├── structGLFWgammaramp.html
│ │ │ ├── structGLFWvidmode.html
│ │ │ ├── sync_off.png
│ │ │ ├── sync_on.png
│ │ │ ├── tab_a.png
│ │ │ ├── tab_b.png
│ │ │ ├── tab_h.png
│ │ │ ├── tab_s.png
│ │ │ ├── tabs.css
│ │ │ ├── window.html
│ │ │ └── window_8dox.html
│ │ ├── internal.dox
│ │ ├── main.dox
│ │ ├── monitor.dox
│ │ ├── moving.dox
│ │ ├── news.dox
│ │ ├── quick.dox
│ │ └── window.dox
│ ├── examples
│ │ ├── CMakeLists.txt
│ │ ├── boing.c
│ │ ├── gears.c
│ │ ├── heightmap.c
│ │ ├── simple.c
│ │ ├── splitview.c
│ │ └── wave.c
│ ├── include
│ │ └── GLFW
│ │ │ ├── glfw3.h
│ │ │ └── glfw3native.h
│ ├── src
│ │ ├── CMakeLists.txt
│ │ ├── clipboard.c
│ │ ├── cocoa_clipboard.m
│ │ ├── cocoa_gamma.c
│ │ ├── cocoa_init.m
│ │ ├── cocoa_joystick.m
│ │ ├── cocoa_monitor.m
│ │ ├── cocoa_platform.h
│ │ ├── cocoa_time.c
│ │ ├── cocoa_window.m
│ │ ├── config.h.in
│ │ ├── context.c
│ │ ├── egl_context.c
│ │ ├── egl_platform.h
│ │ ├── gamma.c
│ │ ├── glfw3.pc.in
│ │ ├── glfwConfig.cmake.in
│ │ ├── glfwConfigVersion.cmake.in
│ │ ├── glx_context.c
│ │ ├── glx_platform.h
│ │ ├── init.c
│ │ ├── input.c
│ │ ├── internal.h
│ │ ├── joystick.c
│ │ ├── monitor.c
│ │ ├── nsgl_context.m
│ │ ├── nsgl_platform.h
│ │ ├── time.c
│ │ ├── wgl_context.c
│ │ ├── wgl_platform.h
│ │ ├── win32_clipboard.c
│ │ ├── win32_gamma.c
│ │ ├── win32_init.c
│ │ ├── win32_joystick.c
│ │ ├── win32_monitor.c
│ │ ├── win32_platform.h
│ │ ├── win32_time.c
│ │ ├── win32_window.c
│ │ ├── window.c
│ │ ├── x11_clipboard.c
│ │ ├── x11_gamma.c
│ │ ├── x11_init.c
│ │ ├── x11_joystick.c
│ │ ├── x11_monitor.c
│ │ ├── x11_platform.h
│ │ ├── x11_time.c
│ │ ├── x11_unicode.c
│ │ └── x11_window.c
│ └── tests
│ │ ├── CMakeLists.txt
│ │ ├── accuracy.c
│ │ ├── clipboard.c
│ │ ├── defaults.c
│ │ ├── events.c
│ │ ├── fsaa.c
│ │ ├── gamma.c
│ │ ├── glfwinfo.c
│ │ ├── iconify.c
│ │ ├── joysticks.c
│ │ ├── modes.c
│ │ ├── peter.c
│ │ ├── reopen.c
│ │ ├── sharing.c
│ │ ├── tearing.c
│ │ ├── threads.c
│ │ ├── title.c
│ │ └── windows.c
├── include
│ ├── curl
│ │ ├── LICENSE-curl
│ │ ├── curl.h
│ │ ├── curlbuild.h
│ │ ├── curlbuild.h.cmake
│ │ ├── curlbuild.h.in
│ │ ├── curlrules.h
│ │ ├── curlver.h
│ │ ├── easy.h
│ │ ├── mprintf.h
│ │ ├── multi.h
│ │ ├── stdcheaders.h
│ │ ├── system.h
│ │ └── typecheck-gcc.h
│ └── zlib
│ │ ├── LICENSE-zlib
│ │ ├── zconf.h
│ │ └── zlib.h
├── lib
│ └── win64
│ │ ├── OpenAL64.lib
│ │ ├── freetype247_64.lib
│ │ ├── libcurl.lib
│ │ ├── libpng64.lib
│ │ └── zlibwapi.lib
├── libircclient
│ ├── LICENSE-libircclient
│ ├── gcc
│ │ └── Makefile
│ ├── include
│ │ ├── libirc_errors.h
│ │ ├── libirc_events.h
│ │ ├── libirc_options.h
│ │ ├── libirc_rfcnumeric.h
│ │ └── libircclient.h
│ ├── libircclient.vcxproj
│ ├── libircclient.vcxproj.filters
│ └── src
│ │ ├── colors.c
│ │ ├── dcc.c
│ │ ├── dcc.h
│ │ ├── errors.c
│ │ ├── libircclient.c
│ │ ├── params.h
│ │ ├── portable.c
│ │ ├── session.h
│ │ ├── sockets.c
│ │ ├── ssl.c
│ │ └── utils.c
├── libpng
│ ├── LICENSE-libpng
│ ├── cexcept.h
│ ├── libpng
│ │ ├── libpng.vcxproj
│ │ └── libpng.vcxproj.filters
│ ├── png.c
│ ├── png.h
│ ├── pngconf.h
│ ├── pngdebug.h
│ ├── pngerror.c
│ ├── pngget.c
│ ├── pnginfo.h
│ ├── pnglibconf.h
│ ├── pngmem.c
│ ├── pngpread.c
│ ├── pngpriv.h
│ ├── pngread.c
│ ├── pngrio.c
│ ├── pngrtran.c
│ ├── pngrutil.c
│ ├── pngset.c
│ ├── pngstruct.h
│ ├── pngtrans.c
│ ├── pngvalid.c
│ ├── pngwio.c
│ ├── pngwrite.c
│ ├── pngwtran.c
│ └── pngwutil.c
├── linux
│ ├── Makefile
│ └── build.sh
├── loader
│ ├── SR2Loader
│ │ ├── HybridCRT.props
│ │ ├── SR2Loader.rc
│ │ ├── SR2Loader.vcxproj
│ │ ├── SR2Loader.vcxproj.filters
│ │ └── resource.h
│ └── main.c
├── msvc
│ └── Star Ruler 2
│ │ ├── Star Ruler 2.rc
│ │ ├── Star Ruler 2.sln
│ │ ├── Star Ruler 2.vcxproj
│ │ ├── Star Ruler 2.vcxproj.filters
│ │ └── resource.h
├── network
│ ├── gcc
│ │ └── Makefile
│ ├── include
│ │ ├── network.h
│ │ └── network
│ │ │ ├── address.h
│ │ │ ├── client.h
│ │ │ ├── connection.h
│ │ │ ├── init.h
│ │ │ ├── lobby.h
│ │ │ ├── message.h
│ │ │ ├── message_handler.h
│ │ │ ├── message_types.h
│ │ │ ├── sequence.h
│ │ │ ├── server.h
│ │ │ ├── time.h
│ │ │ └── transport.h
│ ├── network
│ │ ├── network.vcxproj
│ │ └── network.vcxproj.filters
│ ├── source
│ │ ├── address.cpp
│ │ ├── client.cpp
│ │ ├── connection.cpp
│ │ ├── init.cpp
│ │ ├── lobby.cpp
│ │ ├── message.cpp
│ │ ├── message_handler.cpp
│ │ ├── sequence.cpp
│ │ ├── server.cpp
│ │ ├── time.cpp
│ │ └── transport.cpp
│ └── test
│ │ ├── test_client.cpp
│ │ └── test_server.cpp
├── os
│ ├── gcc
│ │ └── Makefile
│ ├── include
│ │ ├── files.h
│ │ ├── threads.h
│ │ └── virtual_asm.h
│ ├── os
│ │ ├── os.vcxproj
│ │ └── os.vcxproj.filters
│ └── source
│ │ ├── files.cpp
│ │ ├── files_linux.cpp
│ │ ├── files_win.cpp
│ │ ├── threads.cpp
│ │ ├── threads_gcc.cpp
│ │ ├── threads_windows.cpp
│ │ ├── virtual_asm_linux.cpp
│ │ ├── virtual_asm_windows.cpp
│ │ ├── virtual_asm_x64.cpp
│ │ └── virtual_asm_x86.cpp
├── patcher
│ └── patcher
│ │ ├── patcher.cpp
│ │ ├── patcher.vcxproj
│ │ └── patcher.vcxproj.filters
├── rapidjson
│ ├── include
│ │ └── rapidjson
│ │ │ ├── allocators.h
│ │ │ ├── cursorstreamwrapper.h
│ │ │ ├── document.h
│ │ │ ├── encodedstream.h
│ │ │ ├── encodings.h
│ │ │ ├── error
│ │ │ ├── en.h
│ │ │ └── error.h
│ │ │ ├── filereadstream.h
│ │ │ ├── filewritestream.h
│ │ │ ├── fwd.h
│ │ │ ├── internal
│ │ │ ├── biginteger.h
│ │ │ ├── clzll.h
│ │ │ ├── diyfp.h
│ │ │ ├── dtoa.h
│ │ │ ├── ieee754.h
│ │ │ ├── itoa.h
│ │ │ ├── meta.h
│ │ │ ├── pow10.h
│ │ │ ├── regex.h
│ │ │ ├── stack.h
│ │ │ ├── strfunc.h
│ │ │ ├── strtod.h
│ │ │ └── swap.h
│ │ │ ├── istreamwrapper.h
│ │ │ ├── memorybuffer.h
│ │ │ ├── memorystream.h
│ │ │ ├── msinttypes
│ │ │ ├── inttypes.h
│ │ │ └── stdint.h
│ │ │ ├── ostreamwrapper.h
│ │ │ ├── pointer.h
│ │ │ ├── prettywriter.h
│ │ │ ├── rapidjson.h
│ │ │ ├── reader.h
│ │ │ ├── schema.h
│ │ │ ├── stream.h
│ │ │ ├── stringbuffer.h
│ │ │ ├── uri.h
│ │ │ └── writer.h
│ └── license.txt
├── sound
│ ├── LICENSE-OpenALSoft
│ ├── LICENSE-ogg
│ ├── LICENSE-vorbis
│ ├── OpenALSoft
│ │ ├── al.h
│ │ ├── alc.h
│ │ ├── alext.h
│ │ ├── efx-creative.h
│ │ ├── efx-presets.h
│ │ └── efx.h
│ ├── gcc
│ │ └── Makefile
│ ├── include
│ │ ├── IAudioReference.h
│ │ ├── ISound.h
│ │ ├── ISoundDevice.h
│ │ ├── ISoundSource.h
│ │ ├── SAutoDrop.h
│ │ ├── SAutoLocker.h
│ │ ├── SLoadError.h
│ │ ├── SoundTypes.h
│ │ └── sound_vector.h
│ ├── ogg
│ │ ├── ogg.h
│ │ └── os_types.h
│ ├── sound
│ │ ├── sound.vcxproj
│ │ └── sound.vcxproj.filters
│ ├── source
│ │ ├── CSSOgg.cpp
│ │ ├── CSSWave.cpp
│ │ ├── CSSWave.h
│ │ ├── CSound.cpp
│ │ ├── CSound.h
│ │ ├── CSoundDevice.cpp
│ │ ├── CSoundSource.cpp
│ │ ├── CSoundSource.h
│ │ ├── CStreamSound.cpp
│ │ ├── CStreamSound.h
│ │ ├── IAudioReference.cpp
│ │ ├── ISound.cpp
│ │ ├── ISoundDevice.cpp
│ │ └── ISoundSource.cpp
│ └── vorbis
│ │ ├── codec.h
│ │ ├── vorbisenc.h
│ │ └── vorbisfile.h
└── util
│ ├── gcc
│ └── Makefile
│ ├── include
│ ├── BiPatch
│ │ ├── Vector.h
│ │ └── bilinear.h
│ ├── aabbox.h
│ ├── color.h
│ ├── constants.h
│ ├── frustum.h
│ ├── image.h
│ ├── line3d.h
│ ├── matrix.h
│ ├── mesh.h
│ ├── num_util.h
│ ├── plane.h
│ ├── quaternion.h
│ ├── rect.h
│ ├── str_util.h
│ ├── vec2.h
│ ├── vec3.h
│ ├── vec4.h
│ └── vertex.h
│ ├── source
│ ├── Vector.cpp
│ ├── bilinear.cpp
│ ├── image.cpp
│ └── str_util.cpp
│ └── util
│ ├── util.vcxproj
│ └── util.vcxproj.filters
├── sr2.icns
├── sr2.ico
└── sr2.png
/.gitignore:
--------------------------------------------------------------------------------
1 | *.obj
2 | *.log
3 | *.pdb
4 | *.tlog
5 | *.idb
6 | *.user
7 | *.db
8 | *.opendb
9 | *.suo
10 | *.ipch
11 | *.res
12 | *.sdf
13 | *.db-shm
14 | *.db-wal
15 | *.iobj
16 | *.ipdb
17 | *.ilk
18 | *.o
19 | *.d
20 | *.exp
21 | *.recipe
22 | *.FileListAbsolute.txt
23 | .vs
24 | /mods
25 | /scripts
26 | /locales
27 | /data
28 | /maps
29 | /obj
30 | /bin/lin64
31 | /source/angelscript/lib
32 | CMakeFiles
33 | shipsets.txt
34 | patcher.exe
35 | sound*.dll
36 |
37 | # clangd config
38 | compile_commands.json
39 |
40 | # clangd cache
41 | .cache
42 |
43 | # CLion
44 | .idea
45 |
--------------------------------------------------------------------------------
/Makefile:
--------------------------------------------------------------------------------
1 | include source/linux/Makefile
2 |
--------------------------------------------------------------------------------
/Star Ruler 2.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/OpenSRProject/OpenStarRuler/488ba951da7dc9d8d105535dd69ce7eee34b2464/Star Ruler 2.exe
--------------------------------------------------------------------------------
/StarRuler2.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | set -eo pipefail
3 |
4 | #Figure out where the script is located
5 | if [[ -L "$0" ]]; then
6 | script_loc="$(readlink "$0")"
7 | else
8 | script_loc="$0"
9 | fi
10 | cd "$(dirname "$script_loc")"
11 |
12 | bin_folder="bin"
13 | args=()
14 | for arg in "$@"; do
15 | if [ "$arg" = "--legacy" ]; then
16 | bin_folder="bin_legacy"
17 | else
18 | args+=("$arg")
19 | fi
20 | done
21 |
22 | #Execute the right binary for this architecture
23 | if [ "$(uname)" = "Darwin" ]; then
24 | chmod +x ./$bin_folder/osx64/StarRuler2.bin
25 | DYLD_LIBRARY_PATH="./$bin_folder/osx64/:$DYLD_LIBRARY_PATH" exec ./$bin_folder/osx64/StarRuler2.bin "${args[@]}"
26 | elif [ "$(uname -m)" = "x86_64" ]; then
27 | chmod +x ./$bin_folder/lin64/StarRuler2.bin
28 | LD_LIBRARY_PATH="./$bin_folder/lin64/:$LD_LIBRARY_PATH" exec ./$bin_folder/lin64/StarRuler2.bin "${args[@]}"
29 | else
30 | chmod +x ./$bin_folder/lin32/StarRuler2.bin
31 | LD_LIBRARY_PATH="./$bin_folder/lin32/:$LD_LIBRARY_PATH" exec ./$bin_folder/lin32/StarRuler2.bin "${args[@]}"
32 | fi;
33 | # vim: set ff=unix:
34 |
--------------------------------------------------------------------------------
/bin/win64/OpenAL64.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/OpenSRProject/OpenStarRuler/488ba951da7dc9d8d105535dd69ce7eee34b2464/bin/win64/OpenAL64.dll
--------------------------------------------------------------------------------
/bin/win64/libcurl.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/OpenSRProject/OpenStarRuler/488ba951da7dc9d8d105535dd69ce7eee34b2464/bin/win64/libcurl.dll
--------------------------------------------------------------------------------
/bin/win64/libogg.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/OpenSRProject/OpenStarRuler/488ba951da7dc9d8d105535dd69ce7eee34b2464/bin/win64/libogg.dll
--------------------------------------------------------------------------------
/bin/win64/libpng64.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/OpenSRProject/OpenStarRuler/488ba951da7dc9d8d105535dd69ce7eee34b2464/bin/win64/libpng64.dll
--------------------------------------------------------------------------------
/bin/win64/libvorbis.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/OpenSRProject/OpenStarRuler/488ba951da7dc9d8d105535dd69ce7eee34b2464/bin/win64/libvorbis.dll
--------------------------------------------------------------------------------
/bin/win64/libvorbisfile.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/OpenSRProject/OpenStarRuler/488ba951da7dc9d8d105535dd69ce7eee34b2464/bin/win64/libvorbisfile.dll
--------------------------------------------------------------------------------
/bin/win64/zlibwapi.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/OpenSRProject/OpenStarRuler/488ba951da7dc9d8d105535dd69ce7eee34b2464/bin/win64/zlibwapi.dll
--------------------------------------------------------------------------------
/credits.txt:
--------------------------------------------------------------------------------
1 | === BLIND MIND STUDIOS ===
2 | Amy Ackermann
3 | James Woodall
4 |
5 | === GLACICLE ===
6 | Lucas de Vries
7 |
8 | === WITH HELP FROM ===
9 | Jon Micheelsen - 2D/3D Art
10 | Nicolai Kilstrup - 3D Art
11 | Jason Covenant - Musician, Sound Effects
12 | Daniel Swearingen - Musician, Sound Effects
13 |
14 | === SPECIAL THANKS TO ===
15 | Alarcarr - For tireless gameplay and balance testing!
16 |
17 | And a big thank you to all who helped us test and improve the game throughout
18 | the early alpha, beta, and early access periods.
19 |
--------------------------------------------------------------------------------
/source/angelscript/LICENSE-angelscript:
--------------------------------------------------------------------------------
1 | AngelCode Scripting Library
2 |
3 | Copyright c 2003-2017 Andreas Jonsson
4 |
5 | This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software.
6 |
7 | Permission is granted to anyone to use this software for any purpose, including commercial applications, and to alter it and redistribute it freely, subject to the following restrictions:
8 |
9 | The origin of this software must not be misrepresented; you must not claim that you wrote the original software. If you use this software in a product, an acknowledgment in the product documentation would be appreciated but is not required.
10 |
11 | Altered source versions must be plainly marked as such, and must not be misrepresented as being the original software.
12 |
13 | This notice may not be removed or altered from any source distribution.
--------------------------------------------------------------------------------
/source/angelscript/projects/msvc10/angelscript.vcxproj.user:
--------------------------------------------------------------------------------
1 |
2 |
3 |
--------------------------------------------------------------------------------
/source/angelscript/source/as_callfunc_arm.cpp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/OpenSRProject/OpenStarRuler/488ba951da7dc9d8d105535dd69ce7eee34b2464/source/angelscript/source/as_callfunc_arm.cpp
--------------------------------------------------------------------------------
/source/angelscript/source/as_callfunc_arm_gcc.S:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/OpenSRProject/OpenStarRuler/488ba951da7dc9d8d105535dd69ce7eee34b2464/source/angelscript/source/as_callfunc_arm_gcc.S
--------------------------------------------------------------------------------
/source/as_addons/LICENSE-angelscript:
--------------------------------------------------------------------------------
1 | AngelCode Scripting Library
2 |
3 | Copyright c 2003-2017 Andreas Jonsson
4 |
5 | This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software.
6 |
7 | Permission is granted to anyone to use this software for any purpose, including commercial applications, and to alter it and redistribute it freely, subject to the following restrictions:
8 |
9 | The origin of this software must not be misrepresented; you must not claim that you wrote the original software. If you use this software in a product, an acknowledgment in the product documentation would be appreciated but is not required.
10 |
11 | Altered source versions must be plainly marked as such, and must not be misrepresented as being the original software.
12 |
13 | This notice may not be removed or altered from any source distribution.
--------------------------------------------------------------------------------
/source/as_addons/include/scriptmath.h:
--------------------------------------------------------------------------------
1 | #ifndef SCRIPTMATH_H
2 | #define SCRIPTMATH_H
3 |
4 | #ifndef ANGELSCRIPT_H
5 | // Avoid having to inform include path if header is already include before
6 | #include
7 | #endif
8 |
9 |
10 | BEGIN_AS_NAMESPACE
11 |
12 | // This function will determine the configuration of the engine
13 | // and use one of the two functions below to register the math functions
14 | void RegisterScriptMath(asIScriptEngine *engine);
15 |
16 | // Call this function to register the math functions
17 | // using native calling conventions
18 | void RegisterScriptMath_Native(asIScriptEngine *engine);
19 |
20 | // Use this one instead if native calling conventions
21 | // are not supported on the target platform
22 | void RegisterScriptMath_Generic(asIScriptEngine *engine);
23 |
24 | END_AS_NAMESPACE
25 |
26 | #endif
27 |
--------------------------------------------------------------------------------
/source/as_addons/include/scriptstdstring.h:
--------------------------------------------------------------------------------
1 | //
2 | // Script std::string
3 | //
4 | // This function registers the std::string type with AngelScript to be used as the default string type.
5 | //
6 | // The string type is registered as a value type, thus may have performance issues if a lot of
7 | // string operations are performed in the script. However, for relatively few operations, this should
8 | // not cause any problem for most applications.
9 | //
10 |
11 | #ifndef SCRIPTSTDSTRING_H
12 | #define SCRIPTSTDSTRING_H
13 |
14 | #include
15 | #include
16 |
17 | BEGIN_AS_NAMESPACE
18 |
19 | void RegisterStdString(asIScriptEngine *engine);
20 | void RegisterStdStringUtils(asIScriptEngine *engine);
21 |
22 | END_AS_NAMESPACE
23 |
24 | #endif
25 |
--------------------------------------------------------------------------------
/source/doc/template.enum.html:
--------------------------------------------------------------------------------
1 | <%namespace file="template.util.html" name="util" />
2 |
3 | ${name}
4 |
5 |
6 |
7 | ${name}
8 | % if doc:
9 | ${doc}
10 | % endif
11 |
12 |
13 |
14 |
15 | % for v in values:
16 | - ${v}
17 | % endfor
18 |
19 |
20 |
--------------------------------------------------------------------------------
/source/doc/template.functions.html:
--------------------------------------------------------------------------------
1 | <%namespace file="template.util.html" name="util" />
2 |
3 | ${engine} - Functions
4 |
5 |
6 |
7 | Functions
8 |
9 | % for i, m in enumerate(functions):
10 | - ${util.func(m, "#"+str(i) if "doc" in m else None)}
11 | % endfor
12 |
13 |
14 |
15 | % for i, m in enumerate(functions):
16 | % if "doc" in m:
17 |
18 | ${util.func(m)}
19 | ${m["doc"]}
20 |
21 | % if len(m["arguments"]):
22 |
23 | % for a in m["arguments"]:
24 | % if "doc" in a and a["doc"]:
25 | -
26 | ${util.type(a["type"])} ${a["name"]} — ${a["doc"]}
27 |
28 | % endif
29 | % endfor
30 |
31 | % endif
32 |
33 | % if "doc" in m["return"]:
34 | Returns ${util.type(m["return"]["type"])}: ${m["return"]["doc"]}
35 | % endif
36 |
37 | % endif
38 | % endfor
39 |
--------------------------------------------------------------------------------
/source/doc/template.globals.html:
--------------------------------------------------------------------------------
1 | <%namespace file="template.util.html" name="util" />
2 |
3 | ${engine} - Globals
4 |
5 |
6 | <%
7 | ns = {}
8 | for g in globals:
9 | if g["ns"] not in ns:
10 | ns[g["ns"]] = []
11 | ns[g["ns"]].append(g)
12 | %>
13 | % for name, n in ns.items():
14 |
15 | ${name if name else "Globals"}
16 |
17 | % for g in n:
18 | -
19 | ${util.type(g["type"])} ${g["ns"]+"::" if g["ns"] else ""}${g["name"]}
20 | % if "doc" in g:
21 | — ${g["doc"]}
22 | % endif
23 |
24 | % endfor
25 |
26 |
27 | % endfor
28 |
--------------------------------------------------------------------------------
/source/doc/template.top.html:
--------------------------------------------------------------------------------
1 |
2 | Star Ruler 2 API Documentation
3 |
4 |
5 |
6 | Client Engine
7 | The client script engine handles the game user interface.
8 | View Client API
9 |
10 |
11 |
12 | Server Engine
13 | The server script engine handles the game logic backend and manages the game state.
14 | View Server API
15 |
16 |
--------------------------------------------------------------------------------
/source/doc/template.util.html:
--------------------------------------------------------------------------------
1 | <%def name="type(name)">
2 | <%
3 | cname = name
4 | if cname.startswith("const "):
5 | cname = cname[6:]
6 | if cname.endswith("@"):
7 | cname = cname[:-1]
8 | if cname.endswith("&"):
9 | cname = cname[:-1]
10 | cname = cname.strip()
11 | %>
12 | % if cname in data["classmap"]:
13 | ${name}
14 | % elif cname in data["enummap"]:
15 | ${name}
16 | % else:
17 | ${name}
18 | % endif
19 | %def>
20 |
21 | <%def name="func(f, link=None)">
22 | ${type(f["return"]["type"])}
23 | % if link is not None:
24 | ${f["name"]}(
25 | % else:
26 | ${f["name"]}(
27 | % endif
28 | % for i, arg in enumerate(f["arguments"]):
29 | ${type(arg["type"])} ${arg["name"]}<%
30 | d = ""
31 | if "default" in arg:
32 | d = " = "+arg["default"]
33 | %>${d}${"," if i != len(f["arguments"]) - 1 else ""}
34 | % endfor
35 | ) ${"const" if f["const"] else ""}
36 | %def>
37 |
--------------------------------------------------------------------------------
/source/freetype2/builds/detect.mk:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/OpenSRProject/OpenStarRuler/488ba951da7dc9d8d105535dd69ce7eee34b2464/source/freetype2/builds/detect.mk
--------------------------------------------------------------------------------
/source/freetype2/builds/mac/ascii2mpw.py:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env python
2 | import sys
3 | import string
4 |
5 | if len( sys.argv ) == 1 :
6 | for asc_line in sys.stdin.readlines():
7 | mpw_line = string.replace(asc_line, "\\xA5", "\245")
8 | mpw_line = string.replace(mpw_line, "\\xB6", "\266")
9 | mpw_line = string.replace(mpw_line, "\\xC4", "\304")
10 | mpw_line = string.replace(mpw_line, "\\xC5", "\305")
11 | mpw_line = string.replace(mpw_line, "\\xFF", "\377")
12 | mpw_line = string.replace(mpw_line, "\n", "\r")
13 | mpw_line = string.replace(mpw_line, "\\n", "\n")
14 | sys.stdout.write(mpw_line)
15 | elif sys.argv[1] == "-r" :
16 | for mpw_line in sys.stdin.readlines():
17 | asc_line = string.replace(mpw_line, "\n", "\\n")
18 | asc_line = string.replace(asc_line, "\r", "\n")
19 | asc_line = string.replace(asc_line, "\245", "\\xA5")
20 | asc_line = string.replace(asc_line, "\266", "\\xB6")
21 | asc_line = string.replace(asc_line, "\304", "\\xC4")
22 | asc_line = string.replace(asc_line, "\305", "\\xC5")
23 | asc_line = string.replace(asc_line, "\377", "\\xFF")
24 | sys.stdout.write(asc_line)
25 |
--------------------------------------------------------------------------------
/source/freetype2/builds/newline:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/source/freetype2/builds/os2/os2-dev.mk:
--------------------------------------------------------------------------------
1 | #
2 | # FreeType 2 configuration rules for OS/2 + GCC
3 | #
4 | # Development version without optimizations.
5 | #
6 |
7 |
8 | # Copyright 1996-2000, 2003, 2006 by
9 | # David Turner, Robert Wilhelm, and Werner Lemberg.
10 | #
11 | # This file is part of the FreeType project, and may only be used, modified,
12 | # and distributed under the terms of the FreeType project license,
13 | # LICENSE.TXT. By continuing to use, modify, or distribute this file you
14 | # indicate that you have read the license and understand and accept it
15 | # fully.
16 |
17 |
18 | DEVEL_DIR := $(TOP_DIR)/devel
19 |
20 | # include OS/2-specific definitions
21 | include $(TOP_DIR)/builds/os2/os2-def.mk
22 |
23 | # include gcc-specific definitions
24 | include $(TOP_DIR)/builds/compiler/gcc-dev.mk
25 |
26 | # include linking instructions
27 | include $(TOP_DIR)/builds/link_dos.mk
28 |
29 |
30 | # EOF
31 |
--------------------------------------------------------------------------------
/source/freetype2/builds/os2/os2-gcc.mk:
--------------------------------------------------------------------------------
1 | #
2 | # FreeType 2 configuration rules for the OS/2 + gcc
3 | #
4 |
5 |
6 | # Copyright 1996-2000 by
7 | # David Turner, Robert Wilhelm, and Werner Lemberg.
8 | #
9 | # This file is part of the FreeType project, and may only be used, modified,
10 | # and distributed under the terms of the FreeType project license,
11 | # LICENSE.TXT. By continuing to use, modify, or distribute this file you
12 | # indicate that you have read the license and understand and accept it
13 | # fully.
14 |
15 |
16 | # include OS/2-specific definitions
17 | include $(TOP_DIR)/builds/os2/os2-def.mk
18 |
19 | # include gcc-specific definitions
20 | include $(TOP_DIR)/builds/compiler/gcc.mk
21 |
22 | # include linking instructions
23 | include $(TOP_DIR)/builds/link_dos.mk
24 |
25 |
26 | # EOF
27 |
--------------------------------------------------------------------------------
/source/freetype2/builds/unix/freetype2.in:
--------------------------------------------------------------------------------
1 | prefix=@prefix@
2 | exec_prefix=@exec_prefix@
3 | libdir=@libdir@
4 | includedir=@includedir@
5 |
6 | Name: FreeType 2
7 | Description: A free, high-quality, and portable font engine.
8 | Version: @ft_version@
9 | Requires:
10 | Libs: -L${libdir} -lfreetype
11 | Libs.private: @LIBZ@ @LIBBZ2@ @FT2_EXTRA_LIBS@
12 | Cflags: -I${includedir}/freetype2 -I${includedir}
13 |
--------------------------------------------------------------------------------
/source/freetype2/builds/unix/ft-munmap.m4:
--------------------------------------------------------------------------------
1 | ## FreeType specific autoconf tests
2 | #
3 | # Copyright 2002, 2003, 2004 by
4 | # David Turner, Robert Wilhelm, and Werner Lemberg.
5 | #
6 | # This file is part of the FreeType project, and may only be used, modified,
7 | # and distributed under the terms of the FreeType project license,
8 | # LICENSE.TXT. By continuing to use, modify, or distribute this file you
9 | # indicate that you have read the license and understand and accept it
10 | # fully.
11 |
12 | # serial 2
13 |
14 | AC_DEFUN([FT_MUNMAP_PARAM],
15 | [AC_MSG_CHECKING([for munmap's first parameter type])
16 | AC_COMPILE_IFELSE([
17 | AC_LANG_SOURCE([[
18 |
19 | #include
20 | #include
21 | int munmap(void *, size_t);
22 |
23 | ]])
24 | ],
25 | [AC_MSG_RESULT([void *])
26 | AC_DEFINE([MUNMAP_USES_VOIDP],
27 | [],
28 | [Define to 1 if the first argument of munmap is of type void *])],
29 | [AC_MSG_RESULT([char *])])
30 | ])
31 |
32 | # end of ft-munmap.m4
33 |
--------------------------------------------------------------------------------
/source/freetype2/builds/unix/unix-dev.mk:
--------------------------------------------------------------------------------
1 | #
2 | # FreeType 2 Configuration rules for Unix + GCC
3 | #
4 | # Development version without optimizations & libtool
5 | # and no installation.
6 | #
7 |
8 |
9 | # Copyright 1996-2000, 2003, 2006 by
10 | # David Turner, Robert Wilhelm, and Werner Lemberg.
11 | #
12 | # This file is part of the FreeType project, and may only be used, modified,
13 | # and distributed under the terms of the FreeType project license,
14 | # LICENSE.TXT. By continuing to use, modify, or distribute this file you
15 | # indicate that you have read the license and understand and accept it
16 | # fully.
17 |
18 |
19 | DEVEL_DIR := $(TOP_DIR)/devel
20 |
21 | include $(TOP_DIR)/builds/unix/unixddef.mk
22 | include $(TOP_DIR)/builds/compiler/gcc-dev.mk
23 | include $(TOP_DIR)/builds/link_std.mk
24 |
25 |
26 | # EOF
27 |
--------------------------------------------------------------------------------
/source/freetype2/builds/unix/unix-lcc.mk:
--------------------------------------------------------------------------------
1 | #
2 | # FreeType 2 Configuration rules for Unix + LCC
3 | #
4 | # Development version without optimizations & libtool
5 | # and no installation.
6 | #
7 |
8 |
9 | # Copyright 1996-2000 by
10 | # David Turner, Robert Wilhelm, and Werner Lemberg.
11 | #
12 | # This file is part of the FreeType project, and may only be used, modified,
13 | # and distributed under the terms of the FreeType project license,
14 | # LICENSE.TXT. By continuing to use, modify, or distribute this file you
15 | # indicate that you have read the license and understand and accept it
16 | # fully.
17 |
18 |
19 | include $(TOP_DIR)/builds/unix/unixddef.mk
20 | include $(TOP_DIR)/builds/compiler/unix-lcc.mk
21 | include $(TOP_DIR)/builds/link_std.mk
22 |
23 |
24 | # EOF
25 |
--------------------------------------------------------------------------------
/source/freetype2/builds/win32/detect.mk:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/OpenSRProject/OpenStarRuler/488ba951da7dc9d8d105535dd69ce7eee34b2464/source/freetype2/builds/win32/detect.mk
--------------------------------------------------------------------------------
/source/freetype2/builds/win32/w32-bcc.mk:
--------------------------------------------------------------------------------
1 | #
2 | # FreeType 2 Borland C++ on Win32
3 | #
4 |
5 |
6 | # Copyright 1996-2000, 2003, 2005 by
7 | # David Turner, Robert Wilhelm, and Werner Lemberg.
8 | #
9 | # This file is part of the FreeType project, and may only be used, modified,
10 | # and distributed under the terms of the FreeType project license,
11 | # LICENSE.TXT. By continuing to use, modify, or distribute this file you
12 | # indicate that you have read the license and understand and accept it
13 | # fully.
14 |
15 | # default definitions of the export list
16 | #
17 | EXPORTS_LIST = $(OBJ_DIR)/freetype.def
18 | EXPORTS_OPTIONS = /DEF:$(EXPORTS_LIST)
19 | APINAMES_OPTIONS := -dfreetype.dll -wB
20 |
21 | include $(TOP_DIR)/builds/win32/win32-def.mk
22 | include $(TOP_DIR)/builds/compiler/bcc.mk
23 |
24 | # include linking instructions
25 | include $(TOP_DIR)/builds/link_dos.mk
26 |
27 |
28 | # EOF
29 |
--------------------------------------------------------------------------------
/source/freetype2/builds/win32/w32-bccd.mk:
--------------------------------------------------------------------------------
1 | #
2 | # FreeType 2 Borland C++ on Win32 + debugging
3 | #
4 |
5 |
6 | # Copyright 1996-2000, 2003, 2006 by
7 | # David Turner, Robert Wilhelm, and Werner Lemberg.
8 | #
9 | # This file is part of the FreeType project, and may only be used, modified,
10 | # and distributed under the terms of the FreeType project license,
11 | # LICENSE.TXT. By continuing to use, modify, or distribute this file you
12 | # indicate that you have read the license and understand and accept it
13 | # fully.
14 |
15 |
16 | DEVEL_DIR := $(TOP_DIR)/devel
17 |
18 | include $(TOP_DIR)/builds/win32/win32-def.mk
19 |
20 | include $(TOP_DIR)/builds/compiler/bcc-dev.mk
21 |
22 | # include linking instructions
23 | include $(TOP_DIR)/builds/link_dos.mk
24 |
25 |
26 | # EOF
27 |
--------------------------------------------------------------------------------
/source/freetype2/builds/win32/w32-dev.mk:
--------------------------------------------------------------------------------
1 | #
2 | # FreeType 2 configuration rules for Win32 + GCC
3 | #
4 | # Development version without optimizations.
5 | #
6 |
7 |
8 | # Copyright 1996-2000, 2003, 2006 by
9 | # David Turner, Robert Wilhelm, and Werner Lemberg.
10 | #
11 | # This file is part of the FreeType project, and may only be used, modified,
12 | # and distributed under the terms of the FreeType project license,
13 | # LICENSE.TXT. By continuing to use, modify, or distribute this file you
14 | # indicate that you have read the license and understand and accept it
15 | # fully.
16 |
17 |
18 | # NOTE: This version requires that GNU Make is invoked from the Windows
19 | # Shell (_not_ Cygwin BASH)!
20 | #
21 |
22 | DEVEL_DIR := $(TOP_DIR)/devel
23 |
24 | include $(TOP_DIR)/builds/win32/win32-def.mk
25 |
26 | include $(TOP_DIR)/builds/compiler/gcc-dev.mk
27 |
28 | # include linking instructions
29 | include $(TOP_DIR)/builds/link_dos.mk
30 |
31 |
32 | # EOF
33 |
--------------------------------------------------------------------------------
/source/freetype2/builds/win32/w32-gcc.mk:
--------------------------------------------------------------------------------
1 | #
2 | # FreeType 2 configuration rules for Win32 + GCC
3 | #
4 |
5 |
6 | # Copyright 1996-2000, 2003, 2005 by
7 | # David Turner, Robert Wilhelm, and Werner Lemberg.
8 | #
9 | # This file is part of the FreeType project, and may only be used, modified,
10 | # and distributed under the terms of the FreeType project license,
11 | # LICENSE.TXT. By continuing to use, modify, or distribute this file you
12 | # indicate that you have read the license and understand and accept it
13 | # fully.
14 |
15 | # default definitions of the export list
16 | #
17 | EXPORTS_LIST = $(OBJ_DIR)/freetype.def
18 | EXPORTS_OPTIONS = $(EXPORTS_LIST)
19 | APINAMES_OPTIONS := -dfreetype.dll -w
20 |
21 | # include Win32-specific definitions
22 | include $(TOP_DIR)/builds/win32/win32-def.mk
23 |
24 | # include gcc-specific definitions
25 | include $(TOP_DIR)/builds/compiler/gcc.mk
26 |
27 | # include linking instructions
28 | include $(TOP_DIR)/builds/link_dos.mk
29 |
30 |
31 | # EOF
32 |
--------------------------------------------------------------------------------
/source/freetype2/builds/win32/w32-icc.mk:
--------------------------------------------------------------------------------
1 | #
2 | # FreeType 2 configuration rules for Win32 + IBM Visual Age C++
3 | #
4 |
5 |
6 | # Copyright 1996-2000, 2005 by
7 | # David Turner, Robert Wilhelm, and Werner Lemberg.
8 | #
9 | # This file is part of the FreeType project, and may only be used, modified,
10 | # and distributed under the terms of the FreeType project license,
11 | # LICENSE.TXT. By continuing to use, modify, or distribute this file you
12 | # indicate that you have read the license and understand and accept it
13 | # fully.
14 |
15 | # default definitions of the export list
16 | #
17 | EXPORTS_LIST = $(OBJ_DIR)/freetype.def
18 | EXPORTS_OPTIONS = /DEF:$(EXPORTS_LIST)
19 | APINAMES_OPTIONS := -dfreetype.dll -w
20 |
21 | include $(TOP_DIR)/builds/win32/win32-def.mk
22 | include $(TOP_DIR)/builds/compiler/visualage.mk
23 |
24 | # include linking instructions
25 | include $(TOP_DIR)/builds/link_dos.mk
26 |
27 |
28 | # EOF
29 |
--------------------------------------------------------------------------------
/source/freetype2/builds/win32/w32-intl.mk:
--------------------------------------------------------------------------------
1 | #
2 | # FreeType 2 configuration rules for Intel C/C++ on Win32
3 | #
4 |
5 |
6 | # Copyright 1996-2000, 2003, 2005 by
7 | # David Turner, Robert Wilhelm, and Werner Lemberg.
8 | #
9 | # This file is part of the FreeType project, and may only be used, modified,
10 | # and distributed under the terms of the FreeType project license,
11 | # LICENSE.TXT. By continuing to use, modify, or distribute this file you
12 | # indicate that you have read the license and understand and accept it
13 | # fully.
14 |
15 | # default definitions of the export list
16 | #
17 | EXPORTS_LIST = $(OBJ_DIR)/freetype.def
18 | EXPORTS_OPTIONS = /DEF:$(EXPORTS_LIST)
19 | APINAMES_OPTIONS := -dfreetype.dll -w
20 |
21 | include $(TOP_DIR)/builds/win32/win32-def.mk
22 | include $(TOP_DIR)/builds/compiler/intelc.mk
23 |
24 | # include linking instructions
25 | include $(TOP_DIR)/builds/link_dos.mk
26 |
27 |
28 | # EOF
29 |
--------------------------------------------------------------------------------
/source/freetype2/builds/win32/w32-lcc.mk:
--------------------------------------------------------------------------------
1 | #
2 | # FreeType 2 configuration rules for Win32 + LCC
3 | #
4 |
5 |
6 | # Copyright 1996-2000 by
7 | # David Turner, Robert Wilhelm, and Werner Lemberg.
8 | #
9 | # This file is part of the FreeType project, and may only be used, modified,
10 | # and distributed under the terms of the FreeType project license,
11 | # LICENSE.TXT. By continuing to use, modify, or distribute this file you
12 | # indicate that you have read the license and understand and accept it
13 | # fully.
14 |
15 |
16 | SEP := /
17 | include $(TOP_DIR)/builds/win32/win32-def.mk
18 | include $(TOP_DIR)/builds/compiler/win-lcc.mk
19 |
20 | # include linking instructions
21 | include $(TOP_DIR)/builds/link_dos.mk
22 |
23 | # EOF
24 |
25 |
--------------------------------------------------------------------------------
/source/freetype2/builds/win32/w32-mingw32.mk:
--------------------------------------------------------------------------------
1 | #
2 | # FreeType 2 configuration rules for mingw32
3 | #
4 |
5 |
6 | # Copyright 1996-2000, 2003, 2005 by
7 | # David Turner, Robert Wilhelm, and Werner Lemberg.
8 | #
9 | # This file is part of the FreeType project, and may only be used, modified,
10 | # and distributed under the terms of the FreeType project license,
11 | # LICENSE.TXT. By continuing to use, modify, or distribute this file you
12 | # indicate that you have read the license and understand and accept it
13 | # fully.
14 |
15 | # default definitions of the export list
16 | #
17 | EXPORTS_LIST = $(OBJ_DIR)/freetype.def
18 | EXPORTS_OPTIONS = $(EXPORTS_LIST)
19 | APINAMES_OPTIONS := -dfreetype.dll -w
20 |
21 | # include Win32-specific definitions
22 | include $(TOP_DIR)/builds/win32/win32-def.mk
23 |
24 | LIBRARY := lib$(PROJECT)
25 |
26 | # include gcc-specific definitions
27 | include $(TOP_DIR)/builds/compiler/gcc.mk
28 |
29 | # include linking instructions
30 | include $(TOP_DIR)/builds/link_dos.mk
31 |
32 |
33 | # EOF
34 |
--------------------------------------------------------------------------------
/source/freetype2/builds/win32/w32-vcc.mk:
--------------------------------------------------------------------------------
1 | #
2 | # FreeType 2 Visual C++ on Win32
3 | #
4 |
5 |
6 | # Copyright 1996-2000, 2003, 2005 by
7 | # David Turner, Robert Wilhelm, and Werner Lemberg.
8 | #
9 | # This file is part of the FreeType project, and may only be used, modified,
10 | # and distributed under the terms of the FreeType project license,
11 | # LICENSE.TXT. By continuing to use, modify, or distribute this file you
12 | # indicate that you have read the license and understand and accept it
13 | # fully.
14 |
15 | # definitions of the export list
16 | #
17 | EXPORTS_LIST = $(OBJ_DIR)/freetype.def
18 | EXPORTS_OPTIONS = /DEF:$(EXPORTS_LIST)
19 | APINAMES_OPTIONS := -dfreetype.dll -w
20 |
21 | include $(TOP_DIR)/builds/win32/win32-def.mk
22 | include $(TOP_DIR)/builds/compiler/visualc.mk
23 |
24 | # include linking instructions
25 | include $(TOP_DIR)/builds/link_dos.mk
26 |
27 |
28 | # EOF
29 |
--------------------------------------------------------------------------------
/source/freetype2/builds/win32/w32-wat.mk:
--------------------------------------------------------------------------------
1 | #
2 | # FreeType 2 configuration rules for Watcom C/C++
3 | #
4 |
5 |
6 | # Copyright 1996-2000, 2003, 2005 by
7 | # David Turner, Robert Wilhelm, and Werner Lemberg.
8 | #
9 | # This file is part of the FreeType project, and may only be used, modified,
10 | # and distributed under the terms of the FreeType project license,
11 | # LICENSE.TXT. By continuing to use, modify, or distribute this file you
12 | # indicate that you have read the license and understand and accept it
13 | # fully.
14 |
15 | # redefine export symbol definitions
16 | #
17 | EXPORTS_LIST = $(OBJ_DIR)/watcom-ftexports.lbc
18 | EXPORTS_OPTIONS = -\"export @$(EXPORTS_LIST)\"-
19 | APINAMES_OPTIONS := -wW
20 |
21 | include $(TOP_DIR)/builds/win32/win32-def.mk
22 | include $(TOP_DIR)/builds/compiler/watcom.mk
23 |
24 | # include linking instructions
25 | include $(TOP_DIR)/builds/link_dos.mk
26 |
27 |
28 | # EOF
29 |
--------------------------------------------------------------------------------
/source/freetype2/src/Jamfile:
--------------------------------------------------------------------------------
1 | # FreeType 2 src Jamfile
2 | #
3 | # Copyright 2001, 2002 by
4 | # David Turner, Robert Wilhelm, and Werner Lemberg.
5 | #
6 | # This file is part of the FreeType project, and may only be used, modified,
7 | # and distributed under the terms of the FreeType project license,
8 | # LICENSE.TXT. By continuing to use, modify, or distribute this file you
9 | # indicate that you have read the license and understand and accept it
10 | # fully.
11 |
12 | SubDir FT2_TOP $(FT2_SRC_DIR) ;
13 |
14 | # The file is used to define macros that are
15 | # later used in #include statements. It needs to be parsed in order to
16 | # record these definitions.
17 | #
18 | HDRMACRO [ FT2_SubDir $(FT2_INCLUDE_DIR) internal internal.h ] ;
19 |
20 | for xx in $(FT2_COMPONENTS)
21 | {
22 | SubInclude FT2_TOP $(FT2_SRC_DIR) $(xx) ;
23 | }
24 |
25 | # end of src Jamfile
26 |
--------------------------------------------------------------------------------
/source/freetype2/src/autofit/Jamfile:
--------------------------------------------------------------------------------
1 | # FreeType 2 src/autofit Jamfile
2 | #
3 | # Copyright 2003, 2004, 2005, 2006, 2007, 2009 by
4 | # David Turner, Robert Wilhelm, and Werner Lemberg.
5 | #
6 | # This file is part of the FreeType project, and may only be used, modified,
7 | # and distributed under the terms of the FreeType project license,
8 | # LICENSE.TXT. By continuing to use, modify, or distribute this file you
9 | # indicate that you have read the license and understand and accept it
10 | # fully.
11 |
12 | SubDir FT2_TOP src autofit ;
13 |
14 | {
15 | local _sources ;
16 |
17 | # define FT2_AUTOFIT2 to enable experimental latin hinter replacement
18 | if $(FT2_AUTOFIT2)
19 | {
20 | DEFINES += FT_OPTION_AUTOFIT2 ;
21 | }
22 | if $(FT2_MULTI)
23 | {
24 | _sources = afangles afglobal afhints aflatin afcjk afindic afloader afmodule afdummy afwarp afpic ;
25 |
26 | if $(FT2_AUTOFIT2)
27 | {
28 | _sources += aflatin2 ;
29 | }
30 | }
31 | else
32 | {
33 | _sources = autofit ;
34 | }
35 |
36 | Library $(FT2_LIB) : $(_sources).c ;
37 | }
38 |
39 | # end of src/autofit Jamfile
40 |
--------------------------------------------------------------------------------
/source/freetype2/src/autofit/afangles.h:
--------------------------------------------------------------------------------
1 | /*
2 | * afangles.h
3 | *
4 | * This is a dummy file, used to please the build system. It is never
5 | * included by the auto-fitter sources.
6 | *
7 | */
8 |
--------------------------------------------------------------------------------
/source/freetype2/src/autofit/module.mk:
--------------------------------------------------------------------------------
1 | #
2 | # FreeType 2 auto-fitter module definition
3 | #
4 |
5 |
6 | # Copyright 2003, 2004, 2005, 2006 by
7 | # David Turner, Robert Wilhelm, and Werner Lemberg.
8 | #
9 | # This file is part of the FreeType project, and may only be used, modified,
10 | # and distributed under the terms of the FreeType project license,
11 | # LICENSE.TXT. By continuing to use, modify, or distribute this file you
12 | # indicate that you have read the license and understand and accept it
13 | # fully.
14 |
15 |
16 | FTMODULE_H_COMMANDS += AUTOFIT_MODULE
17 |
18 | define AUTOFIT_MODULE
19 | $(OPEN_DRIVER) FT_Module_Class, autofit_module_class $(CLOSE_DRIVER)
20 | $(ECHO_DRIVER)autofit $(ECHO_DRIVER_DESC)automatic hinting module$(ECHO_DRIVER_DONE)
21 | endef
22 |
23 | # EOF
24 |
--------------------------------------------------------------------------------
/source/freetype2/src/bdf/Jamfile:
--------------------------------------------------------------------------------
1 | # FreeType 2 src/bdf Jamfile
2 | #
3 | # Copyright 2002 by
4 | # David Turner, Robert Wilhelm, and Werner Lemberg.
5 | #
6 | # This file is part of the FreeType project, and may only be used, modified,
7 | # and distributed under the terms of the FreeType project license,
8 | # LICENSE.TXT. By continuing to use, modify, or distribute this file you
9 | # indicate that you have read the license and understand and accept it
10 | # fully.
11 |
12 | SubDir FT2_TOP $(FT2_SRC_DIR) bdf ;
13 |
14 | {
15 | local _sources ;
16 |
17 | if $(FT2_MULTI)
18 | {
19 | _sources = bdfdrivr bdflib ;
20 | }
21 | else
22 | {
23 | _sources = bdf ;
24 | }
25 |
26 | Library $(FT2_LIB) : $(_sources).c ;
27 | }
28 |
29 | # end of src/bdf Jamfile
30 |
--------------------------------------------------------------------------------
/source/freetype2/src/bzip2/Jamfile:
--------------------------------------------------------------------------------
1 | # FreeType 2 src/bzip2 Jamfile
2 | #
3 | # Copyright 2010 by
4 | # Joel Klinghed
5 | #
6 | # Based on src/lzw/Jamfile, Copyright 2004, 2006 by
7 | # David Turner, Robert Wilhelm, and Werner Lemberg.
8 | #
9 | # This file is part of the FreeType project, and may only be used, modified,
10 | # and distributed under the terms of the FreeType project license,
11 | # LICENSE.TXT. By continuing to use, modify, or distribute this file you
12 | # indicate that you have read the license and understand and accept it
13 | # fully.
14 |
15 | SubDir FT2_TOP $(FT2_SRC_DIR) bzip2 ;
16 |
17 | Library $(FT2_LIB) : ftbzip2.c ;
18 |
19 | # end of src/bzip2 Jamfile
20 |
--------------------------------------------------------------------------------
/source/freetype2/src/cff/Jamfile:
--------------------------------------------------------------------------------
1 | # FreeType 2 src/cff Jamfile
2 | #
3 | # Copyright 2001, 2002 by
4 | # David Turner, Robert Wilhelm, and Werner Lemberg.
5 | #
6 | # This file is part of the FreeType project, and may only be used, modified,
7 | # and distributed under the terms of the FreeType project license,
8 | # LICENSE.TXT. By continuing to use, modify, or distribute this file you
9 | # indicate that you have read the license and understand and accept it
10 | # fully.
11 |
12 | SubDir FT2_TOP $(FT2_SRC_DIR) cff ;
13 |
14 | {
15 | local _sources ;
16 |
17 | if $(FT2_MULTI)
18 | {
19 | _sources = cffdrivr cffgload cffload cffobjs cffparse cffcmap cffpic ;
20 | }
21 | else
22 | {
23 | _sources = cff ;
24 | }
25 |
26 | Library $(FT2_LIB) : $(_sources).c ;
27 | }
28 |
29 | # end of src/cff Jamfile
30 |
--------------------------------------------------------------------------------
/source/freetype2/src/cff/module.mk:
--------------------------------------------------------------------------------
1 | #
2 | # FreeType 2 CFF module definition
3 | #
4 |
5 |
6 | # Copyright 1996-2000, 2006 by
7 | # David Turner, Robert Wilhelm, and Werner Lemberg.
8 | #
9 | # This file is part of the FreeType project, and may only be used, modified,
10 | # and distributed under the terms of the FreeType project license,
11 | # LICENSE.TXT. By continuing to use, modify, or distribute this file you
12 | # indicate that you have read the license and understand and accept it
13 | # fully.
14 |
15 |
16 | FTMODULE_H_COMMANDS += CFF_DRIVER
17 |
18 | define CFF_DRIVER
19 | $(OPEN_DRIVER) FT_Driver_ClassRec, cff_driver_class $(CLOSE_DRIVER)
20 | $(ECHO_DRIVER)cff $(ECHO_DRIVER_DESC)OpenType fonts with extension *.otf$(ECHO_DRIVER_DONE)
21 | endef
22 |
23 | # EOF
24 |
--------------------------------------------------------------------------------
/source/freetype2/src/cid/Jamfile:
--------------------------------------------------------------------------------
1 | # FreeType 2 src/cid Jamfile
2 | #
3 | # Copyright 2001 by
4 | # David Turner, Robert Wilhelm, and Werner Lemberg.
5 | #
6 | # This file is part of the FreeType project, and may only be used, modified,
7 | # and distributed under the terms of the FreeType project license,
8 | # LICENSE.TXT. By continuing to use, modify, or distribute this file you
9 | # indicate that you have read the license and understand and accept it
10 | # fully.
11 |
12 | SubDir FT2_TOP $(FT2_SRC_DIR) cid ;
13 |
14 | {
15 | local _sources ;
16 |
17 | if $(FT2_MULTI)
18 | {
19 | _sources = cidobjs cidload cidgload cidriver cidparse ;
20 | }
21 | else
22 | {
23 | _sources = type1cid ;
24 | }
25 |
26 | Library $(FT2_LIB) : $(_sources).c ;
27 | }
28 |
29 | # end of src/cid Jamfile
30 |
--------------------------------------------------------------------------------
/source/freetype2/src/cid/module.mk:
--------------------------------------------------------------------------------
1 | #
2 | # FreeType 2 CID module definition
3 | #
4 |
5 |
6 | # Copyright 1996-2000, 2006 by
7 | # David Turner, Robert Wilhelm, and Werner Lemberg.
8 | #
9 | # This file is part of the FreeType project, and may only be used, modified,
10 | # and distributed under the terms of the FreeType project license,
11 | # LICENSE.TXT. By continuing to use, modify, or distribute this file you
12 | # indicate that you have read the license and understand and accept it
13 | # fully.
14 |
15 |
16 | FTMODULE_H_COMMANDS += TYPE1CID_DRIVER
17 |
18 | define TYPE1CID_DRIVER
19 | $(OPEN_DRIVER) FT_Driver_ClassRec, t1cid_driver_class $(CLOSE_DRIVER)
20 | $(ECHO_DRIVER)cid $(ECHO_DRIVER_DESC)Postscript CID-keyed fonts, no known extension$(ECHO_DRIVER_DONE)
21 | endef
22 |
23 | # EOF
24 |
--------------------------------------------------------------------------------
/source/freetype2/src/gxvalid/Jamfile:
--------------------------------------------------------------------------------
1 | # FreeType 2 src/gxvalid Jamfile
2 | #
3 | # Copyright 2005 by
4 | # suzuki toshiya, Masatake YAMATO and Red Hat K.K.
5 | #
6 | # This file is part of the FreeType project, and may only be used, modified,
7 | # and distributed under the terms of the FreeType project license,
8 | # LICENSE.TXT. By continuing to use, modify, or distribute this file you
9 | # indicate that you have read the license and understand and accept it
10 | # fully.
11 |
12 | SubDir FT2_TOP $(FT2_SRC_DIR) gxvalid ;
13 |
14 |
15 | {
16 | local _sources ;
17 |
18 | if $(FT2_MULTI)
19 | {
20 | _sources = gxvcommn gxvfeat gxvbsln gxvtrak gxvopbd gxvprop
21 | gxvmort gxvmort0 gxvmort1 gxvmort2 gxvmort4 gxvmort5
22 | gxvmorx gxvmorx0 gxvmorx1 gxvmorx2 gxvmorx4 gxvmorx5
23 | gxvlcar gxvkern gxvmod gxvjust ;
24 | }
25 | else
26 | {
27 | _sources = gxvalid ;
28 | }
29 |
30 | Library $(FT2_LIB) : $(_sources).c ;
31 | }
32 |
33 | # end of src/gxvalid Jamfile
34 |
--------------------------------------------------------------------------------
/source/freetype2/src/gxvalid/module.mk:
--------------------------------------------------------------------------------
1 | #
2 | # FreeType 2 gxvalid module definition
3 | #
4 |
5 | # Copyright 2004, 2005, 2006
6 | # by suzuki toshiya, Masatake YAMATO, Red Hat K.K.,
7 | # David Turner, Robert Wilhelm, and Werner Lemberg.
8 | #
9 | # This file is part of the FreeType project, and may only be used, modified,
10 | # and distributed under the terms of the FreeType project license,
11 | # LICENSE.TXT. By continuing to use, modify, or distribute this file you
12 | # indicate that you have read the license and understand and accept it
13 | # fully.
14 |
15 |
16 | FTMODULE_H_COMMANDS += GXVALID_MODULE
17 |
18 | define GXVALID_MODULE
19 | $(OPEN_DRIVER) FT_Module_Class, gxv_module_class $(CLOSE_DRIVER)
20 | $(ECHO_DRIVER)gxvalid $(ECHO_DRIVER_DESC)TrueTypeGX/AAT validation module$(ECHO_DRIVER_DONE)
21 | endef
22 |
23 | # EOF
24 |
--------------------------------------------------------------------------------
/source/freetype2/src/gzip/Jamfile:
--------------------------------------------------------------------------------
1 | # FreeType 2 src/gzip Jamfile
2 | #
3 | # Copyright 2001 by
4 | # David Turner, Robert Wilhelm, and Werner Lemberg.
5 | #
6 | # This file is part of the FreeType project, and may only be used, modified,
7 | # and distributed under the terms of the FreeType project license,
8 | # LICENSE.TXT. By continuing to use, modify, or distribute this file you
9 | # indicate that you have read the license and understand and accept it
10 | # fully.
11 |
12 | SubDir FT2_TOP $(FT2_SRC_DIR) gzip ;
13 |
14 | Library $(FT2_LIB) : ftgzip.c ;
15 |
16 | # end of src/pcf Jamfile
17 |
--------------------------------------------------------------------------------
/source/freetype2/src/gzip/infcodes.h:
--------------------------------------------------------------------------------
1 | /* infcodes.h -- header to use infcodes.c
2 | * Copyright (C) 1995-2002 Mark Adler
3 | * For conditions of distribution and use, see copyright notice in zlib.h
4 | */
5 |
6 | /* WARNING: this file should *not* be used by applications. It is
7 | part of the implementation of the compression library and is
8 | subject to change. Applications should only use zlib.h.
9 | */
10 |
11 | #ifndef _INFCODES_H
12 | #define _INFCODES_H
13 |
14 | struct inflate_codes_state;
15 | typedef struct inflate_codes_state FAR inflate_codes_statef;
16 |
17 | local inflate_codes_statef *inflate_codes_new OF((
18 | uInt, uInt,
19 | inflate_huft *, inflate_huft *,
20 | z_streamp ));
21 |
22 | local int inflate_codes OF((
23 | inflate_blocks_statef *,
24 | z_streamp ,
25 | int));
26 |
27 | local void inflate_codes_free OF((
28 | inflate_codes_statef *,
29 | z_streamp ));
30 |
31 | #endif /* _INFCODES_H */
32 |
--------------------------------------------------------------------------------
/source/freetype2/src/lzw/Jamfile:
--------------------------------------------------------------------------------
1 | # FreeType 2 src/lzw Jamfile
2 | #
3 | # Copyright 2004, 2006 by
4 | # David Turner, Robert Wilhelm, and Werner Lemberg.
5 | #
6 | # This file is part of the FreeType project, and may only be used, modified,
7 | # and distributed under the terms of the FreeType project license,
8 | # LICENSE.TXT. By continuing to use, modify, or distribute this file you
9 | # indicate that you have read the license and understand and accept it
10 | # fully.
11 |
12 | SubDir FT2_TOP $(FT2_SRC_DIR) lzw ;
13 |
14 | Library $(FT2_LIB) : ftlzw.c ;
15 |
16 | # end of src/lzw Jamfile
17 |
--------------------------------------------------------------------------------
/source/freetype2/src/otvalid/Jamfile:
--------------------------------------------------------------------------------
1 | # FreeType 2 src/otvalid Jamfile
2 | #
3 | # Copyright 2004 by
4 | # David Turner, Robert Wilhelm, and Werner Lemberg.
5 | #
6 | # This file is part of the FreeType project, and may only be used, modified,
7 | # and distributed under the terms of the FreeType project license,
8 | # LICENSE.TXT. By continuing to use, modify, or distribute this file you
9 | # indicate that you have read the license and understand and accept it
10 | # fully.
11 |
12 | SubDir FT2_TOP $(FT2_SRC_DIR) otvalid ;
13 |
14 | {
15 | local _sources ;
16 |
17 | if $(FT2_MULTI)
18 | {
19 | _sources = otvbase otvcommn otvgdef otvgpos otvgsub otvjstf otvmod otvmath ;
20 | }
21 | else
22 | {
23 | _sources = otvalid ;
24 | }
25 |
26 | Library $(FT2_LIB) : $(_sources).c ;
27 | }
28 |
29 | # end of src/otvalid Jamfile
30 |
--------------------------------------------------------------------------------
/source/freetype2/src/otvalid/module.mk:
--------------------------------------------------------------------------------
1 | #
2 | # FreeType 2 otvalid module definition
3 | #
4 |
5 |
6 | # Copyright 2004, 2006 by
7 | # David Turner, Robert Wilhelm, and Werner Lemberg.
8 | #
9 | # This file is part of the FreeType project, and may only be used, modified,
10 | # and distributed under the terms of the FreeType project license,
11 | # LICENSE.TXT. By continuing to use, modify, or distribute this file you
12 | # indicate that you have read the license and understand and accept it
13 | # fully.
14 |
15 |
16 | FTMODULE_H_COMMANDS += OTVALID_MODULE
17 |
18 | define OTVALID_MODULE
19 | $(OPEN_DRIVER) FT_Module_Class, otv_module_class $(CLOSE_DRIVER)
20 | $(ECHO_DRIVER)otvalid $(ECHO_DRIVER_DESC)OpenType validation module$(ECHO_DRIVER_DONE)
21 | endef
22 |
23 | # EOF
24 |
--------------------------------------------------------------------------------
/source/freetype2/src/pcf/Jamfile:
--------------------------------------------------------------------------------
1 | # FreeType 2 src/pcf Jamfile
2 | #
3 | # Copyright 2001, 2003 by
4 | # David Turner, Robert Wilhelm, and Werner Lemberg.
5 | #
6 | # This file is part of the FreeType project, and may only be used, modified,
7 | # and distributed under the terms of the FreeType project license,
8 | # LICENSE.TXT. By continuing to use, modify, or distribute this file you
9 | # indicate that you have read the license and understand and accept it
10 | # fully.
11 |
12 | SubDir FT2_TOP $(FT2_SRC_DIR) pcf ;
13 |
14 | {
15 | local _sources ;
16 |
17 | if $(FT2_MULTI)
18 | {
19 | _sources = pcfdrivr pcfread pcfutil ;
20 | }
21 | else
22 | {
23 | _sources = pcf ;
24 | }
25 |
26 | Library $(FT2_LIB) : $(_sources).c ;
27 | }
28 |
29 | # end of src/pcf Jamfile
30 |
--------------------------------------------------------------------------------
/source/freetype2/src/pfr/Jamfile:
--------------------------------------------------------------------------------
1 | # FreeType 2 src/pfr Jamfile
2 | #
3 | # Copyright 2002 by
4 | # David Turner, Robert Wilhelm, and Werner Lemberg.
5 | #
6 | # This file is part of the FreeType project, and may only be used, modified,
7 | # and distributed under the terms of the FreeType project license,
8 | # LICENSE.TXT. By continuing to use, modify, or distribute this file you
9 | # indicate that you have read the license and understand and accept it
10 | # fully.
11 |
12 | SubDir FT2_TOP $(FT2_SRC_DIR) pfr ;
13 |
14 | {
15 | local _sources ;
16 |
17 | if $(FT2_MULTI)
18 | {
19 | _sources = pfrdrivr pfrgload pfrload pfrobjs pfrcmap pfrsbit ;
20 | }
21 | else
22 | {
23 | _sources = pfr ;
24 | }
25 |
26 | Library $(FT2_LIB) : $(_sources).c ;
27 | }
28 |
29 | # end of src/pfr Jamfile
30 |
--------------------------------------------------------------------------------
/source/freetype2/src/pfr/module.mk:
--------------------------------------------------------------------------------
1 | #
2 | # FreeType 2 PFR module definition
3 | #
4 |
5 |
6 | # Copyright 2002, 2006 by
7 | # David Turner, Robert Wilhelm, and Werner Lemberg.
8 | #
9 | # This file is part of the FreeType project, and may only be used, modified,
10 | # and distributed under the terms of the FreeType project license,
11 | # LICENSE.TXT. By continuing to use, modify, or distribute this file you
12 | # indicate that you have read the license and understand and accept it
13 | # fully.
14 |
15 |
16 | FTMODULE_H_COMMANDS += PFR_DRIVER
17 |
18 | define PFR_DRIVER
19 | $(OPEN_DRIVER) FT_Driver_ClassRec, pfr_driver_class $(CLOSE_DRIVER)
20 | $(ECHO_DRIVER)pfr $(ECHO_DRIVER_DESC)PFR/TrueDoc font files with extension *.pfr$(ECHO_DRIVER_DONE)
21 | endef
22 |
23 | # EOF
24 |
--------------------------------------------------------------------------------
/source/freetype2/src/psaux/Jamfile:
--------------------------------------------------------------------------------
1 | # FreeType 2 src/psaux Jamfile
2 | #
3 | # Copyright 2001, 2002 by
4 | # David Turner, Robert Wilhelm, and Werner Lemberg.
5 | #
6 | # This file is part of the FreeType project, and may only be used, modified,
7 | # and distributed under the terms of the FreeType project license,
8 | # LICENSE.TXT. By continuing to use, modify, or distribute this file you
9 | # indicate that you have read the license and understand and accept it
10 | # fully.
11 |
12 | SubDir FT2_TOP $(FT2_SRC_DIR) psaux ;
13 |
14 | {
15 | local _sources ;
16 |
17 | if $(FT2_MULTI)
18 | {
19 | _sources = psauxmod psobjs t1decode t1cmap
20 | psconv afmparse
21 | ;
22 | }
23 | else
24 | {
25 | _sources = psaux ;
26 | }
27 |
28 | Library $(FT2_LIB) : $(_sources).c ;
29 | }
30 |
31 | # end of src/psaux Jamfile
32 |
--------------------------------------------------------------------------------
/source/freetype2/src/psaux/module.mk:
--------------------------------------------------------------------------------
1 | #
2 | # FreeType 2 PSaux module definition
3 | #
4 |
5 |
6 | # Copyright 1996-2000, 2006 by
7 | # David Turner, Robert Wilhelm, and Werner Lemberg.
8 | #
9 | # This file is part of the FreeType project, and may only be used, modified,
10 | # and distributed under the terms of the FreeType project license,
11 | # LICENSE.TXT. By continuing to use, modify, or distribute this file you
12 | # indicate that you have read the license and understand and accept it
13 | # fully.
14 |
15 |
16 | FTMODULE_H_COMMANDS += PSAUX_MODULE
17 |
18 | define PSAUX_MODULE
19 | $(OPEN_DRIVER) FT_Module_Class, psaux_module_class $(CLOSE_DRIVER)
20 | $(ECHO_DRIVER)psaux $(ECHO_DRIVER_DESC)Postscript Type 1 & Type 2 helper module$(ECHO_DRIVER_DONE)
21 | endef
22 |
23 | # EOF
24 |
--------------------------------------------------------------------------------
/source/freetype2/src/pshinter/Jamfile:
--------------------------------------------------------------------------------
1 | # FreeType 2 src/pshinter Jamfile
2 | #
3 | # Copyright 2001, 2003 by
4 | # David Turner, Robert Wilhelm, and Werner Lemberg.
5 | #
6 | # This file is part of the FreeType project, and may only be used, modified,
7 | # and distributed under the terms of the FreeType project license,
8 | # LICENSE.TXT. By continuing to use, modify, or distribute this file you
9 | # indicate that you have read the license and understand and accept it
10 | # fully.
11 |
12 | SubDir FT2_TOP $(FT2_SRC_DIR) pshinter ;
13 |
14 | {
15 | local _sources ;
16 |
17 | if $(FT2_MULTI)
18 | {
19 | _sources = pshrec pshglob pshalgo pshmod pshpic ;
20 | }
21 | else
22 | {
23 | _sources = pshinter ;
24 | }
25 |
26 | Library $(FT2_LIB) : $(_sources).c ;
27 | }
28 |
29 | # end of src/pshinter Jamfile
30 |
--------------------------------------------------------------------------------
/source/freetype2/src/pshinter/module.mk:
--------------------------------------------------------------------------------
1 | #
2 | # FreeType 2 PSHinter module definition
3 | #
4 |
5 |
6 | # Copyright 1996-2001, 2006 by
7 | # David Turner, Robert Wilhelm, and Werner Lemberg.
8 | #
9 | # This file is part of the FreeType project, and may only be used, modified,
10 | # and distributed under the terms of the FreeType project license,
11 | # LICENSE.TXT. By continuing to use, modify, or distribute this file you
12 | # indicate that you have read the license and understand and accept it
13 | # fully.
14 |
15 |
16 | FTMODULE_H_COMMANDS += PSHINTER_MODULE
17 |
18 | define PSHINTER_MODULE
19 | $(OPEN_DRIVER) FT_Module_Class, pshinter_module_class $(CLOSE_DRIVER)
20 | $(ECHO_DRIVER)pshinter $(ECHO_DRIVER_DESC)Postscript hinter module$(ECHO_DRIVER_DONE)
21 | endef
22 |
23 | # EOF
24 |
--------------------------------------------------------------------------------
/source/freetype2/src/psnames/Jamfile:
--------------------------------------------------------------------------------
1 | # FreeType 2 src/psnames Jamfile
2 | #
3 | # Copyright 2001 by
4 | # David Turner, Robert Wilhelm, and Werner Lemberg.
5 | #
6 | # This file is part of the FreeType project, and may only be used, modified,
7 | # and distributed under the terms of the FreeType project license,
8 | # LICENSE.TXT. By continuing to use, modify, or distribute this file you
9 | # indicate that you have read the license and understand and accept it
10 | # fully.
11 |
12 | SubDir FT2_TOP $(FT2_SRC_DIR) psnames ;
13 |
14 | {
15 | local _sources ;
16 |
17 | if $(FT2_MULTI)
18 | {
19 | _sources = psmodule pspic ;
20 | }
21 | else
22 | {
23 | _sources = psnames ;
24 | }
25 |
26 | Library $(FT2_LIB) : $(_sources).c ;
27 | }
28 |
29 | # end of src/psnames Jamfile
30 |
--------------------------------------------------------------------------------
/source/freetype2/src/psnames/module.mk:
--------------------------------------------------------------------------------
1 | #
2 | # FreeType 2 PSnames module definition
3 | #
4 |
5 |
6 | # Copyright 1996-2000, 2006 by
7 | # David Turner, Robert Wilhelm, and Werner Lemberg.
8 | #
9 | # This file is part of the FreeType project, and may only be used, modified,
10 | # and distributed under the terms of the FreeType project license,
11 | # LICENSE.TXT. By continuing to use, modify, or distribute this file you
12 | # indicate that you have read the license and understand and accept it
13 | # fully.
14 |
15 |
16 | FTMODULE_H_COMMANDS += PSNAMES_MODULE
17 |
18 | define PSNAMES_MODULE
19 | $(OPEN_DRIVER) FT_Module_Class, psnames_module_class $(CLOSE_DRIVER)
20 | $(ECHO_DRIVER)psnames $(ECHO_DRIVER_DESC)Postscript & Unicode Glyph name handling$(ECHO_DRIVER_DONE)
21 | endef
22 |
23 | # EOF
24 |
--------------------------------------------------------------------------------
/source/freetype2/src/raster/Jamfile:
--------------------------------------------------------------------------------
1 | # FreeType 2 src/raster Jamfile
2 | #
3 | # Copyright 2001 by
4 | # David Turner, Robert Wilhelm, and Werner Lemberg.
5 | #
6 | # This file is part of the FreeType project, and may only be used, modified,
7 | # and distributed under the terms of the FreeType project license,
8 | # LICENSE.TXT. By continuing to use, modify, or distribute this file you
9 | # indicate that you have read the license and understand and accept it
10 | # fully.
11 |
12 | SubDir FT2_TOP $(FT2_SRC_DIR) raster ;
13 |
14 | {
15 | local _sources ;
16 |
17 | if $(FT2_MULTI)
18 | {
19 | _sources = ftraster ftrend1 rastpic ;
20 | }
21 | else
22 | {
23 | _sources = raster ;
24 | }
25 |
26 | Library $(FT2_LIB) : $(_sources).c ;
27 | }
28 |
29 | # end of src/raster Jamfile
30 |
--------------------------------------------------------------------------------
/source/freetype2/src/raster/module.mk:
--------------------------------------------------------------------------------
1 | #
2 | # FreeType 2 renderer module definition
3 | #
4 |
5 |
6 | # Copyright 1996-2000, 2006 by
7 | # David Turner, Robert Wilhelm, and Werner Lemberg.
8 | #
9 | # This file is part of the FreeType project, and may only be used, modified,
10 | # and distributed under the terms of the FreeType project license,
11 | # LICENSE.TXT. By continuing to use, modify, or distribute this file you
12 | # indicate that you have read the license and understand and accept it
13 | # fully.
14 |
15 |
16 | FTMODULE_H_COMMANDS += RASTER_MODULE
17 |
18 | define RASTER_MODULE
19 | $(OPEN_DRIVER) FT_Renderer_Class, ft_raster1_renderer_class $(CLOSE_DRIVER)
20 | $(ECHO_DRIVER)raster $(ECHO_DRIVER_DESC)monochrome bitmap renderer$(ECHO_DRIVER_DONE)
21 | endef
22 |
23 | # EOF
24 |
--------------------------------------------------------------------------------
/source/freetype2/src/sfnt/Jamfile:
--------------------------------------------------------------------------------
1 | # FreeType 2 src/sfnt Jamfile
2 | #
3 | # Copyright 2001, 2002, 2004, 2005 by
4 | # David Turner, Robert Wilhelm, and Werner Lemberg.
5 | #
6 | # This file is part of the FreeType project, and may only be used, modified,
7 | # and distributed under the terms of the FreeType project license,
8 | # LICENSE.TXT. By continuing to use, modify, or distribute this file you
9 | # indicate that you have read the license and understand and accept it
10 | # fully.
11 |
12 | SubDir FT2_TOP $(FT2_SRC_DIR) sfnt ;
13 |
14 | {
15 | local _sources ;
16 |
17 | if $(FT2_MULTI)
18 | {
19 | _sources = sfobjs sfdriver ttcmap ttmtx ttpost ttload ttsbit ttkern ttbdf sfntpic ;
20 | }
21 | else
22 | {
23 | _sources = sfnt ;
24 | }
25 |
26 | Library $(FT2_LIB) : $(_sources).c ;
27 | }
28 |
29 | # end of src/sfnt Jamfile
30 |
--------------------------------------------------------------------------------
/source/freetype2/src/sfnt/module.mk:
--------------------------------------------------------------------------------
1 | #
2 | # FreeType 2 SFNT module definition
3 | #
4 |
5 |
6 | # Copyright 1996-2000, 2006 by
7 | # David Turner, Robert Wilhelm, and Werner Lemberg.
8 | #
9 | # This file is part of the FreeType project, and may only be used, modified,
10 | # and distributed under the terms of the FreeType project license,
11 | # LICENSE.TXT. By continuing to use, modify, or distribute this file you
12 | # indicate that you have read the license and understand and accept it
13 | # fully.
14 |
15 |
16 | FTMODULE_H_COMMANDS += SFNT_MODULE
17 |
18 | define SFNT_MODULE
19 | $(OPEN_DRIVER) FT_Module_Class, sfnt_module_class $(CLOSE_DRIVER)
20 | $(ECHO_DRIVER)sfnt $(ECHO_DRIVER_DESC)helper module for TrueType & OpenType formats$(ECHO_DRIVER_DONE)
21 | endef
22 |
23 | # EOF
24 |
--------------------------------------------------------------------------------
/source/freetype2/src/smooth/Jamfile:
--------------------------------------------------------------------------------
1 | # FreeType 2 src/smooth Jamfile
2 | #
3 | # Copyright 2001 by
4 | # David Turner, Robert Wilhelm, and Werner Lemberg.
5 | #
6 | # This file is part of the FreeType project, and may only be used, modified,
7 | # and distributed under the terms of the FreeType project license,
8 | # LICENSE.TXT. By continuing to use, modify, or distribute this file you
9 | # indicate that you have read the license and understand and accept it
10 | # fully.
11 |
12 | SubDir FT2_TOP $(FT2_SRC_DIR) smooth ;
13 |
14 | {
15 | local _sources ;
16 |
17 | if $(FT2_MULTI)
18 | {
19 | _sources = ftgrays ftsmooth ftspic ;
20 | }
21 | else
22 | {
23 | _sources = smooth ;
24 | }
25 |
26 | Library $(FT2_LIB) : $(_sources).c ;
27 | }
28 |
29 | # end of src/smooth Jamfile
30 |
--------------------------------------------------------------------------------
/source/freetype2/src/tools/Jamfile:
--------------------------------------------------------------------------------
1 | # Jamfile for src/tools
2 | #
3 | SubDir FT2_TOP src tools ;
4 |
5 | Main apinames : apinames.c ;
6 |
--------------------------------------------------------------------------------
/source/freetype2/src/tools/ftrandom/Makefile:
--------------------------------------------------------------------------------
1 | # TOP_DIR and OBJ_DIR should be set by the user to the right directories,
2 | # if necessary.
3 |
4 | TOP_DIR ?= ../../..
5 | OBJ_DIR ?= $(TOP_DIR)/objs
6 |
7 |
8 | # The setup below is for gcc on a Unix-like platform.
9 |
10 | SRC_DIR = $(TOP_DIR)/src/tools/ftrandom
11 |
12 | CC = gcc
13 | WFLAGS = -Wmissing-prototypes \
14 | -Wunused \
15 | -Wimplicit \
16 | -Wreturn-type \
17 | -Wparentheses \
18 | -pedantic \
19 | -Wformat \
20 | -Wchar-subscripts \
21 | -Wsequence-point
22 | CFLAGS = $(WFLAGS) \
23 | -g \
24 | -I $(TOP_DIR)/include
25 | LIBS = -lm \
26 | -L $(OBJ_DIR) \
27 | -lfreetype \
28 | -lz
29 |
30 | all: $(OBJ_DIR)/ftrandom
31 |
32 | $(OBJ_DIR)/ftrandom: $(SRC_DIR)/ftrandom.c $(OBJ_DIR)/libfreetype.a
33 | $(CC) -o $(OBJ_DIR)/ftrandom $(CFLAGS) $(SRC_DIR)/ftrandom.c $(LIBS)
34 |
35 | # EOF
36 |
--------------------------------------------------------------------------------
/source/freetype2/src/truetype/Jamfile:
--------------------------------------------------------------------------------
1 | # FreeType 2 src/truetype Jamfile
2 | #
3 | # Copyright 2001, 2004 by
4 | # David Turner, Robert Wilhelm, and Werner Lemberg.
5 | #
6 | # This file is part of the FreeType project, and may only be used, modified,
7 | # and distributed under the terms of the FreeType project license,
8 | # LICENSE.TXT. By continuing to use, modify, or distribute this file you
9 | # indicate that you have read the license and understand and accept it
10 | # fully.
11 |
12 | SubDir FT2_TOP $(FT2_SRC_DIR) truetype ;
13 |
14 | {
15 | local _sources ;
16 |
17 | if $(FT2_MULTI)
18 | {
19 | _sources = ttdriver ttobjs ttpload ttgload ttinterp ttgxvar ttpic ;
20 | }
21 | else
22 | {
23 | _sources = truetype ;
24 | }
25 |
26 | Library $(FT2_LIB) : $(_sources).c ;
27 | }
28 |
29 | # end of src/truetype Jamfile
30 |
--------------------------------------------------------------------------------
/source/freetype2/src/truetype/module.mk:
--------------------------------------------------------------------------------
1 | #
2 | # FreeType 2 TrueType module definition
3 | #
4 |
5 |
6 | # Copyright 1996-2000, 2006 by
7 | # David Turner, Robert Wilhelm, and Werner Lemberg.
8 | #
9 | # This file is part of the FreeType project, and may only be used, modified,
10 | # and distributed under the terms of the FreeType project license,
11 | # LICENSE.TXT. By continuing to use, modify, or distribute this file you
12 | # indicate that you have read the license and understand and accept it
13 | # fully.
14 |
15 |
16 | FTMODULE_H_COMMANDS += TRUETYPE_DRIVER
17 |
18 | define TRUETYPE_DRIVER
19 | $(OPEN_DRIVER) FT_Driver_ClassRec, tt_driver_class $(CLOSE_DRIVER)
20 | $(ECHO_DRIVER)truetype $(ECHO_DRIVER_DESC)Windows/Mac font files with extension *.ttf or *.ttc$(ECHO_DRIVER_DONE)
21 | endef
22 |
23 | # EOF
24 |
--------------------------------------------------------------------------------
/source/freetype2/src/type1/Jamfile:
--------------------------------------------------------------------------------
1 | # FreeType 2 src/type1 Jamfile
2 | #
3 | # Copyright 2001 by
4 | # David Turner, Robert Wilhelm, and Werner Lemberg.
5 | #
6 | # This file is part of the FreeType project, and may only be used, modified,
7 | # and distributed under the terms of the FreeType project license,
8 | # LICENSE.TXT. By continuing to use, modify, or distribute this file you
9 | # indicate that you have read the license and understand and accept it
10 | # fully.
11 |
12 | SubDir FT2_TOP $(FT2_SRC_DIR) type1 ;
13 |
14 | {
15 | local _sources ;
16 |
17 | if $(FT2_MULTI)
18 | {
19 | _sources = t1afm t1driver t1objs t1load t1gload t1parse ;
20 | }
21 | else
22 | {
23 | _sources = type1 ;
24 | }
25 |
26 | Library $(FT2_LIB) : $(_sources).c ;
27 | }
28 |
29 | # end of src/type1 Jamfile
30 |
--------------------------------------------------------------------------------
/source/freetype2/src/type1/module.mk:
--------------------------------------------------------------------------------
1 | #
2 | # FreeType 2 Type1 module definition
3 | #
4 |
5 |
6 | # Copyright 1996-2000, 2006 by
7 | # David Turner, Robert Wilhelm, and Werner Lemberg.
8 | #
9 | # This file is part of the FreeType project, and may only be used, modified,
10 | # and distributed under the terms of the FreeType project license,
11 | # LICENSE.TXT. By continuing to use, modify, or distribute this file you
12 | # indicate that you have read the license and understand and accept it
13 | # fully.
14 |
15 |
16 | FTMODULE_H_COMMANDS += TYPE1_DRIVER
17 |
18 | define TYPE1_DRIVER
19 | $(OPEN_DRIVER) FT_Driver_ClassRec, t1_driver_class $(CLOSE_DRIVER)
20 | $(ECHO_DRIVER)type1 $(ECHO_DRIVER_DESC)Postscript font files with extension *.pfa or *.pfb$(ECHO_DRIVER_DONE)
21 | endef
22 |
23 | # EOF
24 |
--------------------------------------------------------------------------------
/source/freetype2/src/type42/Jamfile:
--------------------------------------------------------------------------------
1 | # FreeType 2 src/type42 Jamfile
2 | #
3 | # Copyright 2002 by
4 | # David Turner, Robert Wilhelm, and Werner Lemberg.
5 | #
6 | # This file is part of the FreeType project, and may only be used, modified,
7 | # and distributed under the terms of the FreeType project license,
8 | # LICENSE.TXT. By continuing to use, modify, or distribute this file you
9 | # indicate that you have read the license and understand and accept it
10 | # fully.
11 |
12 | SubDir FT2_TOP $(FT2_SRC_DIR) type42 ;
13 |
14 | {
15 | local _sources ;
16 |
17 | if $(FT2_MULTI)
18 | {
19 | _sources = t42objs t42parse t42drivr ;
20 | }
21 | else
22 | {
23 | _sources = type42 ;
24 | }
25 |
26 | Library $(FT2_LIB) : $(_sources).c ;
27 | }
28 |
29 | # end of src/type42 Jamfile
30 |
--------------------------------------------------------------------------------
/source/freetype2/src/type42/module.mk:
--------------------------------------------------------------------------------
1 | #
2 | # FreeType 2 Type42 module definition
3 | #
4 |
5 |
6 | # Copyright 2002, 2006 by
7 | # David Turner, Robert Wilhelm, and Werner Lemberg.
8 | #
9 | # This file is part of the FreeType project, and may only be used, modified,
10 | # and distributed under the terms of the FreeType project license,
11 | # LICENSE.TXT. By continuing to use, modify, or distribute this file you
12 | # indicate that you have read the license and understand and accept it
13 | # fully.
14 |
15 |
16 | FTMODULE_H_COMMANDS += TYPE42_DRIVER
17 |
18 | define TYPE42_DRIVER
19 | $(OPEN_DRIVER) FT_Driver_ClassRec, t42_driver_class $(CLOSE_DRIVER)
20 | $(ECHO_DRIVER)type42 $(ECHO_DRIVER_DESC)Type 42 font files with no known extension$(ECHO_DRIVER_DONE)
21 | endef
22 |
23 | # EOF
24 |
--------------------------------------------------------------------------------
/source/freetype2/src/winfonts/Jamfile:
--------------------------------------------------------------------------------
1 | # FreeType 2 src/winfonts Jamfile
2 | #
3 | # Copyright 2001 by
4 | # David Turner, Robert Wilhelm, and Werner Lemberg.
5 | #
6 | # This file is part of the FreeType project, and may only be used, modified,
7 | # and distributed under the terms of the FreeType project license,
8 | # LICENSE.TXT. By continuing to use, modify, or distribute this file you
9 | # indicate that you have read the license and understand and accept it
10 | # fully.
11 |
12 | SubDir FT2_TOP $(FT2_SRC_DIR) winfonts ;
13 |
14 | Library $(FT2_LIB) : winfnt.c ;
15 |
16 | # end of src/winfonts Jamfile
17 |
--------------------------------------------------------------------------------
/source/freetype2/src/winfonts/module.mk:
--------------------------------------------------------------------------------
1 | #
2 | # FreeType 2 Windows FNT/FON module definition
3 | #
4 |
5 |
6 | # Copyright 1996-2000, 2006 by
7 | # David Turner, Robert Wilhelm, and Werner Lemberg.
8 | #
9 | # This file is part of the FreeType project, and may only be used, modified,
10 | # and distributed under the terms of the FreeType project license,
11 | # LICENSE.TXT. By continuing to use, modify, or distribute this file you
12 | # indicate that you have read the license and understand and accept it
13 | # fully.
14 |
15 |
16 | FTMODULE_H_COMMANDS += WINDOWS_DRIVER
17 |
18 | define WINDOWS_DRIVER
19 | $(OPEN_DRIVER) FT_Driver_ClassRec, winfnt_driver_class $(CLOSE_DRIVER)
20 | $(ECHO_DRIVER)winfnt $(ECHO_DRIVER_DESC)Windows bitmap fonts with extension *.fnt or *.fon$(ECHO_DRIVER_DONE)
21 | endef
22 |
23 | # EOF
24 |
--------------------------------------------------------------------------------
/source/game/as/as_binding_print.h:
--------------------------------------------------------------------------------
1 | class asIScriptEngine;
2 |
3 | void printBindings(asIScriptEngine* engine, const char* filename);
--------------------------------------------------------------------------------
/source/game/compat/gl.h:
--------------------------------------------------------------------------------
1 | #pragma once
2 | #include "glad/gl.h"
3 | #include "GLFW/glfw3.h"
4 |
--------------------------------------------------------------------------------
/source/game/compat/intrin.h:
--------------------------------------------------------------------------------
1 | #ifdef _MSC_VER
2 | #include
3 | #define PREFETCH(x) _mm_prefetch(x, _MM_HINT_T0)
4 | #endif
5 | #ifdef __GNUC__
6 | #define PREFETCH(x) __builtin_prefetch(x, 0, 3)
7 | #endif
8 |
--------------------------------------------------------------------------------
/source/game/compat/misc.h:
--------------------------------------------------------------------------------
1 | #pragma once
2 | #if defined(_MSC_VER)
3 | #ifdef _DEBUG
4 | #define NO_DEFAULT default: throw 0;
5 | #define UNREACHABLE throw 0;
6 | #else
7 | #define NO_DEFAULT default: __assume(0);
8 | #define UNREACHABLE __assume(0);
9 | #endif
10 | #else
11 | #ifdef _DEBUG
12 | #define NO_DEFAULT default: throw 0;
13 | #define UNREACHABLE throw 0;
14 | #else
15 | #define NO_DEFAULT default: __builtin_unreachable();
16 | #define UNREACHABLE __builtin_unreachable();
17 | #endif
18 | #endif
19 |
20 | #define foreach(var, cont) for(auto var = cont.begin(), end = cont.end(); var != end; ++var)
21 |
22 | #ifdef WIN_MODE
23 | #define unsigned_enum(name) enum name : unsigned
24 | #else
25 | #ifdef LIN_MODE
26 | #define unsigned_enum(name) enum name
27 | #endif
28 | #endif
29 |
30 | #define umap std::unordered_map
31 | #define uset std::unordered_set
32 |
33 | #define INIT_FUNC(name) namespace __init__##name { struct init { init()
34 |
35 | #define INIT_FUNC_END } v; };
36 |
37 | #define INIT_VAR(var) var; namespace __init__##var { struct init { init()
38 |
39 | #define INIT_VAR_END } v; };
40 |
--------------------------------------------------------------------------------
/source/game/compat/regex.h:
--------------------------------------------------------------------------------
1 | #ifdef WIN_MODE
2 | #include
3 | typedef std::regex regex;
4 | typedef std::match_results reg_result;
5 |
6 | #define reg_compile(r, c)\
7 | static regex r = std::regex(c)
8 |
9 | #define reg_match(str, m, r)\
10 | std::regex_match(str.cbegin(), str.cend(), m, r)
11 |
12 | #define reg_str(str, m, i)\
13 | m[i]
14 |
15 | #else
16 | #include
17 | typedef regex_t* regex;
18 | typedef regmatch_t reg_result[16];
19 |
20 | #define reg_compile(r, c) \
21 | static regex r = 0;\
22 | if(!r) {\
23 | r = new regex_t();\
24 | regcomp(r, c, REG_EXTENDED);\
25 | }
26 |
27 | #define reg_match(str, m, r)\
28 | !regexec(r, str.c_str(), 16, m, 0)
29 |
30 | #define reg_str(str, m, i)\
31 | str.substr(m[i].rm_so, m[i].rm_eo - m[i].rm_so)
32 |
33 | #endif
34 |
--------------------------------------------------------------------------------
/source/game/design/effector_functions.h:
--------------------------------------------------------------------------------
1 | #include "design/effector.h"
2 | #include "compat/misc.h"
3 |
4 | extern umap TargetAlgorithms;
5 | extern umap TargetWeighters;
6 |
7 | struct ActivationCB {
8 | nativeEffectorActivation func;
9 | unsigned stateCount, argCount;
10 | };
11 |
12 | extern umap EffectorActivation;
13 |
14 | double isType(const Effector* eff, Object* obj, Object* targ, void* arg);
15 | double hasTag(const Effector* eff, Object* obj, Object* targ, void* arg);
16 |
--------------------------------------------------------------------------------
/source/game/empire_stats.h:
--------------------------------------------------------------------------------
1 | #pragma once
2 | #include
3 |
4 | unsigned getEmpireStatCount();
5 |
6 | std::string getEmpireStatName(unsigned id);
7 | unsigned getStatID(const std::string& name);
8 | bool statIsint(unsigned id);
9 |
10 | void clearEmpireStats();
11 | void loadEmpireStats(const std::string& filename);
--------------------------------------------------------------------------------
/source/game/main/input_handling.h:
--------------------------------------------------------------------------------
1 | #pragma once
2 | #include "main/tick.h"
3 | #include "os/driver.h"
4 | #include "scripts/manager.h"
5 |
6 | void onOverlayToggle(bool state);
7 |
8 | void registerInput();
9 | void inputTick();
10 |
11 | void bindInputScripts(GameState state ,scripts::Manager* manager);
12 | void clearInputScripts(GameState state);
13 | void clearPressedKeys();
14 |
--------------------------------------------------------------------------------
/source/game/main/profiler.cpp:
--------------------------------------------------------------------------------
1 | #include "profiler.h"
2 |
3 | #include "main/references.h"
4 | #include "main/logging.h"
5 |
6 | namespace profiler {
7 |
8 | double profileStart() {
9 | return devices.driver->getAccurateTime();
10 | }
11 |
12 | void profileEnd(double startTime, const char* section) {
13 | double delta = devices.driver->getAccurateTime() - startTime;
14 |
15 | if(delta >= 5e-1)
16 | print("%s: %.1fs\n", section, delta);
17 | else if(delta >= 5e-4)
18 | print("%s: %.1fms\n", section, delta * 1e3);
19 | else if(delta >= 5e-7)
20 | print("%s: %.1fus\n", section, delta * 1e6);
21 | else
22 | print("%s: %.1fns\n", section, delta * 1e9);
23 | }
24 |
25 | };
--------------------------------------------------------------------------------
/source/game/main/profiler.h:
--------------------------------------------------------------------------------
1 |
2 | namespace profiler {
3 |
4 | //Returns a value to pass to a call to 'profileEnd'
5 | double profileStart();
6 |
7 | //Prints out the time elapsed since 'startTime' as returned by 'profileStart'
8 | void profileEnd(double startTime, const char* section);
9 |
10 | #define profile( x, name ) { double _t = profiler::profileStart(); x; profiler::profileEnd(_t, name); }
11 |
12 | };
--------------------------------------------------------------------------------
/source/game/main/references.cpp:
--------------------------------------------------------------------------------
1 | #include "main/references.h"
2 |
3 | references devices;
4 |
5 | references::references() : physics(nullptr), nodePhysics(nullptr), cloud(nullptr) {
6 | }
7 |
8 | namespace audio {
9 | bool disableSFX = false;
10 | };
11 |
--------------------------------------------------------------------------------
/source/game/main/save_load.h:
--------------------------------------------------------------------------------
1 | #pragma once
2 | #include
3 |
4 | bool saveGame(const std::string& file);
5 | bool loadGame(const std::string& file);
--------------------------------------------------------------------------------
/source/game/main/tick.h:
--------------------------------------------------------------------------------
1 | #pragma once
2 | #include
3 | #include
4 |
5 | extern double animation_s, render_s, present_s;
6 |
7 | namespace render {
8 | class Shader;
9 | class Camera;
10 | };
11 | struct Image;
12 |
13 | extern const render::Shader* fsShader;
14 |
15 | extern double frameLen_s, frameTime_s, realFrameLen;
16 | extern int frameTime_ms, frameLen_ms;
17 | extern bool reload_gui;
18 |
19 | extern std::vector frames;
20 | extern unsigned max_frames;
21 |
22 | enum GameState {
23 | GS_Menu,
24 | GS_Game,
25 | GS_Test_Scripts,
26 | GS_Monitor_Scripts,
27 | GS_Console_Wait,
28 | GS_Quit,
29 | GS_Load_Prep,
30 |
31 | GS_COUNT,
32 | };
33 |
34 | extern GameState game_state;
35 | extern std::string game_locale;
36 | extern bool game_running;
37 | extern bool hide_ui;
38 | extern double ui_scale;
39 |
40 | void resetGameTime();
41 | void getFrameRender(Image& img);
42 | void tickGlobal(bool hasScripts = true);
43 | void tickMenu();
44 | void tickGame();
45 | void tickConsole();
46 |
47 | void monitorFile(const std::string& filename);
48 | bool tickMonitor();
49 |
--------------------------------------------------------------------------------
/source/game/main/version.h:
--------------------------------------------------------------------------------
1 | #pragma once
2 | #define GAME_VERSION 1
3 | #define GAME_VERSION_NAME "0.0.1"
4 | #define ENGINE_BUILD 1
5 | #define SERVER_SCRIPT_BUILD 1
6 | #define CLIENT_SCRIPT_BUILD 1
7 | #define MENU_SCRIPT_BUILD 1
8 | #ifdef _MSC_VER
9 | #define ARCH_NAME "W"
10 | #ifdef _M_AMD64
11 | #define ARCH_BITS 64
12 | #else
13 | #define ARCH_BITS 32
14 | #endif
15 | #else
16 | #ifdef __APPLE__
17 | #define ARCH_NAME "A"
18 | #else
19 | #define ARCH_NAME "L"
20 | #endif
21 | #ifdef __amd64__
22 | #define ARCH_BITS 64
23 | #else
24 | #define ARCH_BITS 32
25 | #endif
26 | #endif
27 | #define BUILD_VERSION "DEV"
28 |
--------------------------------------------------------------------------------
/source/game/master_server.cpp:
--------------------------------------------------------------------------------
1 | #define NET_IDLE_SLEEP 5
2 |
3 | #include "network.h"
4 | const int MS_PORT = 8892;
5 |
6 | int main(int argc, char** argv) {
7 | net::LobbyServer srv(MS_PORT);
8 | srv.runThreads(4);
9 | while(srv.active)
10 | threads::sleep(100);
11 | }
12 |
--------------------------------------------------------------------------------
/source/game/memory/MemoryPool.h:
--------------------------------------------------------------------------------
1 | #pragma once
2 | #include
3 |
4 | namespace memory {
5 |
6 | //A pre-allocated pool of uniformly sized objects
7 | template
8 | class MemoryPool {
9 | T* pPool, *pEnd;
10 | unsigned short* indices;
11 | unsigned nextIndex;
12 |
13 | public:
14 | MemoryPool(unsigned count) {
15 | if(count > 65535)
16 | count = 65535;
17 | nextIndex = count-1;
18 |
19 | pPool = (T*)new unsigned char[count * sizeof(T)];
20 | pEnd = pPool + count;
21 |
22 | indices = new unsigned short[count];
23 | for(unsigned short i = 0; i < count; ++i)
24 | indices[i] = count-i;
25 | }
26 |
27 | ~MemoryPool() {
28 | delete[] (unsigned char*)pPool;
29 | delete[] indices;
30 | }
31 |
32 | void* alloc() {
33 | if(nextIndex != 0xffffffff) {
34 | return pPool + indices[nextIndex--];
35 | }
36 | else {
37 | return ::operator new(sizeof(T));
38 | }
39 | }
40 |
41 | void dealloc(T* p) {
42 | if(p >= pPool && p < pEnd) {
43 | indices[++nextIndex] = p - pPool;
44 | }
45 | else {
46 | ::operator delete(p);
47 | }
48 | }
49 | };
50 |
51 | };
--------------------------------------------------------------------------------
/source/game/network/player.h:
--------------------------------------------------------------------------------
1 | #pragma once
2 | #include "network/address.h"
3 |
4 | class Empire;
5 | namespace net {
6 | class Connection;
7 | struct Sequence;
8 | };
9 |
10 | struct Player {
11 | int id;
12 | char nickname[32];
13 | Empire* emp;
14 | net::Address address;
15 | net::Connection* conn;
16 | net::Sequence* defaultSequence;
17 | bool hasGalaxy, wantsDeltas;
18 | bool changedEmpire;
19 | unsigned controlMask;
20 | unsigned viewMask;
21 |
22 | Player()
23 | : id(-1), emp(0), conn(0), defaultSequence(0), hasGalaxy(false), wantsDeltas(false), changedEmpire(false), controlMask(0), viewMask(0) {
24 | nickname[0] = '\0';
25 | }
26 |
27 | Player(int ID)
28 | : id(ID), emp(0), conn(0), defaultSequence(0), hasGalaxy(false), wantsDeltas(false), changedEmpire(false), controlMask(0), viewMask(0) {
29 | nickname[0] = '\0';
30 | }
31 |
32 | bool controls(Empire* emp);
33 | bool views(Empire* emp);
34 | };
35 |
--------------------------------------------------------------------------------
/source/game/obj/universe.h:
--------------------------------------------------------------------------------
1 | #pragma once
2 | #include "obj/object.h"
3 | #include "util/refcount.h"
4 | #include "threads.h"
5 | #include
6 |
7 | class Universe : public AtomicRefCounted {
8 | public:
9 | mutable threads::Mutex queueLock;
10 | std::unordered_set