Commit Graph

295 Commits

Author SHA1 Message Date
Lynix 71c11c5d6f Add PlatformSDL2_Path config 2020-05-27 16:58:21 +02:00
Jérôme Leclercq 1425f99edf Merge branch 'master' into SDL2 2020-05-27 11:11:21 +02:00
Lynix 0cedd108a1 Add ReleaseWithDebug 2019-12-12 09:58:11 +01:00
Lynix 6c733ec197 Add VS2019 shortcut
+ include premake projects by default
2019-07-21 11:18:36 +02:00
Lynix ab5188c57d Add scancode and virtual key and fix some sdl stuff on Windows 2019-05-19 16:34:29 +02:00
Apjue 1a8a5e612e Set start project 2019-05-12 16:07:21 +02:00
REMqb 848f05a420 ~ Initial SDL2 implementation
Limitation
- Dependent projects need to set NAZARA_PLATFORM_SDL2 if nazara has been build with SDL2 since OpenGL.hpp (and maybe some other headers) exposes platform details
- SDL2 window doesn't supports async window since the API isn't fitting for now
- Contexts parameters can't be changed until we close all the SDL windows (SDL limitation)
2019-04-03 21:17:06 +02:00
Apjue f4e6f6a44f Premake: Set libraries' rpath to current folder (#199)
* Set libraries' rpath to .

