1
0
Fork 0
mirror of https://github.com/AquariaOSE/Aquaria.git synced 2025-02-22 13:54:58 +00:00
Aquaria/Aquaria
fgenesis e8a7889f82 Decouple form specific effects from the actual form.
Most hardcoded form == FORM_* checks all over the place have been replaced.
Now, forms change certain avatar properties, which are in turn checked
in the places that previously had these explicit form checks.
This allows specifying functionality via scripting, for additional forms
with new effects or a new combination of existing effects.

OT_HURT now deals damage of type DT_WALLHURT,
and by setting avatar->setDamageTarget(DT_WALLHURT, false) collision
with walls can be made harmless (exactly as nature form used to be).

Add related Lua functions:
+ setWorldType() - Change WT without actually switching to spirit form
+ setCanActivate()
+ avatar_setCanBurst()
+ avatar_canBurst()
+ avatar_setCanLockToWall()
+ avatar_canLockToWall()
+ avatar_setCanSwimAgainstCurrents()
+ avatar_canSwimAgainstCurrents()
+ getSceneColor()
+ DT_WALLHURT
2013-04-26 00:34:06 +02:00
..
AnimationEditor.cpp Animation editor enhancement: Move/rotate bones across all keyframes 2012-12-23 22:32:19 +01:00
Aquaria.ico initial commit. This is icculus version 5542b94cae02a6333845854bbbd1abe0a259f1a4 2011-08-03 22:05:33 +02:00
aquaria.rc initial commit. This is icculus version 5542b94cae02a6333845854bbbd1abe0a259f1a4 2011-08-03 22:05:33 +02:00
AquariaComboBox.cpp initial commit. This is icculus version 5542b94cae02a6333845854bbbd1abe0a259f1a4 2011-08-03 22:05:33 +02:00
AquariaCompileConfig.h re-enable linking against SDLmain 2011-08-11 17:01:36 +02:00
AquariaMenuItem.cpp [vfs, #3] All file reading code goes through the VFS now, new mod downloader & mod selector in place. Also a bunch of other stuff. (...) 2012-06-01 17:52:19 +02:00
AquariaMenuItem.h Replace #pragma once with #ifndef/#define pairs (to avoid warnings on gcc 2.95) 2012-09-23 04:51:13 +02:00
AquariaProgressBar.cpp initial commit. This is icculus version 5542b94cae02a6333845854bbbd1abe0a259f1a4 2011-08-03 22:05:33 +02:00
AquariaProgressBar.h Replace #pragma once with #ifndef/#define pairs (to avoid warnings on gcc 2.95) 2012-09-23 04:51:13 +02:00
AquariaSaveSlot.cpp Two little localzation patch additions, by Henrik Holst. 2012-06-13 23:37:21 +02:00
AStar.h initial commit. This is icculus version 5542b94cae02a6333845854bbbd1abe0a259f1a4 2011-08-03 22:05:33 +02:00
AutoMap.cpp initial commit. This is icculus version 5542b94cae02a6333845854bbbd1abe0a259f1a4 2011-08-03 22:05:33 +02:00
AutoMap.h Replace #pragma once with #ifndef/#define pairs (to avoid warnings on gcc 2.95) 2012-09-23 04:51:13 +02:00
Avatar.cpp Decouple form specific effects from the actual form. 2013-04-26 00:34:06 +02:00
Avatar.h Decouple form specific effects from the actual form. 2013-04-26 00:34:06 +02:00
Beam.cpp Script interface improvements & extensions. 2012-02-05 20:22:54 +01:00
BitBlotLogo.cpp initial commit. This is icculus version 5542b94cae02a6333845854bbbd1abe0a259f1a4 2011-08-03 22:05:33 +02:00
BoxElement.cpp initial commit. This is icculus version 5542b94cae02a6333845854bbbd1abe0a259f1a4 2011-08-03 22:05:33 +02:00
BubbleRender.cpp initial commit. This is icculus version 5542b94cae02a6333845854bbbd1abe0a259f1a4 2011-08-03 22:05:33 +02:00
CollideEntity.cpp Add a safe pointer model to ScriptInterface, additional bug/crash fixes. 2012-01-03 04:38:28 +01:00
CollideEntity.h Replace #pragma once with #ifndef/#define pairs (to avoid warnings on gcc 2.95) 2012-09-23 04:51:13 +02:00
Continuity.cpp Decouple form specific effects from the actual form. 2013-04-26 00:34:06 +02:00
Credits.cpp initial commit. This is icculus version 5542b94cae02a6333845854bbbd1abe0a259f1a4 2011-08-03 22:05:33 +02:00
CurrentRender.cpp initial commit. This is icculus version 5542b94cae02a6333845854bbbd1abe0a259f1a4 2011-08-03 22:05:33 +02:00
custom-fields.h initial commit. This is icculus version 5542b94cae02a6333845854bbbd1abe0a259f1a4 2011-08-03 22:05:33 +02:00
Demo.cpp Move hardcoded UI strings to stringbank.txt. Patch by Henrik Holst. 2012-06-02 18:58:02 +02:00
DSQ.cpp Decouple form specific effects from the actual form. 2013-04-26 00:34:06 +02:00
DSQ.h Minor refactor & add Lua funcs: 2013-04-24 04:51:26 +02:00
Element.cpp Misc fixes and cleanups; fixed variadic Lua calls to self. 2012-03-14 00:58:59 +01:00
Element.h Misc fixes and cleanups; fixed variadic Lua calls to self. 2012-03-14 00:58:59 +01:00
Elements.h initial commit. This is icculus version 5542b94cae02a6333845854bbbd1abe0a259f1a4 2011-08-03 22:05:33 +02:00
Emote.cpp [vfs, #3] All file reading code goes through the VFS now, new mod downloader & mod selector in place. Also a bunch of other stuff. (...) 2012-06-01 17:52:19 +02:00
Entity.cpp Decouple form specific effects from the actual form. 2013-04-26 00:34:06 +02:00
Entity.h Decouple form specific effects from the actual form. 2013-04-26 00:34:06 +02:00
ExternalGUI.h initial commit. This is icculus version 5542b94cae02a6333845854bbbd1abe0a259f1a4 2011-08-03 22:05:33 +02:00
FFTNotes.cpp initial commit. This is icculus version 5542b94cae02a6333845854bbbd1abe0a259f1a4 2011-08-03 22:05:33 +02:00
FlockEntity.cpp initial commit. This is icculus version 5542b94cae02a6333845854bbbd1abe0a259f1a4 2011-08-03 22:05:33 +02:00
FlockEntity.h Replace #pragma once with #ifndef/#define pairs (to avoid warnings on gcc 2.95) 2012-09-23 04:51:13 +02:00
Game.cpp Remove spirit form dependency on WorldType, and add related Lua interfaces. 2013-04-25 02:51:54 +02:00
Game.h Remove spirit form dependency on WorldType, and add related Lua interfaces. 2013-04-25 02:51:54 +02:00
GameplayVariables.cpp Move hardcoded UI strings to stringbank.txt. Patch by Henrik Holst. 2012-06-02 18:58:02 +02:00
GasCloud.cpp initial commit. This is icculus version 5542b94cae02a6333845854bbbd1abe0a259f1a4 2011-08-03 22:05:33 +02:00
GridRender.cpp Fix possible crash when moving the Y-axis of camera out of bounds when zoomed out. 2012-09-17 03:32:18 +02:00
GridRender.h Make world map reveal method configurable via user settings, 2012-10-14 03:46:47 +02:00
Hair.cpp initial commit. This is icculus version 5542b94cae02a6333845854bbbd1abe0a259f1a4 2011-08-03 22:05:33 +02:00
Hair.h initial commit. This is icculus version 5542b94cae02a6333845854bbbd1abe0a259f1a4 2011-08-03 22:05:33 +02:00
Ingredient.cpp Remove spirit form dependency on WorldType, and add related Lua interfaces. 2013-04-25 02:51:54 +02:00
Intro.cpp initial commit. This is icculus version 5542b94cae02a6333845854bbbd1abe0a259f1a4 2011-08-03 22:05:33 +02:00
Logo.cpp initial commit. This is icculus version 5542b94cae02a6333845854bbbd1abe0a259f1a4 2011-08-03 22:05:33 +02:00
Logo.h initial commit. This is icculus version 5542b94cae02a6333845854bbbd1abe0a259f1a4 2011-08-03 22:05:33 +02:00
Main.cpp [vfs, #3] All file reading code goes through the VFS now, new mod downloader & mod selector in place. Also a bunch of other stuff. (...) 2012-06-01 17:52:19 +02:00
ManaBall.cpp Fixed some script interface functions, error handling & code cleanups 2011-09-18 23:12:02 +02:00
MiniMapRender.cpp Added support for world maps in mods. 2011-11-20 17:16:48 +01:00
Mod.cpp Remove spirit form dependency on WorldType, and add related Lua interfaces. 2013-04-25 02:51:54 +02:00
ModDownloader.cpp Fix a leftover hardcoded string, thx KS-10 for pointing 2012-07-22 03:39:37 +02:00
ModDownloader.h [vfs, #3] All file reading code goes through the VFS now, new mod downloader & mod selector in place. Also a bunch of other stuff. (...) 2012-06-01 17:52:19 +02:00
ModSelector.cpp Improve mod selector scolling behavior (thx MOM4Evr for pointing) 2012-07-15 21:29:05 +02:00
ModSelector.h [vfs, #3] All file reading code goes through the VFS now, new mod downloader & mod selector in place. Also a bunch of other stuff. (...) 2012-06-01 17:52:19 +02:00
Network.cpp Localise sounds, voice, and send current locale to webserver when asking for mod list 2012-07-14 14:34:46 +02:00
Network.h [vfs, #3] All file reading code goes through the VFS now, new mod downloader & mod selector in place. Also a bunch of other stuff. (...) 2012-06-01 17:52:19 +02:00
NotEntities.h initial commit. This is icculus version 5542b94cae02a6333845854bbbd1abe0a259f1a4 2011-08-03 22:05:33 +02:00
ParticleEditor.cpp Move hardcoded UI strings to stringbank.txt. Patch by Henrik Holst. 2012-06-02 18:58:02 +02:00
Path.cpp Remove spirit form dependency on WorldType, and add related Lua interfaces. 2013-04-25 02:51:54 +02:00
Path.h Remove spirit form dependency on WorldType, and add related Lua interfaces. 2013-04-25 02:51:54 +02:00
PathFinding.cpp initial commit. This is icculus version 5542b94cae02a6333845854bbbd1abe0a259f1a4 2011-08-03 22:05:33 +02:00
PathFinding.h Replace #pragma once with #ifndef/#define pairs (to avoid warnings on gcc 2.95) 2012-09-23 04:51:13 +02:00
PathRender.cpp initial commit. This is icculus version 5542b94cae02a6333845854bbbd1abe0a259f1a4 2011-08-03 22:05:33 +02:00
RecipeMenuEntry.cpp Some simplifications in ingredient name handling, by Henrik Holst 2012-07-11 22:00:14 +02:00
resource.h initial commit. This is icculus version 5542b94cae02a6333845854bbbd1abe0a259f1a4 2011-08-03 22:05:33 +02:00
SceneEditor.cpp little enhancement to scene editor: show more entity details 2012-12-23 22:43:46 +01:00
SchoolFish.cpp Fixed some script interface functions, error handling & code cleanups 2011-09-18 23:12:02 +02:00
SchoolFish.h Replace #pragma once with #ifndef/#define pairs (to avoid warnings on gcc 2.95) 2012-09-23 04:51:13 +02:00
ScriptedEntity.cpp Minor refactor & add Lua funcs: 2013-04-24 04:51:26 +02:00
ScriptedEntity.h Minor refactor & add Lua funcs: 2013-04-24 04:51:26 +02:00
ScriptInterface.cpp Decouple form specific effects from the actual form. 2013-04-26 00:34:06 +02:00
ScriptInterface.h Replace #pragma once with #ifndef/#define pairs (to avoid warnings on gcc 2.95) 2012-09-23 04:51:13 +02:00
Segmented.cpp Fix some small performance bottlenecks: 2012-01-02 21:34:29 +01:00
Segmented.h Replace #pragma once with #ifndef/#define pairs (to avoid warnings on gcc 2.95) 2012-09-23 04:51:13 +02:00
SFXLoops.cpp initial commit. This is icculus version 5542b94cae02a6333845854bbbd1abe0a259f1a4 2011-08-03 22:05:33 +02:00
Shot.cpp Remove spirit form dependency on WorldType, and add related Lua interfaces. 2013-04-25 02:51:54 +02:00
Shot.h Shot Lua API update + related internal changes. 2013-03-06 02:06:52 +01:00
Spore.cpp initial commit. This is icculus version 5542b94cae02a6333845854bbbd1abe0a259f1a4 2011-08-03 22:05:33 +02:00
StarRenderer.cpp initial commit. This is icculus version 5542b94cae02a6333845854bbbd1abe0a259f1a4 2011-08-03 22:05:33 +02:00
States.cpp Fix subtitles not appearing when starting a new game. 2012-05-21 03:35:20 +02:00
States.h Animation editor enhancements 2012-01-31 18:02:18 +01:00
StatsAndAchievements.cpp Move localisation code to BBGE, and allow textures to be localised. 2012-07-10 22:16:48 +02:00
StatsAndAchievements.h Replace #pragma once with #ifndef/#define pairs (to avoid warnings on gcc 2.95) 2012-09-23 04:51:13 +02:00
SteamRender.cpp initial commit. This is icculus version 5542b94cae02a6333845854bbbd1abe0a259f1a4 2011-08-03 22:05:33 +02:00
Strand.cpp initial commit. This is icculus version 5542b94cae02a6333845854bbbd1abe0a259f1a4 2011-08-03 22:05:33 +02:00
StringBank.cpp Move key config strings into stringbank.txt 2012-07-14 16:54:28 +02:00
SubtitlePlayer.cpp Move localisation code to BBGE, and allow textures to be localised. 2012-07-10 22:16:48 +02:00
TileVector.h Replace #pragma once with #ifndef/#define pairs (to avoid warnings on gcc 2.95) 2012-09-23 04:51:13 +02:00
ToolTip.cpp initial commit. This is icculus version 5542b94cae02a6333845854bbbd1abe0a259f1a4 2011-08-03 22:05:33 +02:00
ToolTip.h Replace #pragma once with #ifndef/#define pairs (to avoid warnings on gcc 2.95) 2012-09-23 04:51:13 +02:00
UserSettings.cpp Make world map reveal method configurable via user settings, 2012-10-14 03:46:47 +02:00
UserSettings.h Make world map reveal method configurable via user settings, 2012-10-14 03:46:47 +02:00
WaterFont.cpp initial commit. This is icculus version 5542b94cae02a6333845854bbbd1abe0a259f1a4 2011-08-03 22:05:33 +02:00
WaterFont.h Replace #pragma once with #ifndef/#define pairs (to avoid warnings on gcc 2.95) 2012-09-23 04:51:13 +02:00
WaterSurfaceRender.cpp initial commit. This is icculus version 5542b94cae02a6333845854bbbd1abe0a259f1a4 2011-08-03 22:05:33 +02:00
WaterSurfaceRender.h Replace #pragma once with #ifndef/#define pairs (to avoid warnings on gcc 2.95) 2012-09-23 04:51:13 +02:00
Web.cpp Add a safe pointer model to ScriptInterface, additional bug/crash fixes. 2012-01-03 04:38:28 +01:00
Web.h Replace #pragma once with #ifndef/#define pairs (to avoid warnings on gcc 2.95) 2012-09-23 04:51:13 +02:00
WorldMapRender.cpp Little things to make the world map more user friendly: 2012-10-14 03:51:02 +02:00
WorldMapTiles.cpp Move hardcoded UI strings to stringbank.txt. Patch by Henrik Holst. 2012-06-02 18:58:02 +02:00