1
0
Fork 0
mirror of https://github.com/AquariaOSE/Aquaria.git synced 2025-08-20 21:40:54 +00:00
Commit graph

496 commits

Author SHA1 Message Date
fgenesis
03c698320a Merge branch 'experimental' into controllerfixup
# Conflicts:
#	Aquaria/AnimationEditor.cpp
#	Aquaria/AquariaComboBox.cpp
#	Aquaria/AquariaMenuItem.h
#	Aquaria/Avatar.cpp
#	Aquaria/BitBlotLogo.cpp
#	Aquaria/Continuity.cpp
#	Aquaria/DSQ.cpp
#	Aquaria/DSQ.h
#	Aquaria/Game.cpp
#	Aquaria/Game.h
#	Aquaria/Intro.cpp
#	Aquaria/RecipeMenuEntry.cpp
#	Aquaria/SceneEditor.cpp
#	Aquaria/States.h
#	Aquaria/UserSettings.cpp
#	BBGE/ActionMapper.cpp
#	BBGE/Base.cpp
#	BBGE/BitmapFont.h
#	BBGE/Core.cpp
#	BBGE/Core.h
#	BBGE/ParticleManager.cpp
#	BBGE/Particles.h
#	BBGE/RenderObject.h
#	BBGE/Shader.cpp
#	BBGE/Shader.h
#	BBGE/SkeletalSprite.h
#	BBGE/Texture.cpp
#	BBGE/Vector.h
2021-01-12 00:26:44 +01:00
fgenesis
812848e382 Fix crash on startup 2021-01-11 19:26:32 +01:00
Valentin Ochs
c3f1058ff2 Change some stuff for butt-endian architectures 2021-01-11 12:28:27 +01:00
Valentin Ochs
d57d989963 This one slipped through 2021-01-11 12:28:27 +01:00
Valentin Ochs
4c7c4c240e Fix some more warnings 2021-01-11 12:28:27 +01:00
Valentin Ochs
b9d402199c Get rid of a lot of gcc warnings
Mostly signed/unsigned comparisons. Also some bugs, but I don't remember
where :D
2021-01-11 12:28:27 +01:00
fgenesis
36059deae0 remove some unused code 2020-07-13 23:13:07 +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
fgenesis
04bf58ab91 remove minActionSets config setting 2020-07-07 16:22:18 +02:00
fgenesis
a939bc2660 don't warn about nested main in key config 2020-06-19 20:42:33 +02:00
fgenesis
988db94b72 tiny cleanup 2019-09-06 02:58:06 +02:00
fgenesis
b8b9039693 don't plop up error message for non-existing save files 2019-04-14 19:45:14 +02:00
fgenesis
0f0d839fc7 block help screen from accidentally opening in key config menu, and make sure (?)-button isn't shown 2019-03-24 19:45:52 +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
520c71fdb7 old shit begone 2019-03-18 00:51:28 +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
239df3c339 compiles again 2018-04-17 01:15:30 +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
1acad1069e Add some Lua functions for Android compat:
+ getEntityList()
+ entity_getEntityListInRange(e, range)
+ vector_getEntityListInRange(x, y, range)
2018-01-02 15:39:18 +01:00
fgenesis
fec1cc7ac2 Initial support for scriptable shots 2017-11-01 19:25:31 +01:00
fgenesis
eb1f38d86c Minor script interface cleanup and prep for next commit 2017-11-01 19:25:19 +01:00
fgenesis
64406419c1 Some fixes for msys2/mingw build 2017-09-02 22:13:46 +02:00
fgenesis
4cfeadeb6e Whoever figured that enabling -Wall on MSVC would be a good idea should be shot. 2017-09-02 20:28:19 +02:00
fgenesis
db4af79389 Check against nesting recursive main() 2017-08-09 22:07:37 +02:00
fgenesis
02db145a01 Don't error for empty save slots 2017-08-09 21:02:45 +02:00
fgenesis
fe93c91eca fix stupidity in prev commit 2017-07-14 03:36:43 +02:00
fgenesis
cabdf93e21 Tiny performance optimization
Keep disabled damage types vector sorted and do binary search.
2017-07-12 04:12:06 +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
1af3b0f220 forgot console in prev commit 2017-06-25 15:13:06 +02:00
fgenesis
081c6bd58d Debug overlays should respect viewport size change 2017-06-25 13:58:18 +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
4e7e0df524 Get rid of MenuUp, MenuDown, MenuLeft, MenuRight action entries
This makes ACTION_MENU* internal and non-configurable, but Lua code
can still rely on those actions being sent so that controller input
can be interpreted as menu input where appropriate.

Closes #58.
2017-02-20 03:02:58 +01:00
fgenesis
d0bb8746ae Highlight bound slots and correct highlight shift by a few pixels (now properly centered!) 2017-02-19 03:48:05 +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
b7e3e55cf1 Remove some unnecessary includes of glpng 2017-02-15 00:56:00 +01:00
fgenesis
33b9eebd3f Very tiny cosmetic change 2017-02-15 00:27:07 +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
fgenesis
daca65d20a Merge branch 'experimental' into controllerfixup 2017-02-08 21:33:05 +01:00
James Le Cuirot
5a16a290fc
Bump TinyXML2 to 4.0.1 2017-02-08 10:21:25 +00:00
fgenesis
0b7334c7b7 Fix possible crash on mod enum 2017-02-05 21:24:43 +01:00
fgenesis
9229bb2c0a Add entity_v(), node_v() Lua functions 2017-02-05 21:08:01 +01:00
fgenesis
fb3edf413d Deprecate entity_incrTargetLeaches() & entity_decrTargetLeaches() properly 2017-01-21 03:34:12 +01:00
fgenesis
3b759294df Add support for mod script compatibility layers
This uses a new <Compatibility script="..." /> tag in a mod's XML file.
A compatbility layer is a script that runs before mod-init.lua is loaded,
and before any mod scripts are loaded when resuming a saved game.

This is a better solution than shipping a fragile wrapper
with every mod, that tends to break and then needs to be updated.
Now this wrapper is centralized, easy to use, and easy to update.

Closes #31.
2017-01-21 02:06:44 +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