Changeset 24


Ignore:
Timestamp:
2010-01-24 03:04:19 (2 years ago)
Author:
kpoole
Message:

Episode 3: Dead Water

Location:
trunk
Files:
1 added
20 edited

Legend:

Unmodified
Added
Removed
  • trunk/Classes/AssocVector.h

    r4 r24  
    2222#include <utility> 
    2323 
     24// KP: default allocator changed to tcmalloc! 
     25#include "base/stl_allocator.h" 
     26 
     27 
    2428//namespace Loki 
    2529//{ 
     
    7882        class V, 
    7983        class C = std::less<K>, 
    80         class A = std::allocator< std::pair<K, V> > 
     84        //class A = std::allocator< std::pair<K, V> > 
     85        class A = STL_Allocator< std::pair<K, V>, tcmallocAllocator> 
    8186    > 
    8287    class AssocVector  
  • trunk/Classes/UnitTextureAtlas.cpp

    r22 r24  
    21332133        if (pos != std::string::npos) 
    21342134        { 
    2135             searchStr[pos] = 0; 
     2135            //searchStr[pos] = 0; 
     2136            searchStr = searchStr.substr(0, pos); 
    21362137        } 
    21372138    } 
  • trunk/Classes/attack_prediction.cpp

    r4 r24  
    3030// -DCHECK for testing correctness 
    3131// (run tools/wesnoth-attack-sim.c --check on output) 
    32 #if defined(BENCHMARK) || defined(CHECK) 
     32#if defined(BENCHMARK) || defined(WESCHECK) 
    3333#include <time.h> 
    3434#include <sys/time.h> 
     
    220220} 
    221221 
    222 #ifdef CHECK 
     222#ifdef WESCHECK 
    223223void prob_matrix::dump() const 
    224224{ 
     
    878878} 
    879879 
    880 #if defined(BENCHMARK) || defined(CHECK) 
     880#if defined(BENCHMARK) || defined(WESCHECK) 
    881881// We create a significant number of nasty-to-calculate units, 
    882882// and test each one against the others. 
     
    894894  } while (0) 
    895895 
    896 #ifdef CHECK 
     896#ifdef WESCHECK 
    897897void combatant::print(const char label[], unsigned int battle) const 
    898898{ 
  • trunk/Classes/game.cpp

    r23 r24  
    10191019        return false; 
    10201020    } 
     1021     
     1022    if(state_.campaign_type == "multiplayer") 
     1023        preferences::set_multiplayer(true); 
     1024    else 
     1025        preferences::set_multiplayer(false); 
     1026     
     1027     
    10211028    recorder = replay(state_.replay_data); 
    10221029    recorder.start_replay(); 
     
    18081815        SDL_Quit(); 
    18091816#endif 
     1817     
     1818    destroy_all_strings(); 
    18101819    exit(res); 
    18111820} 
     
    22452254        else if(res == gui::NEW_CAMPAIGN) { 
    22462255            draw_wait_cursor(); 
     2256            preferences::set_multiplayer(false); 
    22472257            if(game.new_campaign() == false) { 
    22482258                continue; 
     
    22502260#ifndef FREE_VERSION             
    22512261        } else if (res == gui::SKIRMISH) { 
     2262            preferences::set_multiplayer(true); 
    22522263            if(game.play_multiplayer(3) == false) { 
    22532264                continue; 
    22542265            }            
    22552266        } else if(res == gui::MULTIPLAYER) { 
     2267            preferences::set_multiplayer(true); 
    22562268            if(game.play_multiplayer(0) == false) { 
    22572269                continue; 
     
    24432455            << "\n\nGame will be aborted.\n"; 
    24442456    } 
     2457     
     2458    destroy_all_strings(); 
    24452459 
    24462460    return 0; 
  • trunk/Classes/game_preferences.hpp

    r23 r24  
    245245    void add_kill(); 
    246246    void reset_turn_kills(); 
     247    void set_multiplayer(bool isMultiplayer); 
     248    bool is_multiplayer(); 
    247249} 
    248250 
  • trunk/Classes/game_preferences.mm

    r23 r24  
    5151 
    5252bool authenticated = false; 
     53     
     54bool isMultiplayer = false; 
    5355} // anon namespace 
    5456 
     
    988990int get_player_side() 
    989991{ 
     992    if (isMultiplayer) 
     993        return -1; 
    990994    return player_side; 
    991995} 
    992996 
     997void set_multiplayer(bool isMult) 
     998{ 
     999    isMultiplayer = isMult; 
     1000} 
     1001 
     1002bool is_multiplayer(void) 
     1003{ 
     1004    return isMultiplayer; 
     1005} 
    9931006     
    9941007} // preferences namespace 
  • trunk/Classes/gui/widgets/canvas.cpp

    r4 r24  
    3030#include "wml_exception.hpp" 
    3131 
     32#include <stdio.h> 
     33 
    3234extern void blit_surface_scaled(int x, int y, int w, int h, surface surf, textureRenderFlags flags=DRAW); 
    3335extern void blit_surface(int x, int y, surface surf, SDL_Rect* srcrect=NULL, SDL_Rect* clip_rect=NULL, textureRenderFlags flags=DRAW); 
     
    3739extern void fill_rect(Uint32 color, SDL_Rect *rect); 
    3840 
     41// KP: added timage caching 
     42SDL_TextureID last_timage = 0; 
     43 
     44std::string timage_cache_files[] = { 
     45"buttons/downarrow-button.png", 
     46"buttons/downarrow-button-disabled.png", 
     47"buttons/downarrow-button-pressed.png", 
     48"buttons/downarrow-button-active.png", 
     49"buttons/uparrow-button.png", 
     50"buttons/uparrow-button-disabled.png", 
     51"buttons/uparrow-button-pressed.png", 
     52"buttons/uparrow-button-active.png", 
     53"buttons/left_arrow-button.png", 
     54"buttons/left_arrow-button-disabled.png", 
     55"buttons/left_arrow-button-pressed.png", 
     56"buttons/left_arrow-button-active.png", 
     57"buttons/right_arrow-button.png", 
     58"buttons/right_arrow-button-disabled.png", 
     59"buttons/right_arrow-button-pressed.png", 
     60"buttons/right_arrow-button-active.png", 
     61"buttons/button.png", 
     62"buttons/button-disabled.png", 
     63"buttons/button-pressed.png", 
     64"buttons/button-active.png", 
     65"buttons/scrollgroove-left.png", 
     66"buttons/scrollgroove-horizontal.png", 
     67"buttons/scrollgroove-right.png", 
     68"buttons/scrollleft.png", 
     69"buttons/scrollhorizontal.png", 
     70"buttons/scrollright.png", 
     71"buttons/scrollleft-disabled.png", 
     72"buttons/scrollhorizontal-disabled.png", 
     73"buttons/scrollright-disabled.png", 
     74"buttons/scrollleft-pressed.png", 
     75"buttons/scrollhorizontal-pressed.png", 
     76"buttons/scrollright-pressed.png", 
     77"buttons/scrollleft-active.png", 
     78"buttons/scrollhorizontal-active.png", 
     79"buttons/scrollright-active.png", 
     80"dialogs/translucent65-border-top.png", 
     81"dialogs/translucent65-border-bottom.png", 
     82"dialogs/translucent65-background.png", 
     83"buttons/slider.png", 
     84"buttons/slider-disabled.png", 
     85"buttons/slider-selected.png", 
     86"buttons/slider-active.png", 
     87"buttons/checkbox.png", 
     88"buttons/checkbox.png", 
     89"buttons/checkbox-active.png", 
     90"buttons/checkbox-pressed.png", 
     91"buttons/checkbox-pressed.png", 
     92"buttons/checkbox-active-pressed.png", 
     93"misc/selection2-border-topleft.png", 
     94"misc/selection2-border-topright.png", 
     95"misc/selection2-border-botleft.png", 
     96"misc/selection2-border-botright.png", 
     97"misc/selection2-border-top.png", 
     98"misc/selection2-border-bottom.png", 
     99"misc/selection2-border-left.png", 
     100"misc/selection2-border-right.png", 
     101"misc/selection2-background.png", 
     102"misc/selection-border-topleft.png", 
     103"misc/selection-border-topright.png", 
     104"misc/selection-border-botleft.png", 
     105"misc/selection-border-botright.png", 
     106"misc/selection-border-top.png", 
     107"misc/selection-border-bottom.png", 
     108"misc/selection-border-left.png", 
     109"misc/selection-border-right.png", 
     110"misc/selection-background.png", 
     111"buttons/scrollgroove-top.png", 
     112"buttons/scrollgroove-mid.png", 
     113"buttons/scrollgroove-bottom.png", 
     114"buttons/scrolltop.png", 
     115"buttons/scrollmid.png", 
     116"buttons/scrollbottom.png", 
     117"buttons/scrolltop-disabled.png", 
     118"buttons/scrollmid-disabled.png", 
     119"buttons/scrollbottom-disabled.png", 
     120"buttons/scrolltop-pressed.png", 
     121"buttons/scrollmid-pressed.png", 
     122"buttons/scrollbottom-pressed.png", 
     123"buttons/scrolltop-active.png", 
     124"buttons/scrollmid-active.png", 
     125"buttons/scrollbottom-active.png", 
     126"dialogs/opaque-border-topleft.png", 
     127"dialogs/opaque-border-top.png", 
     128"dialogs/opaque-border-topright.png", 
     129"dialogs/opaque-border-right.png", 
     130"dialogs/opaque-border-botright.png", 
     131"dialogs/opaque-border-bottom.png", 
     132"dialogs/opaque-border-botleft.png", 
     133"dialogs/opaque-border-left.png", 
     134"dialogs/opaque-background.png", 
     135"dialogs/translucent65-border-topleft.png", 
     136"dialogs/translucent65-border-top.png", 
     137"dialogs/translucent65-border-topright.png", 
     138"dialogs/translucent65-border-right.png", 
     139"dialogs/translucent65-border-botright.png", 
     140"dialogs/translucent65-border-bottom.png", 
     141"dialogs/translucent65-border-botleft.png", 
     142"dialogs/translucent65-border-left.png", 
     143"dialogs/translucent65-background.png", 
     144"dialogs/translucent54-border-topleft.png", 
     145"dialogs/translucent54-border-top.png", 
     146"dialogs/translucent54-border-topright.png", 
     147"dialogs/translucent54-border-right.png", 
     148"dialogs/translucent54-border-botright.png", 
     149"dialogs/translucent54-border-bottom.png", 
     150"dialogs/translucent54-border-botleft.png", 
     151"dialogs/translucent54-border-left.png", 
     152"dialogs/translucent54-background.png", 
     153"" 
     154}; 
     155 
     156std::map<std::string, SDL_TextureID> timage_cache; 
    39157 
    40158namespace gui2 { 
     
    540658     
    541659    // KP: need to do this to free the texture 
    542     ~timage() 
     660    /* 
     661    virtual ~timage() 
    543662    { 
     663        printf("~timage()\n"); 
    544664        if (image_texture_ != 0) 
    545665        { 
     
    547667        } 
    548668    } 
     669     */ 
     670    // could never get the destructor to actually be called.... memory leaks somewhere?? 
    549671 
    550672private: 
     
    644766 */ 
    645767    if(!image_name_.has_formula()) { 
     768         
     769        if(timage_cache.size() == 0) 
     770        { 
     771            // build the cache for the first time 
     772            int i=0; 
     773            while (timage_cache_files[i] != "") 
     774            { 
     775                // KP: do not cache this 
     776                surface tmp(image::get_image(image::locator(timage_cache_files[i]), image::UNSCALED, false));                
     777                 
     778                surface image_; 
     779                image_.assign(make_neutral_surface(tmp)); 
     780                assert(image_); 
     781                std::cerr << "Caching texture for timage " << timage_cache_files[i] << "\n"; 
     782                SDL_TextureID tid = SDL_CreateTextureFromSurface(SDL_PIXELFORMAT_ABGR8888, image_); 
     783                timage_cache.insert(std::pair<std::string, SDL_TextureID>(timage_cache_files[i], tid)); 
     784                i++; 
     785            } 
     786        } 
     787         
     788                 
    646789        std::string str = image_name_(); 
    647         // KP: do not cache this 
    648         surface tmp(image::get_image(image::locator(str), image::UNSCALED, false)); 
    649  
    650         if(!tmp) { 
    651             ERR_G_D << "Image: '" << str 
    652                 << "'not found and won't be drawn.\n"; 
    653             return; 
    654         } 
    655  
    656         surface image_; 
    657         image_.assign(make_neutral_surface(tmp)); 
    658         assert(image_); 
    659         std::cerr << "Creating texture for timage " << str << "\n"; 
    660         image_texture_ = SDL_CreateTextureFromSurface(SDL_PIXELFORMAT_ABGR8888, image_); 
    661         src_clip_ = ::create_rect(0, 0, image_->w, image_->h); 
     790         
     791        std::map<std::string, SDL_TextureID>::iterator it; 
     792        it = timage_cache.find(str); 
     793        if (it != timage_cache.end()) 
     794        { 
     795            image_texture_ = (*it).second; 
     796            std::cerr << "Loaded from cache for timage " << str << "\n"; 
     797        } 
     798        else 
     799        { 
     800            // KP: avoid texture leaks 
     801            if (last_timage != 0) 
     802            { 
     803                SDL_DestroyTexture(last_timage); 
     804                last_timage = 0; 
     805            } 
     806             
     807             
     808            // KP: do not cache this 
     809            surface tmp(image::get_image(image::locator(str), image::UNSCALED, false)); 
     810 
     811            if(!tmp) { 
     812                ERR_G_D << "Image: '" << str 
     813                    << "'not found and won't be drawn.\n"; 
     814                return; 
     815            } 
     816 
     817            surface image_; 
     818            image_.assign(make_neutral_surface(tmp)); 
     819            assert(image_); 
     820            std::cerr << "Creating texture for timage " << str << "\n"; 
     821            image_texture_ = SDL_CreateTextureFromSurface(SDL_PIXELFORMAT_ABGR8888, image_); 
     822            src_clip_ = ::create_rect(0, 0, image_->w, image_->h); 
     823            last_timage = image_texture_; 
     824        } 
    662825    } 
    663826 
     
    697860        } 
    698861 
     862        // KP: avoid texture leaks 
     863        if (last_timage != 0) 
     864        { 
     865            SDL_DestroyTexture(last_timage); 
     866            last_timage = 0; 
     867        } 
     868         
    699869        surface image_; 
    700870        image_.assign(make_neutral_surface(tmp)); 
     
    703873        image_texture_ = SDL_CreateTextureFromSurface(SDL_PIXELFORMAT_ABGR8888, image_); 
    704874        src_clip_ = ::create_rect(0, 0, image_->w, image_->h); 
     875        last_timage = image_texture_; 
     876         
    705877    } else if(!image_texture_){ 
    706878        // The warning about no image should already have taken place 
  • trunk/Classes/memory_wrapper.mm

    r22 r24  
    2727// this way, we can just set the #if statement below to 1 or 0 to enable/disable the allocators 
    2828 
    29 #if !(TARGET_IPHONE_SIMULATOR) 
     29//#if !(TARGET_IPHONE_SIMULATOR) 
     30#if 0 
    3031 
    3132 
     
    220221 
    221222#else 
    222  
     223#include "google/tcmalloc.h" 
    223224 
    224225 
     
    233234    // get general overall iPhone memory stats 
    234235    printf("%s\n", reason); 
    235  
     236    tc_malloc_stats(); 
    236237    iPhoneMemory(); 
    237238} 
     
    273274} 
    274275 
     276 
     277#include <unistd.h> 
     278#include <stdio.h> 
     279#include <stdlib.h> 
     280#include <sys/types.h> 
     281#include <sys/sysctl.h> 
     282#include <mach/task.h> 
     283#include <mach/mach_init.h> 
     284 
     285void getres(task_t task, unsigned int *rss, unsigned int *vs) 
     286{ 
     287    struct task_basic_info t_info; 
     288    mach_msg_type_number_t t_info_count = TASK_BASIC_INFO_COUNT; 
     289     
     290    task_info(task, TASK_BASIC_INFO, (task_info_t)&t_info, &t_info_count); 
     291    *rss = t_info.resident_size; 
     292    *vs = t_info.virtual_size; 
     293} 
     294 
     295 
    275296size_t iPhoneMemory(void) 
    276297{ 
     298    // report process memory 
     299    unsigned int rss, vs, psize; 
     300    task_t task = MACH_PORT_NULL; 
     301    if (task_for_pid(current_task(), getpid(), &task) == KERN_SUCCESS) 
     302    { 
     303        getres(task, &rss, &vs); 
     304        psize = getpagesize(); 
     305        printf("iPhone process memory used: %u KiB, VS: %u KiB.\n", rss, vs); 
     306    }    
     307     
     308    // now report overall system memory 
    277309    mach_port_t host_port; 
    278310    mach_msg_type_number_t host_size; 
  • trunk/Classes/playmp_controller.cpp

    r4 r24  
    148148    LOG_NG << "playmp::before_human_turn...\n"; 
    149149    playsingle_controller::before_human_turn(save); 
     150    // KP: disable achievement stuff 
     151    preferences::set_player_side(player_number_); 
     152 
    150153 
    151154    turn_data_ = new turn_info(gamestate_,status_, 
  • trunk/Classes/playsingle_controller.cpp

    r23 r24  
    850850     
    851851    preferences::reset_turn_kills(); 
     852     
     853    free_all_caches(); 
    852854} 
    853855 
  • trunk/Classes/replay.cpp

    r22 r24  
    145145    saveInfo_(), 
    146146    skip_(false), 
    147     message_locations(), 
    148     ignore_replays(true) 
    149 {} 
     147    message_locations() 
     148{ 
     149} 
    150150 
    151151replay::replay(const config& cfg) : 
     
    155155    saveInfo_(), 
    156156    skip_(false), 
    157     message_locations(), 
    158     ignore_replays(true) 
    159 {} 
     157    message_locations() 
     158{ 
     159} 
    160160 
    161161void replay::throw_error(const std::string& msg) 
     
    247247{ 
    248248    // KP: added flag to ignore replay data 
    249     if (ignore_replays) 
     249    if(preferences::is_multiplayer() == false) 
    250250        return; 
    251251     
     
    257257{ 
    258258    // KP: added flag to ignore replay data 
    259     if (ignore_replays) 
     259    if(preferences::is_multiplayer() == false) 
    260260        return; 
    261261     
     
    276276{ 
    277277    // KP: added flag to ignore replay data 
    278     if (ignore_replays) 
     278    if(preferences::is_multiplayer() == false) 
    279279        return; 
    280280 
     
    295295{ 
    296296    // KP: added flag to ignore replay data 
    297     if (ignore_replays) 
     297    if(preferences::is_multiplayer() == false) 
    298298        return; 
    299299     
     
    313313{ 
    314314    // KP: added flag to ignore replay data 
    315     if (ignore_replays) 
     315    if(preferences::is_multiplayer() == false) 
    316316        return; 
    317317     
     
    329329{ 
    330330    // KP: added flag to ignore replay data 
    331     if (ignore_replays) 
     331    if(preferences::is_multiplayer() == false) 
    332332        return; 
    333333     
     
    347347{ 
    348348    // KP: added flag to ignore replay data 
    349     if (ignore_replays) 
     349    if(preferences::is_multiplayer() == false) 
    350350        return; 
    351351     
     
    364364{ 
    365365    // KP: added flag to ignore replay data 
    366     if (ignore_replays) 
     366    if(preferences::is_multiplayer() == false) 
    367367        return; 
    368368     
     
    381381{ 
    382382    // KP: added flag to ignore replay data 
    383     if (ignore_replays) 
     383    if(preferences::is_multiplayer() == false) 
    384384        return; 
    385385     
     
    398398{ 
    399399    // KP: added flag to ignore replay data 
    400     if (ignore_replays) 
     400    if(preferences::is_multiplayer() == false) 
    401401        return; 
    402402     
     
    407407{ 
    408408    // KP: added flag to ignore replay data 
    409     if (ignore_replays) 
     409    if(preferences::is_multiplayer() == false) 
    410410        return; 
    411411     
     
    421421{ 
    422422    // KP: added flag to ignore replay data 
    423     if (ignore_replays) 
     423    if(preferences::is_multiplayer() == false) 
    424424        return; 
    425425     
     
    433433{ 
    434434    // KP: added flag to ignore replay data 
    435     if (ignore_replays) 
     435    if(preferences::is_multiplayer() == false) 
    436436        return; 
    437437     
     
    451451{ 
    452452    // KP: added flag to ignore replay data 
    453     if (ignore_replays) 
     453    if(preferences::is_multiplayer() == false) 
    454454        return; 
    455455     
     
    465465{ 
    466466    // KP: added flag to ignore replay data 
    467     if (ignore_replays) 
     467    if(preferences::is_multiplayer() == false) 
    468468        return; 
    469469     
     
    479479{ 
    480480    // KP: added flag to ignore replay data 
    481     if (ignore_replays) 
     481    if(preferences::is_multiplayer() == false) 
    482482        return; 
    483483     
     
    489489{ 
    490490    // KP: added flag to ignore replay data 
    491     if (ignore_replays) 
     491    if(preferences::is_multiplayer() == false) 
    492492        return; 
    493493     
     
    505505{ 
    506506    // KP: added flag to ignore replay data 
    507     if (ignore_replays) 
     507    if(preferences::is_multiplayer() == false) 
    508508        return; 
    509509     
     
    518518{ 
    519519    // KP: added flag to ignore replay data 
    520     if (ignore_replays) 
     520    if(preferences::is_multiplayer() == false) 
    521521        return; 
    522522     
     
    537537{ 
    538538    // KP: added flag to ignore replay data 
    539     if (ignore_replays) 
     539    if(preferences::is_multiplayer() == false) 
    540540        return; 
    541541     
     
    551551{ 
    552552    // KP: added flag to ignore replay data 
    553     if (ignore_replays) 
     553    if(preferences::is_multiplayer() == false) 
    554554        return; 
    555555     
     
    587587{ 
    588588    // KP: added flag to ignore replay data 
    589     if (ignore_replays) 
     589    if(preferences::is_multiplayer() == false) 
    590590        return ""; 
    591591     
     
    640640{ 
    641641    // KP: added flag to ignore replay data 
    642     if (ignore_replays) 
     642    if(preferences::is_multiplayer() == false) 
    643643        return; 
    644644     
  • trunk/Classes/replay.hpp

    r22 r24  
    151151    bool skip_; 
    152152 
    153     std::vector<int> message_locations; 
    154      
    155     // KP: flag to turn off all replay saving 
    156 public: 
    157     bool ignore_replays; 
     153    std::vector<int> message_locations;  
    158154}; 
    159155 
  • trunk/Classes/shared_string.cpp

    r22 r24  
    1616 
    1717#include <map> 
    18 //#include "skiplist_map.hpp" 
     18#include "skiplist_map.hpp" 
    1919//#include <boost/unordered_map.hpp> 
    2020//#include "AssocVector.h" 
     21 
     22// KP: default allocator changed to tcmalloc! 
     23#include "base/stl_allocator.h" 
     24 
    2125 
    2226class string_compare 
     
    5862//typedef boost::unordered_map<const std::string*, string_node*, string_hasher> MAP; 
    5963//typedef AssocVector<const std::string*, string_node*, string_compare> MAP; 
     64typedef std::pair<const std::string*, string_node*> PAIR; 
    6065typedef MAP::iterator ITERATOR; 
    61 typedef std::pair<const std::string*, string_node*> PAIR; 
    6266 
    6367string_node* gNullData; 
     
    277281} 
    278282 
     283// there is a BIG memory leak at program exit, but it would be slow to free everything... 
     284// actually... I think iPhone OS automatically cleans up when the app exits... 
     285void destroy_all_strings(void) 
     286{ 
     287/*   
     288    if (gMap == NULL) 
     289        return; 
     290     
     291    ITERATOR it; 
     292    for(it = gStringPool().begin(); it != gStringPool().end(); ) 
     293    { 
     294        //if (it->second != gNullData) 
     295        { 
     296            string_node *dataPtr = it->second; 
     297            gStringPool().erase(it++); 
     298            delete dataPtr; 
     299        } 
     300    }    
     301    delete gMap; 
     302    gMap = NULL; 
     303    gNullData = NULL; 
     304*/  
     305} 
  • trunk/Classes/shared_string.hpp

    r22 r24  
    239239size_t shared_count(const std::string &str); 
    240240void shared_cleanup(void); 
     241void destroy_all_strings(void); 
    241242 
    242243#endif 
  • trunk/Classes/skiplist_map.hpp

    r4 r24  
    1717#include "skiplist.hpp" 
    1818 
    19 template <typename Key, typename Value, typename Compare = std::less<Key>, typename Alloc = std::allocator<Value> > 
     19// KP: default allocator changed to tcmalloc! 
     20 
     21#include "base/stl_allocator.h" 
     22 
     23//template <typename Key, typename Value, typename Compare = std::less<Key>, typename Alloc = std::allocator<Value> > 
     24template <typename Key, typename Value, typename Compare = std::less<Key>, typename Alloc = STL_Allocator<Value, tcmallocAllocator> > 
    2025class skiplist_map : private skiplist<std::pair<const Key, Value>, Key, key_extractor<std::pair<const Key, Value> >, Compare, Alloc> { 
    2126private: 
  • trunk/Classes/video.cpp

    r23 r24  
    12331233    SDL_RenderPresent(); 
    12341234} 
     1235 
     1236 
  • trunk/include/unitmaps/map.utbs.elves.horseman.h

    r19 r24  
    22addMapEntry("units/elves-desert/horseman-defend.png", 0, 0, 0, 44, 58, 10, 2, 72, 72, UNITMAP_UTBS_ELVES_HORSEMAN); 
    33addMapEntry("units/elves-desert/horseman-melee.png", 44, 0, 0, 48, 52, 13, 12, 72, 72, UNITMAP_UTBS_ELVES_HORSEMAN); 
    4 //addMapEntry("units/elves-desert/horseman-moving.png", 44, 52, 0, 46, 52, 13, 12, 72, 72, UNITMAP_UTBS_ELVES_HORSEMAN); 
     4addMapEntry("units/elves-desert/horseman-moving.png", 44, 52, 0, 46, 52, 13, 12, 72, 72, UNITMAP_UTBS_ELVES_HORSEMAN); 
    55addMapEntry("units/elves-desert/horseman-ranged-1.png", 171, 0, 0, 40, 51, 16, 12, 72, 72, UNITMAP_UTBS_ELVES_HORSEMAN); 
    66addMapEntry("units/elves-desert/horseman-ranged-2.png", 0, 58, 0, 43, 53, 13, 11, 72, 72, UNITMAP_UTBS_ELVES_HORSEMAN); 
  • trunk/wesnoth.xcodeproj/project.pbxproj

    r23 r24  
    209209        2717423C10A5A69E007A78E1 /* common.cc in Sources */ = {isa = PBXBuildFile; fileRef = 27F1911D10844C3C00AB3EA5 /* common.cc */; }; 
    210210        2717423E10A5A6A1007A78E1 /* dynamic_annotations.cc in Sources */ = {isa = PBXBuildFile; fileRef = 27F1910210844C3C00AB3EA5 /* dynamic_annotations.cc */; }; 
    211         2717423F10A5A6A3007A78E1 /* heap-checker-bcad.cc in Sources */ = {isa = PBXBuildFile; fileRef = 27F1912E10844C3C00AB3EA5 /* heap-checker-bcad.cc */; }; 
    212         2717424010A5A6A3007A78E1 /* heap-checker.cc in Sources */ = {isa = PBXBuildFile; fileRef = 27F1912F10844C3C00AB3EA5 /* heap-checker.cc */; }; 
    213         2717424110A5A6A6007A78E1 /* heap-profile-table.cc in Sources */ = {isa = PBXBuildFile; fileRef = 27F1913010844C3C00AB3EA5 /* heap-profile-table.cc */; }; 
    214         2717424210A5A6A7007A78E1 /* heap-profiler.cc in Sources */ = {isa = PBXBuildFile; fileRef = 27F1913210844C3C00AB3EA5 /* heap-profiler.cc */; }; 
    215211        2717424310A5A6A8007A78E1 /* internal_logging.cc in Sources */ = {isa = PBXBuildFile; fileRef = 27F1913310844C3C00AB3EA5 /* internal_logging.cc */; }; 
    216212        2717424410A5A6AA007A78E1 /* linuxthreads.cc in Sources */ = {isa = PBXBuildFile; fileRef = 27F1910710844C3C00AB3EA5 /* linuxthreads.cc */; }; 
     
    222218        2717424A10A5A6AF007A78E1 /* memory_region_map.cc in Sources */ = {isa = PBXBuildFile; fileRef = 27F1913C10844C3C00AB3EA5 /* memory_region_map.cc */; }; 
    223219        2717424B10A5A6B1007A78E1 /* page_heap.cc in Sources */ = {isa = PBXBuildFile; fileRef = 27F1913F10844C3C00AB3EA5 /* page_heap.cc */; }; 
    224         2717424C10A5A6B2007A78E1 /* profile-handler.cc in Sources */ = {isa = PBXBuildFile; fileRef = 27F1914310844C3C00AB3EA5 /* profile-handler.cc */; }; 
    225         2717424D10A5A6B4007A78E1 /* profiledata.cc in Sources */ = {isa = PBXBuildFile; fileRef = 27F1914510844C3C00AB3EA5 /* profiledata.cc */; }; 
    226         2717424E10A5A6B5007A78E1 /* profiler.cc in Sources */ = {isa = PBXBuildFile; fileRef = 27F1914710844C3C00AB3EA5 /* profiler.cc */; }; 
    227220        2717424F10A5A6B5007A78E1 /* raw_printer.cc in Sources */ = {isa = PBXBuildFile; fileRef = 27F1914810844C3C00AB3EA5 /* raw_printer.cc */; }; 
    228221        2717425010A5A6B6007A78E1 /* sampler.cc in Sources */ = {isa = PBXBuildFile; fileRef = 27F1914A10844C3C00AB3EA5 /* sampler.cc */; }; 
     
    230223        2717425210A5A6B9007A78E1 /* spinlock.cc in Sources */ = {isa = PBXBuildFile; fileRef = 27F1910E10844C3C00AB3EA5 /* spinlock.cc */; }; 
    231224        2717425310A5A6BB007A78E1 /* stack_trace_table.cc in Sources */ = {isa = PBXBuildFile; fileRef = 27F1914E10844C3C00AB3EA5 /* stack_trace_table.cc */; }; 
    232         2717425410A5A6BC007A78E1 /* stacktrace.cc in Sources */ = {isa = PBXBuildFile; fileRef = 27F1915010844C3C00AB3EA5 /* stacktrace.cc */; }; 
    233         2717425510A5A6BF007A78E1 /* stacktrace_with_context.cc in Sources */ = {isa = PBXBuildFile; fileRef = 27F1915610844C3C00AB3EA5 /* stacktrace_with_context.cc */; }; 
    234225        2717425610A5A6C0007A78E1 /* static_vars.cc in Sources */ = {isa = PBXBuildFile; fileRef = 27F1915910844C3C00AB3EA5 /* static_vars.cc */; }; 
    235226        2717425710A5A6C2007A78E1 /* symbolize.cc in Sources */ = {isa = PBXBuildFile; fileRef = 27F1915B10844C3C00AB3EA5 /* symbolize.cc */; }; 
     
    10201011        27B2A26E1092044800E69353 /* Entitlements.plist in Resources */ = {isa = PBXBuildFile; fileRef = 27B2A26D1092044800E69353 /* Entitlements.plist */; }; 
    10211012        27DBCB33100DAB75001A3E32 /* IMG_jpg.c in Sources */ = {isa = PBXBuildFile; fileRef = 27DBCB32100DAB75001A3E32 /* IMG_jpg.c */; }; 
     1013        27E0245E11061DB300D724A6 /* fonts in Resources */ = {isa = PBXBuildFile; fileRef = 27E007DE11061DAC00D724A6 /* fonts */; }; 
     1014        27E0245F11061DB300D724A6 /* data in Resources */ = {isa = PBXBuildFile; fileRef = 27E007E311061DAC00D724A6 /* data */; }; 
     1015        27E0246011061DB300D724A6 /* sounds in Resources */ = {isa = PBXBuildFile; fileRef = 27E0219A11061DB200D724A6 /* sounds */; }; 
     1016        27E0246111061DB300D724A6 /* precache in Resources */ = {isa = PBXBuildFile; fileRef = 27E021AF11061DB200D724A6 /* precache */; }; 
     1017        27E0246211061DB300D724A6 /* images in Resources */ = {isa = PBXBuildFile; fileRef = 27E0226611061DB300D724A6 /* images */; }; 
    10221018        27E4CD7F1009FA8100B71BBA /* SDL_ttf.c in Sources */ = {isa = PBXBuildFile; fileRef = 27E4CD7E1009FA8100B71BBA /* SDL_ttf.c */; }; 
    10231019        27E4CE8D100A3B9F00B71BBA /* png.c in Sources */ = {isa = PBXBuildFile; fileRef = 27E4CE7B100A3B9F00B71BBA /* png.c */; }; 
     
    28772873        27B2A26D1092044800E69353 /* Entitlements.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = Entitlements.plist; sourceTree = "<group>"; }; 
    28782874        27DBCB32100DAB75001A3E32 /* IMG_jpg.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = IMG_jpg.c; sourceTree = "<group>"; }; 
     2875        27E007DE11061DAC00D724A6 /* fonts */ = {isa = PBXFileReference; lastKnownFileType = folder; name = fonts; path = res/fonts; sourceTree = "<group>"; }; 
     2876        27E007E311061DAC00D724A6 /* data */ = {isa = PBXFileReference; lastKnownFileType = folder; name = data; path = res/data; sourceTree = "<group>"; }; 
     2877        27E0219A11061DB200D724A6 /* sounds */ = {isa = PBXFileReference; lastKnownFileType = folder; name = sounds; path = res/sounds; sourceTree = "<group>"; }; 
     2878        27E021AF11061DB200D724A6 /* precache */ = {isa = PBXFileReference; lastKnownFileType = folder; name = precache; path = res/precache; sourceTree = "<group>"; }; 
     2879        27E0226611061DB300D724A6 /* images */ = {isa = PBXFileReference; lastKnownFileType = folder; name = images; path = res/images; sourceTree = "<group>"; }; 
    28792880        27E4CD7E1009FA8100B71BBA /* SDL_ttf.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = SDL_ttf.c; path = Classes/SDL/SDL_ttf.c; sourceTree = SOURCE_ROOT; }; 
    28802881        27E4CE79100A3AD600B71BBA /* pngconf.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = pngconf.h; path = include/pngconf.h; sourceTree = "<group>"; }; 
     
    31013102        27EAB5891086B8A700544661 /* ftcmanag.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = ftcmanag.c; sourceTree = "<group>"; }; 
    31023103        27EAB5A01086B8E300544661 /* ftgzip.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = ftgzip.c; path = gzip/ftgzip.c; sourceTree = "<group>"; }; 
    3103         27EAFCF2108743D000544661 /* debugallocation.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = debugallocation.cc; sourceTree = "<group>"; }; 
    31043104        27EEF8471005F7D00053FBAA /* pango.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = pango.h; path = include/pango/pango.h; sourceTree = "<group>"; }; 
    31053105        27EEF88D100605A40053FBAA /* IMG.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = IMG.c; sourceTree = "<group>"; }; 
     
    31623162        27F1912B10844C3C00AB3EA5 /* stacktrace.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = stacktrace.h; sourceTree = "<group>"; }; 
    31633163        27F1912C10844C3C00AB3EA5 /* tcmalloc.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = tcmalloc.h; sourceTree = "<group>"; }; 
    3164         27F1912E10844C3C00AB3EA5 /* heap-checker-bcad.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = "heap-checker-bcad.cc"; sourceTree = "<group>"; }; 
    3165         27F1912F10844C3C00AB3EA5 /* heap-checker.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = "heap-checker.cc"; sourceTree = "<group>"; }; 
    3166         27F1913010844C3C00AB3EA5 /* heap-profile-table.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = "heap-profile-table.cc"; sourceTree = "<group>"; }; 
    3167         27F1913110844C3C00AB3EA5 /* heap-profile-table.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "heap-profile-table.h"; sourceTree = "<group>"; }; 
    3168         27F1913210844C3C00AB3EA5 /* heap-profiler.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = "heap-profiler.cc"; sourceTree = "<group>"; }; 
    31693164        27F1913310844C3C00AB3EA5 /* internal_logging.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = internal_logging.cc; sourceTree = "<group>"; }; 
    31703165        27F1913410844C3C00AB3EA5 /* internal_logging.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = internal_logging.h; sourceTree = "<group>"; }; 
     
    31823177        27F1914110844C3C00AB3EA5 /* page_heap_allocator.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = page_heap_allocator.h; sourceTree = "<group>"; }; 
    31833178        27F1914210844C3C00AB3EA5 /* pagemap.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = pagemap.h; sourceTree = "<group>"; }; 
    3184         27F1914310844C3C00AB3EA5 /* profile-handler.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = "profile-handler.cc"; sourceTree = "<group>"; }; 
    3185         27F1914410844C3C00AB3EA5 /* profile-handler.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "profile-handler.h"; sourceTree = "<group>"; }; 
    3186         27F1914510844C3C00AB3EA5 /* profiledata.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = profiledata.cc; sourceTree = "<group>"; }; 
    3187         27F1914610844C3C00AB3EA5 /* profiledata.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = profiledata.h; sourceTree = "<group>"; }; 
    3188         27F1914710844C3C00AB3EA5 /* profiler.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = profiler.cc; sourceTree = "<group>"; }; 
    31893179        27F1914810844C3C00AB3EA5 /* raw_printer.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = raw_printer.cc; sourceTree = "<group>"; }; 
    31903180        27F1914910844C3C00AB3EA5 /* raw_printer.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = raw_printer.h; sourceTree = "<group>"; }; 
     
    31943184        27F1914D10844C3C00AB3EA5 /* span.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = span.h; sourceTree = "<group>"; }; 
    31953185        27F1914E10844C3C00AB3EA5 /* stack_trace_table.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = stack_trace_table.cc; sourceTree = "<group>"; }; 
    3196         27F1914F10844C3C00AB3EA5 /* stack_trace_table.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = stack_trace_table.h; sourceTree = "<group>"; }; 
    3197         27F1915010844C3C00AB3EA5 /* stacktrace.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = stacktrace.cc; sourceTree = "<group>"; }; 
    3198         27F1915110844C3C00AB3EA5 /* stacktrace_config.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = stacktrace_config.h; sourceTree = "<group>"; }; 
    3199         27F1915210844C3C00AB3EA5 /* stacktrace_generic-inl.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "stacktrace_generic-inl.h"; sourceTree = "<group>"; }; 
    3200         27F1915310844C3C00AB3EA5 /* stacktrace_libunwind-inl.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "stacktrace_libunwind-inl.h"; sourceTree = "<group>"; }; 
    3201         27F1915410844C3C00AB3EA5 /* stacktrace_powerpc-inl.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "stacktrace_powerpc-inl.h"; sourceTree = "<group>"; }; 
    3202         27F1915510844C3C00AB3EA5 /* stacktrace_win32-inl.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "stacktrace_win32-inl.h"; sourceTree = "<group>"; }; 
    3203         27F1915610844C3C00AB3EA5 /* stacktrace_with_context.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = stacktrace_with_context.cc; sourceTree = "<group>"; }; 
    3204         27F1915710844C3C00AB3EA5 /* stacktrace_x86-inl.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "stacktrace_x86-inl.h"; sourceTree = "<group>"; }; 
    3205         27F1915810844C3C00AB3EA5 /* stacktrace_x86_64-inl.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "stacktrace_x86_64-inl.h"; sourceTree = "<group>"; }; 
    32063186        27F1915910844C3C00AB3EA5 /* static_vars.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = static_vars.cc; sourceTree = "<group>"; }; 
    32073187        27F1915A10844C3C00AB3EA5 /* static_vars.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = static_vars.h; sourceTree = "<group>"; }; 
     
    71067086            isa = PBXGroup; 
    71077087            children = ( 
    7108                 27EAFCF2108743D000544661 /* debugallocation.cc */, 
     7088                27F1911E10844C3C00AB3EA5 /* common.h */, 
     7089                27F1913410844C3C00AB3EA5 /* internal_logging.h */, 
     7090                27F1915E10844C3C00AB3EA5 /* system-alloc.h */, 
     7091                27F1913E10844C3C00AB3EA5 /* packed-cache-inl.h */, 
     7092                27F1916110844C3C00AB3EA5 /* tcmalloc_guard.h */, 
    71097093                27F190F710844C3C00AB3EA5 /* addressmap-inl.h */, 
     7094                27F1911D10844C3C00AB3EA5 /* common.cc */, 
     7095                27F1913310844C3C00AB3EA5 /* internal_logging.cc */, 
     7096                27F1911B10844C3C00AB3EA5 /* central_freelist.cc */, 
     7097                27F1913F10844C3C00AB3EA5 /* page_heap.cc */, 
     7098                27F1914C10844C3C00AB3EA5 /* span.cc */, 
     7099                27F1914E10844C3C00AB3EA5 /* stack_trace_table.cc */, 
     7100                27F1915910844C3C00AB3EA5 /* static_vars.cc */, 
     7101                27F1915B10844C3C00AB3EA5 /* symbolize.cc */, 
     7102                27F1916210844C3C00AB3EA5 /* thread_cache.cc */, 
     7103                27F1913810844C3C00AB3EA5 /* malloc_hook.cc */, 
     7104                27F1913610844C3C00AB3EA5 /* malloc_extension.cc */, 
     7105                27F1913910844C3C00AB3EA5 /* maybe_threads.cc */, 
    71107106                27F190F810844C3C00AB3EA5 /* base */, 
    7111                 27F1911B10844C3C00AB3EA5 /* central_freelist.cc */, 
    71127107                27F1911C10844C3C00AB3EA5 /* central_freelist.h */, 
    7113                 27F1911D10844C3C00AB3EA5 /* common.cc */, 
    7114                 27F1911E10844C3C00AB3EA5 /* common.h */, 
    71157108                27F1911F10844C3C00AB3EA5 /* tcconfig.h */, 
    71167109                27F1912210844C3C00AB3EA5 /* getpc.h */, 
    71177110                27F1912310844C3C00AB3EA5 /* google */, 
    7118                 27F1912E10844C3C00AB3EA5 /* heap-checker-bcad.cc */, 
    7119                 27F1912F10844C3C00AB3EA5 /* heap-checker.cc */, 
    7120                 27F1913010844C3C00AB3EA5 /* heap-profile-table.cc */, 
    7121                 27F1913110844C3C00AB3EA5 /* heap-profile-table.h */, 
    7122                 27F1913210844C3C00AB3EA5 /* heap-profiler.cc */, 
    7123                 27F1913310844C3C00AB3EA5 /* internal_logging.cc */, 
    7124                 27F1913410844C3C00AB3EA5 /* internal_logging.h */, 
    71257111                27F1913510844C3C00AB3EA5 /* linked_list.h */, 
    7126                 27F1913610844C3C00AB3EA5 /* malloc_extension.cc */, 
    71277112                27F1913710844C3C00AB3EA5 /* malloc_hook-inl.h */, 
    7128                 27F1913810844C3C00AB3EA5 /* malloc_hook.cc */, 
    7129                 27F1913910844C3C00AB3EA5 /* maybe_threads.cc */, 
    71307113                27F1913A10844C3C00AB3EA5 /* maybe_threads.h */, 
    71317114                27F1913C10844C3C00AB3EA5 /* memory_region_map.cc */, 
    71327115                27F1913D10844C3C00AB3EA5 /* memory_region_map.h */, 
    7133                 27F1913E10844C3C00AB3EA5 /* packed-cache-inl.h */, 
    7134                 27F1913F10844C3C00AB3EA5 /* page_heap.cc */, 
    71357116                27F1914010844C3C00AB3EA5 /* page_heap.h */, 
    71367117                27F1914110844C3C00AB3EA5 /* page_heap_allocator.h */, 
    71377118                27F1914210844C3C00AB3EA5 /* pagemap.h */, 
    7138                 27F1914310844C3C00AB3EA5 /* profile-handler.cc */, 
    7139                 27F1914410844C3C00AB3EA5 /* profile-handler.h */, 
    7140                 27F1914510844C3C00AB3EA5 /* profiledata.cc */, 
    7141                 27F1914610844C3C00AB3EA5 /* profiledata.h */, 
    7142                 27F1914710844C3C00AB3EA5 /* profiler.cc */, 
    71437119                27F1914810844C3C00AB3EA5 /* raw_printer.cc */, 
    71447120                27F1914910844C3C00AB3EA5 /* raw_printer.h */, 
    71457121                27F1914A10844C3C00AB3EA5 /* sampler.cc */, 
    71467122                27F1914B10844C3C00AB3EA5 /* sampler.h */, 
    7147                 27F1914C10844C3C00AB3EA5 /* span.cc */, 
    71487123                27F1914D10844C3C00AB3EA5 /* span.h */, 
    7149                 27F1914E10844C3C00AB3EA5 /* stack_trace_table.cc */, 
    7150                 27F1914F10844C3C00AB3EA5 /* stack_trace_table.h */, 
    7151                 27F1915010844C3C00AB3EA5 /* stacktrace.cc */, 
    7152                 27F1915110844C3C00AB3EA5 /* stacktrace_config.h */, 
    7153                 27F1915210844C3C00AB3EA5 /* stacktrace_generic-inl.h */, 
    7154                 27F1915310844C3C00AB3EA5 /* stacktrace_libunwind-inl.h */, 
    7155                 27F1915410844C3C00AB3EA5 /* stacktrace_powerpc-inl.h */, 
    7156                 27F1915510844C3C00AB3EA5 /* stacktrace_win32-inl.h */, 
    7157                 27F1915610844C3C00AB3EA5 /* stacktrace_with_context.cc */, 
    7158                 27F1915710844C3C00AB3EA5 /* stacktrace_x86-inl.h */, 
    7159                 27F1915810844C3C00AB3EA5 /* stacktrace_x86_64-inl.h */, 
    7160                 27F1915910844C3C00AB3EA5 /* static_vars.cc */, 
    71617124                27F1915A10844C3C00AB3EA5 /* static_vars.h */, 
    7162                 27F1915B10844C3C00AB3EA5 /* symbolize.cc */, 
    71637125                27F1915C10844C3C00AB3EA5 /* symbolize.h */, 
    71647126                27F1915D10844C3C00AB3EA5 /* system-alloc.cc */, 
    7165                 27F1915E10844C3C00AB3EA5 /* system-alloc.h */, 
    71667127                27F1915F10844C3C00AB3EA5 /* tcmalloc.cc */, 
    71677128                27F1916010844C3C00AB3EA5 /* tcmalloc.h */, 
    7168                 27F1916110844C3C00AB3EA5 /* tcmalloc_guard.h */, 
    7169                 27F1916210844C3C00AB3EA5 /* thread_cache.cc */, 
    71707129                27F1916310844C3C00AB3EA5 /* thread_cache.h */, 
    71717130            ); 
     
    71777136            isa = PBXGroup; 
    71787137            children = ( 
     7138                27F1910F10844C3C00AB3EA5 /* spinlock.h */, 
     7139                27F190FE10844C3C00AB3EA5 /* atomicops.h */, 
    71797140                27F190FA10844C3C00AB3EA5 /* atomicops-internals-macosx.h */, 
    7180                 27F190FE10844C3C00AB3EA5 /* atomicops.h */, 
     7141                27F1910010844C3C00AB3EA5 /* commandlineflags.h */, 
    71817142                27F190FF10844C3C00AB3EA5 /* basictypes.h */, 
    7182                 27F1910010844C3C00AB3EA5 /* commandlineflags.h */, 
     7143                27F1911610844C3C00AB3EA5 /* thread_annotations.h */, 
    71837144                27F1910110844C3C00AB3EA5 /* cycleclock.h */, 
    71847145                27F1910210844C3C00AB3EA5 /* dynamic_annotations.cc */, 
     
    71957156                27F1910D10844C3C00AB3EA5 /* simple_mutex.h */, 
    71967157                27F1910E10844C3C00AB3EA5 /* spinlock.cc */, 
    7197                 27F1910F10844C3C00AB3EA5 /* spinlock.h */, 
    71987158                27F1911010844C3C00AB3EA5 /* spinlock_linux-inl.h */, 
    71997159                27F1911110844C3C00AB3EA5 /* spinlock_posix-inl.h */, 
     
    72027162                27F1911410844C3C00AB3EA5 /* sysinfo.cc */, 
    72037163                27F1911510844C3C00AB3EA5 /* sysinfo.h */, 
    7204                 27F1911610844C3C00AB3EA5 /* thread_annotations.h */, 
    72057164                27F1911710844C3C00AB3EA5 /* thread_lister.c */, 
    72067165                27F1911810844C3C00AB3EA5 /* thread_lister.h */, 
     
    75547513            isa = PBXGroup; 
    75557514            children = ( 
     7515                27E007DE11061DAC00D724A6 /* fonts */, 
     7516                27E007E311061DAC00D724A6 /* data */, 
     7517                27E0219A11061DB200D724A6 /* sounds */, 
     7518                27E021AF11061DB200D724A6 /* precache */, 
     7519                27E0226611061DB300D724A6 /* images */, 
    75567520                FD77A07E0E26BDA900F39101 /* Default.png */, 
    75577521                FD77A07C0E26BD8C00F39101 /* Icon.png */, 
     
    79297893                2738F75C10E78EFC006BE9F2 /* OFDashboardTabNowPlayingLandscapeHit.png in Resources */, 
    79307894                2738F7F010E78F99006BE9F2 /* openfeint_offline_config.xml in Resources */, 
     7895                27E0245E11061DB300D724A6 /* fonts in Resources */, 
     7896                27E0245F11061DB300D724A6 /* data in Resources */, 
     7897                27E0246011061DB300D724A6 /* sounds in Resources */, 
     7898                27E0246111061DB300D724A6 /* precache in Resources */, 
     7899                27E0246211061DB300D724A6 /* images in Resources */, 
    79317900            ); 
    79327901            runOnlyForDeploymentPostprocessing = 0; 
     
    84258394                2717423C10A5A69E007A78E1 /* common.cc in Sources */, 
    84268395                2717423E10A5A6A1007A78E1 /* dynamic_annotations.cc in Sources */, 
    8427                 2717423F10A5A6A3007A78E1 /* heap-checker-bcad.cc in Sources */, 
    8428                 2717424010A5A6A3007A78E1 /* heap-checker.cc in Sources */, 
    8429                 2717424110A5A6A6007A78E1 /* heap-profile-table.cc in Sources */, 
    8430                 2717424210A5A6A7007A78E1 /* heap-profiler.cc in Sources */, 
    84318396                2717424310A5A6A8007A78E1 /* internal_logging.cc in Sources */, 
    84328397                2717424410A5A6AA007A78E1 /* linuxthreads.cc in Sources */, 
     
    84388403                2717424A10A5A6AF007A78E1 /* memory_region_map.cc in Sources */, 
    84398404                2717424B10A5A6B1007A78E1 /* page_heap.cc in Sources */, 
    8440                 2717424C10A5A6B2007A78E1 /* profile-handler.cc in Sources */, 
    8441                 2717424D10A5A6B4007A78E1 /* profiledata.cc in Sources */, 
    8442                 2717424E10A5A6B5007A78E1 /* profiler.cc in Sources */, 
    84438405                2717424F10A5A6B5007A78E1 /* raw_printer.cc in Sources */, 
    84448406                2717425010A5A6B6007A78E1 /* sampler.cc in Sources */, 
     
    84468408                2717425210A5A6B9007A78E1 /* spinlock.cc in Sources */, 
    84478409                2717425310A5A6BB007A78E1 /* stack_trace_table.cc in Sources */, 
    8448                 2717425410A5A6BC007A78E1 /* stacktrace.cc in Sources */, 
    8449                 2717425510A5A6BF007A78E1 /* stacktrace_with_context.cc in Sources */, 
    84508410                2717425610A5A6C0007A78E1 /* static_vars.cc in Sources */, 
    84518411                2717425710A5A6C2007A78E1 /* symbolize.cc in Sources */, 
     
    88898849                GCC_PREFIX_HEADER = ""; 
    88908850                GCC_PREPROCESSOR_DEFINITIONS = ( 
     8851                    NO_HEAP_CHECK, 
     8852                    NO_TCMALLOC_SAMPLES, 
    88918853                    NDEBUG, 
    88928854                    LANDSCAPE, 
     
    89548916                GCC_PREFIX_HEADER = ""; 
    89558917                GCC_PREPROCESSOR_DEFINITIONS = ( 
     8918                    NO_HEAP_CHECK, 
     8919                    NO_TCMALLOC_SAMPLES, 
    89568920                    NDEBUG, 
    89578921                    LANDSCAPE, 
     
    90218985                GCC_PREFIX_HEADER = ""; 
    90228986                GCC_PREPROCESSOR_DEFINITIONS = ( 
     8987                    NO_HEAP_CHECK, 
     8988                    NO_TCMALLOC_SAMPLES, 
    90238989                    DEBUG, 
    90248990                    DEBUG_ERROR, 
     
    90919057                GCC_PREFIX_HEADER = ""; 
    90929058                GCC_PREPROCESSOR_DEFINITIONS = ( 
     9059                    NO_HEAP_CHECK, 
     9060                    NO_TCMALLOC_SAMPLES, 
    90939061                    DEBUG, 
    90949062                    DEBUG_ERROR, 
     
    91409108                GCC_PREFIX_HEADER = ""; 
    91419109                GCC_PREPROCESSOR_DEFINITIONS = ( 
     9110                    NO_HEAP_CHECK, 
     9111                    NO_TCMALLOC_SAMPLES, 
    91429112                    NDEBUG, 
    91439113                    LANDSCAPE, 
Note: See TracChangeset for help on using the changeset viewer.