Sam Hocevar
816e787201
sys: work around a threading-related Visual Studio bug.
When a thread is destroyed during the atexit() callback cleanup, it cannot
be joined and sits there doing nothing if the CRT is Visual Studio 2012 or
2013. Microsoft has stated that they would not be backporting the fix from
Visual Studio 2015. As a workaround we call ExitThread() forcibly after
the thread exits.
9 years ago
Sam Hocevar
a2b94a9a37
ticker: fix typo in entity.h header.
9 years ago
Benjamin ‘Touky’ Huet
e9b72ec53a
Added stuff for ticking/drawing main app entity independently from other entities
9 years ago
Sam Hocevar
591db6b866
text: fix a minor accuracy issue in the text alignment logic.
9 years ago
Sam Hocevar
1ddc2e83b8
font: make bitmap fonts use linear filtering by default.
9 years ago
Sam Hocevar
d4e3ad4a4e
text: new features and minor refactoring.
Text objects now support character spacing (as a fraction of the character
width) and text scaling. Also, the alignment enum is now safe.
9 years ago
Sam Hocevar
bc2684fd40
thread: do not join std::thread instances.
For some reasons std::thread can’t be joined in Visual Studio 2013. Needs
more investigation but right now it’s Ludum Dare and I don’t have time.
9 years ago
Sam Hocevar
6914c4e05e
tileset: disable weird inheritance code.
This sort of pImpl inheritance code code was weird, I got rid of it
and added a new pointer in the TileSet class instead.
9 years ago
Sam Hocevar
98ad45046f
lua: disable 64-bit integer setters.
Lua only supports the "double" type for now, so storing a 64-bit integer
would lose information unless it's encapsulated in a more complex type.
I prefer to disable these accessors for now.
9 years ago
Sam Hocevar
d8aa8b3d06
build: add missing #include directive.
9 years ago
Benjamin ‘Touky’ Huet
73f729d2ef
MeshViewer refactor is on good way
Reworked Primitive logic for scene rendering
FileUpdateTester works now .....
9 years ago
Sam Hocevar
2b4d3318d6
Fix a race condition in the file watcher and a few compilation warnings.
9 years ago
Benjamin ‘Touky’ Huet
825401d997
Brought threads to C++11
Revamped thread communication
Fixed dynamic thread Add/Remove
Added unit-test for threads !!!!
9 years ago
Lolbot
3797ac1179
fixed 3 files out of 4212:
- removed 177 CR characters
- removed 12 trailing whitespaces
- replaced 0 tabs with spaces
- fixed 1 svn:eol-style properties
9 years ago
Benjamin ‘Touky’ Huet
921b6d82f5
BuildFIX and meshViewer tweak
9 years ago
Benjamin ‘Touky’ Huet
9acf2e925b
lol Buildfix
9 years ago
Benjamin ‘Touky’ Huet
3f167f2f1d
ImGui 1.37
MeshViewer first pass
9 years ago
Benjamin ‘Touky’ Huet
3e9e6178ae
Small refactor controller tweak
9 years ago
Sam Hocevar
8639d8a0d3
build: move imgui to external/ because it does not really need a complex build system, just one #include.
9 years ago
Sam Hocevar
40fe753e4f
image: remove "color" typedef since we already have the "Color" class, and rename a few things.
9 years ago
Lolbot
4a7d0ca2c5
fixed 36 files out of 4318:
- removed 18805 CR characters
- removed 774 trailing whitespaces
- replaced 1922 tabs with spaces
- fixed 31 svn:eol-style properties
9 years ago
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.
9 years ago
Benjamin ‘Touky’ Huet
0e09074d33
Revamped Game/Draw groups to split stuff and help spreading tick
9 years ago
Benjamin ‘Touky’ Huet
717b01e679
Updated ImGui to 1.36
9 years ago
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
9 years ago
Sam Hocevar
d97087fc8b
lua: fix compilation issues.
9 years ago
Sam Hocevar
3fa66de047
math: remove confusing vector members and fix compilation.
9 years ago
Benjamin ‘Touky’ Huet
bd9fddc5d9
Split Tileset in TextureImage -> Tileset
Added Texture (by image) update in TextureImage (and tileset)
Added lolimgui first integration pass
9 years ago
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
9 years ago
Benjamin ‘Touky’ Huet
4d3d7de4f2
Name refactors for doc stuff
9 years ago
Benjamin ‘Touky’ Huet
6c3dd67bc0
Controller refactor to enforce InputProfile usage (because why not)
DefaultThreadManager build FIX
9 years ago
Benjamin ‘Touky’ Huet
9c07e8c2e0
Added Thread classes
Added InputProfile in Controller
Added ExecLuaCode
9 years ago
Benjamin ‘Touky’ Huet
52d531166b
trying new helpers
9 years ago
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
9 years ago
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
9 years ago
Benjamin ‘Touky’ Huet
00807670b9
Easymesh test tuto works with lua, but EzMesh seems broken.
9 years ago
Benjamin ‘Touky’ Huet
8222295f3b
2nd pass on Lua integration.
First pass on EzMesh integration (doesn't work yet)
9 years ago
Benjamin ‘Touky’ Huet
6155ee02e6
Oooooops .... buildfix
9 years ago
Benjamin ‘Touky’ Huet
106a7632d1
Small folders tweaks
9 years ago
Benjamin ‘Touky’ Huet
baae344fc2
lua property get/set added, not as nice as I wished, but working.
9 years ago
Benjamin ‘Touky’ Huet
77c0ae241b
tidied up the lua tutorial
9 years ago
Benjamin ‘Touky’ Huet
77420f6b55
small lua code refactor
9 years ago
Benjamin ‘Touky’ Huet
cf888d721d
3rd pass on lua classes. It works now. It's ..... ALIIIIIIVE
9 years ago
Guillaume Bittoun
b1e1f23b8f
matrix: using permutation and LU decomposition for determinant and inverse computing
9 years ago
Guillaume Bittoun
ace6e55975
matrix: adding permutation determinant
9 years ago
Guillaume Bittoun
ed2e6cd95a
matrix: using vec_t for permutation logic
9 years ago
Guillaume Bittoun
3279f3fe84
matrix: p_matrix tiny cleanup
9 years ago
Guillaume Bittoun
c30c60671b
matrix: adding permutation matrix computing
9 years ago
Sam Hocevar
483f0d32be
build: fix small Makefile error.
9 years ago
Lolbot
e4098f0db7
fixed 5 files out of 4252:
- removed 147 CR characters
- removed 1 trailing whitespaces
- replaced 0 tabs with spaces
- fixed 5 svn:eol-style properties
9 years ago