~ubuntu-branches/ubuntu/natty/spring/natty

« back to all changes in this revision

Viewing changes to rts/Game/DummyVideoCapturing.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Scott Ritchie
  • Date: 2010-09-23 18:56:03 UTC
  • mfrom: (3.1.9 experimental)
  • Revision ID: james.westby@ubuntu.com-20100923185603-st97s5chplo42y7w
Tags: 0.82.5.1+dfsg1-1ubuntu1
* Latest upstream version for online play
* debian/control: Replace (rather than conflict) spring-engine
  - spring-engine will be a dummy package (LP: #612905)
  - also set maintainer to MOTU

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* This file is part of the Spring engine (GPL v2 or later), see LICENSE.html */
 
2
 
 
3
#include "DummyVideoCapturing.h"
 
4
 
 
5
#include "System/LogOutput.h"
 
6
 
 
7
 
 
8
DummyVideoCapturing::DummyVideoCapturing() {
 
9
}
 
10
 
 
11
DummyVideoCapturing::~DummyVideoCapturing() {
 
12
}
 
13
 
 
14
 
 
15
bool DummyVideoCapturing::IsCapturingSupported() const {
 
16
        return false;
 
17
}
 
18
 
 
19
bool DummyVideoCapturing::IsCapturing() const {
 
20
        return false;
 
21
}
 
22
 
 
23
void DummyVideoCapturing::StartCapturing() {
 
24
 
 
25
        logOutput.Print("Creating a video is not supported by this engine build.");
 
26
        logOutput.Print("(requires: OS=Win32 / Compiler=MinGW / \"#define AVI_CAPTURING\")");
 
27
        logOutput.Print("Please use an external frame-grabbing/-capturing application.");
 
28
}
 
29
 
 
30
void DummyVideoCapturing::StopCapturing() {
 
31
}
 
32
 
 
33
void DummyVideoCapturing::RenderFrame() {
 
34
}