[beryl-commits] Animation plugin: Changes to 'master' (2a249b8fc025f4b8aafb748a057257317d720db4)
cornelius at server.beryl-project.org
cornelius at server.beryl-project.org
Sat Jun 23 01:40:11 CEST 2007
New commits:
commit 2a249b8fc025f4b8aafb748a057257317d720db4
Author: Erkin Bahceci <erkinbah at gmail.com>
Date: Fri Jun 22 19:39:17 2007 -0400
Update Makefile. Get rid of some warnings. Add license note to files.
Makefile | 1 +
animation-internal.h | 4 +---
animation.c | 22 +++++++++++-----------
beamup.c | 38 ++++++++++++++++++++++++++++++++++++++
burn.c | 38 ++++++++++++++++++++++++++++++++++++++
curvedfold.c | 38 ++++++++++++++++++++++++++++++++++++++
dodge.c | 37 +++++++++++++++++++++++++++++++++++++
dodge.h | 9 +++++----
domino.c | 38 ++++++++++++++++++++++++++++++++++++++
dream.c | 37 +------------------------------------
explode3d.c | 38 ++++++++++++++++++++++++++++++++++++++
fade.c | 37 +++++++++++++++++++++++++++++++++++++
focusfade.c | 38 ++++++++++++++++++++++++++++++++++++++
glide.c | 38 ++++++++++++++++++++++++++++++++++++++
horizontalfold.c | 38 ++++++++++++++++++++++++++++++++++++++
leafspread.c | 38 ++++++++++++++++++++++++++++++++++++++
magiclamp.c | 38 +-------------------------------------
rollup.c | 38 ++++++++++++++++++++++++++++++++++++++
wave.c | 37 +------------------------------------
zoomside.c | 45 +--------------------------------------------
20 files changed, 476 insertions(+), 171 deletions(-)
Modified: fusion/plugins/animation/Makefile
===================================================================
--- fusion/plugins/animation/Makefile
+++ fusion/plugins/animation/Makefile
@@ -50,6 +50,7 @@ INSTALL = install
BCOP = `pkg-config --variable=bin bcop`
+CFLAGS_ADD = -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing
CFLAGS = -g -Wall `pkg-config --cflags $(PKG_DEP) compiz ` $(CFLAGS_ADD)
LDFLAGS = `pkg-config --libs $(PKG_DEP) compiz ` $(LDFLAGS_ADD)
Modified: fusion/plugins/animation/animation-internal.h
===================================================================
--- fusion/plugins/animation/animation-internal.h
+++ fusion/plugins/animation/animation-internal.h
@@ -747,7 +747,5 @@ void drawParticles(CompScreen * s, CompWindow * w, ParticleSystem * ps);
void updateParticles(ParticleSystem * ps, float time);
void finiParticles(ParticleSystem * ps);
-
-
-
+void cleanUpParentChildChainItem(AnimScreen *as, AnimWindow *aw);
Modified: fusion/plugins/animation/animation.c
===================================================================
--- fusion/plugins/animation/animation.c
+++ fusion/plugins/animation/animation.c
@@ -77,22 +77,22 @@
#include "animation-internal.h"
-#include "magiclamp.h"
-#include "dream.h"
-#include "wave.h"
-#include "zoomside.h"
-#include "glide.h"
+#include "beamup.h"
+#include "burn.h"
#include "curvedfold.h"
-#include "horizontalfold.h"
-#include "rollup.h"
#include "dodge.h"
+#include "domino.h"
+#include "dream.h"
+#include "explode3d.h"
#include "fade.h"
#include "focusfade.h"
-#include "burn.h"
-#include "beamup.h"
-#include "explode3d.h"
+#include "glide.h"
+#include "horizontalfold.h"
#include "leafspread.h"
-#include "domino.h"
+#include "magiclamp.h"
+#include "rollup.h"
+#include "wave.h"
+#include "zoomside.h"
int displayPrivateIndex;
CompMetadata animMetadata;
Modified: fusion/plugins/animation/beamup.c
===================================================================
--- fusion/plugins/animation/beamup.c
+++ fusion/plugins/animation/beamup.c
@@ -1,5 +1,43 @@
+/*
+ * Animation plugin for compiz/beryl
+ *
+ * animation.c
+ *
+ * Copyright : (C) 2006 Erkin Bahceci
+ * E-mail : erkinbah at gmail.com
+ *
+ * Based on Wobbly and Minimize plugins by
+ * : David Reveman
+ * E-mail : davidr at novell.com>
+ *
+ * Particle system added by : (C) 2006 Dennis Kasprzyk
+ * E-mail : onestone at beryl-project.org
+ *
+ * Beam-Up added by : Florencio Guimaraes
+ * E-mail : florencio at nexcorp.com.br
+ *
+ * Hexagon tessellator added by : Mike Slegeir
+ * E-mail : mikeslegeir at mail.utexas.edu>
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+ */
+
#include "animation-internal.h"
#include "animation_tex.h"
+#include "beamup.h"
+
// ===================== Effect: Beam Up =========================
void fxBeamUpInit(CompScreen * s, CompWindow * w)
Modified: fusion/plugins/animation/burn.c
===================================================================
--- fusion/plugins/animation/burn.c
+++ fusion/plugins/animation/burn.c
@@ -1,5 +1,43 @@
+/*
+ * Animation plugin for compiz/beryl
+ *
+ * animation.c
+ *
+ * Copyright : (C) 2006 Erkin Bahceci
+ * E-mail : erkinbah at gmail.com
+ *
+ * Based on Wobbly and Minimize plugins by
+ * : David Reveman
+ * E-mail : davidr at novell.com>
+ *
+ * Particle system added by : (C) 2006 Dennis Kasprzyk
+ * E-mail : onestone at beryl-project.org
+ *
+ * Beam-Up added by : Florencio Guimaraes
+ * E-mail : florencio at nexcorp.com.br
+ *
+ * Hexagon tessellator added by : Mike Slegeir
+ * E-mail : mikeslegeir at mail.utexas.edu>
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+ */
+
#include "animation-internal.h"
#include "animation_tex.h"
+#include "burn.h"
+
// ===================== Effect: Burn =========================
void fxBurnInit(CompScreen * s, CompWindow * w)
Modified: fusion/plugins/animation/curvedfold.c
===================================================================
--- fusion/plugins/animation/curvedfold.c
+++ fusion/plugins/animation/curvedfold.c
@@ -1,4 +1,42 @@
+/*
+ * Animation plugin for compiz/beryl
+ *
+ * animation.c
+ *
+ * Copyright : (C) 2006 Erkin Bahceci
+ * E-mail : erkinbah at gmail.com
+ *
+ * Based on Wobbly and Minimize plugins by
+ * : David Reveman
+ * E-mail : davidr at novell.com>
+ *
+ * Particle system added by : (C) 2006 Dennis Kasprzyk
+ * E-mail : onestone at beryl-project.org
+ *
+ * Beam-Up added by : Florencio Guimaraes
+ * E-mail : florencio at nexcorp.com.br
+ *
+ * Hexagon tessellator added by : Mike Slegeir
+ * E-mail : mikeslegeir at mail.utexas.edu>
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+ */
+
#include "animation-internal.h"
+#include "curvedfold.h"
+
// ===================== Effect: Curved Fold =========================
void
Modified: fusion/plugins/animation/dodge.c
===================================================================
--- fusion/plugins/animation/dodge.c
+++ fusion/plugins/animation/dodge.c
@@ -1,4 +1,41 @@
+/*
+ * Animation plugin for compiz/beryl
+ *
+ * animation.c
+ *
+ * Copyright : (C) 2006 Erkin Bahceci
+ * E-mail : erkinbah at gmail.com
+ *
+ * Based on Wobbly and Minimize plugins by
+ * : David Reveman
+ * E-mail : davidr at novell.com>
+ *
+ * Particle system added by : (C) 2006 Dennis Kasprzyk
+ * E-mail : onestone at beryl-project.org
+ *
+ * Beam-Up added by : Florencio Guimaraes
+ * E-mail : florencio at nexcorp.com.br
+ *
+ * Hexagon tessellator added by : Mike Slegeir
+ * E-mail : mikeslegeir at mail.utexas.edu>
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+ */
+
#include "animation-internal.h"
+#include "dodge.h"
// ===================== Effect: Dodge =========================
Modified: fusion/plugins/animation/dodge.h
===================================================================
--- fusion/plugins/animation/dodge.h
+++ fusion/plugins/animation/dodge.h
@@ -1,4 +1,5 @@
-
-void fxDodgePostPreparePaintScreen(CompScreen *s,CompWindow *w);
-void fxDodgeUpdateWindowTransform(CompScreen *s,CompWindow *w,CompTransform *wTransform);
-void fxDodgeAnimStep(CompScreen *s,CompWindow *w,float time);
+void fxDodgeProcessSubject (CompWindow *wCur, Region wRegion, Region dodgeRegion);
+void fxDodgeFindDodgeBox (CompWindow *w, XRectangle *dodgeBox);
+void fxDodgePostPreparePaintScreen (CompScreen *s,CompWindow *w);
+void fxDodgeUpdateWindowTransform (CompScreen *s,CompWindow *w,CompTransform *wTransform);
+void fxDodgeAnimStep (CompScreen *s,CompWindow *w,float time);
Modified: fusion/plugins/animation/domino.c
===================================================================
--- fusion/plugins/animation/domino.c
+++ fusion/plugins/animation/domino.c
@@ -1,4 +1,42 @@
+/*
+ * Animation plugin for compiz/beryl
+ *
+ * animation.c
+ *
+ * Copyright : (C) 2006 Erkin Bahceci
+ * E-mail : erkinbah at gmail.com
+ *
+ * Based on Wobbly and Minimize plugins by
+ * : David Reveman
+ * E-mail : davidr at novell.com>
+ *
+ * Particle system added by : (C) 2006 Dennis Kasprzyk
+ * E-mail : onestone at beryl-project.org
+ *
+ * Beam-Up added by : Florencio Guimaraes
+ * E-mail : florencio at nexcorp.com.br
+ *
+ * Hexagon tessellator added by : Mike Slegeir
+ * E-mail : mikeslegeir at mail.utexas.edu>
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+ */
+
#include "animation-internal.h"
+#include "domino.h"
+
void fxDomino3DInit(CompScreen * s, CompWindow * w)
{
ANIM_WINDOW(w);
Modified: fusion/plugins/animation/dream.c
===================================================================
--- fusion/plugins/animation/dream.c
+++ fusion/plugins/animation/dream.c
@@ -34,43 +34,8 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
-/*
- * TODO:
- *
- * - Auto direction option: Close in opposite direction of opening
- * - Proper side surface normals for lighting
- * - decoration shadows
- * - shadow quad generation
- * - shadow texture coords (from clip tex. matrices)
- * - draw shadows
- * - fade in shadows
- *
- * - Voronoi tessellation
- * - Brick tessellation
- * - Triangle tessellation
- * - Hexagonal tessellation
- *
- * Effects:
- * - Circular action for tornado type fx
- * - Tornado 3D (especially for minimize)
- * - Helix 3D (hor. strips descend while they rotate and fade in)
- * - Glass breaking 3D
- * - Gaussian distr. points (for gradually increasing polygon size
- * starting from center or near mouse pointer)
- * - Drawing cracks
- * - Gradual cracking
- *
- * - fix slowness during transparent cube with <100 opacity
- * - fix occasional wrong side color in some windows
- * - fix on top windows and panels
- * (These two only matter for viewing during Rotate Cube.
- * All windows should be painted with depth test on
- * like 3d-plugin does)
- * - play better with rotate (fix cube face drawn on top of polygons
- * after 45 deg. rotation)
- *
- */
#include "animation-internal.h"
+#include "dream.h"
void
fxDreamModelStepObject(CompWindow * w,
Modified: fusion/plugins/animation/explode3d.c
===================================================================
--- fusion/plugins/animation/explode3d.c
+++ fusion/plugins/animation/explode3d.c
@@ -1,4 +1,42 @@
+/*
+ * Animation plugin for compiz/beryl
+ *
+ * animation.c
+ *
+ * Copyright : (C) 2006 Erkin Bahceci
+ * E-mail : erkinbah at gmail.com
+ *
+ * Based on Wobbly and Minimize plugins by
+ * : David Reveman
+ * E-mail : davidr at novell.com>
+ *
+ * Particle system added by : (C) 2006 Dennis Kasprzyk
+ * E-mail : onestone at beryl-project.org
+ *
+ * Beam-Up added by : Florencio Guimaraes
+ * E-mail : florencio at nexcorp.com.br
+ *
+ * Hexagon tessellator added by : Mike Slegeir
+ * E-mail : mikeslegeir at mail.utexas.edu>
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+ */
+
#include "animation-internal.h"
+#include "explode3d.h"
+
void fxExplode3DInit(CompScreen * s, CompWindow * w)
{
ANIM_WINDOW(w);
Modified: fusion/plugins/animation/fade.c
===================================================================
--- fusion/plugins/animation/fade.c
+++ fusion/plugins/animation/fade.c
@@ -1,4 +1,41 @@
+/*
+ * Animation plugin for compiz/beryl
+ *
+ * animation.c
+ *
+ * Copyright : (C) 2006 Erkin Bahceci
+ * E-mail : erkinbah at gmail.com
+ *
+ * Based on Wobbly and Minimize plugins by
+ * : David Reveman
+ * E-mail : davidr at novell.com>
+ *
+ * Particle system added by : (C) 2006 Dennis Kasprzyk
+ * E-mail : onestone at beryl-project.org
+ *
+ * Beam-Up added by : Florencio Guimaraes
+ * E-mail : florencio at nexcorp.com.br
+ *
+ * Hexagon tessellator added by : Mike Slegeir
+ * E-mail : mikeslegeir at mail.utexas.edu>
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+ */
+
#include "animation-internal.h"
+#include "fade.h"
// ===================== Effect: Fade =========================
Modified: fusion/plugins/animation/focusfade.c
===================================================================
--- fusion/plugins/animation/focusfade.c
+++ fusion/plugins/animation/focusfade.c
@@ -1,4 +1,42 @@
+/*
+ * Animation plugin for compiz/beryl
+ *
+ * animation.c
+ *
+ * Copyright : (C) 2006 Erkin Bahceci
+ * E-mail : erkinbah at gmail.com
+ *
+ * Based on Wobbly and Minimize plugins by
+ * : David Reveman
+ * E-mail : davidr at novell.com>
+ *
+ * Particle system added by : (C) 2006 Dennis Kasprzyk
+ * E-mail : onestone at beryl-project.org
+ *
+ * Beam-Up added by : Florencio Guimaraes
+ * E-mail : florencio at nexcorp.com.br
+ *
+ * Hexagon tessellator added by : Mike Slegeir
+ * E-mail : mikeslegeir at mail.utexas.edu>
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+ */
+
#include "animation-internal.h"
+#include "focusfade.h"
+
// ===================== Effect: Focus Fade =========================
Modified: fusion/plugins/animation/glide.c
===================================================================
--- fusion/plugins/animation/glide.c
+++ fusion/plugins/animation/glide.c
@@ -1,4 +1,42 @@
+/*
+ * Animation plugin for compiz/beryl
+ *
+ * animation.c
+ *
+ * Copyright : (C) 2006 Erkin Bahceci
+ * E-mail : erkinbah at gmail.com
+ *
+ * Based on Wobbly and Minimize plugins by
+ * : David Reveman
+ * E-mail : davidr at novell.com>
+ *
+ * Particle system added by : (C) 2006 Dennis Kasprzyk
+ * E-mail : onestone at beryl-project.org
+ *
+ * Beam-Up added by : Florencio Guimaraes
+ * E-mail : florencio at nexcorp.com.br
+ *
+ * Hexagon tessellator added by : Mike Slegeir
+ * E-mail : mikeslegeir at mail.utexas.edu>
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+ */
+
#include "animation-internal.h"
+#include "glide.h"
+
// ===================== Effect: Glide =========================
void fxGlideGetParams
Modified: fusion/plugins/animation/horizontalfold.c
===================================================================
--- fusion/plugins/animation/horizontalfold.c
+++ fusion/plugins/animation/horizontalfold.c
@@ -1,4 +1,42 @@
+/*
+ * Animation plugin for compiz/beryl
+ *
+ * animation.c
+ *
+ * Copyright : (C) 2006 Erkin Bahceci
+ * E-mail : erkinbah at gmail.com
+ *
+ * Based on Wobbly and Minimize plugins by
+ * : David Reveman
+ * E-mail : davidr at novell.com>
+ *
+ * Particle system added by : (C) 2006 Dennis Kasprzyk
+ * E-mail : onestone at beryl-project.org
+ *
+ * Beam-Up added by : Florencio Guimaraes
+ * E-mail : florencio at nexcorp.com.br
+ *
+ * Hexagon tessellator added by : Mike Slegeir
+ * E-mail : mikeslegeir at mail.utexas.edu>
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+ */
+
#include "animation-internal.h"
+#include "horizontalfold.h"
+
// ===================== Effect: Horizontal Folds =========================
Modified: fusion/plugins/animation/leafspread.c
===================================================================
--- fusion/plugins/animation/leafspread.c
+++ fusion/plugins/animation/leafspread.c
@@ -1,4 +1,42 @@
+/*
+ * Animation plugin for compiz/beryl
+ *
+ * animation.c
+ *
+ * Copyright : (C) 2006 Erkin Bahceci
+ * E-mail : erkinbah at gmail.com
+ *
+ * Based on Wobbly and Minimize plugins by
+ * : David Reveman
+ * E-mail : davidr at novell.com>
+ *
+ * Particle system added by : (C) 2006 Dennis Kasprzyk
+ * E-mail : onestone at beryl-project.org
+ *
+ * Beam-Up added by : Florencio Guimaraes
+ * E-mail : florencio at nexcorp.com.br
+ *
+ * Hexagon tessellator added by : Mike Slegeir
+ * E-mail : mikeslegeir at mail.utexas.edu>
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+ */
+
#include "animation-internal.h"
+#include "leafspread.h"
+
void fxLeafSpread3DInit(CompScreen * s, CompWindow * w)
{
ANIM_WINDOW(w);
Modified: fusion/plugins/animation/magiclamp.c
===================================================================
--- fusion/plugins/animation/magiclamp.c
+++ fusion/plugins/animation/magiclamp.c
@@ -34,44 +34,8 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
-/*
- * TODO:
- *
- * - Auto direction option: Close in opposite direction of opening
- * - Proper side surface normals for lighting
- * - decoration shadows
- * - shadow quad generation
- * - shadow texture coords (from clip tex. matrices)
- * - draw shadows
- * - fade in shadows
- *
- * - Voronoi tessellation
- * - Brick tessellation
- * - Triangle tessellation
- * - Hexagonal tessellation
- *
- * Effects:
- * - Circular action for tornado type fx
- * - Tornado 3D (especially for minimize)
- * - Helix 3D (hor. strips descend while they rotate and fade in)
- * - Glass breaking 3D
- * - Gaussian distr. points (for gradually increasing polygon size
- * starting from center or near mouse pointer)
- * - Drawing cracks
- * - Gradual cracking
- *
- * - fix slowness during transparent cube with <100 opacity
- * - fix occasional wrong side color in some windows
- * - fix on top windows and panels
- * (These two only matter for viewing during Rotate Cube.
- * All windows should be painted with depth test on
- * like 3d-plugin does)
- * - play better with rotate (fix cube face drawn on top of polygons
- * after 45 deg. rotation)
- *
- */
#include "animation-internal.h"
-
+#include "magiclamp.h"
void
fxMagicLampInitGrid(AnimScreen * as,
Modified: fusion/plugins/animation/rollup.c
===================================================================
--- fusion/plugins/animation/rollup.c
+++ fusion/plugins/animation/rollup.c
@@ -1,4 +1,42 @@
+/*
+ * Animation plugin for compiz/beryl
+ *
+ * animation.c
+ *
+ * Copyright : (C) 2006 Erkin Bahceci
+ * E-mail : erkinbah at gmail.com
+ *
+ * Based on Wobbly and Minimize plugins by
+ * : David Reveman
+ * E-mail : davidr at novell.com>
+ *
+ * Particle system added by : (C) 2006 Dennis Kasprzyk
+ * E-mail : onestone at beryl-project.org
+ *
+ * Beam-Up added by : Florencio Guimaraes
+ * E-mail : florencio at nexcorp.com.br
+ *
+ * Hexagon tessellator added by : Mike Slegeir
+ * E-mail : mikeslegeir at mail.utexas.edu>
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+ */
+
#include "animation-internal.h"
+#include "rollup.h"
+
// ===================== Effect: Roll Up =========================
void
Modified: fusion/plugins/animation/wave.c
===================================================================
--- fusion/plugins/animation/wave.c
+++ fusion/plugins/animation/wave.c
@@ -34,43 +34,8 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
-/*
- * TODO:
- *
- * - Auto direction option: Close in opposite direction of opening
- * - Proper side surface normals for lighting
- * - decoration shadows
- * - shadow quad generation
- * - shadow texture coords (from clip tex. matrices)
- * - draw shadows
- * - fade in shadows
- *
- * - Voronoi tessellation
- * - Brick tessellation
- * - Triangle tessellation
- * - Hexagonal tessellation
- *
- * Effects:
- * - Circular action for tornado type fx
- * - Tornado 3D (especially for minimize)
- * - Helix 3D (hor. strips descend while they rotate and fade in)
- * - Glass breaking 3D
- * - Gaussian distr. points (for gradually increasing polygon size
- * starting from center or near mouse pointer)
- * - Drawing cracks
- * - Gradual cracking
- *
- * - fix slowness during transparent cube with <100 opacity
- * - fix occasional wrong side color in some windows
- * - fix on top windows and panels
- * (These two only matter for viewing during Rotate Cube.
- * All windows should be painted with depth test on
- * like 3d-plugin does)
- * - play better with rotate (fix cube face drawn on top of polygons
- * after 45 deg. rotation)
- *
- */
#include "animation-internal.h"
+#include "wave.h"
// ===================== Effect: Wave =========================
Modified: fusion/plugins/animation/zoomside.c
===================================================================
--- fusion/plugins/animation/zoomside.c
+++ fusion/plugins/animation/zoomside.c
@@ -34,51 +34,8 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
-/*
- * TODO:
- *
- * - Auto direction option: Close in opposite direction of opening
- * - Proper side surface normals for lighting
- * - decoration shadows
- * - shadow quad generation
- * - shadow texture coords (from clip tex. matrices)
- * - draw shadows
- * - fade in shadows
- *
- * - Voronoi tessellation
- * - Brick tessellation
- * - Triangle tessellation
- * - Hexagonal tessellation
- *
- * Effects:
- * - Circular action for tornado type fx
- * - Tornado 3D (especially for minimize)
- * - Helix 3D (hor. strips descend while they rotate and fade in)
- * - Glass breaking 3D
- * - Gaussian distr. points (for gradually increasing polygon size
- * starting from center or near mouse pointer)
- * - Drawing cracks
- * - Gradual cracking
- *
- * - fix slowness during transparent cube with <100 opacity
- * - fix occasional wrong side color in some windows
- * - fix on top windows and panels
- * (These two only matter for viewing during Rotate Cube.
- * All windows should be painted with depth test on
- * like 3d-plugin does)
- * - play better with rotate (fix cube face drawn on top of polygons
- * after 45 deg. rotation)
- *
- */
#include "animation-internal.h"
-
-
-
-
-
-
-
-
+#include "zoomside.h"
// ===================== Effect: Zoom and Sidekick =========================
More information about the commits
mailing list