~ubuntu-branches/ubuntu/wily/hedgewars/wily

« back to all changes in this revision

Viewing changes to misc/libfreetype/src/base/ftpic.c

  • Committer: Package Import Robot
  • Author(s): Dmitry E. Oboukhov
  • Date: 2011-09-23 10:16:55 UTC
  • mfrom: (1.2.11 upstream)
  • Revision ID: package-import@ubuntu.com-20110923101655-3977th2gc5n0a3pv
Tags: 0.9.16-1
* New upstream version.
 + Downloadable content! Simply click to install any content.
   New voices, hats, maps, themes, translations, music, scripts...
   Hedgewars is now more customisable than ever before! As time goes
   by we will be soliciting community content to feature on this page,
   so remember to check it from time to time. If you decide you want
   to go back to standard Hedgewars, just remove the Data directory
   from your Hedgewars config directory.
 + 3-D rendering! Diorama-like rendering of the game in a variety
   of 3D modes. Let us know which ones work best for you, we didn't
   really have the equipment to test them all.
 + Resizable game window.
 + New utilities! The Time Box will remove one of your hedgehogs
   from the game for a while, protecting from attack until it returns,
   somewhere else on the map. Land spray will allow you to build bridges,
   seal up holes, or just make life unpleasant for your enemies.
 + New single player: Bamboo Thicket, That Sinking Feeling, Newton and
   the Tree and multi-player: The Specialists, Space Invaders,
   Racer - scripts! And a ton more script hooks for scripters
 + New twists on old weapons. Drill strike, seduction and fire have
   been adjusted. Defective mines have been added, rope can attach to
   hogs/crates/barrels again, grenades now have variable bounce (use
   precise key + 1-5). Portal gun is now more usable in flight and
   all game actions are a lot faster.
 + New theme - Golf, dozens of new community hats and a new
   localised Default voice, Ukranian.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/***************************************************************************/
 
2
/*                                                                         */
 
3
/*  ftpic.c                                                                */
 
4
/*                                                                         */
 
5
/*    The FreeType position independent code services (body).              */
 
6
/*                                                                         */
 
7
/*  Copyright 2009 by                                                      */
 
8
/*  Oran Agra and Mickey Gabel.                                            */
 
9
/*                                                                         */
 
10
/*  This file is part of the FreeType project, and may only be used,       */
 
11
/*  modified, and distributed under the terms of the FreeType project      */
 
12
/*  license, LICENSE.TXT.  By continuing to use, modify, or distribute     */
 
13
/*  this file you indicate that you have read the license and              */
 
14
/*  understand and accept it fully.                                        */
 
15
/*                                                                         */
 
16
/***************************************************************************/
 
17
 
 
18
 
 
19
#include <ft2build.h>
 
20
#include FT_FREETYPE_H
 
21
#include FT_INTERNAL_OBJECTS_H
 
22
#include "basepic.h"
 
23
 
 
24
#ifdef FT_CONFIG_OPTION_PIC
 
25
 
 
26
  /* documentation is in ftpic.h */
 
27
 
 
28
  FT_BASE_DEF( FT_Error )
 
29
  ft_pic_container_init( FT_Library library )
 
30
  {
 
31
    FT_PIC_Container* pic_container = &library->pic_container;
 
32
    FT_Error error = FT_Err_Ok;
 
33
 
 
34
    FT_MEM_SET( pic_container, 0, sizeof(*pic_container) );
 
35
 
 
36
    error = ft_base_pic_init( library );
 
37
    if(error)
 
38
      return error;
 
39
 
 
40
    return FT_Err_Ok;
 
41
  }
 
42
 
 
43
 
 
44
  /* Destroy the contents of the container. */
 
45
  FT_BASE_DEF( void )
 
46
  ft_pic_container_destroy( FT_Library library )
 
47
  {
 
48
    ft_base_pic_free( library );
 
49
  }
 
50
 
 
51
#endif /* FT_CONFIG_OPTION_PIC */
 
52
 
 
53
 
 
54
/* END */