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.
hace 11 años
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.
hace 11 años
Benjamin ‘Touky’ Huet
73f729d2ef
MeshViewer refactor is on good way
Reworked Primitive logic for scene rendering
FileUpdateTester works now .....
hace 11 años
Benjamin ‘Touky’ Huet
825401d997
Brought threads to C++11
Revamped thread communication
Fixed dynamic thread Add/Remove
Added unit-test for threads !!!!
hace 11 años
Benjamin ‘Touky’ Huet
921b6d82f5
BuildFIX and meshViewer tweak
hace 11 años
Benjamin ‘Touky’ Huet
9acf2e925b
lol Buildfix
hace 11 años
Benjamin ‘Touky’ Huet
3f167f2f1d
ImGui 1.37
MeshViewer first pass
hace 11 años
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
hace 11 años
Benjamin ‘Touky’ Huet
0e09074d33
Revamped Game/Draw groups to split stuff and help spreading tick
hace 11 años
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
hace 11 años
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
hace 11 años
Benjamin ‘Touky’ Huet
9c07e8c2e0
Added Thread classes
Added InputProfile in Controller
Added ExecLuaCode
hace 11 años
Benjamin ‘Touky’ Huet
f67da65818
First pass of EasyMesh split & refactor
Big FAT pass on windows-warning. It is better now.
hace 11 años
Sam Hocevar
a782ce8a32
sys: fix a link error on Win32.
hace 11 años
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).
hace 11 años
Sam Hocevar
9cf137e47d
sys: fix an idiotic bug in the thread class.
hace 11 años
Sam Hocevar
a07844682e
build: remove dead PS3 code.
hace 11 años
Sam Hocevar
8657a3adfa
sys: use std::bind for thread workers to avoid ugly casts.
hace 11 años
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.
hace 11 años
Sam Hocevar
cd988786b9
build: reorganise includes so that we can use precompiled headers later.
hace 11 años
Sam Hocevar
0bc2ec0480
build: move VS solution one directory below and create a VS2014 solution.
hace 11 años
Sam Hocevar
4be9ea2a4e
misc: replace NULL with nullptr.
hace 12 años
Sam Hocevar
e996e953c8
sys: fix unititialised class member in File.
hace 12 años
Sam Hocevar
fe665f85b4
base: strip core.h from its contents and put it in public/private headers.
hace 12 años
Sam Hocevar
378eaec1cb
sys: use the fully working std::atomic instead of our placeholder class.
hace 12 años
Sam Hocevar
3862ad59dc
base: going on a lowercase rampage; today’s victim: Array.
hace 12 años
Sam Hocevar
79ed58f1f0
Merge branch 'master' into scenegraph
hace 12 años
Sam Hocevar
44dec8612e
core: fix minor Windows and Raspberry compilation issues.
hace 12 años
Sam Hocevar
7e769d6c79
base: make the safe enums slightly safer. :-)
hace 12 años
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
hace 12 años
Benjamin ‘Touky’ Huet
f5e37a4337
AddedSprite_sorter stores parameters now.
Added palette in Scene.
hace 12 años
Benjamin ‘Touky’ Huet
670a8914ad
Added thread sort && info build for SpriteSorter
hace 12 años
Benjamin ‘Touky’ Huet
25fc3cd5d6
Added Generic thread manager
hace 12 años
Benjamin ‘Touky’ Huet
58a0c1001a
ThreadManager is now an entity, it's awesooooome
hace 12 años
Benjamin ‘Touky’ Huet
3d4b3d53c3
Added bunch of stuff on threads and images.
hace 12 años
Sam Hocevar
c9b8ff54a1
misc: some refactoring in texture handling.
hace 12 años
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 !
hace 12 años
Sam Hocevar
f67d7ecb0f
sys: const correctness in file operations.
hace 12 años
Sam Hocevar
0f3805be4c
android: various fixes, but the switch to NativeActivity isn't complete.
hace 12 años
Sam Hocevar
af2fdff577
android: ensure the asset manager is initialised (hint: it's not).
hace 12 años
Sam Hocevar
591caaabdc
sys: some path guessing logic fixes for standalone builds.
hace 12 años
Sam Hocevar
ac81bd78a2
core: account for case-insensitive systems for data directories.
hace 12 años
Sam Hocevar
15c3039ba5
misc: fix some coding errors found by Coverity.
hace 12 años
Benjamin ‘Touky’ Huet
ec9c215459
small tweak on file object.
hace 12 años
Sam Hocevar
ca230a60ad
thread: implement Queue::TryPush and Queue::TryPop.
hace 13 años
Sam Hocevar
3f67db703e
sys: refactor the binarydir detection code.
hace 13 años
Sam Hocevar
f852e8d7e1
build: a lot more emscripten build fixes.
hace 13 años
Sam Hocevar
d4372a6a1e
android: open files through the asset manager, meaning Lua works.
hace 13 años
Sam Hocevar
5e5deb84d2
build: fix X360 and PS3 builds.
hace 13 años
Sam Hocevar
526feb9b80
sys: use progressively larger temporary buffers when reading files.
hace 13 años