Sam Hocevar
861568b146
misc: some cleanup in files, including UTF-8 BOM.
преди 10 години
Sam Hocevar
3eb7db5e4d
tileset: rename AddTile() to define_tile().
This is to avoid confusion with Scene::AddTile().
преди 10 години
Sam Hocevar
103f60d48b
misc: replace NULL with nullptr in most places.
преди 10 години
Sam Hocevar
441a20af99
misc: fix copyright information here and there.
преди 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 години
Benjamin ‘Touky’ Huet
2170b89b11
MultiScene: Phase 4: Added SceneDisplay class to have multiple windows + implementation with SDL. Not with the others.
преди 10 години
Benjamin ‘Touky’ Huet
22322d50fd
Scene::AddPrimitive now only supports Primitive because why not
преди 10 години
Benjamin ‘Touky’ Huet
a7d6e0190e
Scene stuff is back to non-static logic with a few tricks
Scene rendering logic is now better
преди 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 години
Benjamin ‘Touky’ Huet
cfcff9acc3
MultiScene: Phase 1: g_scene removal and conversion to Scene::
преди 10 години
Benjamin ‘Touky’ Huet
825401d997
Brought threads to C++11
Revamped thread communication
Fixed dynamic thread Add/Remove
Added unit-test for threads !!!!
преди 10 години
Benjamin ‘Touky’ Huet
3f167f2f1d
ImGui 1.37
MeshViewer first pass
преди 10 години
Benjamin ‘Touky’ Huet
3e9e6178ae
Small refactor controller tweak
преди 10 години
Benjamin ‘Touky’ Huet
9477f1f722
Moved GetKey/Axis status tests to protected, and made them accessible through controller directly to implement layer system in the future.
преди 10 години
Benjamin ‘Touky’ Huet
0e09074d33
Revamped Game/Draw groups to split stuff and help spreading tick
преди 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
4d3d7de4f2
Name refactors for doc stuff
преди 10 години
Benjamin ‘Touky’ Huet
6c3dd67bc0
Controller refactor to enforce InputProfile usage (because why not)
DefaultThreadManager build FIX
преди 10 години
Benjamin ‘Touky’ Huet
9c07e8c2e0
Added Thread classes
Added InputProfile in Controller
Added ExecLuaCode
преди 10 години
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 години
Benjamin ‘Touky’ Huet
00807670b9
Easymesh test tuto works with lua, but EzMesh seems broken.
преди 10 години
Benjamin ‘Touky’ Huet
8222295f3b
2nd pass on Lua integration.
First pass on EzMesh integration (doesn't work yet)
преди 10 години
Benjamin ‘Touky’ Huet
baae344fc2
lua property get/set added, not as nice as I wished, but working.
преди 10 години
Benjamin ‘Touky’ Huet
77c0ae241b
tidied up the lua tutorial
преди 10 години
Benjamin ‘Touky’ Huet
77420f6b55
small lua code refactor
преди 10 години
Benjamin ‘Touky’ Huet
cf888d721d
3rd pass on lua classes. It works now. It's ..... ALIIIIIIVE
преди 10 години
Benjamin ‘Touky’ Huet
f67da65818
First pass of EasyMesh split & refactor
Big FAT pass on windows-warning. It is better now.
преди 10 години
Sam Hocevar
d72cb24bc0
build: move sample and tutorial files around.
преди 11 години