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