Armin Burgmeier
d52fd9eadb
Pass correct poll result (revents) to glib mainloop
...
This fixes saving games in developer mode on Linux
2010-03-31 19:14:10 +02:00
Julius Michaelis
9fbacd33db
Fixed IRC client connect error when trying to connect without RealName
2010-03-30 21:31:18 +02:00
Benjamin Herr
84f54c2972
Use first participant if network nick is empty
2010-03-28 23:41:56 +02:00
Carl-Philip Hänsch
649df64f1a
Allow ignoring clients in the game lobby
2010-03-28 21:33:51 +02:00
Benjamin Herr
4378de147c
Rerun astyle with missing \ added
2010-03-28 20:58:01 +02:00
Benjamin Herr
27287b981f
Reformat everything according to style guidelines
...
as per http://forum.openclonk.org/topic_show.pl?tid=208
and http://wiki.openclonk.org/w/Style_Guidelines
via astyle
--brackets=break
--indent=tab=2
--keep-one-line-statements
--keep-one-line-blocks
--indent-namespaces
--convert-tabs
--recursive
--exclude=zlib
--exclude=tinyxml
src/\*.h src/*.cpp
2010-03-28 19:58:21 +02:00
Günther Brammer
b4e37b070b
Change all indentation with spaces to use tabs instead
...
This is a whitespace-only patch. Hopefully, it'll only affect rarely-changed
parts of the engine, since all regularly maintained pieces should already
use tabs.
2010-03-27 17:05:02 +01:00
Günther Brammer
164ce843cd
Consolidate computername and network nick into one
...
The distinction was arbitrary and useless.
2010-03-22 16:18:03 +01:00
Sven Eberhardt
2b39de9600
hgrevision mismatch message localization
2010-03-22 22:49:53 +01:00
Sven Eberhardt
5e48fd1a15
hg revision stored in engine and checked in network (MSVC only) message fix
2010-03-22 13:42:18 +01:00
Sven Eberhardt
9b7009de94
hg revision stored in engine and checked in network (MSVC only)
2010-03-22 13:41:14 +01:00
Günther Brammer
e30ff99d6a
Remove all superflous #include <Standard.h>
...
Standard.h is included by C4Include.h, and every file includes that.
2010-03-04 22:11:12 +01:00
Carl-Philip Hänsch
411a61276b
Removed more shareware restrictions
...
Lobby: Desaturation filter and watermark on unregistered players gone
Startup: Doesn't show "Unregistered" anymore
About: No "register now button"
Network: /regjoinonly switch removed
2010-03-02 10:03:29 +01:00
Günther Brammer
ff8d950e85
Remove C4ENGINE define
...
Most files using it weren't used by c4group-the-application anymore, and
the remaining stuff can be dealt with by using stubs or the same code in
both cases.
2010-02-17 22:59:46 +01:00
Benjamin Herr
00c747aebe
C4NetIOTCP: Removed assertions from bug #101
...
The non-winsock part of the code was making some funny assumptions about
the the connection/peer lists staying consistent with the pollfd array,
so we use a pollfd map instead.
---
src/network/C4NetIO.cpp | 32 ++++++++++++++++----------------
1 files changed, 16 insertions(+), 16 deletions(-)
2010-02-02 16:41:18 +01:00
Benjamin Herr
df0ff9ef00
C4NetIO::Execute: Extend std::vector lifetime as something points to it
...
In the not-STDSCHEDULER_USE_EVENTS case, the fds pointer will point to
the elements of a vector with automatic storage duration and then
outlive its lifetime, causing undefined behaviour.
---
src/network/C4NetIO.cpp | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
2010-02-02 15:22:33 +01:00
Benjamin Herr
f3b35227ea
avoid lots of gcc warnings
2010-01-25 05:00:59 +01:00
Günther Brammer
bf1b347d1a
netio error message fix
2009-11-03 00:59:27 +01:00
Günther Brammer
e592ca643c
Move prototypes back to C4Prototypes.h
2010-01-02 01:19:42 +01:00
Sven Eberhardt
8b4006da08
fix scheduler blocking by unblock proc
2009-12-31 18:10:55 +01:00
Sven Eberhardt
f0e361e302
fix CID_PlrControl in network
2009-12-30 01:56:52 +01:00
Tobias Zwick
edec15d64f
merge
2009-11-30 17:24:14 +01:00
mizipzor
a53dae0c1b
Fixed compilation in MSVC2010
2009-11-25 19:38:54 +01:00
Armin Burgmeier
49e607bab0
Added includes and forward declarations, fixing the build
2009-10-26 00:09:34 +01:00
Nicolas Hake
b3ab7fab5b
Strip down C4Include.h to encourage self-sufficient sources
2009-10-23 09:29:58 +02:00
Nicolas Hake
52bde5a579
Remove BIG_C4INCLUDE define
2009-10-20 06:21:12 +02:00
Tobias Zwick
f584896446
merge
2009-10-08 20:51:31 +02:00
Günther Brammer
6ca2ed3b6a
C4PktBuf: Use StdCopyBuf instead of StdBuf as member variable
...
That way, the automatically generated operator= actually works instead of crashing.
2009-08-26 01:20:01 +02:00
Günther Brammer
9a8b5dd739
Replace BOOL by bool, TRUE by true, FALSE by false
2009-08-15 20:50:32 +02:00
Sven Eberhardt
df6010a148
merge
2009-08-12 17:27:43 +02:00
Günther Brammer
572d00c32e
Move all source files
...
This might make stuff easier to find.
2009-08-10 17:59:18 +02:00