HoverRace  2.0
ResSprite.h
Go to the documentation of this file.
1 // ResSprite.h
2 //
3 //
4 // Copyright (c) 1995-1998 - Richard Langlois and Grokksoft Inc.
5 //
6 // Licensed under GrokkSoft HoverRace SourceCode License v1.0(the "License");
7 // you may not use this file except in compliance with the License.
8 //
9 // A copy of the license should have been attached to the package from which
10 // you have taken this file. If you can not find the license you can not use
11 // this file.
12 //
13 //
14 // The author makes no representations about the suitability of
15 // this software for any purpose. It is provided "as is" "AS IS",
16 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
17 // implied.
18 //
19 // See the License for the specific language governing permissions
20 // and limitations under the License.
21 //
22 
23 #pragma once
24 
25 #include "../VideoServices/Sprite.h"
26 
27 #if defined(_WIN32) && defined(HR_ENGINE_SHARED)
28 # ifdef MR_ENGINE
29 # define MR_DllDeclare __declspec( dllexport )
30 # else
31 # define MR_DllDeclare __declspec( dllimport )
32 # endif
33 #else
34 # define MR_DllDeclare
35 #endif
36 
37 namespace HoverRace {
38 namespace ObjFacTools {
39 
41 {
42  protected:
44 
45  public:
46  // Only availlable for resourceLib and construction
47  MR_DllDeclare ResSprite(int pResourceId);
49 
50  MR_DllDeclare int GetResourceId() const;
51 
52 };
53 
54 } // namespace ObjFacTools
55 } // namespace HoverRace
56 
57 #undef MR_DllDeclare
int mResourceId
Definition: ResSprite.h:43
MR_DllDeclare ~ResSprite()
Definition: ResSprite.cpp:32
Definition: Sprite.h:47
#define MR_DllDeclare
Definition: ResSprite.h:34
MR_DllDeclare ResSprite(int pResourceId)
Definition: ResSprite.cpp:27
Definition: ResSprite.h:40
Definition: Announcement.h:24
MR_DllDeclare int GetResourceId() const
Definition: ResSprite.cpp:38