fgenesis
e8dc99b30d
Add script functions:
...
+ createArialTextBig()
+ createArialTextSmall()
+ quad_getTexOffset()
+ quad_setTexOffset()
2015-08-15 21:15:42 +02:00
fgenesis
20ee050c7b
Fix build with SDL1.2 that i accidentally broke
2015-08-03 20:32:41 +02:00
fgenesis
9faa503f32
Use glm for matrix math instead of the OpenGL stack
...
Should cause less GL pipeline stalling / driver spinlocking if enabled.
Disable AQUARIA_USE_GLM (default: true) in CMake to use the old GL pipeline version.
Based on the implementation by Matt Bierner:
https://bitbucket.org/mattbierner/ios-aquaria
2015-07-12 22:16:55 +02:00
fgenesis
21545e1a24
Show refresh rate in resolution selector
2015-07-12 20:25:46 +02:00
fgenesis
af1b831c85
attempt to fix sounds from zip files not loading properly
2015-07-07 01:16:59 +02:00
fgenesis
8bd40be8aa
Fix oversight in texture loading that could cause the cape to appear as white blorb. Thx Daxar.
2015-06-10 01:49:12 +02:00
fgenesis
236096683a
Clear animLayers properly
2015-06-03 04:04:19 +02:00
fgenesis
778a275ce2
RenderObject::updateCull is now float, some Lua additions
...
- add obj_getUpdateCull()
- add obs parameter to getWallNormal(x, y, dist, obs) to control which obs to consider
- add getPerformanceCounter(), getPerformanceFreq()
2015-06-03 04:04:03 +02:00
fgenesis
f0d580d873
Refactor texture loading code; should fix a crash that started appearing recently.
2015-03-24 00:06:51 +01:00
fgenesis
9973afbac6
Allow custom capes in mods
2015-03-09 04:55:03 +01:00
fgenesis
b70de7f94b
Add Lua function text_getStringWidth()
2015-03-08 20:44:14 +01:00
fgenesis
dee156cf7a
Remove some unnecessary code from StateMachine
2015-03-08 20:44:14 +01:00
fgenesis
ba9c37f704
Make RenderObject::moveTo[Front|Back]() work for things that have a parent.
2015-01-14 21:42:54 +01:00
fgenesis
15379db4b8
Fix possible crash when saving animation to non-existing file + loading malformed XML from skin file.
...
Also fix skeletal cache memory leak.
2014-09-16 00:29:57 +02:00
fgenesis
26dc8560b7
Fix gcc compile (broke in 300f326777
)
2014-09-15 20:59:21 +02:00
fgenesis
70e175c8d6
Merge branch 'experimental' of github.com:AquariaOSE/Aquaria into experimental
2014-07-21 22:22:30 +02:00
fgenesis
300f326777
Use std::vector instead of std::list for RenderObject children
2014-07-21 22:21:22 +02:00
C.W. Betts
bc260fa581
OS X: Fix a memory overrelease.
...
CoreFoundation functions that have "Get" in their names usually don't need to be released.
2014-06-27 14:48:24 -06:00
fgenesis
817d4beb1c
Fix tinyXML2 misuse; simplify scene saving code a little
2014-06-10 02:18:55 +02:00
fgenesis
065def0674
Fixes to prev commit - restore ttvfs functionality when reading XML files, and minor other things
2014-06-09 23:39:33 +02:00
fgenesis
4bafcb3e18
Merge branch 'tinyxml2' into experimental. Thanks to James Le Cuirot for this.
...
Conflicts:
Aquaria/UserSettings.cpp
CMakeLists.txt
2014-06-09 22:31:39 +02:00
James Le Cuirot
43d41feeb8
Migrate from TinyXML v1 to v2. Not bundled (yet).
2014-06-08 21:11:23 +01:00
fgenesis
b98e2532ed
Fix crash when AnimationLayer is missing
2014-05-16 00:04:56 +02:00
fgenesis
46b070eb00
Not sure if this really fixes a crash, but worth a try. Thx Daxar for reporting.
2014-04-23 02:31:37 +02:00
fgenesis
0486643455
Merge branch 'master' into experimental
2014-04-23 00:21:22 +02:00
MaddTheSane
991d7de27d
Update Cocoa.mm
...
An update broke compilation on versions of Mac OS X that didn't have/can't have Xcode 4 or later, including PowerPC versions.
2014-04-22 16:11:17 -06:00
fgenesis
4df08dc19f
Fix oversight because of copying files around + make sure this won't happen again.
2014-04-15 19:58:10 +02:00
fgenesis
f69d88b656
ttvfs related cleanups
2014-04-15 19:48:06 +02:00
C.W. Betts
87bc46abf6
Merge branch 'master' into experimental
2014-04-06 23:26:38 -06:00
C.W. Betts
45185dee33
Fix a security warning on OS X.
2014-04-06 22:16:01 -06:00
fgenesis
6d4b9502cb
Fix build + use win32 message boxes if on windows (they are nicer for dealing with Lua errors)
2014-04-07 04:19:54 +02:00
C.W. Betts
5d9f7c2c18
Use SDL2's MessageBox API.
2014-04-06 19:28:56 -06:00
fgenesis
6203bc7ce4
Update Aquaria/BBGE/External sources to comply with the new ttvfs API
2014-04-07 02:10:05 +02:00
fgenesis
65e457423c
Add option for particles to inherit alpha/color from their ParticleEffect
2014-03-10 17:28:41 +01:00
fgenesis
af463e63b2
Make mouse constraint circle scriptable. New Lua functions:
...
- setMouseConstraintCircle()
- setMouseConstraint()
2014-03-10 02:26:01 +01:00
fgenesis
2cec85fd05
Improve camera zooming behavior + camera related cleanups
...
- Now, the camera will now no longer be pulled towards the upper left
or lower rigtht corner.
- cameraPos was never used as an interpolating vector, cleaned up related code.
- Core::invGlobalScale is now updated whenever Core::globalScale is changed
(Not a nice solution but it does work)
- Increase cull radius by 10%, should prevent tiles from disappearing when
zoomed in a lot.
2014-03-07 17:59:36 +01:00
fgenesis
a9712944ed
Fix animation editor problems: Undo buffer memory hoarding, add warning if saving failed.
...
Thanks to Peri for finally making me fix this.
2013-12-28 04:42:02 +01:00
fgenesis
201b3a76bc
Add Lua functions (+ related text class changes):
...
- text_getHeight()
- getUserInputString()
2013-12-12 23:14:17 +01:00
dodumosu
f3fe225270
Update Core.cpp
2013-12-12 10:34:15 +00:00
fgenesis
82ab3fa60c
Fix OSX build with SDL1.2 (nasty, nasty)
2013-12-11 03:06:59 +01:00
fgenesis
47b8c75dcb
Fix linux/osx build
2013-12-11 03:06:38 +01:00
fgenesis
204152a783
Little optimization for molestPath()
2013-12-10 03:48:40 +01:00
C.W. Betts
5ca82aea1c
Indenting
2013-11-15 18:45:53 -07:00
C.W. Betts
b9ed32049f
Use more modern Objective-C syntax.
2013-11-15 18:45:13 -07:00
fgenesis
373ccff7e4
Fix build on linux
2013-11-14 20:37:50 +01:00
fgenesis
ab752e1156
replace CreateDirA() and mkdir() scattered everywhere by createDir() with some more error checking.
2013-11-14 20:07:39 +01:00
fgenesis
7de589e275
Add custom upper<->lowercase translation tables for better localization support.
...
Translation tables by Henrik Holst.
2013-11-14 17:58:33 +01:00
fgenesis
cccd42227f
Merge branch 'experimental'
2013-11-05 16:51:26 +01:00
fgenesis
1701c9a67d
More Lua functions:
...
- entity_hasSkeletal()
- entity_getNumAnimLayers()
- filterNearestEntities() to fill an internal filter buffer
- getNextFilteredEntity() to iterate over the filter buffer
2013-11-02 15:22:55 +01:00
fgenesis
3fe9ffc2cd
Fix setGemPosition(), add more Lua functions:
...
- isShader()
- isParticleEffect()
- pe_start()
- pe_stop()
- pe_isRunning()
- isMiniMapCursorOkay()
2013-10-25 01:47:24 +02:00