Sam Hocevar
489b02b077
gpu: fix syntax issue in shader.
The “f” suffix is valid GLSL, but WebGL does not like it so let’s disable it.
преди 9 години
Sam Hocevar
04a5da4652
test: minor unit test refactoring.
преди 9 години
Sam Hocevar
2fa398926d
math: improve the 2D and 3D box classes.
Box objects (AABB) now have the long awaited extent() and center()
methods. Corners are now called “aa” and “bb” for convenience. The
WorldEntity class uses a box3 for its AABB instead of two vec3s.
This allows us to simplify a lot of verbose code.
преди 9 години
Sam Hocevar
732ba3802b
scene: fix a pretty verbose compilation warning.
преди 9 години
Sam Hocevar
2017951589
scene: fix a compilation error on 64-bit architectures.
преди 9 години
Sam Hocevar
d6b7882bda
input: temporary workaround for a bug preventing us from binding the “A” key with SDL.
преди 9 години
Sam Hocevar
144b6b344c
sot3000: more improvememnts.
Disallow firing when no ammo is active, tweak laser position, get rid of
the old tileset, add a title screen.
преди 9 години
Benjamin ‘Touky’ Huet
71ee91fcb1
MultiplMultiScene: Phase 2: No more g_scene access and multiple scene calls support
преди 9 години
Sam Hocevar
30240e46fa
math: deprecate some mixed-case method names.
преди 9 години
Sam Hocevar
e2ba6e44a3
sot3000: make the game code public.
My Ludum Dare 32 entry is now in the main games/ directory and is
called “Size-o-Tron 3000” because… because, that’s all.
преди 9 години
Benjamin ‘Touky’ Huet
25603464d1
Added DRAWGROUP_NONE for entities that don't want to be DrawTicked (for Batcher entities or SpatialPartitioning)
преди 9 години
Benjamin ‘Touky’ Huet
cfcff9acc3
MultiScene: Phase 1: g_scene removal and conversion to Scene::
преди 9 години
Sam Hocevar
a6c681d392
text: fix alignment when rendering text with inter-character spacing.
преди 9 години
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 години
Sam Hocevar
a2b94a9a37
ticker: fix typo in entity.h header.
преди 9 години
Benjamin ‘Touky’ Huet
e9b72ec53a
Added stuff for ticking/drawing main app entity independently from other entities
преди 9 години
Sam Hocevar
591db6b866
text: fix a minor accuracy issue in the text alignment logic.
преди 9 години
Sam Hocevar
1ddc2e83b8
font: make bitmap fonts use linear filtering by default.
преди 9 години
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 години
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 години
Sam Hocevar
2cad5dcb28
ld32: bare files for a Ludum Dare 32 game.
This will be a 2D puzzle platformer. The theme this year is
“Unconventional Weapon”.
преди 9 години
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 години
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 години
Sam Hocevar
d8aa8b3d06
build: add missing #include directive.
преди 9 години
Benjamin ‘Touky’ Huet
3ef2d6d31f
small MeshViewer tweak
преди 9 години
Benjamin ‘Touky’ Huet
73f729d2ef
MeshViewer refactor is on good way
Reworked Primitive logic for scene rendering
FileUpdateTester works now .....
преди 9 години
Sam Hocevar
d33c31279e
Fully move meshviewer to its own subdirectory to avoid build errors.
преди 9 години
Sam Hocevar
2b4d3318d6
Fix a race condition in the file watcher and a few compilation warnings.
преди 9 години
Benjamin ‘Touky’ Huet
825401d997
Brought threads to C++11
Revamped thread communication
Fixed dynamic thread Add/Remove
Added unit-test for threads !!!!
преди 9 години
Benjamin ‘Touky’ Huet
5abbf24a3e
Moved ImGui to a non-versioned-name folder so update are easier (since they happen a lot at this state)
преди 9 години
Benjamin ‘Touky’ Huet
a8642c05c2
small buildfix in lolunit
преди 9 години
Lolbot
7b5ccb47d2
fixed 1892 files out of 4212:
- removed 154050 CR characters
- removed 150 trailing whitespaces
- replaced 1695 tabs with spaces
- fixed 1886 svn:eol-style properties
преди 9 години
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 години
Benjamin ‘Touky’ Huet
921b6d82f5
BuildFIX and meshViewer tweak
преди 9 години
Benjamin ‘Touky’ Huet
44bc2f4d3d
Added the long forgotten meshviewer.h
преди 9 години
Benjamin ‘Touky’ Huet
9acf2e925b
lol Buildfix
преди 9 години
Benjamin ‘Touky’ Huet
3f167f2f1d
ImGui 1.37
MeshViewer first pass
преди 9 години
Benjamin ‘Touky’ Huet
3aac6cb2f2
Reorganizing MeshViewer
преди 9 години
Benjamin ‘Touky’ Huet
3e9e6178ae
Small refactor controller tweak
преди 9 години
Sam Hocevar
8682025a10
build: remove deprecated stuff and fix a few Linux build issues.
преди 9 години
Sam Hocevar
8639d8a0d3
build: move imgui to external/ because it does not really need a complex build system, just one #include.
преди 9 години
Sam Hocevar
40fe753e4f
image: remove "color" typedef since we already have the "Color" class, and rename a few things.
преди 9 години
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 години
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 години
Benjamin ‘Touky’ Huet
0e09074d33
Revamped Game/Draw groups to split stuff and help spreading tick
преди 9 години
Benjamin ‘Touky’ Huet
717b01e679
Updated ImGui to 1.36
преди 9 години
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 години
Sam Hocevar
d97087fc8b
lua: fix compilation issues.
преди 9 години
Sam Hocevar
3fa66de047
math: remove confusing vector members and fix compilation.
преди 9 години
Benjamin ‘Touky’ Huet
bd9fddc5d9
Split Tileset in TextureImage -> Tileset
Added Texture (by image) update in TextureImage (and tileset)
Added lolimgui first integration pass
преди 9 години