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.
11 年之前
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.
11 年之前
Benjamin ‘Touky’ Huet
73f729d2ef
MeshViewer refactor is on good way
Reworked Primitive logic for scene rendering
FileUpdateTester works now .....
11 年之前
Benjamin ‘Touky’ Huet
825401d997
Brought threads to C++11
Revamped thread communication
Fixed dynamic thread Add/Remove
Added unit-test for threads !!!!
11 年之前
Benjamin ‘Touky’ Huet
921b6d82f5
BuildFIX and meshViewer tweak
11 年之前
Benjamin ‘Touky’ Huet
9acf2e925b
lol Buildfix
11 年之前
Benjamin ‘Touky’ Huet
3f167f2f1d
ImGui 1.37
MeshViewer first pass
11 年之前
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
11 年之前
Benjamin ‘Touky’ Huet
0e09074d33
Revamped Game/Draw groups to split stuff and help spreading tick
11 年之前
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
11 年之前
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
11 年之前
Benjamin ‘Touky’ Huet
9c07e8c2e0
Added Thread classes
Added InputProfile in Controller
Added ExecLuaCode
11 年之前
Benjamin ‘Touky’ Huet
f67da65818
First pass of EasyMesh split & refactor
Big FAT pass on windows-warning. It is better now.
11 年之前
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.
12 年之前
Benjamin ‘Touky’ Huet
670a8914ad
Added thread sort && info build for SpriteSorter
12 年之前
Benjamin ‘Touky’ Huet
25fc3cd5d6
Added Generic thread manager
12 年之前
Benjamin ‘Touky’ Huet
58a0c1001a
ThreadManager is now an entity, it's awesooooome
12 年之前
Benjamin ‘Touky’ Huet
3d4b3d53c3
Added bunch of stuff on threads and images.
12 年之前
Sam Hocevar
c9b8ff54a1
misc: some refactoring in texture handling.
12 年之前
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 !
12 年之前
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.
13 年之前
Sam Hocevar
f852e8d7e1
build: a lot more emscripten build fixes.
13 年之前
Sam Hocevar
d4372a6a1e
android: open files through the asset manager, meaning Lua works.
13 年之前
Sam Hocevar
5e5deb84d2
build: fix X360 and PS3 builds.
13 年之前
Sam Hocevar
526feb9b80
sys: use progressively larger temporary buffers when reading files.
13 年之前