Last change
on this file since 9339 was
9319,
checked in by landauf, 12 years ago
|
refactored PickupSpawner - it doesn't clone a sample-pickup anymore, it creates new pickups from a template.
removed DroppedPickup because it is not needed anymore, PickupSpawner has now the same functionality.
the representation of the pickup spawner is now destroyed if the pickup is taken and re-created if it spawns again (instead of changing the visibility). makes it easier to change the pickup in a spawner during the game.
adjusted all level files accordingly
|
-
Property svn:eol-style set to
native
|
File size:
408 bytes
|
Line | |
---|
1 | SET_SOURCE_FILES(PICKUP_SRC_FILES |
---|
2 | CollectiblePickup.cc |
---|
3 | Pickup.cc |
---|
4 | PickupCollection.cc |
---|
5 | PickupManager.cc |
---|
6 | PickupRepresentation.cc |
---|
7 | PickupSpawner.cc |
---|
8 | ) |
---|
9 | |
---|
10 | ADD_SUBDIRECTORY(items) |
---|
11 | |
---|
12 | ORXONOX_ADD_LIBRARY(pickup |
---|
13 | MODULE |
---|
14 | FIND_HEADER_FILES |
---|
15 | TOLUA_FILES |
---|
16 | PickupManager.h |
---|
17 | PickupRepresentation.h |
---|
18 | PCH_FILE |
---|
19 | PickupPrecompiledHeaders.h |
---|
20 | LINK_LIBRARIES |
---|
21 | orxonox |
---|
22 | SOURCE_FILES ${PICKUP_SRC_FILES} |
---|
23 | ) |
---|
Note: See
TracBrowser
for help on using the repository browser.