Sam Hocevar
861568b146
misc: some cleanup in files, including UTF-8 BOM.
9 роки тому
Sam Hocevar
d64b117b8d
build: fix license and copyright information.
10 роки тому
Sam Hocevar
70edc0d38e
misc: carry on with the lowercase rampage.
Using “Array” instead of “array” is now fully deprecated, and I replaced
the Log::Debug() etc. functions with msg::debug() etc. because log:: was
unavailable due to being a maths function.
Added up-to-date copyright notice and BOM to modified files, just in case.
10 роки тому
Sam Hocevar
03c17fcae4
base: clean up and refactor containers.
The containers no longer force the user to use the ptrdiff_t type for
size information. For convenience, size() now always returns an int,
and the size_s() method offers a way to handle arrays with more than
2 billion elements. Internally, we still use ptrdiff_t, though.
Since so much code had to be changed, I took the opportunity to get
rid of capitalised accessors for classes that are lowercase.
10 роки тому
Sam Hocevar
cd988786b9
build: reorganise includes so that we can use precompiled headers later.
10 роки тому
Sam Hocevar
0bc2ec0480
build: move VS solution one directory below and create a VS2014 solution.
10 роки тому
Sam Hocevar
fe665f85b4
base: strip core.h from its contents and put it in public/private headers.
10 роки тому
Sam Hocevar
3862ad59dc
base: going on a lowercase rampage; today’s victim: Array.
10 роки тому
Sam Hocevar
591caaabdc
sys: some path guessing logic fixes for standalone builds.
11 роки тому
Sam Hocevar
ac81bd78a2
core: account for case-insensitive systems for data directories.
11 роки тому
Sam Hocevar
3f67db703e
sys: refactor the binarydir detection code.
12 роки тому
Sam Hocevar
d4372a6a1e
android: open files through the asset manager, meaning Lua works.
12 роки тому
Sam Hocevar
39a8c26fb5
base: start removing occurrences of NULL on our long journey to nullptr.
12 роки тому
Sam Hocevar
7e8edd7c3e
sys: add the base source directory to the list of search directories
on automake platforms, too.
12 роки тому
Sam Hocevar
ba1824ef83
sys: cycle through all possible directories to load resource files.
12 роки тому
Sam Hocevar
c7767c6c64
sys: create an empty File class.
12 роки тому
Sam Hocevar
4be5ebd8b3
ps3: use network fallback for image files.
12 роки тому
Sam Hocevar
e7806e96cc
build: check for getcwd() and _getcwd() and configure time.
12 роки тому
Sam Hocevar
937f3e4522
sys: check for <unistd.h> and use getcwd() properly on non-Windows systems.
12 роки тому
Sam Hocevar
ce04c94ff3
sys: retrieve executable path if available.
12 роки тому
Sam Hocevar
bbf72e1a64
core: pass the project directory to the binary build and get rid of
that 2-year old "temporary Win32 hack".
12 роки тому
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.
12 роки тому