Sam Hocevar
6ad9c0d8bf
Various compilation warning and error fixes.
vor 6 Jahren
Sam Hocevar
1f9be92a66
Use smart pointers in a lot of the rendering code.
vor 7 Jahren
Sam Hocevar
3aa4090bd7
FIx a few compilation warnings.
vor 7 Jahren
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.
vor 7 Jahren
Sam Hocevar
37abf6193f
RIP lol::String ⚰️ LOL
vor 8 Jahren
Sam Hocevar
cfeaeabf2d
Get rid of lol::map because std::map is obviously superior.
vor 8 Jahren
Sam Hocevar
980ff37a58
Get rid of numerous uses of lol::String.
vor 8 Jahren
Sam Hocevar
487c82609c
Make lol-lua an optional dependency.
vor 8 Jahren
Sam Hocevar
44e39867b1
Fix approximately 80 billion compilation warnings.
vor 8 Jahren
Sam Hocevar
b9effc8977
Fix erratic indentation and file encoding.
vor 8 Jahren
Sam Hocevar
9bdb67a51a
Fix source file encoding.
vor 8 Jahren
touky
fab4610405
lolua tweaks
Added macros to help basic setup
vor 9 Jahren
touky
eb943fc5e3
Lolua small simplification
getter default params are better now
vor 9 Jahren
touky
0cdeb424d9
2nd pass, removed all old code, and fixed all the wrong usages
vor 9 Jahren
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
vor 9 Jahren
touky
527e27c880
- ImGUI is now operational again
- Most recent version is in with index buffer support
vor 9 Jahren
Sam Hocevar
0ef4e3c203
Clean up a lot of shader crap
vor 9 Jahren
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.
vor 9 Jahren
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.
vor 9 Jahren
Sam Hocevar
d84605c105
Remove Xbox 360 support, too much stuff no longer compiles.
vor 10 Jahren
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.
vor 10 Jahren
Sam Hocevar
861568b146
misc: some cleanup in files, including UTF-8 BOM.
vor 10 Jahren
Sam Hocevar
103f60d48b
misc: replace NULL with nullptr in most places.
vor 10 Jahren
Benjamin ‘Touky’ Huet
6ab67e8f86
btPhysTest is working again, but it still has 7 Ticker::Unref(Shader) that should be there ......
vor 10 Jahren
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.
vor 10 Jahren
Benjamin ‘Touky’ Huet
a7d6e0190e
Scene stuff is back to non-static logic with a few tricks
Scene rendering logic is now better
vor 10 Jahren
Benjamin ‘Touky’ Huet
cfcff9acc3
MultiScene: Phase 1: g_scene removal and conversion to Scene::
vor 10 Jahren
Benjamin ‘Touky’ Huet
73f729d2ef
MeshViewer refactor is on good way
Reworked Primitive logic for scene rendering
FileUpdateTester works now .....
vor 10 Jahren
Benjamin ‘Touky’ Huet
3f167f2f1d
ImGui 1.37
MeshViewer first pass
vor 10 Jahren
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
vor 10 Jahren
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
vor 10 Jahren
Benjamin ‘Touky’ Huet
00807670b9
Easymesh test tuto works with lua, but EzMesh seems broken.
vor 10 Jahren
Benjamin ‘Touky’ Huet
8222295f3b
2nd pass on Lua integration.
First pass on EzMesh integration (doesn't work yet)
vor 10 Jahren
Benjamin ‘Touky’ Huet
baae344fc2
lua property get/set added, not as nice as I wished, but working.
vor 10 Jahren
Benjamin ‘Touky’ Huet
596e74c78c
Added first pass for Base Lua setup
vor 10 Jahren
Benjamin ‘Touky’ Huet
73cafd5c31
2nd EasyMesh split pass
vor 10 Jahren
Benjamin ‘Touky’ Huet
f67da65818
First pass of EasyMesh split & refactor
Big FAT pass on windows-warning. It is better now.
vor 10 Jahren
Benjamin ‘Touky’ Huet
d4d0225170
Removed all the enum macros, because this was shit and admitting that is the first step to global world domination.
vor 11 Jahren
Sam Hocevar
31477c906e
build: remove the LolFx and the EasyMesh compilers for now.
vor 11 Jahren
Benjamin ‘Touky’ Huet
cb7a99bac3
Added ShaderBuilder
vor 11 Jahren
Benjamin ‘Touky’ Huet
a89dac5c30
Fixed some stuff and added some small tweaks
vor 11 Jahren
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.
vor 11 Jahren
Sam Hocevar
cd988786b9
build: reorganise includes so that we can use precompiled headers later.
vor 11 Jahren
Sam Hocevar
b2283cd1a3
build: update VS solution and fix a few compilation warnings.
vor 11 Jahren
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[].
vor 11 Jahren
Sam Hocevar
fe665f85b4
base: strip core.h from its contents and put it in public/private headers.
vor 11 Jahren
Sam Hocevar
3862ad59dc
base: going on a lowercase rampage; today’s victim: Array.
vor 11 Jahren
Sam Hocevar
79ed58f1f0
Merge branch 'master' into scenegraph
vor 11 Jahren
Sam Hocevar
44dec8612e
core: fix minor Windows and Raspberry compilation issues.
vor 11 Jahren
Sam Hocevar
47e71bda63
base: rough implementation of safe enums with minimal ToString() support.
vor 11 Jahren