1
0
Fork 0
mirror of https://github.com/AquariaOSE/Aquaria.git synced 2024-12-05 01:15:52 +00:00
Commit graph

1139 commits

Author SHA1 Message Date
fgenesis
7a9df46830 Replace some leftover luaReturnNum(0) with luaReturnNil() 2013-11-14 15:20:52 +01:00
fgenesis
cccd42227f Merge branch 'experimental' 2013-11-05 16:51:26 +01:00
fgenesis
c60e2c3757 Merge branch 'vfsfix' 2013-11-05 16:47:24 +01:00
fgenesis
8e1be3a5d2 Attempt to fix some VFS problems 2013-11-05 14:55:37 +01:00
fgenesis
e8b9261004 Attempt to fix some VFS problems 2013-11-05 14:53:57 +01:00
fgenesis
18a6475236 Merge pull request #2 from cuddlyogre/master
Now Visual Studio 2010 Compatible
2013-11-03 08:49:38 -08:00
fgenesis
7d27489ac3 Merge branch 'experimental' of file:///Users/User/code/coding/Aquaria_fg_clean into experimental 2013-11-02 14:28:01 +00: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
cuddlyogre
1f6887fcb0 Now Visual Studio 2010 Compatible
Removed a "using namepsace std;" to stop an ambiguous symbol error
regarding the "hash" datatype when compiling with Visual Studio 2010. As
a result, I had to add a "std::" to an ostringstream.

Duplicated, upgraded, and reworked the existing Visual Studio 2008
project so that it now compiles successfully with Visual Studio 2010.
Both debug and release work without a hitch on Windows 7. The original
Visual Studio 2008 solution is still there if it is needed.
2013-10-31 18:44:02 -05:00
fgenesis
c9bcbd3c1e Merge branch 'experimental' of file:///Users/User/code/coding/Aquaria_fg_clean into experimental 2013-10-28 03:32:55 +00:00
fgenesis
8d444a3327 Get rid of a few unnecessary continueity resets.
Continuity resets load a bunch of small files from disk;
this speeds up the startup precess very slightly if the files
are not in the OS's file cache yet.
2013-10-28 04:29:46 +01:00
fgenesis
9377b6edb9 Add Lua function isShuttingDownGameState() 2013-10-28 04:28:05 +01:00
fgenesis
c312572ff7 Do not allow rolling when riding.
Rolling while riding does not make sense, is not handled/animated at all,
and it looks strange. I wonder why nobody has fixed this in all this time.
2013-10-28 04:27:44 +01:00
fgenesis
0cb36b9830 Merge branch 'experimental' of file:///Users/User/code/coding/Aquaria_fg_clean into experimental 2013-10-25 01:35:15 +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
fgenesis
77b56cf19b Merge branch 'experimental' of file:///Users/User/code/coding/Aquaria_fg_clean into experimental 2013-10-21 02:27:29 +01:00
fgenesis
fa6ca8d60a Add 2 Lua functions:
+ obj_getWorldScale()
+ obj_getParent()
2013-10-21 02:34:57 +02:00
fgenesis
b0c098bbcd Compile fix for prev. commit 2013-10-21 02:34:30 +02:00
fgenesis
d97bb25b9e Add some Lua functions, changes to hair.
+ beam_getEndPos()
+ entity_setCurrentHealth()
+ entity_setMaxHealth()
+ beam_getEndPos()
+ entity_hasAnimation()

- Add 3 new parameters to entity_damage: shot, hitX, hitY
- entity_getAnimationLength() supports string as 2nd parameter now.
  This will lookup an animation's length via name.
  Passing an ANIMLAYER_* constant works as it used to.
