Changeset 562 for trollforge


Ignore:
Timestamp:
01/11/12 01:53:27 (16 months ago)
Author:
literalka
Message:

minor shit

Location:
trollforge/lastmeasure/server
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trollforge/lastmeasure/server/lmresource.h

    r561 r562  
    1  
     1/* TODO: 
     2 * Port `store_clipboard()' from PHP. 
     3 */ 
    24#include <string> 
    35#include <sstream> 
     
    201203 
    202204 "function molish() {\r\n" 
    203  "      credits = \"LAST MEASURE UNIFIED X-2, by LiteralKa, Penisbird, Rolloffle, Rucas, and sam.\\n\";\r\n" 
     205 "      var credits = \"LAST MEASURE UNIFIED X-2, by LiteralKa, Penisbird, Rolloffle, Rucas, and sam.\\n\";\r\n" 
    204206 "      credits += \"Starring:\\n\";\r\n" 
    205207 "      credits += \"Tubgirl\\n\";\r\n" 
     
    235237 "}\r\n" 
    236238 
    237 /* FIXME 
    238  "function click() {" 
    239  "    if(event.which == 3 || event.button == 2) {" 
    240  "        return false;" 
    241  "    }" 
    242  "}" 
    243 */ 
     239 "function click() {\r\n" 
     240 "    if(event.which == 3 || event.button == 2) {\r\n" 
     241 "        return false;\r\n" 
     242 "    }\r\n" 
     243 "}\r\n" 
    244244 
    245245 "function procreate() {\r\n" 
     
    355355    } 
    356356 
    357 /* NB on `imagelist' and `imagecount': 
    358  *  There is undoubtedly a better (read: not redundant with `staticnames') way 
    359  *   to do this. I cannot think of such a way right now. I just wrote something 
    360  *   that would (hopefully) work, so I could test it and go from there. 
    361  *     -- Leon 
    362  */ 
    363  
    364357    static std::string MoveAround(size_t width, size_t height, char const *host) 
    365358    { 
     
    375368        for(size_t i = 0; i < imagecount; i++) 
    376369        { 
    377             ret << "    images[" << i << "] = 'http://" << host << "images/" << staticnames[i] << "';\r\n"; 
     370            ret << "    images[" << i << "] = 'http://" << host << "/images/" << staticnames[i] << "';\r\n"; 
    378371        } 
    379372 
     
    383376        "var step = .2;\r\n" 
    384377        "var curstep = 0;\r\n" 
    385          
     378 
    386379        "window.resizeTo(" << width << " , " << height << ");\r\n" 
    387380        "var centerX = (self.screen.width - document.body.clientWidth) / 2;\r\n" 
    388381        "var centerY = (self.screen.height - document.body.clientHeight - 120) / 2;\r\n" 
    389382        "movew0w();\r\n" 
    390          
     383 
    391384        "function movew0w() {\r\n" 
    392385        "    var j;\r\n" 
  • trollforge/lastmeasure/server/lmserver.cpp

    r548 r562  
    1  
     1/* TODO: 
     2 * Track referrers. 
     3 */ 
    24#include <string> 
    35#include <sstream> 
Note: See TracChangeset for help on using the changeset viewer.