aboutsummaryrefslogtreecommitdiff
path: root/advtrains_interlocking/signal_api.lua
Commit message (Expand)AuthorAge
* Signs (static signals)orwell962018-12-08
* Permit basic signal aspect settingorwell962018-11-19
* Make fillout_aspect also fill "info" fieldorwell962018-10-30
* Fix signal_get_aspect()orwell962018-10-29
* Fix demo signalsorwell962018-10-25
* Add doc for supported_aspects, improve other doc and aspect autofillorwell962018-10-25
* Actually allow what manual promises (setting IP on non-assigned signals)orwell962018-10-17
* Properly implement invalidate_all_paths, recheck lzb on aspect changeorwell962018-10-10
* Make signal influence point (~halt point) specifiableorwell962018-10-09
* Signal aspect handling, make default signals compatible, fix signal diggingorwell962018-08-12
* Signal assignment and route programming procedureorwell962018-07-04
* Interlocking: Create demo signals, signal API and model for TCB configurer nodeorwell962018-06-19
">the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef SOCKET_HEADER #define SOCKET_HEADER #ifdef _WIN32 #ifndef WIN32_LEAN_AND_MEAN #define WIN32_LEAN_AND_MEAN #endif #ifndef _WIN32_WINNT #define _WIN32_WINNT 0x0501 #endif #include <windows.h> #include <winsock2.h> #include <ws2tcpip.h> #else #include <sys/socket.h> #include <netinet/in.h> #endif #include <ostream> #include <string.h> #include "irrlichttypes.h" #include "exceptions.h" extern bool socket_enable_debug_output; class SocketException : public BaseException { public: SocketException(const char *s): BaseException(s) { } }; class ResolveError : public BaseException { public: ResolveError(const char *s): BaseException(s) { } }; class SendFailedException : public BaseException { public: SendFailedException(const char *s): BaseException(s)