diff options
| author | Simon Robertshaw <simon@hardwired.org.uk> | 2011-07-18 22:58:08 (GMT) |
|---|---|---|
| committer | Simon Robertshaw <simon@hardwired.org.uk> | 2011-07-18 22:58:08 (GMT) |
| commit | 68404608f69a03546b91b4e1fe800abf48a88e74 (patch) | |
| tree | af8db7f2b4cdf591e231a55a41f1c4c18cb528b4 /includes/graphics.h | |
| parent | 0fbe6e2d3fbe045e0db233c27bacc3b370b08753 (diff) | |
| download | powder-68404608f69a03546b91b4e1fe800abf48a88e74.zip powder-68404608f69a03546b91b4e1fe800abf48a88e74.tar.gz | |
Lensing effect for gravity, adds 3 new gravity maps (full resolution, linear interpolation for faux accuracy), old ones should be removed in time.
Diffstat (limited to 'includes/graphics.h')
| -rw-r--r-- | includes/graphics.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/includes/graphics.h b/includes/graphics.h index 50d8ab1..ca761be 100644 --- a/includes/graphics.h +++ b/includes/graphics.h @@ -60,6 +60,8 @@ pixel *resample_img(pixel *src, int sw, int sh, int rw, int rh); pixel *rescale_img(pixel *src, int sw, int sh, int *qw, int *qh, int f); +void render_gravlensing(pixel *src, pixel * dst); + void sdl_blit_1(int x, int y, int w, int h, pixel *src, int pitch); void sdl_blit_2(int x, int y, int w, int h, pixel *src, int pitch); |
