diff options
| author | Simon Robertshaw <simon@hardwired.org.uk> | 2012-11-17 19:43:59 (GMT) |
|---|---|---|
| committer | Simon Robertshaw <simon@hardwired.org.uk> | 2012-11-17 19:43:59 (GMT) |
| commit | e3594aba9e05c6865d396418c028049cda92c2f3 (patch) | |
| tree | 4b825dc642cb6eb9a060e54bf8d69288fbee4904 /includes/gravity.h | |
| parent | fb43f7d23e99765ae093fc45608901cb5907d1d8 (diff) | |
| download | powder-e3594aba9e05c6865d396418c028049cda92c2f3.zip powder-e3594aba9e05c6865d396418c028049cda92c2f3.tar.gz | |
Remove old code
Diffstat (limited to 'includes/gravity.h')
| -rw-r--r-- | includes/gravity.h | 54 |
1 files changed, 0 insertions, 54 deletions
diff --git a/includes/gravity.h b/includes/gravity.h deleted file mode 100644 index 250bc73..0000000 --- a/includes/gravity.h +++ /dev/null @@ -1,54 +0,0 @@ -/** - * Powder Toy - Newtonian gravity (header) - * - * 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 3 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, see <http://www.gnu.org/licenses/>. - */ -#ifndef GRAVITY_H -#define GRAVITY_H - -#include "defines.h" - -extern int ngrav_enable; //Newtonian gravity -extern int gravwl_timeout; -extern int gravityMode; - -float *gravmap;//Maps to be used by the main thread -float *gravp; -float *gravy; -float *gravx; -unsigned *gravmask; - -float *th_ogravmap;// Maps to be processed by the gravity thread -float *th_gravmap; -float *th_gravx; -float *th_gravy; -float *th_gravp; - -void gravity_init(); -void gravity_cleanup(); -void gravity_update_async(); - -void start_grav_async(); -void stop_grav_async(); -void update_grav(); -void gravity_mask(); - -void bilinear_interpolation(float *src, float *dst, int sw, int sh, int rw, int rh); - -#ifdef GRAVFFT -void grav_fft_init(); -void grav_fft_cleanup(); -#endif - -#endif |
