fgenesis
167e6da372
some wip things but will probably throw this away
2021-01-11 19:00:37 +01:00
fgenesis
08b971b7ba
opening debug menu and overlay works again
2020-08-11 18:02:19 +02:00
fgenesis
f31a8c8e89
more oops
2020-08-11 13:30:10 +02:00
fgenesis
262c8d3870
oops
2020-08-11 12:59:50 +02:00
fgenesis
af711f00b5
wip replacing input handling system; compiles and runs but is broken
2020-08-11 12:04:15 +02:00
fgenesis
c80176d20a
preliminary support for joystick POV-hats
2020-07-07 22:30:25 +02:00
fgenesis
53b027067a
improvements to key config menu
...
- hide actionset selection if only 1 set is present
- show keys pressed
- highlight "tabs" a bit more visually
- rumble selected controller on device select change
2020-07-07 16:24:03 +02:00
Yaroslav Isakov
74e196daa5
Force desktop OpenGL
2020-07-01 18:46:13 +02:00
fgenesis
1de786efc6
Fix bug that a bone's rq="0" attribute would disappear when skel was saved while visible
2019-09-06 02:56:53 +02:00
fgenesis
61f1e87180
fix uninitialized ptr. ooopsie
2019-04-15 02:26:48 +02:00
fgenesis
6704fd1ac6
fix SDL 1.2 window focus handling
2019-03-24 21:15:27 +01:00
fgenesis
0abe0f821c
hard-wire Escape key to always trigger ACTION_ESC.
...
Additional config for more keys/button to trigger the same action
is still possible.
2019-03-18 01:07:14 +01:00
fgenesis
77709a2d85
Display errors when loading XML fails
2019-03-18 00:50:56 +01:00
fgenesis
b7a6b52fe5
SDL window backend cleanup
2019-03-18 00:50:36 +01:00
fgenesis
04c557f5e8
Refactor Window functionality out of Core. Minor cleanups.
...
SDL2 impl seems to work, SDL1 impl finalization pending.
2019-01-29 00:36:48 +01:00
fgenesis
3fe9b1590c
SDL 1.2 backend compiles again, but window stays black
2018-04-17 01:28:23 +02:00
fgenesis
5f2eafad7c
temp commit
2018-01-21 12:47:32 +01:00
fgenesis
8f565c6171
Include stringbank.txt into binary in case stringbank.txt is out of date
...
This makes sure engine-internal strings are always present.
2018-01-02 20:59:38 +01:00
fgenesis
ce4f6a7d3e
move StringBank to BBGE
2018-01-02 17:00:27 +01:00
fgenesis
3a96c775db
work around dev warning message; fix compiler warning
2018-01-02 16:18:50 +01:00
fgenesis
64406419c1
Some fixes for msys2/mingw build
2017-09-02 22:13:46 +02:00
fgenesis
bd0e16774f
Remove some old/unused cruft
2017-08-09 21:01:56 +02:00
fgenesis
78352d4402
Multi-display fixes
...
- Enumerate display modes to show in the resolution selector based on the
screen we're on
- Correct graphics init code to use the display index specified in
user settings
2017-06-26 08:34:30 +02:00
fgenesis
6f170de929
Proper ~Joystick() dtor. Make haptics optional. Hopefully fixes #50 .
2017-06-25 15:56:45 +02:00
fgenesis
2bbcfa2284
Fix some ANimationEditor crashes when loading not-existing or empty anim XML
2017-04-19 02:06:34 +02:00
fgenesis
acb515b738
Unstick highlight in input config
2017-04-04 19:27:53 +02:00
fgenesis
19e967c7dd
Fix crash in static initializer (how did this ever work?)
2017-02-27 02:03:46 +01:00
fgenesis
f75f81854a
Check input strings in config for overflow
2017-02-27 02:03:19 +01:00
fgenesis
7f20f79d97
Display designated "empty" symbol on key config menu for unbound slots
2017-02-19 03:47:21 +01:00
fgenesis
dd4739e9a0
Now runs with both SDL 1.2 and SDL2 again
2017-02-19 01:45:55 +01:00
fgenesis
eccadf5bd7
Turns out using IDs was a bad idea, reverting to KEY_* strings
2017-02-18 22:09:43 +01:00
fgenesis
3dda97d32a
Hopefully fix build against SDL 1.2. Does not yet run!
...
Also: Recently introduced key names in usersettings.xml will no longer work.
But this should automatically detect key names as they used to be,
and convert automatically. Needs testing.
2017-02-15 04:41:52 +01:00
fgenesis
4095fde219
Move GL headers to ExternalLibs
2017-02-15 01:03:43 +01:00
James Le Cuirot
0dd19f9cb3
Add option to use system copy of GLPNG
2017-02-10 10:01:35 +00:00
James Le Cuirot
4d1fa75545
Put tinyxml2 in subdir so that system header is respected
2017-02-10 10:01:24 +00:00
James Le Cuirot
f19011e3dd
Delete duplicate GL headers
...
Nothing was pointing at BBGE/glext.
Only the VS project was pointing at ExternalLibs/GL. I have pointed it
at the headers under BBGE/GL instead.
I have also adjusted the includes to use the GL prefix as is standard
practise. These will still work as BBGE is in the include path. This
allows users to build against their system GL headers simply by
deleting the BBGE/GL directory.
2017-02-09 21:08:57 +00:00
fgenesis
89c1987693
Fix crash on shutdown
...
GL symbols were already unloaded in ~DarkLayer().
Why did this never crash before?!
2017-02-08 22:11:55 +01:00
fgenesis
58e3a247e4
Fix build on osx
2017-02-06 03:37:07 +01:00
fgenesis
7456e785fa
Remove mandatory defines and their checks:
...
BBGE_BUILD_SHADERS
BBGE_BUILD_FRAMEBUFFER
BBGE_BUILD_OPENGL
BBGE_BUILD_OPENGL_DYNAMIC
2017-02-05 22:51:25 +01:00
fgenesis
c581ab01d8
Some preparations to compile with SDL1.2 (not yet!)
2017-02-05 21:25:06 +01:00
fgenesis
a3fb57fde9
un-recurse a thing
2017-01-21 03:34:38 +01:00
fgenesis
8411838636
Remove entity myTimer and related Lua functions. Fix warnings for now unsigned Entity::layer
...
- entity_resetTimer()
- entity_stopTimer()
2017-01-20 20:54:17 +01:00
Valentin Ochs
9245bee717
Fix some warnings
...
mostly sign-related, but also some about commas after the last item in
an enum list, usage of default in switches, implicit or old-style casts
2017-01-20 19:10:40 +01:00
fgenesis
d7cdb72143
Some more warning related stuff, but changed my mind about re-enabling the remaining ones :/
2017-01-19 23:44:30 +01:00
fgenesis
7a60f493a5
Re-enable double->float cast warning and fix all instances where this fired
2017-01-19 23:31:56 +01:00
fgenesis
9bb3fe86f6
More signed/unsigned comparison fixes. int -> size_t.
2017-01-19 18:50:33 +01:00
Valentin Ochs
f9357e7fca
Merge branch 'gccwarn' into controllerfixup
2017-01-17 11:15:47 +01:00
fgenesis
9d80077754
Preparations to get rid of DSQ::inputMode -- Pass device to action() methods.
2017-01-14 22:53:20 +01:00
Valentin Ochs
beb2216265
Change some stuff for butt-endian architectures
2017-01-14 20:10:42 +01:00
Valentin Ochs
2374c1a86b
Revert ~0 to -1
2017-01-14 19:22:37 +01:00