• R/O
  • SSH

标签
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

This is a fork of Zandronum used on servers hosted by The Sentinels Playground (TSPG), Euroboros (EB), and Down Under Doomers (DUD).


File Info

Rev. a804216fabdb77d6e9c94c363e2609536725eb2c
大小 30 字节
时间 2009-01-04 04:15:05
作者 Benjamin Berkels
Log Message

Updated the branch with the latest changes from the main trunk (revision 1851-1867):
- added source code for UPnP from http://www.codeproject.com/KB/IP/port-forwarding.aspx.

Aside from unifying the line endings and removal of all temporary files, the source is identical to the one from published by upredsun, i.e. http://www.codeproject.com/KB/IP/port-forwarding/upnp-source.zip.

- upgraded the project and solution file to VC++ 2005
- made the code compatible with VC++ 2005
- added timeout code so that this works with my router
- updated ignore lists
- upnp-source now compiles under Linux. I couldn't test yet, if it works though.
- indentation fixes
- meanwhile I also confirmed that this works under Linux
- renamed upnp-source.* to upnp-test.*
- moved everything but main into the new library project file upnpnat
- renamed dir upnp-source to upnpnat
- Added the "in console" icon to skulltag.pk3. [Rivecoder]
- Added UPnP support (invoked by the command line parameter "-upnp"). If used, the server tries to automatically add a port mapping on the router that connects the server to the internet. The external port of the mapping can be overridden by #n, if Skulltag is invoked with "-upnp #n".
- Added a custom implementation of the Scale2x/3x/4x algorithm as proposed in http://scale2x.sourceforge.net/ to the OpenGL renderer. This should get rid of the blurriness caused by OpenGL filtering and is controlled by the new CVAR gl_texture_hqresize, which defaults to 0.

gl_texture_hqresize == 0 : no scaling
gl_texture_hqresize == 2 : Scale2x algorithm
gl_texture_hqresize == 3 : Scale3x algorithm
gl_texture_hqresize == 4 : Scale4x algorithm

- Adapted the Linux makefile for UPnP support.
- Fixed: ThrustThing did not work on CLIENTSIDEONLY actors.
- Fixed compile problems under FreeBSD.
- Changed the values of gl_texture_hqresize:

gl_texture_hqresize == 1 : Scale2x algorithm
gl_texture_hqresize == 2 : Scale3x algorithm
gl_texture_hqresize == 3 : Scale4x algorithm

- Textures/sprites whose width or height exceeds the new CVAR gl_texture_hqresize_maxinputsize (default 512) are not upsampled.
- Added entry "High Quality Resize mode" to the OpenGL menu.
- Added new DECORATE weapon flag NOAUTOAIM. Weapons with this flag behave as if CVAR autoaim was 0 (as long as the level allows freelook).
- Changed: If ArtiTeleport is used in a team game and the user is on a team with valid starts on the current map, the user is now teleported to a random team start of the user's team.
- The new CVAR gl_texture_hqresize_target (default 0) controls whether everything should be upsampled (value 0) or sprites and fonts only (value 1).

SVN r1917 (latestzdoom)

Content

all:
	g++ *.cpp -o upnp-test