Sam Hocevar
b095015731
easymesh: comment out a lot of code that was just causing compilation warnings
6 lat temu
Sam Hocevar
6ad9c0d8bf
Various compilation warning and error fixes.
6 lat temu
Sam Hocevar
1f9be92a66
Use smart pointers in a lot of the rendering code.
7 lat temu
Sam Hocevar
3aa4090bd7
FIx a few compilation warnings.
7 lat temu
Sam Hocevar
50e494803d
Replace array::empty() with array::clear().
We used to have lol::map::empty() to empty maps, but in std::map
this method is called clear(). It sounds safe to harmonise between
our types and have lol::array::clear() too.
7 lat temu
Sam Hocevar
37abf6193f
RIP lol::String ⚰️ LOL
8 lat temu
Sam Hocevar
cfeaeabf2d
Get rid of lol::map because std::map is obviously superior.
8 lat temu
Sam Hocevar
980ff37a58
Get rid of numerous uses of lol::String.
8 lat temu
Sam Hocevar
487c82609c
Make lol-lua an optional dependency.
8 lat temu
Sam Hocevar
44e39867b1
Fix approximately 80 billion compilation warnings.
8 lat temu
Sam Hocevar
b9effc8977
Fix erratic indentation and file encoding.
8 lat temu
Sam Hocevar
9bdb67a51a
Fix source file encoding.
8 lat temu
touky
fab4610405
lolua tweaks
Added macros to help basic setup
9 lat temu
touky
eb943fc5e3
Lolua small simplification
getter default params are better now
9 lat temu
touky
0cdeb424d9
2nd pass, removed all old code, and fixed all the wrong usages
9 lat temu
touky
4d78d62a70
Lolua refactor 2nd pass: New version is much simpler and practical
Next pass is clean-up and fix of all the old usage
9 lat temu
touky
527e27c880
- ImGUI is now operational again
- Most recent version is in with index buffer support
9 lat temu
Sam Hocevar
0ef4e3c203
Clean up a lot of shader crap
9 lat temu
Sam Hocevar
96d725fd71
lua: replace lol::LuaState with the original lua_State
We have no hope of extending lua_State to add more data to it, because
that object may be created by Lua itself, for instance within a coroutine,
and it has no knowledge of our version of the object.
9 lat temu
Sam Hocevar
9e4b6a4155
build: add path to lolfx resource names
This will help us deal with shader name collision. Breaks the Windows
build for the moment, unfortunately.
9 lat temu
Sam Hocevar
d84605c105
Remove Xbox 360 support, too much stuff no longer compiles.
10 lat temu
Sam Hocevar
078751a820
math: all API functions dealing with angles now use radians.
We already have the convenient degrees() and radians() functions to convert
between angle formats. This commit involves a lot of refactoring here and
there and I may have missed some places where conversions were needed. But
hopefully there aren’t may such places.
10 lat temu
Sam Hocevar
861568b146
misc: some cleanup in files, including UTF-8 BOM.
10 lat temu
Sam Hocevar
103f60d48b
misc: replace NULL with nullptr in most places.
10 lat temu
Benjamin ‘Touky’ Huet
6ab67e8f86
btPhysTest is working again, but it still has 7 Ticker::Unref(Shader) that should be there ......
10 lat temu
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 lat temu
Benjamin ‘Touky’ Huet
a7d6e0190e
Scene stuff is back to non-static logic with a few tricks
Scene rendering logic is now better
10 lat temu
Benjamin ‘Touky’ Huet
cfcff9acc3
MultiScene: Phase 1: g_scene removal and conversion to Scene::
10 lat temu
Benjamin ‘Touky’ Huet
73f729d2ef
MeshViewer refactor is on good way
Reworked Primitive logic for scene rendering
FileUpdateTester works now .....
10 lat temu
Benjamin ‘Touky’ Huet
3f167f2f1d
ImGui 1.37
MeshViewer first pass
10 lat temu
Benjamin ‘Touky’ Huet
a8c3a80eb1
Add color var in lua
Add SafeEnum var in lua
MeshViewer SceneSetup is operational
Added imGui to vs-solution, not implemented yet
10 lat temu
Lolbot
0b111f1ece
fixed 6 files out of 4258:
- removed 1210 CR characters
- removed 17 trailing whitespaces
- replaced 0 tabs with spaces
- fixed 5 svn:eol-style properties
10 lat temu
Benjamin ‘Touky’ Huet
00807670b9
Easymesh test tuto works with lua, but EzMesh seems broken.
10 lat temu
Benjamin ‘Touky’ Huet
8222295f3b
2nd pass on Lua integration.
First pass on EzMesh integration (doesn't work yet)
10 lat temu
Benjamin ‘Touky’ Huet
baae344fc2
lua property get/set added, not as nice as I wished, but working.
10 lat temu
Benjamin ‘Touky’ Huet
596e74c78c
Added first pass for Base Lua setup
10 lat temu
Benjamin ‘Touky’ Huet
73cafd5c31
2nd EasyMesh split pass
10 lat temu
Benjamin ‘Touky’ Huet
f67da65818
First pass of EasyMesh split & refactor
Big FAT pass on windows-warning. It is better now.
10 lat temu
Benjamin ‘Touky’ Huet
d4d0225170
Removed all the enum macros, because this was shit and admitting that is the first step to global world domination.
11 lat temu
Sam Hocevar
31477c906e
build: remove the LolFx and the EasyMesh compilers for now.
11 lat temu
Benjamin ‘Touky’ Huet
cb7a99bac3
Added ShaderBuilder
11 lat temu
Benjamin ‘Touky’ Huet
a89dac5c30
Fixed some stuff and added some small tweaks
11 lat temu
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 lat temu
Sam Hocevar
cd988786b9
build: reorganise includes so that we can use precompiled headers later.
11 lat temu
Sam Hocevar
b2283cd1a3
build: update VS solution and fix a few compilation warnings.
11 lat temu
Sam Hocevar
7a28671dee
math: get rid of the base_vec* classes (thanks to relaxed unions), rename
MASK to SWIZZLE in the vector templates, rename matrix<> to mat<> for
consistency, implement transposition for all matrix sizes, make matrix
columns private and only accessible through operator[].
11 lat temu
Sam Hocevar
fe665f85b4
base: strip core.h from its contents and put it in public/private headers.
11 lat temu
Sam Hocevar
3862ad59dc
base: going on a lowercase rampage; today’s victim: Array.
11 lat temu
Sam Hocevar
79ed58f1f0
Merge branch 'master' into scenegraph
11 lat temu
Sam Hocevar
44dec8612e
core: fix minor Windows and Raspberry compilation issues.
11 lat temu