Sam Hocevar
42813316b8
build: improve emscripten build.
11 vuotta sitten
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.
11 vuotta sitten
Sam Hocevar
40fe753e4f
image: remove "color" typedef since we already have the "Color" class, and rename a few things.
11 vuotta sitten
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
11 vuotta sitten
Benjamin ‘Touky’ Huet
bd9fddc5d9
Split Tileset in TextureImage -> Tileset
Added Texture (by image) update in TextureImage (and tileset)
Added lolimgui first integration pass
11 vuotta sitten
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
11 vuotta sitten
Benjamin ‘Touky’ Huet
8222295f3b
2nd pass on Lua integration.
First pass on EzMesh integration (doesn't work yet)
11 vuotta sitten
Sam Hocevar
3835dc62e0
base: minor variable renaming.
11 vuotta sitten
Sam Hocevar
a07844682e
build: remove dead PS3 code.
11 vuotta sitten
Sam Hocevar
f8b29001cd
base: convert map and avl_tree methods to lowercase. Because.
11 vuotta sitten
Sam Hocevar
7ea3b73ed7
image: endianness fixes in the Imlib2 codec.
11 vuotta sitten
Jean-Yves Lamoureux
cf72e40d62
imlib2: Fix RGBA order in loader and use imlib_image_get_data_for_reading_only()
11 vuotta sitten
Sam Hocevar
c727182ac0
image: fix a bug introduced in the image conversion refactoring.
11 vuotta sitten
Sam Hocevar
4928ea91ad
image: improve the DBS dithering implementation by avoiding lots of tests.
11 vuotta sitten
Sam Hocevar
5026358eef
image: add plenty of colour conversions.
11 vuotta sitten
Sam Hocevar
7bd5a94ca0
image: add the skeleton for a Movie class.
11 vuotta sitten
Sam Hocevar
90a60ba446
image: revert GDI+ animated GIF tests; we’ll try something else.
11 vuotta sitten
Sam Hocevar
500e40c93d
image: GDI+ GIF support tweaks.
11 vuotta sitten
Sam Hocevar
28e8fd6834
image: first GIF encoder iteration.
11 vuotta sitten
Benjamin ‘Touky’ Huet
a89dac5c30
Fixed some stuff and added some small tweaks
11 vuotta sitten
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 vuotta sitten
Sam Hocevar
7d4a58021f
build: use SDL2 on Windows.
11 vuotta sitten
Sam Hocevar
cd988786b9
build: reorganise includes so that we can use precompiled headers later.
11 vuotta sitten
Sam Hocevar
8329482cb9
image: do not alter the pointer returned by Lock().
11 vuotta sitten
Sam Hocevar
e2f53bb71a
image: fix bug introduced in Image::Lock2D().
11 vuotta sitten
Sam Hocevar
2a5150e060
base: VISUQL STUDIO JTE NIAUE Q LQ KQLQSH.
11 vuotta sitten
Guillaume Bittoun
2511de1f90
arraynd: adding constructors and operators for vec_t<int, N> and vec_t<ptrdiff_t, N> types.
11 vuotta sitten
Sam Hocevar
4be9ea2a4e
misc: replace NULL with nullptr.
11 vuotta sitten
Sam Hocevar
caabc35cb1
image: fix a compilation error caused by the GDI+ system headers.
11 vuotta sitten
Sam Hocevar
1b5d3557ec
build: some compilation fixes and tweaks for older (<= 4.6) versions of GCC.
11 vuotta sitten
Sam Hocevar
ad9a388e80
misc: remove 100% of the "using namespace std;" madness.
11 vuotta sitten
Sam Hocevar
12aaff89e3
base: huge refactor in vector.h; GCC compilation times down by 50%.
11 vuotta sitten
Sam Hocevar
fe665f85b4
base: strip core.h from its contents and put it in public/private headers.
11 vuotta sitten
Sam Hocevar
3862ad59dc
base: going on a lowercase rampage; today’s victim: Array.
11 vuotta sitten
Sam Hocevar
ebfd692152
base: simplify code here and there.
11 vuotta sitten
Sam Hocevar
7e9f926c43
base: switch map, hash, array2d and array3d to lowercase, like standard
C++ containers.
11 vuotta sitten
Sam Hocevar
32abfb18d1
base: various Visual Studio compilation fixes.
11 vuotta sitten
Sam Hocevar
d21b904e6c
image: the size of the Gaussian used for void-and-cluster is now a parameter.
11 vuotta sitten
Sam Hocevar
7b34d5094b
image: significantly reduce the blue noise algorithm complexity.
11 vuotta sitten
Sam Hocevar
f51bfc5722
image: add a blue noise kernel generator using the void-and-cluster
algorithm.
11 vuotta sitten
Sam Hocevar
2719aa06dd
image: move files around.
11 vuotta sitten
Sam Hocevar
6526c8c904
image: reimplement most image merge operations (overlay, screen, etc.).
11 vuotta sitten
Sam Hocevar
18254349aa
image: gather pixel-related types and enums into a single pixel.h header.
11 vuotta sitten
Sam Hocevar
1ad2430ba9
image: implement Image::Lock2D().
11 vuotta sitten
Sam Hocevar
6e282e6aa2
image: fix a memory leak in the Oric loader.
11 vuotta sitten
Sam Hocevar
5f02903598
image: remove dead or useless or low quality code.
11 vuotta sitten
Sam Hocevar
c5a3d4873b
image: port the DBS dithering method and remove a few dead files.
11 vuotta sitten
Sam Hocevar
48b4861947
image: rewrite the Oric image exporter to use vector types.
11 vuotta sitten
Sam Hocevar
93a6b1b75b
image: we can now write Oric .tap files.
11 vuotta sitten
Sam Hocevar
546e76987d
image: fix inconsistent data after image resizing.
11 vuotta sitten