Yamagi Burmeister
7ac71db523
Merge branch 'cleanup'
...
Conflicts:
src/common/header/common.h
src/common/header/shared.h
src/common/misc.c
src/unix/main.c
src/unix/system.c
2012-07-09 14:35:37 +02:00
Yamagi Burmeister
c0e9a6f045
Make Quake II compatible with unicode directory names
...
This changes employs a horrible hack to connect the ASCII Quake II to
the UTF-16 WinAPI. The path to "My Documentes" is read in UTF-16, then
converted to a old "DOS style path" with 8.3 characters. This DOS path
has by convention no UTF-16 characters in it and can be converted into
a normal ASCII string. This ASCII string is the path used by Yamagi
Quake II. The conversion logic will fail if the "Windows to DOS
filename transistion" is deactivated in the registry (it's on by
default). In that case no homedir is used and the "Windows Roaming
Mechanism" kicks in.
2012-06-20 13:39:18 +02:00
Yamagi Burmeister
e1f338f59b
Reformat the headers
2012-06-18 10:46:31 +02:00
Yamagi Burmeister
e3690bcaab
Bump version number to 4.90
...
This is done to distinguish the upcoming "Yamagi Quake II - Windows Test I"
from the normal 4.21 version.
2012-06-18 09:51:59 +02:00
Yamagi Burmeister
060235e7dd
Merge branch 'windows' into cleanup
...
Conflicts:
src/common/filesystem.c
src/sdl/input.c
src/sdl/refresh.c
src/unix/system.c
2012-06-11 11:21:16 +02:00
Yamagi Burmeister
2c0148bab5
Enlargen MAX_OSPATH to 256 on Windows
...
This is necessary due to the extrem long homedir-pathes in some Windows
localizations. While it would be nice to have the same value on all
platform it would break existing savegames and don't think that it's
worth that.
2012-06-11 10:25:12 +02:00
Yamagi Burmeister
e70067ceba
Refactor the "home"-path finding logic into own functions
...
With this change the homedir is no longer selected in the filesystem,
but in platform dependend functions. This allows us to use WINABI calls
for selection, resulting using the apropriate diretory on localized
versions of Windows XP.
2012-06-11 09:55:54 +02:00
Yamagi Burmeister
ac6748e7d2
Merge the collision model back into one file
2012-06-07 15:04:45 +02:00
Yamagi Burmeister
56aff1dc89
Recombine the command parser in one file
...
Spliting it into several files seemed logical but in retrospect it was
a bad idea, unnecessary complicating the code.
2012-06-07 13:35:33 +02:00
Yamagi Burmeister
58c3b22c8a
Add platform defines for Windows
2012-06-05 10:17:01 +02:00
Yamagi Burmeister
21ab0de692
Remove support for the Windows clipboard
...
This was just broken and rewriting it is not worth the efford
2012-06-05 10:09:24 +02:00
Yamagi Burmeister
4e37958b63
Stub Sys_Init() for Unix and call it while initializing
2012-06-04 09:13:30 +02:00
Yamagi Burmeister
32dc525124
Stub NET_Init() for Unix and call it while initializing
2012-06-04 09:13:30 +02:00
Yamagi Burmeister
1a3b54b27e
Move glob.c and glob.h to common
...
We need glob_match() for Windows
2012-06-04 09:13:30 +02:00
Yamagi Burmeister
bd1070eff2
Remove FS_DeletePath() and Sys_Rmdir()
...
Thise functions where added with the filesystem rewrite but never used.
Removing them saves us from implementing Sys_Rmdir() for Windows.
2012-06-04 09:13:30 +02:00
Yamagi Burmeister
ce3d61ef61
Remove unused Sys_CopyProtect stup
2012-06-04 09:13:29 +02:00
Yamagi Burmeister
99520d1331
Implemented the new random generator in shared.h instead of common.h
2012-06-04 09:13:29 +02:00
Yamagi Burmeister
28c200a2e8
Implement crandk() and frandk() and remove old functions
2012-06-04 09:13:29 +02:00
Yamagi Burmeister
056f4d287b
Add rand.c, an implementation of G. Marsaglia KISS PRNG
2012-06-04 09:13:29 +02:00
Yamagi Burmeister
37132d8ac9
Bump version number to 4.21
2012-05-26 09:45:57 +02:00
Christoph Mallon
ab034114b4
Whitespace fixes.
2012-04-30 08:25:59 +02:00
Yamagi Burmeister
4203bed129
Bump version number to 4.20
2012-04-29 08:08:21 +00:00
Yamagi Burmeister
179ec5538e
Move strlwr() into shared.c and don't link main.c into the refresher
2012-04-19 13:22:50 +00:00
Yamagi Burmeister
b6bb97e223
- add support for big endian CPUs
...
- enable the build on SPARC64
- add runtime-requirements for SPARC64
- bump version number to 4.10
2012-04-16 06:54:48 +00:00
Yamagi Burmeister
04f5ff9523
Bump version number to 4.03
2012-02-17 08:18:25 +00:00
Yamagi Burmeister
146450c3e0
Bump version number to 4.02
2012-01-08 16:44:45 +00:00
Yamagi Burmeister
642cf678c0
Bump version to 4.01
2011-12-26 08:48:54 +00:00
Yamagi Burmeister
07ed4c8b5a
Make the client and server IPv6 aware
2011-10-15 16:18:26 +00:00
Yamagi Burmeister
60a2ca3eb9
Add a signal handler to the client
2011-10-10 07:51:16 +00:00
Yamagi Burmeister
db9de69884
- Bump savegame version
...
- Bump client version
2011-10-09 16:56:33 +00:00
Yamagi Burmeister
feaa8a6f21
Move q_shared.c, q_shared.h and m_flash.c into common/
2011-10-06 08:52:26 +00:00
Yamagi Burmeister
7c21154ff7
Versionsnummer auf 3.00
2010-11-26 18:42:19 +00:00
Yamagi Burmeister
ec979fb4f5
Headerguards
2010-10-27 13:24:41 +00:00
Yamagi Burmeister
1ad221b667
Räume posix.c und system.c auf und fixe einige Abartigkeiten
2010-10-18 13:04:28 +00:00
Yamagi Burmeister
4c14053424
Überarbeite den low leven network code
2010-10-18 06:31:35 +00:00
Yamagi Burmeister
c2e06a2682
- qcommon.h -> header/common.h
...
- qfiles.h -> header/files.h
2010-09-01 08:45:26 +00:00
Yamagi Burmeister
858dee9747
Silence a compiler warning
2010-09-01 08:27:44 +00:00
Yamagi Burmeister
d979579d73
Add zone.h
2010-08-31 09:17:42 +00:00
Yamagi Burmeister
88393d6cd6
Header guard for crc.h
2010-08-31 09:07:30 +00:00
Yamagi Burmeister
e9fe63a98c
Move crc.h to the headers and use it
2010-08-31 08:24:54 +00:00
Yamagi Burmeister
620ce70ec7
Split cmodel.c into multiple files
2010-08-03 15:12:04 +00:00
Yamagi Burmeister
88c511f270
Spalte cmd.c in Eintzeldateien
2010-08-03 14:06:20 +00:00