Imports the current Win32 source for the pod-racing game 'Red Planet', built on the MUNGA engine and its L4 (Win32/DirectX) platform layer: - MUNGA / MUNGA_L4: cross-platform engine core and Win32 backend - RP / RP_L4: Red Planet game logic and Win32 application - DivLoader, Setup1: asset loader and installer project - lib, MUNGA_L4/openal, MUNGA_L4/sos: third-party audio dependencies Removed stale Subversion metadata and added .gitignore/.gitattributes. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
39 lines
845 B
C++
39 lines
845 B
C++
#pragma once
|
|
|
|
#include "sfeskt.h"
|
|
|
|
class SortedSocket : public SafeSocket
|
|
{
|
|
public:
|
|
~SortedSocket();
|
|
|
|
void AddValuePlug(Plug *plug, const void *value) { AddValueImplementation(plug, value); }
|
|
|
|
Plug *FindPlug(const void *value) { return FindImplementation(value); }
|
|
|
|
protected:
|
|
SortedSocket(Logical has_unique_entries = true);
|
|
SortedSocket(Node *node, Logical has_unique_entries = true);
|
|
|
|
Logical HasUniqueEntries() { return hasUniqueEntries; }
|
|
|
|
virtual void AddValueImplementation(Plug *plug, const void *value);
|
|
|
|
virtual Plug *FindImplementation(const void *value);
|
|
|
|
private:
|
|
Logical hasUniqueEntries;
|
|
};
|
|
|
|
class SortedIterator : public SafeIterator
|
|
{
|
|
public:
|
|
~SortedIterator();
|
|
|
|
virtual Plug *FindImplementation(const void *value);
|
|
|
|
virtual void *GetValueImplementation();
|
|
|
|
protected:
|
|
SortedIterator(SortedSocket *sortedSocket);
|
|
}; |