Commit Graph

206 Commits (objectmenu)

Author SHA1 Message Date
Tobias Zwick 6da6f6a73b fix: Version information from masterserver is correctly parsed
PeterW changed some stuff about the INI parser. I adjusted the parsing of the version info from the masterserver to fit his change
and let the C4Network2RefClient inherit from the C4Network2UpdateClient (as refclient does the same as updateclient only more) while I was at it.
2010-12-27 01:07:59 +01:00
Tobias Zwick 311dcfbb7a Clonk client redirects user to download page if new version is available but not as update 2010-12-27 00:31:25 +01:00
Günther Brammer be342d4a51 copyright notices update 2010
This time with more manual checking and using git blame -M -C, so that
a few cases of copied code get a copyright notice corresponding to
their initial introduction.
2010-12-23 01:01:24 +01:00
Peter Wortmann f00ec07a7b Reference: Compile UpdateURL as RCT_All, set default so parsing won't fail because of it. 2010-12-19 20:16:18 +00:00
Günther Brammer 719ed39632 Remove FairCrew and permanent Physicals 2010-12-10 01:06:38 +01:00
Sven Eberhardt e2a580fd55 revive MSVC10 memleak checking and fix a few memleaks 2010-12-07 23:43:00 +01:00
Günther Brammer ccf84f5dbe c4group: Remove Maker information.
It is useless without the shareware registration providing a name.
2010-12-05 18:57:06 +01:00
Günther Brammer 0d59854c5c GUI: Remove superfluous checks for IsGUIValid() and GetScreenS()
Some of them should rather check whether the user has closed the window,
though.
2010-10-30 02:08:58 +02:00
Günther Brammer 75c2b21ee8 GUI: Remove superfluous checks for pGUI 2010-10-30 01:47:50 +02:00
Tobias Zwick 9f8fa02b8e new update system 2010-12-01 21:37:47 +01:00
Tobias Zwick 56937d4179 IRC-chat fixes
+ Now can join #play-clonk. Anything that adheres the pattern #*clonk*
+ /help actually works now
+ /query nickname message - does not create a chat with "nickname message"
2010-11-25 19:02:23 +01:00
Nicolas Hake 0a932c656f Disabled 'League' button (#479) 2010-11-09 13:17:02 +01:00
Günther Brammer 16609432cb Remove Regjoinonly flag, unregistered users can now join all games
The commandline option already went away anyway.
2010-10-04 18:07:46 +02:00
Günther Brammer 8e2ae2f543 Replace Application.DDraw with lpDDraw everywhere
There's no need for two globals always storing the same value.
2010-09-28 20:35:26 +02:00
Günther Brammer a7e4dd9a9c Rename some fullscreen flags to editor 2010-09-28 20:16:33 +02:00
Günther Brammer 17016a6695 Version: Reduce version number from five numbers to four
Removing C4XVER4 and renaming C4VERBUILD to C4XVER4. Also, make the
Makefile.am read the version from the Version.txt and generate C4Version.h.
2010-09-25 00:43:30 +02:00
Julius Michaelis dcd3065243 add #openclonk* to allowed IRC-client channels (#381)
change default channel to #openclonk-lobby
2010-09-16 23:22:38 +02:00
Günther Brammer e109df627c Remove a lot of old obsolete palette code
Hardcode the few remaining palette references instead. We might want to
include some method to customize some colors again, but not for debug
display and such things.
2010-06-29 01:02:16 +02:00
Günther Brammer 46aa12def4 Merge C4GUI::Resource into C4GraphicsResource
Both classes did the same thing at the same time, with the only difference
that C4GUI::Resource was vaguely more associated with GUI stuff. Some
time ago, C4GUI::Resource could be freed during the game, but not anymore.

This saves some lines of code and one redundant class, but shouldn't change
anything besides progress bar being textured a little earlier during
startup.
2010-06-27 02:42:48 +02:00
Sven Eberhardt 65b73b7177 SendCursorPos controls issue CON_CursorPos (#289) 2010-05-07 15:57:56 +02:00
Armin Burgmeier 9f65838ae8 Fix a couple of compiler warnings 2010-04-28 23:43:25 +02:00
Nicolas Hake 73ec7de7b7 Clarify pointer ownership semantics 2010-04-03 12:35:12 +02:00
Benjamin Herr a339254617 Fix display of _CHANNELNOTALLOWED message 2010-04-02 16:07:04 +02:00
Benjamin Herr 8f3aaabf61 Let C4InteractiveThread post arbitrary functors 2010-04-02 16:06:45 +02:00
Armin Burgmeier c2924041c9 Fix seperate->separate everywhere 2010-04-01 23:08:06 +02:00
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