Sam Hocevar
|
15c3039ba5
|
misc: fix some coding errors found by Coverity.
|
vor 11 Jahren |
Benjamin ‘Touky’ Huet
|
ec9c215459
|
small tweak on file object.
|
vor 11 Jahren |
Sam Hocevar
|
ca230a60ad
|
thread: implement Queue::TryPush and Queue::TryPop.
|
vor 11 Jahren |
Sam Hocevar
|
3f67db703e
|
sys: refactor the binarydir detection code.
|
vor 12 Jahren |
Sam Hocevar
|
f852e8d7e1
|
build: a lot more emscripten build fixes.
|
vor 12 Jahren |
Sam Hocevar
|
d4372a6a1e
|
android: open files through the asset manager, meaning Lua works.
|
vor 12 Jahren |
Sam Hocevar
|
5e5deb84d2
|
build: fix X360 and PS3 builds.
|
vor 12 Jahren |
Sam Hocevar
|
526feb9b80
|
sys: use progressively larger temporary buffers when reading files.
|
vor 12 Jahren |
Sam Hocevar
|
e041ea7602
|
sys: don't read files on the stack; either we'll overflow or we'll be slow.
|
vor 12 Jahren |
Sam Hocevar
|
ba58bbbdcd
|
ps3: implement Lua file loading.
|
vor 12 Jahren |
Sam Hocevar
|
39a8c26fb5
|
base: start removing occurrences of NULL on our long journey to nullptr.
|
vor 12 Jahren |
jeunathe
|
f67fdf41c2
|
Fix missing ;
static float to static void for waitseconds()
|
vor 12 Jahren |
Benjamin ‘Touky’ Huet
|
5ac828fd23
|
CIS FIX : timer fix, sam should fix it.
|
vor 12 Jahren |
Sam Hocevar
|
b9d45606b4
|
base: refactor the Timer class to make it more understandable.
|
vor 12 Jahren |
Sam Hocevar
|
7e8edd7c3e
|
sys: add the base source directory to the list of search directories
on automake platforms, too.
|
vor 12 Jahren |
Sam Hocevar
|
ba1824ef83
|
sys: cycle through all possible directories to load resource files.
|
vor 12 Jahren |
Sam Hocevar
|
b67441babb
|
sys: be more resilient if the file we try to read doesn’t exist.
|
vor 12 Jahren |
Sam Hocevar
|
03d135f06d
|
sys: don’t use fopen on the PS3.
|
vor 12 Jahren |
Sam Hocevar
|
2932b55556
|
sys: prototype for the file reading functions.
|
vor 12 Jahren |
Sam Hocevar
|
c7767c6c64
|
sys: create an empty File class.
|
vor 12 Jahren |
Sam Hocevar
|
4be5ebd8b3
|
ps3: use network fallback for image files.
|
vor 12 Jahren |
Sam Hocevar
|
32753fa130
|
build: fix a few macro logic issues in SDL.h inclusion.
|
vor 12 Jahren |
Sam Hocevar
|
1e973c81bd
|
build: add SDL detection code in new file lol-sdl.m4. The SDL2 version is
disabled until the engine code itself is ported to SDL2.
|
vor 12 Jahren |
Sam Hocevar
|
8613d04c03
|
core: implement a cool ASSERT() macro.
|
vor 12 Jahren |
Sam Hocevar
|
e7806e96cc
|
build: check for getcwd() and _getcwd() and configure time.
|
vor 12 Jahren |
Sam Hocevar
|
937f3e4522
|
sys: check for <unistd.h> and use getcwd() properly on non-Windows systems.
|
vor 12 Jahren |
Sam Hocevar
|
ce04c94ff3
|
sys: retrieve executable path if available.
|
vor 12 Jahren |
Sam Hocevar
|
5402346b16
|
core: move the Log and Timer classes to the sys/ subdirectory, use
the String class instead of the stack for logging, and get rid of
the old and useless BitField class.
|
vor 12 Jahren |
Sam Hocevar
|
bbf72e1a64
|
core: pass the project directory to the binary build and get rid of
that 2-year old "temporary Win32 hack".
|
vor 12 Jahren |
Sam Hocevar
|
1a54a81167
|
sys: move thread.h to the sys/ directory.
|
vor 12 Jahren |
Sam Hocevar
|
6a6e46cf0d
|
system: try to autodetect the data directory from the executable path;
currently works for images (SDL and GDI+ loaders) and sound samples.
|
vor 12 Jahren |