~ubuntu-branches/ubuntu/quantal/hedgewars/quantal

« back to all changes in this revision

Viewing changes to cmake_modules/FindSparkle.cmake

  • Committer: Bazaar Package Importer
  • Author(s): Dmitry E. Oboukhov
  • Date: 2010-11-14 22:45:48 UTC
  • mfrom: (1.1.8 upstream) (3.2.9 sid)
  • Revision ID: james.westby@ubuntu.com-20101114224548-ws42t9rz3i4qd972
Tags: 0.9.14.1-1
* New upstream version.
 + New audio tracks
 + New forts: EvilChicken, Tank
 + New game modes: AI Survival Mode, Per Hedgehog Ammo,
   Reset Health, Reset Weapons, Unlimited Attacks
 + New grave: ring
 + Over 30 new hats
 + New themes: Art, Brick, Jungle, Stage
 + New maps: ShoppaKing, Sticks, TrophyRace (Mission)
 + New utilities: Portal Gun, Resurrector
 + New weapons: Flamethrower, Hammer, Old Limburger,
   Piano Strike, Sticky Mines
 + Weapons' projectiles will how be launched from their
   barrels instead of the hog's center
 + Flying Saucers may be used for moving below the water surface
 + New default game schemes: Clean Slate, Fort Mode, Timeless,
   Thinking with Portals, King Mode
 + New default weapon set: Clean Slate, Thinking with Portals
 + Bomb clusters/Melon parts inherit some of the original bomb's speed
 + Extended game statistics
 + Improved health bar updating
 + Hogs that blow themselves up will use triggers in they team color
 + Settings allow better control over the level of details/effects
 + Improved Lua support
 + On empty ammo switch to no weapon rather than the first available
   one (to avoid shooting by accident)
 + Display of hints in the frontend
 + Some improvements of existing Themes of Maps
 + Land destruction effects added
 + Improved fire effects
 + Improved Melon explosion effects
 + Online game lobby now features game filters
 + Other Frontend enhancements
 + Additional sounds
 + Show special game rules in Esc screen
 + Updated translation
 + Speed optimizations
 + Hedgewars will now use a sub directory of "My Documents"
   like other games instead of "%userprofile%/.hedgewars" under Windows
 + Added support for graphics cards/drivers that have a 512x512
   pixel textures limit
 + Team colors are more distinguishable from each other now
 * Fixed bug that allowed charging a weapon while on rope,
   leading to frozen timer
 * Various bug fixes
* Switched to 3.0 source format.
* Switched to cdbs build system.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
### Hedgewars
 
2
 
 
3
# - Try to find the Sparkle framework
 
4
# Once done this will define
 
5
#
 
6
#  SPARKLE_FOUND - system has Sparkle
 
7
#  SPARKLE_INCLUDE_DIR - the Sparkle include directory
 
8
#  SPARKLE_LIBRARY - The library needed to use Sparkle
 
9
# Copyright (c) 2009, Vittorio Giovara, <vittorio.giovara@gmail.com>
 
10
#
 
11
# Redistribution and use is allowed according to the terms of a Creative Commons license.
 
12
# For details see http://creativecommons.org/licenses/by-sa/3.0/
 
13
# original version of this module was derived from Richard Laerkaeng, <richard@goteborg.utfors.se>
 
14
 
 
15
 
 
16
include (CheckLibraryExists)
 
17
find_path(SPARKLE_INCLUDE_DIR Sparkle.h)
 
18
find_library(SPARKLE_LIBRARY NAMES Sparkle)
 
19
 
 
20
if (SPARKLE_INCLUDE_DIR AND SPARKLE_LIBRARY)
 
21
   set(SPARKLE_FOUND TRUE)
 
22
else ()
 
23
   set(SPARKLE_FOUND FALSE)
 
24
endif ()
 
25
 
 
26
if (SPARKLE_FOUND)
 
27
   if (NOT Sparkle_FIND_QUIETLY)
 
28
      message(STATUS "Found Sparkle: ${SPARKLE_LIBRARY}")
 
29
   endif ()
 
30
else ()
 
31
   if (Sparkle_FIND_REQUIRED)
 
32
      message(FATAL_ERROR "Could NOT find Sparkle framework")
 
33
   else ()
 
34
      if (NOT Sparkle_FIND_QUIETLY)
 
35
         message(STATUS "Could NOT find Sparkle framework, autoupdate feature will be disabled")
 
36
      endif()
 
37
   endif ()
 
38
endif ()
 
39