Nuclide
Software Development Kit for id Technology (BETA)
Main Page
Related Pages
Modules
Classes
ComputerDesktop.h
1
/*
2
* Copyright (c) 2025 Vera Visions LLC.
3
*
4
* Permission to use, copy, modify, and distribute this software for any
5
* purpose with or without fee is hereby granted, provided that the above
6
* copyright notice and this permission notice appear in all copies.
7
*
8
* THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
9
* WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
10
* MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
11
* ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
12
* WHATSOEVER RESULTING FROM LOSS OF MIND, USE, DATA OR PROFITS, WHETHER
13
* IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING
14
* OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
15
*/
16
45
class
46
ncComputerDesktop
:
ncMediaSource
47
{
48
void
ncComputerDesktop
(
void
);
49
50
#ifdef SERVER
51
virtual
void
Spawned(
void
);
52
virtual
void
Respawn(
void
);
53
virtual
void
SpawnKey(
string
,
string
);
54
virtual
void
EvaluateEntity(
void
);
55
virtual
float
SendEntity(entity,
float
);
56
virtual
void
Death(entity inflictor, entity attacker,
int
damagePoints, vector dir, vector absImpactPos,
int
hitBody);
57
58
#endif
59
60
#ifdef CLIENT
61
virtual
void
Draw(
void
);
62
virtual
bool
Input(
float
a,
float
b,
float
c,
float
d);
63
virtual
void
ReceiveEntity(
float
,
float
);
64
virtual
void
OnRemoveEntity(
void
);
65
#endif
66
67
#ifdef CLIENT
68
private
:
69
70
entity m_UIChain;
71
entity m_xTermView;
72
#endif
73
};
ncComputerDesktop
Definition:
ComputerDesktop.h:47
ncMediaSource
Definition:
MediaSource.h:3
src
shared
electronics
ComputerDesktop.h
2009-2025 (C) Nuclide is a project by
Vera Visions, L.L.C.
and is available under the
ISC License
.