Alibek Omarov
b333edeefe
public: crtlib: remove unused Q_strlwr macro
2 years ago
Alibek Omarov
096ee34f67
public: remove Q_vsprintf, replace by proper Q_vsnprintf proper calls
...
Fixes weird off by one error caused by glibc updates? I didn't tracked
what causes it exactly but replacing it seems to work. Anyway, we should
remove all 99999 hacks in libpublic.
2 years ago
Alibek Omarov
49936120ca
public: tests: add new test to check return values of Q_Architecture/PlatformStringByID and Q_buildnum
2 years ago
Alibek Omarov
e4a5b95e81
public: build: split Q_buildnum to separate function that calculates build number from arbitrary date string
2 years ago
Alibek Omarov
84fc8d4281
public: build: fix naming for 32-bit RISCV with double precision float ABI
2 years ago
Alibek Omarov
e9da3e2976
public: build: reorder enums by probability, rename ARCHITECTURE_ ABI macros to just ARCH_ for easier matching
2 years ago
Alibek Omarov
339c08d89f
public: add basic test for our strcpy, strcmp and strcat functions
2 years ago
Alibek Omarov
2fb19a0cfd
public: matrixlib: cleanup unused functions
2 years ago
Alibek Omarov
550ced9c36
ref: gl: cleanup unused functions in frustum
2 years ago
Alibek Omarov
37e3cf7e86
public: crtlib: remove unused functions
2 years ago
Alibek Omarov
53987f47e2
engine: client: use alternative ease-in ease-out function in sound fade
2 years ago
Alibek Omarov
19a785a98a
public: mathlib: convert rsqrt to use float_bits_t union
2 years ago
Alibek Omarov
b96bfcfe7a
public: mathlib: convert FloatToHalf and HalfToFloat to use float_bits_t union
2 years ago
Alibek Omarov
412c635499
public: add float_bits_t union to access float as 32-bit signed or unsigned integer
2 years ago
Alibek Omarov
fb6e310eab
public: move va() function back to engine, it's not recommended to use in shared modules
2 years ago
Alibek Omarov
5c1e06ae74
public: crclib: optimize COM_HashKey, implement typical djb hashing as this function is used for hashtables with string lookup
2 years ago
fgsfds
7424b29e56
engine: initial psvita build support
2 years ago
Alibek Omarov
3c64d2ad80
public: build: don't confuse other libcs with built with glibc game libraries by specifying them into separate platform, like Android
2 years ago
Alibek Omarov
3765686077
public: make va() buffer size public
2 years ago
Alibek Omarov
f4069de7f2
engine: move SlerpBones, CalcBonePosition/Quaternion from engine to libpublic
2 years ago
Alibek Omarov
03a7c67731
public: build: revert arm64 renaming to aarch64, we shouldn't enforce naming changes without a reason
2 years ago
fgsfds
25a1cb8ce7
Nintendo Switch support (again)
2 years ago
Xav101
9466461ce0
engine: preliminary support for SGI IRIX ( #1211 )
...
* Added definitions for IRIX
* Patchset to get dedicated server to compile on IRIX.
* Cleaned up debug statements in wscript
* Potential bug in IRIX implementation of isnan? For now just use the portable macro.
* Include the platform port files in the build
* Temporary execution script for setting appropriate library search paths to the right locations in the build directory. This should probably get replaced with a more permanent script at some point which lives in the same directory as the normal xash binary, or be replaced by a solution that sets the rpath during config or modifies rpath during install.
* Clean up formatting and remove unneeded debugging statements
* Added GPL copyright notice and description
* Moved to irix platform folder and edited script
* Re-introduced _inline macro
* Replace spaces with tabs
Co-authored-by: Xav101 <xaviernye@msn.com>
2 years ago
Alibek Omarov
5d98e13fb8
public: add Q_ArcitectureStringByID function to get library naming compliant CPU and ABI string
2 years ago
Alibek Omarov
113904ea91
public: fix build
2 years ago
Alibek Omarov
1dc3cc2d57
public: add Q_PlatformStringByID function that returns library naming compliant string by platform identifier from buildenums
2 years ago
Alibek Omarov
15a5975abf
public: build.h refactoring, removed XASH_MSVC, XASH_MINGW, as this header never intended to detect the compiler
2 years ago
Alibek Omarov
65debeb738
public: add header buildenums.h declaring all platforms, architectures and ABIs as integer constants.
2 years ago
Alibek Omarov
209a03a12a
engine, public: prepare to removal of XASH_MSVC macro
2 years ago
Alibek Omarov
4684f174ee
public: completely get rid of PATH_SEPARATOR macros
2 years ago
Alibek Omarov
75ccd2283b
public: fix Q_memmem counting haystack size incorrectly
2 years ago
Alibek Omarov
07e622f224
public: add generic implementation for Q_memmem
2 years ago
Alibek Omarov
e1ea3387ee
common: rename PATH_SPLITTER to PATH_SEPARATOR, change it's type to character
2 years ago
Alibek Omarov
071638794a
public: redefine Q_strpbrk to C standard version, add Q_strchrnul
2 years ago
Andrey Akhmichin
3488d4e65f
public: simplified strings operations.
2 years ago
Andrey Akhmichin
c1fe547925
public: update miniz to version 3.0.0 from upstream.
2 years ago
Alibek Omarov
e54289f811
public: wscript: add dummy sdk_includes target that only exposes standard HLSDK include paths
2 years ago
Alibek Omarov
7f1bb9b4a6
public: introduce Q_strnicmpext function
...
The goal is to provide both string compare with fixed length and simple pattern match
2 years ago
Alibek Omarov
5e4fc64430
filesystem: introduce new module, based on engine filesystem.
...
The goal is to share filesystem code between engine and
utilities and provide C++ VFileSystem interface in the future
2 years ago
Alibek Omarov
12ea6dcfd7
public: move build.c from engine to public library, in preparation of filesystem_stdio merge
2 years ago
Alibek Omarov
a9c82dbe21
public: make crtlib linkable with C++
2 years ago
Alibek Omarov
5350d88f57
public: crtlib: add quotation mark support for ParseFile, required for filesystem_stdio
2 years ago
Alibek Omarov
a2d11f670a
engine, public: fix float precision issues in mathlib and monster navigation code
2 years ago
Alibek Omarov
fb43a5590f
public: Q_strstr should return pointer to non-const data
2 years ago
Alibek Omarov
12815bfbf2
public: remove naive implementations of standard function, add them with standard C with few extensions
2 years ago
Jesse Buhagiar
b23d5ed354
Build: Add SerenityOS to list of compatible systems
...
This is required by the build system to spit out a library with
the correct name/platform.
2 years ago
Alibek Omarov
ab6214142f
public: remove custom str(r)chr functions
2 years ago
Velaron
15dc25d2cd
engine: rename Q_cleanstr to something more meaningful
2 years ago
Velaron
568c7fd917
engine: strip color codes when writing to log
2 years ago
Alibek Omarov
9ce8edcb38
public: moved compiler attributes to xash3d_types.h
3 years ago