Martín Lucas Golini
d08be0ef41
Minor fixes.
...
--HG--
branch : dev-scene
2018-02-02 00:00:11 -03:00
Martín Lucas Golini
8646a79472
Clip flag goes to Scene::Node.
...
--HG--
branch : dev-scene
2018-02-01 17:14:11 -03:00
Martín Lucas Golini
542828c0bb
Fixes.
...
--HG--
branch : dev-scene
2018-02-01 16:48:30 -03:00
Martín Lucas Golini
81ff7cdaed
Scene::Node WIP.
...
--HG--
branch : dev-scene
2018-02-01 03:00:55 -03:00
Martín Lucas Golini
9b09e0189e
Experimental branch.
...
I want to add a Scene Manager that supports Nodes.
The UINode must inherit Scene::Node.
--HG--
branch : dev-scene
2018-01-31 23:24:59 -03:00
Martín Lucas Golini
dd20e489f1
Renamed UINode::mSize to UINode::mDpSize and UINode::mRealSize to UINode::mSize.
...
--HG--
branch : dev-2.1
2018-01-31 22:46:32 -03:00
Martín Lucas Golini
be9092a056
Minor clean up for NODE_FLAGS_VALUES.
...
--HG--
branch : dev-2.1
2018-01-31 21:56:11 -03:00
Martín Lucas Golini
526c87589e
Merged in dev-2.1-float (pull request #4 )
...
Dev 2.1 float
--HG--
branch : dev-2.1
2018-02-01 00:30:01 +00:00
Martín Lucas Golini
0f3d3e76ff
Close branch dev-2.1-float
...
--HG--
branch : dev-2.1-float
2018-02-01 00:30:01 +00:00
Martín Lucas Golini
467359a41d
Some improvements.
...
--HG--
branch : dev-2.1-float
2018-01-31 03:07:44 -03:00
Martín Lucas Golini
935f02c3f4
Fixed paddings.
...
--HG--
branch : dev-2.1-float
2018-01-30 03:09:25 -03:00
Martín Lucas Golini
64379c9211
UINode::setSize is float ( and a lot of related fields too ).
...
--HG--
branch : dev-2.1-float
2018-01-30 02:19:42 -03:00
Martín Lucas Golini
9fa2a453ba
Added Window::setCloseRequestCallback to be able to control the window close request from the window manager.
...
--HG--
branch : dev-2.1-float
2018-01-29 23:30:08 -03:00
Martín Lucas Golini
bfa8075876
Removed mRealPos from UINode, now uses mPosition from Transformable.
...
--HG--
branch : dev-2.1-float
2018-01-29 17:21:21 -03:00
Martín Lucas Golini
b9d84b447a
More changes.
...
--HG--
branch : dev-2.1-float
2018-01-29 12:44:25 -03:00
Martín Lucas Golini
268d8e81c5
Some fixes.
...
--HG--
branch : dev-2.1-float
2018-01-29 03:54:23 -03:00
Martín Lucas Golini
1361f5e002
Testing if i can move to UI float positions without breaking everything.
...
--HG--
branch : dev-2.1-float
2018-01-29 03:04:40 -03:00
Martín Lucas Golini
866b8e543e
Minor change.
...
--HG--
branch : dev-2.1
2018-01-29 01:35:52 -03:00
Martín Lucas Golini
b41522a69d
UINode improvements.
...
UIWindow fix.
--HG--
branch : dev-2.1
2018-01-29 00:00:54 -03:00
Martín Lucas Golini
9478edf3b0
Typo.
...
--HG--
branch : dev-2.1
2018-01-28 04:56:45 -03:00
Martín Lucas Golini
6edbf33ac6
Some bugfixes and added Map Editor tool.
...
--HG--
branch : dev-2.1
2018-01-28 04:55:26 -03:00
Martín Lucas Golini
c55e86455d
Minor refactor.
...
--HG--
branch : dev-2.1
2018-01-27 20:53:27 -03:00
Martín Lucas Golini
e630918918
Minor changes.
...
--HG--
branch : dev-2.1
2018-01-27 16:43:01 -03:00
Martín Lucas Golini
e75826e6cf
Minor changes to Window.
...
--HG--
branch : dev-2.1
2018-01-27 12:50:29 -03:00
Martín Lucas Golini
97a9fe8d07
Added DisplayManager::enableScreenSaver and DisplayManager::disableScreenSaver.
...
--HG--
branch : dev-2.1
2018-01-27 04:13:42 -03:00
Martín Lucas Golini
3c0e4d7ed5
Added Window::DisplayManager ( implementing DisplayManagerSDL2 and DisplayManagerSFML ).
...
Engine instance is now automatically started and destroyed.
Forced the default working directory as the process path directory at start.
--HG--
branch : dev-2.1
2018-01-27 03:55:39 -03:00
Martín Lucas Golini
80e04d0d5b
Some minor fixes.
...
--HG--
branch : dev-2.1
2018-01-27 00:44:52 -03:00
Martín Lucas Golini
6acfd50001
Changed display pixel density calculation.
...
--HG--
branch : dev-2.1
2018-01-26 16:53:57 -03:00
Martín Lucas Golini
3bb3475238
Set TextureFilter to Texture Atlas.
...
--HG--
branch : dev-2.1
2018-01-26 02:25:53 -03:00
Martín Lucas Golini
d4e5d84631
Fixed Android build.
...
Updated SDL2 to SDL 2.0.8 (current dev).
--HG--
branch : dev-2.1
2018-01-26 01:25:11 -03:00
Martín Lucas Golini
b4982e5554
Added Texture Atlas Editor as a tool app.
...
Added Window::getCurrentDisplayDPI and Window::getDisplayPixelDensity.
Also some minor fixes.
--HG--
branch : dev-2.1
2018-01-26 00:28:32 -03:00
Martín Lucas Golini
9af7ea19c9
Minor refactor.
...
--HG--
branch : dev-2.1
2018-01-22 02:53:38 -03:00
Martín Lucas Golini
85cb16a4ec
Use Nearest filter by default in sprite fonts.
...
--HG--
branch : dev-2.1
2018-01-22 00:21:55 -03:00
Martín Lucas Golini
fba9460bfd
Added FontSprite class for font sprite support ( XNA Font Sprites ).
...
--HG--
branch : dev-2.1
2018-01-22 00:17:48 -03:00
Martín Lucas Golini
04e4646130
TextureFactory::bind fixed.
...
Added BMFont support.
--HG--
branch : dev-2.1
2018-01-21 20:38:16 -03:00
Martín Lucas Golini
65e7c3af6a
Removed a warning.
...
--HG--
branch : dev-2.1
2018-01-20 23:35:26 -03:00
Martín Lucas Golini
cadfcde531
Fixed MSVC build.
...
--HG--
branch : dev-2.1
2018-01-20 23:30:13 -03:00
Martín Lucas Golini
71530bffef
Fix correct use of iterators ( cppcheck warnings ).
...
--HG--
branch : dev-2.1
2018-01-19 21:09:04 -03:00
Martín Lucas Golini
1e88d82684
Resize the batch renderer instead of flushing it when the number of vertex
...
reach the limit.
--HG--
branch : dev-2.1
2018-01-19 20:42:24 -03:00
Martín Lucas Golini
8cd531602b
Simplified the renderers, added RendererGLShader, a base class for all the shader based renderers ( GL3, GL3CP, GLES2 ).
...
Converted the shaders strings as raw string literals.
--HG--
branch : dev-2.1
2018-01-19 00:08:44 -03:00
Martín Lucas Golini
0801d4c23d
Added support to GL_TEXTURE_MATRIX on the renderers.
...
Added Texture::CoordinateType and implemented the support to the TextureFactory::bind.
Some refactor was made.
Text now uses CoordinateType::Pixel.
--HG--
branch : dev-2.1
2018-01-18 02:31:53 -03:00
Martín Lucas Golini
1815b9f6d3
Allow to batch any primitive type by point.
...
--HG--
branch : dev-2.1
2018-01-17 02:53:06 -03:00
Martín Lucas Golini
249d605261
Merge with dev-2.1-transformable-node
...
--HG--
branch : dev-2.1
2018-01-15 17:29:13 -03:00
Martín Lucas Golini
6e61171a85
Minor test.
...
--HG--
branch : dev-2.1-transformable-node
2018-01-15 17:27:19 -03:00
Martín Lucas Golini
d59f25168f
Clean up and fixes.
...
--HG--
branch : dev-2.1-transformable-node
2018-01-15 16:58:00 -03:00
Martín Lucas Golini
5ec7a0cbed
Transformable working.
...
--HG--
branch : dev-2.1-transformable-node
2018-01-15 16:34:29 -03:00
Martín Lucas Golini
b18c7b06e8
WIP doesn't work.
...
--HG--
branch : dev-2.1-transformable-node
2018-01-15 14:36:04 -03:00
Martín Lucas Golini
5fd3e55344
Reverted bad refactor.
...
--HG--
branch : dev-2.1
2018-01-15 02:30:02 -03:00
Martín Lucas Golini
b1947d6d0b
Minor refactor.
...
Added Math::Transformable.
--HG--
branch : dev-2.1
2018-01-14 19:59:37 -03:00
Martín Lucas Golini
fb8a8ac797
Update dirty view.
...
--HG--
branch : dev-2.1
2018-01-14 14:00:10 -03:00