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
fgenesis
69e25640fb
Reload shaders on resolution change.
2013-10-25 01:44:34 +02:00
C.W. Betts
e306347577
The released version of SDL2 (According to the OS X framework) replaced KMOD_META with KMOD_GUI.
2013-09-23 01:12:36 -06:00
C.W. Betts
2465c87844
Fix overreleasing in Cocoa code
2013-09-23 01:12:36 -06:00
fgenesis
396f091c85
Add Lua functions:
...
- quad_isRenderBeforeParent()
- quad_setRenderBorder()
- quad_isRenderBorder()
- quad_setRenderCenter()
- quad_isRenderCenter()
- quad_borderAlpha()
- quad_getBorderAlpha()
- node_getShape()
- text_setAlign()
Constants: ALIGN_CENTER, ALIGN_LEFT, PATHSHAPE_RECT, PATHSHAPE_CIRCLE
2013-08-31 16:14:05 +02:00
fgenesis
d4038c1ad9
Fix build on Linux/OSX
2013-08-26 22:25:36 +02:00
fgenesis
69890093bd
Add special memory allocator for Lua that should take some memory stress away from heavy scripting.
2013-08-26 21:02:46 +02:00
fgenesis
c857722213
Minor things. Most importantly: Game receives ACTION_SWIMLEFT and ACTION_SWIMLEFT now, for use in nodes' action() callback.
2013-08-26 20:57:38 +02:00
fgenesis
41929955d3
Fix ScriptInterface developer mode settings not applying.
...
Minor changes:
- clean out some Lua functions registered twice
- Correct bool cast in quad_setSegs()
- Show nested mains in debug console
- One less //HACK comment
2013-08-03 22:37:10 +02:00
fgenesis
f825ad9fb7
Fix crash on minimize + reactivate
2013-07-26 02:15:40 +02:00
fgenesis
cf6556b94d
Implement stereo to mono mixing for proper L/R separation even for stereo samples.
...
This mixes only those sounds that are supposed to be played positional.
All centered (default) sounds are played in stereo, as usual.
2013-07-24 19:57:13 +02:00
fgenesis
66802e1935
Change AL distance model to AL_NONE, and implement a custom distance attenuation model.
...
This avoid the problems with AL_INVERSE_DISTANCE_CLAMPED (doesn't reach 0),
and sounds way better than AL_LINEAR_DISTANCE_CLAMPED, which has an
all-too-sudden decay when a sound goes out of audible range.
2013-07-24 04:36:36 +02:00