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
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
Benjamin ‘Touky’ Huet
73f729d2ef
MeshViewer refactor is on good way
Reworked Primitive logic for scene rendering
FileUpdateTester works now .....
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
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
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
0e09074d33
Revamped Game/Draw groups to split stuff and help spreading tick
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
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
9c07e8c2e0
Added Thread classes
Added InputProfile in Controller
Added ExecLuaCode
9 years ago
Benjamin ‘Touky’ Huet
f67da65818
First pass of EasyMesh split & refactor
Big FAT pass on windows-warning. It is better now.
9 years ago
Sam Hocevar
a782ce8a32
sys: fix a link error on Win32.
9 years ago
Sam Hocevar
f791b672ed
misc: lots of compilation fixes for Visual Studio (related to mediocre
support for enable_if and other template metaprogramming techniques),
for Clang (related to static const template class member initialisation)
and for GCC (related to forward declaration of non-int enum classes).
9 years ago
Sam Hocevar
9cf137e47d
sys: fix an idiotic bug in the thread class.
10 years ago
Sam Hocevar
a07844682e
build: remove dead PS3 code.
10 years ago
Sam Hocevar
8657a3adfa
sys: use std::bind for thread workers to avoid ugly casts.
10 years ago
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.
10 years ago
Sam Hocevar
cd988786b9
build: reorganise includes so that we can use precompiled headers later.
10 years ago
Sam Hocevar
0bc2ec0480
build: move VS solution one directory below and create a VS2014 solution.
10 years ago
Sam Hocevar
4be9ea2a4e
misc: replace NULL with nullptr.
10 years ago
Sam Hocevar
e996e953c8
sys: fix unititialised class member in File.
10 years ago
Sam Hocevar
fe665f85b4
base: strip core.h from its contents and put it in public/private headers.
10 years ago
Sam Hocevar
378eaec1cb
sys: use the fully working std::atomic instead of our placeholder class.
10 years ago
Sam Hocevar
3862ad59dc
base: going on a lowercase rampage; today’s victim: Array.
10 years ago
Sam Hocevar
79ed58f1f0
Merge branch 'master' into scenegraph
10 years ago
Sam Hocevar
44dec8612e
core: fix minor Windows and Raspberry compilation issues.
10 years ago
Sam Hocevar
7e769d6c79
base: make the safe enums slightly safer. :-)
10 years ago
Lolbot
7f6d2054e5
fixed 5 files out of 2793:
- removed 2 CR characters
- removed 16 trailing whitespaces
- replaced 0 tabs with spaces
- fixed 4 svn:eol-style properties
10 years ago
Benjamin ‘Touky’ Huet
f5e37a4337
AddedSprite_sorter stores parameters now.
Added palette in Scene.
10 years ago
Benjamin ‘Touky’ Huet
670a8914ad
Added thread sort && info build for SpriteSorter
10 years ago
Benjamin ‘Touky’ Huet
25fc3cd5d6
Added Generic thread manager
10 years ago
Benjamin ‘Touky’ Huet
58a0c1001a
ThreadManager is now an entity, it's awesooooome
10 years ago
Benjamin ‘Touky’ Huet
3d4b3d53c3
Added bunch of stuff on threads and images.
10 years ago
Sam Hocevar
c9b8ff54a1
misc: some refactoring in texture handling.
10 years ago
Benjamin ‘Touky’ Huet
fe7f7b9fdb
Added Base directory logic similar to File class, with windows only implementation -for now-
Added tile cam index to have tileset available with other 3d stuff ..... 2014 is now !
10 years ago
Sam Hocevar
f67d7ecb0f
sys: const correctness in file operations.
10 years ago
Sam Hocevar
0f3805be4c
android: various fixes, but the switch to NativeActivity isn't complete.
11 years ago
Sam Hocevar
af2fdff577
android: ensure the asset manager is initialised (hint: it's not).
11 years ago
Sam Hocevar
591caaabdc
sys: some path guessing logic fixes for standalone builds.
11 years ago
Sam Hocevar
ac81bd78a2
core: account for case-insensitive systems for data directories.
11 years ago
Sam Hocevar
15c3039ba5
misc: fix some coding errors found by Coverity.
11 years ago
Benjamin ‘Touky’ Huet
ec9c215459
small tweak on file object.
11 years ago
Sam Hocevar
ca230a60ad
thread: implement Queue::TryPush and Queue::TryPop.
11 years ago
Sam Hocevar
3f67db703e
sys: refactor the binarydir detection code.
11 years ago
Sam Hocevar
f852e8d7e1
build: a lot more emscripten build fixes.
11 years ago
Sam Hocevar
d4372a6a1e
android: open files through the asset manager, meaning Lua works.
11 years ago
Sam Hocevar
5e5deb84d2
build: fix X360 and PS3 builds.
11 years ago
Sam Hocevar
526feb9b80
sys: use progressively larger temporary buffers when reading files.
11 years ago