* Update changelog
2019-03-06 23:00:30 +01:00
Lynix 754823f46e Merge branch 'master' of https://github.com/DigitalPulseSoftware/NazaraEngine 2019-02-02 02:09:37 +01:00
Lynix 58c99e80f1 Enable MSVC conformance options 2019-02-02 02:09:34 +01:00
Alexandre Janniaux e075b59019 premake: use omitframepointer instead of deprecated NoFramePointer (#195)
* premake: update to version 5 alpha 13

* premake: use omitframepointer instead of deprecated NoFramePointer
2019-01-21 15:27:40 +01:00
Jérôme Leclercq 53aa9ea170 Layouts (#189)
* Layout WIP

* Widgets/BoxLayout: Fix layout algorithm

* Widgets/BoxLayout: Fix box layout algorithm for good

* SDK/Widgets: Remove padding

* Sdk/Widgets: Make use of minimum/preferred size

* Sdk/TextAreaWidget: Add Minimum/PreferredSize to TextArea

* Sdk/Widgets: Add height/width variants of get/set fixed, maximum, minimum and preferred size methods

* Sdk/BoxLayout: Remove useless code

* Sdk/TextAreaWidget: Fix compilation

* Widgets/TextAreaWidget: Fix cursor position
2018-09-11 21:03:44 +02:00
Jérôme Leclercq f0e215f8f5 Math/Angle: Optimize SinCos on Linux 2018-09-05 15:15:02 +02:00
S6066 652ecd2404 [Premake5: package] Fix typo in pack-libdir's description (#186) 2018-08-28 22:35:20 +02:00
Lynix 9ecfe31637 Build: Copy .dll only if host is Windows 2018-08-08 10:35:49 +02:00
Lynix 39d1d31639 Core: Integrated Unicode data 2018-08-03 20:24:56 +02:00
Faymoon 217d971fe7 fix launch error for premake (#167)
* fix error of launch for premake

* fix launch error for premake

* fix launch error for premake

* fix launch error for premake

* fix launch error for premake

* fix launch error for premake

* Update Generate_UnicodeData.bat

* fix launch error for premake

* fix launch error for premake

* fix launch error for premake
2018-06-28 16:12:12 +02:00
Lynix 456f2b32e7 Build: Fix install/executable paths 2018-06-10 15:49:11 +02:00
Lynix efa727dfd4 Build: Fix thirdparty target dir 2018-05-21 19:28:33 +02:00
Jérôme Leclercq f864fc8a52 Build: Gather projects around categories 2018-05-16 12:55:36 +02:00
Jérôme Leclercq aa18355997 Delete Makefile which has nothing to do here 2018-04-24 22:08:30 +02:00
Jérôme Leclercq 8a1d61c3ea Merge branch 'master' of https://github.com/DigitalPulseSoftware/NazaraEngine 2018-04-16 12:56:15 +02:00
Lynix a48dc11063 Fix compilation in server mode 2018-04-14 00:08:50 +02:00
Alexandre Janniaux f8d1959d87 Fix gmake2 makefile by filtering gmake* instead of gmake
From a proposition of github.com/tdesveauxPKFX, filter on gmake*
generator instead of gmake so as to add library output directory.

Fixes #155
2018-04-02 20:45:03 +02:00
Lynix 7875ece869 Build: Fix platform module not being client-only 2018-02-25 18:21:42 +01:00
Jérôme Leclercq 1feb4b2ba7 Build: defines NDEBUG in Release 2018-02-09 17:16:51 +01:00
Lynix db7f778672 Build self-hosted lib in a different folder and .gitignore it 2018-02-07 18:18:55 +01:00
germinolegrand 1e55c4d9e9 Prerequisites instead of Prerequesites (typo) #152 (#153) 2018-01-16 12:23:01 +01:00
Lynix 0b2d5b9332 Build: Improve coherence
This will prevent regeneration of the project for no reason.
There's a remaining bug with the units tests (which sometimes are processed before SDK, thus ending with less dependencies libraries)
2018-01-14 14:24:23 +01:00
Lynix 54015a9f44 Fix previous fix ... 2018-01-13 12:12:48 +01:00
Lynix dc9b8549dc Fix some chipmunk warnings 2018-01-13 12:08:23 +01:00
Jérôme Leclercq 26049ebc0e Add chipmunk source code
And upgrade it to 7.0.2
2018-01-11 14:09:14 +01:00
Jérôme Leclercq 588b7487f6 Rename extlibs to thirdparty 2018-01-11 12:57:42 +01:00
Lynix 61ecedfe8c Build: Merged extern workspace to main (and only) workspace
Also removed extern libraries precompiled binaries
2018-01-06 02:45:20 +01:00
Lynix 02d76aee5d Build: Fix exclusion not working 2017-12-02 14:39:40 +01:00
Lynix 547ad8682f Build: Add Category and possibility to excludes whole category with one command 2017-12-02 14:24:35 +01:00
Jérôme Leclercq cb57721a65 Package: Fix resource copy on Linux 2017-10-10 21:52:33 +02:00
Jérôme Leclercq 15c37d1524 Build: Fix lua error in package.lua 2017-09-07 17:21:27 +02:00
Jérôme Leclercq b26d0d92d5 Build: Disable premake project by default 2017-09-07 16:50:54 +02:00
Jérôme Leclercq 3d7799ec62 Update build script to match Lua 5.3 and new Premake version 2017-09-07 16:23:43 +02:00
Jérôme Leclercq 2e832984ca Update Premake 2017-09-07 16:16:22 +02:00
Lynix 46d021c29c Commit weird newlines files 2017-08-30 18:09:16 +02:00
Lynix 4df9c94eb0 Build: Fix a missing config option 2017-08-30 15:16:35 +02:00
S6066 55ca4a84ea Added CheckboxWidget (#130)
* Started Checkbox Widget (buggy)

* Added features

* Added enabling feature

* Almost finished Checkbox

* Bugfix

* Bugfixes

* Use a better name

* Optimizations

* Added explicit colors

* ...

* changed lots of things

* Almost finished CheckboxWidget

* Almost almost finished

* Use better UTF8 box

* Edited encode resources script to encode SDK resources

* Finished checkbox widget

* Forgot to delete old function

* Forgot to delete todo comment

* Fix Travis compilation

* Fix Travis compilation a second time

* Fix Travis Compilation a third time

* Fix indentation

* Fix Files encoding

* Moved CheckboxState enum in (new) Enum.hpp

* Probably looks like more generated now

* Reorder CheckboxWidget members

* Reorder checkbox state members

* Reorder members 2...

* Oops

* Reorder members functions

* Fix encoding

* Fix files encoding

* Forgot to fix one file encoding

* Fix SDK Server

* Fix encoding again -_-

* Oops

* Optimize Checkbox Widget

* Fix .gitignore

* Removed .vs in gitignore

* Moved Enums into Widgets folder

* Bugfix

* Fix Encode Resources script

* Remove double line feeds

* Rename SetNextState to SwitchToNextState
2017-08-30 10:25:42 +02:00
Gawaboumga 5aa072cee3 New module: Platform - Split window management from Utility module (#128)
* New module: Platform - Split window management from Utility module

Final touch

* NDK/SDK: Bring back initialization of Utility
2017-08-30 10:22:50 +02:00
Lynix 9806231b5c Oops 2017-08-20 21:40:42 +02:00
Lynix 885804e58a Disable PremakeProject for non-Windows OSes 2017-08-20 21:37:45 +02:00
Lynix a2a05f6d92 Build: Add PremakeProject config value 2017-08-20 21:33:42 +02:00
Lynix 973e3b094a Build: Add PremakeProject option 2017-08-14 01:59:17 +02:00
Jérôme Leclercq eac2919551 Build/Package: Copy .pdb in the bin directory 2017-04-05 10:10:42 +02:00