Sam Hocevar
0239617197
Various compilation and warning fixes.
пре 8 година
Sam Hocevar
44e39867b1
Fix approximately 80 billion compilation warnings.
пре 8 година
Sam Hocevar
b9effc8977
Fix erratic indentation and file encoding.
пре 8 година
Sam Hocevar
9bdb67a51a
Fix source file encoding.
пре 8 година
Sam Hocevar
aca1660e1e
Disable debug messages by default and downgrade a few messages.
From now on, msg::debug will not display anything, unless this is a debug
build, or the LOL_DEBUG environment variable is set.
пре 8 година
Sam Hocevar
c6374c7e07
movie: replace the old Movie class with a GIF encoder.
пре 8 година
Sam Hocevar
7558d0664a
image: more method renaming for consistency.
пре 8 година
Sam Hocevar
e3b1011d37
image: rename some stuff.
пре 9 година
Sam Hocevar
f533ecffad
Various compilation fixes.
пре 9 година
touky
24d9405ff3
ResourceLoader + tileset tweaks
Moved ImageLoader to ResourceLoader, so that loading is extensible.
i.e. here: Zed image loader now loads up a tileset instead of being a
hacked image loader.
Goal is to support more funky stuff (wad, pak .....)
пре 9 година
Sam Hocevar
6a35a64dd5
sys: make a few functions lowercase.
пре 9 година
Sam Hocevar
c6f4070e70
build: refactor autotools files for out-of-tree builds.
All these changes will allow us to more easily add Lol Engine as a
submodule of another Git project.
пре 9 година
Sam Hocevar
1b2a4ca8d1
build: fix issues with SDL detection on 32-bit systems.
пре 10 година
Sam Hocevar
861568b146
misc: some cleanup in files, including UTF-8 BOM.
пре 10 година
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
42813316b8
build: improve emscripten build.
пре 10 година
Sam Hocevar
2fa398926d
math: improve the 2D and 3D box classes.
Box objects (AABB) now have the long awaited extent() and center()
methods. Corners are now called “aa” and “bb” for convenience. The
WorldEntity class uses a box3 for its AABB instead of two vec3s.
This allows us to simplify a lot of verbose code.
пре 10 година
Sam Hocevar
40fe753e4f
image: remove "color" typedef since we already have the "Color" class, and rename a few things.
пре 10 година
Benjamin ‘Touky’ Huet
f139a7e164
LolImGui integration 2nd pass: It now works perfectly (to the extent of the api)
SDL2: Mouse is back ! With correct focus support
SDL2: Added typing support with keyboard
ShaderBuilder: Refactored and simplified Shader block creation
Several warning removal
Fixed Image::Copy
пре 10 година
Benjamin ‘Touky’ Huet
bd9fddc5d9
Split Tileset in TextureImage -> Tileset
Added Texture (by image) update in TextureImage (and tileset)
Added lolimgui first integration pass
пре 10 година
Benjamin ‘Touky’ Huet
e1d1ecfd81
Added AsyncImageLoader to load images on threads
Inverted image/all.h and thread/all.h to ensure build
Added Image::DummyFill that uses DummyImageCodec to fill empty image
Added Log:: Error/Info in image Load/Save
пре 10 година
Benjamin ‘Touky’ Huet
8222295f3b
2nd pass on Lua integration.
First pass on EzMesh integration (doesn't work yet)
пре 10 година
Sam Hocevar
3835dc62e0
base: minor variable renaming.
пре 11 година
Sam Hocevar
a07844682e
build: remove dead PS3 code.
пре 11 година
Sam Hocevar
f8b29001cd
base: convert map and avl_tree methods to lowercase. Because.
пре 11 година
Sam Hocevar
7ea3b73ed7
image: endianness fixes in the Imlib2 codec.
пре 11 година
Jean-Yves Lamoureux
cf72e40d62
imlib2: Fix RGBA order in loader and use imlib_image_get_data_for_reading_only()
пре 11 година
Sam Hocevar
c727182ac0
image: fix a bug introduced in the image conversion refactoring.
пре 11 година
Sam Hocevar
4928ea91ad
image: improve the DBS dithering implementation by avoiding lots of tests.
пре 11 година
Sam Hocevar
5026358eef
image: add plenty of colour conversions.
пре 11 година
Sam Hocevar
7bd5a94ca0
image: add the skeleton for a Movie class.
пре 11 година
Sam Hocevar
90a60ba446
image: revert GDI+ animated GIF tests; we’ll try something else.
пре 11 година
Sam Hocevar
500e40c93d
image: GDI+ GIF support tweaks.
пре 11 година
Sam Hocevar
28e8fd6834
image: first GIF encoder iteration.
пре 11 година
Benjamin ‘Touky’ Huet
a89dac5c30
Fixed some stuff and added some small tweaks
пре 11 година
Sam Hocevar
d373081b80
build: use #pragma once instead of header guards because 1) fuck the dinosaurs,
and 2) fuck the Visual Studio compiler that crashes when confused.
пре 11 година
Sam Hocevar
7d4a58021f
build: use SDL2 on Windows.
пре 11 година
Sam Hocevar
cd988786b9
build: reorganise includes so that we can use precompiled headers later.
пре 11 година
Sam Hocevar
8329482cb9
image: do not alter the pointer returned by Lock().
пре 11 година
Sam Hocevar
e2f53bb71a
image: fix bug introduced in Image::Lock2D().
пре 11 година
Sam Hocevar
2a5150e060
base: VISUQL STUDIO JTE NIAUE Q LQ KQLQSH.
пре 11 година
Guillaume Bittoun
2511de1f90
arraynd: adding constructors and operators for vec_t<int, N> and vec_t<ptrdiff_t, N> types.
пре 11 година
Sam Hocevar
4be9ea2a4e
misc: replace NULL with nullptr.
пре 11 година
Sam Hocevar
caabc35cb1
image: fix a compilation error caused by the GDI+ system headers.
пре 11 година
Sam Hocevar
1b5d3557ec
build: some compilation fixes and tweaks for older (<= 4.6) versions of GCC.
пре 11 година
Sam Hocevar
ad9a388e80
misc: remove 100% of the "using namespace std;" madness.
пре 11 година
Sam Hocevar
12aaff89e3
base: huge refactor in vector.h; GCC compilation times down by 50%.
пре 11 година
Sam Hocevar
fe665f85b4
base: strip core.h from its contents and put it in public/private headers.
пре 11 година