0ce1d25594
examples/build.lua: rename example_settings to just settings as it's a locale variable anyway.
2022-09-10 21:37:22 +02:00
315f2e9c41
examples/build.lua: skip using BuildExamples(). just run the code directly here as we wont need it anywhere else.
2022-09-10 21:34:52 +02:00
421bf819d5
examples/build.lua: Unix systems needs to link with xrandr.
2020-12-19 18:55:11 +01:00
1cfd4adca4
bam: adding unix support.
2020-12-19 18:55:10 +01:00
4d69ff3a18
Adding Display Example
2020-12-09 02:45:40 +01:00
b0d14b91e0
Adding Input Example.
2020-10-16 19:38:05 +02:00
1332921174
examples/events/EventsExample.cpp: handle mouse button events also.
2020-10-16 19:37:56 +02:00
c09febc4d8
examples/events/EventsExample.cpp: store std::string instead of char pointer.
...
Some compilers (ehm, microsoft) returns a temporary variable for event.key.getKeyName() that is only valid during the statement and not scope.
Fix this by storing std::string instead. So the object's lifetime is the entire if statement.
2020-10-14 13:50:52 +02:00
49f42e98f4
Adding Event example
2020-10-14 13:21:16 +02:00
52fe72f31f
examples/text/Game.h: no need to include Vector2
2020-02-01 15:48:33 +01:00
a1e4f9347a
examples/text/Game.h: no need to extend sp::InputListener
2020-02-01 15:48:24 +01:00
a19944437b
bam: Define engine library as default target and add "examples" pseudo target.
2020-01-07 06:57:56 +01:00
e4c086a1eb
bam: move examples stuff to it's own file.
2020-01-07 06:55:24 +01:00
c97c75d56f
Remove VS project files.
2019-12-29 22:07:12 +01:00
f67f89715a
Adding bam build system.
2019-12-29 20:45:43 +01:00
e10daeaaa6
Move everything from global namespace to "sp" namespace
...
When writing the X11 (linux) implementation there was a problem with X11 defining a "Display" type and we also have a Display class in the engine.
So to fix that problem and minimize the risk for running into other name conflicts. We move everything from global namespace.
2019-09-30 19:10:17 +02:00
b2dbee33fb
Font: moving text size from font to Text object.
2016-05-05 11:04:54 +02:00
07417491cb
Adding example code and project files.
2016-03-01 09:52:29 +01:00