Changeset 562 for trollforge/lastmeasure
- Timestamp:
- 01/11/12 01:53:27 (18 months ago)
- Location:
- trollforge/lastmeasure/server
- Files:
-
- 2 edited
-
lmresource.h (modified) (6 diffs)
-
lmserver.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trollforge/lastmeasure/server/lmresource.h
r561 r562 1 1 /* TODO: 2 * Port `store_clipboard()' from PHP. 3 */ 2 4 #include <string> 3 5 #include <sstream> … … 201 203 202 204 "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" 204 206 " credits += \"Starring:\\n\";\r\n" 205 207 " credits += \"Tubgirl\\n\";\r\n" … … 235 237 "}\r\n" 236 238 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" 244 244 245 245 "function procreate() {\r\n" … … 355 355 } 356 356 357 /* NB on `imagelist' and `imagecount':358 * There is undoubtedly a better (read: not redundant with `staticnames') way359 * to do this. I cannot think of such a way right now. I just wrote something360 * that would (hopefully) work, so I could test it and go from there.361 * -- Leon362 */363 364 357 static std::string MoveAround(size_t width, size_t height, char const *host) 365 358 { … … 375 368 for(size_t i = 0; i < imagecount; i++) 376 369 { 377 ret << " images[" << i << "] = 'http://" << host << " images/" << staticnames[i] << "';\r\n";370 ret << " images[" << i << "] = 'http://" << host << "/images/" << staticnames[i] << "';\r\n"; 378 371 } 379 372 … … 383 376 "var step = .2;\r\n" 384 377 "var curstep = 0;\r\n" 385 378 386 379 "window.resizeTo(" << width << " , " << height << ");\r\n" 387 380 "var centerX = (self.screen.width - document.body.clientWidth) / 2;\r\n" 388 381 "var centerY = (self.screen.height - document.body.clientHeight - 120) / 2;\r\n" 389 382 "movew0w();\r\n" 390 383 391 384 "function movew0w() {\r\n" 392 385 " var j;\r\n" -
trollforge/lastmeasure/server/lmserver.cpp
r548 r562 1 1 /* TODO: 2 * Track referrers. 3 */ 2 4 #include <string> 3 5 #include <sstream>
Note: See TracChangeset
for help on using the changeset viewer.