2013-10-19 17:30:42 +02:00
fgenesis
61a5f5c35c Merge pull request #1 from MaddTheSane/master
OS X changes
2013-10-17 16:14:00 -07:00
fgenesis
7a2219783a Merge branch 'experimental' of file:///Users/User/code/coding/Aquaria_fg_clean into experimental 2013-09-29 00:27:54 +01:00
fgenesis
84f1b12c67 Add riding related Lua functions:
- entity_getRidingPosition()
- entity_getRidingRotation()
- entity_getRidingFlip()
2013-09-29 01:27:36 +02:00
fgenesis
3915e64a54 Merge branch 'experimental' of file:///Users/User/code/coding/Aquaria_fg_clean into experimental 2013-09-28 16:26:45 +01:00
fgenesis
36c409e1d4 Little things:
- Make ACTION_LOOK and ACTION_ROLL available to handle via nodes
- Add entity_getPushVec()
- Fix typo in beam_setFirer()
- Add pull param to addInfluence()
- Add entity_getPushDamage()
- Add getMouseWheelChange()
2013-09-28 17:21:11 +02:00
fgenesis
9a4a58a69f Merge branch 'experimental' of file:///Users/User/code/coding/Aquaria_fg_clean into experimental 2013-09-24 16:26:01 +01:00
fgenesis
358b8d139d Display build date in version string. 2013-09-24 17:25:33 +02:00
fgenesis
0df586874d Script interface:
- Add entity_doElementInteraction()
- Add avatar_setElementEffectMult()
- Change entity_isUnderWater(): Can now supply an override position.
2013-09-24 17:02:06 +02:00
fgenesis
6f9063ce6d Map element code refactoring. Allow other entities to influence map elements (EFX_WAVY).
Reduce Element memory; as most elements do not have any effect set,
this saves more than 50 bytes per element.
2013-09-24 17:00:06 +02:00
fgenesis
ab74abe903 Fix some SceneEditor crashes/quirks and remove some dead code in the process. 2013-09-24 16:54:43 +02:00
fgenesis
4d7af56b95 Animation editor: Add D, Shift+D, Ctrl+Shift+D key combos to flip bone rotation. 2013-09-24 16:05:05 +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
da3c5e3821 Merge branch 'experimental' of file:///Users/User/code/coding/Aquaria_fg_clean into experimental 2013-09-04 15:12:21 +01:00
fgenesis
fdae0fe9a4 New action: ACTION_PLACE_AVATAR. Add Lua functions:
- entity_getBoneLockData()
- entity_getWeight()
2013-09-04 16:09:58 +02:00
fgenesis
a91a22f463 Cleaning out some dead code.
This adds a small compile error, to be fixed in next commit.
2013-09-04 16:07:46 +02:00
fgenesis
31ab72334b Fix copy-paste oops. 2013-08-31 16:49:22 +02:00
fgenesis
009189d471 Merge branch 'experimental' of file:///Users/User/code/coding/Aquaria_fg_clean into experimental 2013-08-31 15:16:31 +01: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
8c8ed1ee90 Merge branch 'experimental' of file:///Users/User/code/coding/Aquaria_fg_clean into experimental 2013-08-29 02:59:20 +01:00
fgenesis
4f6447b58e Script interface extensions:
- shot_setTargetPoint()
- shot_getTargetPoint()
- entity_getTargetPriority()
- fix oversight in entity_doEntityAvoidance()
- entity_getTargetRange()
- getJoystickAxisLeft()
- getJoystickAxisRight()
2013-08-29 03:58:50 +02:00
fgenesis
87774839fe Merge branch 'experimental' of file:///Users/User/code/coding/Aquaria_fg_clean into experimental 2013-08-28 03:37:19 +01:00
fgenesis
18a19ca115 Disable path finding debug spam. 2013-08-28 04:33:12 +02:00
fgenesis
01d9211a34 Little script interface changes:
- Add avatar_isSwimming()
- toggleInput() does now parse bools correctly
- pickupGem() returns gem ID
- Change in entity_doCollisionAvoidance():
  * Add support for ignore obs
  * One arg was shifted, this is now fixed but not sure if it adds a problem somewhere.
2013-08-28 04:20:36 +02:00
fgenesis
3c38f614e7 Merge branch 'experimental' of file:///Users/User/code/coding/Aquaria_fg_clean into experimental 2013-08-27 02:45:42 +01:00
fgenesis
a7447cc599 Allow nodes to catch ACTION_SECONDARY. 2013-08-27 01:42:31 +02:00
fgenesis
d4038c1ad9 Fix build on Linux/OSX 2013-08-26 22:25:36 +02:00
fgenesis
cf4e466c69 Merge branch 'experimental' of file:///Users/User/code/coding/Aquaria_fg_clean into experimental 2013-08-26 20:17:43 +01:00
fgenesis
f85d6c213e vcproj update 2013-08-26 21:03:02 +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