Yamagi Burmeister
bf590cbba5
Clean up the Makefile
2012-06-05 10:37:34 +02:00
Yamagi Burmeister
67a147014a
Reenable retexturing
2012-06-05 10:06:13 +02:00
Yamagi Burmeister
d1008a564d
Port OpenAL to Windows and enable it by default
2012-06-05 09:57:30 +02:00
Yamagi Burmeister
7b01ac3452
Fix build under !Windows
2012-06-04 14:07:32 +02:00
Yamagi Burmeister
7c41b66821
Merge branch 'windows' of github.com:yquake2/yquake2 into windows
...
Conflicts:
Makefile
TODO
src/windows/header/winquake.h
src/windows/system.c
2012-06-04 14:04:11 +02:00
Yamagi Burmeister
a8b9183664
Build all targets on Windows
2012-06-04 12:47:28 +02:00
Yamagi Burmeister
51869fbc9d
Add qgl.c for Windows
...
This file was taken from ioQuake2 and altered for inclusion in Yamagi
Quake II.
2012-06-04 12:42:55 +02:00
Yamagi Burmeister
6f9b75f89f
More changes to the Makefile for the refresher
2012-06-04 12:02:05 +02:00
Yamagi Burmeister
e652f32a64
Makefile support for the refresher under Windows
2012-06-04 11:49:11 +02:00
Yamagi Burmeister
2672495c3f
Build the client by default under Windows
2012-06-04 11:15:53 +02:00
Yamagi Burmeister
86f89fce22
Implement vid.c for Windows
...
This file was taken from ioQuake2 and modified to work with Yamagi Quake
II. It may not be perfect yet, but should be good enough to the client
up and running.
2012-06-04 11:09:43 +02:00
Yamagi Burmeister
a4609fc42b
Use correct include pathes to SDL under Windows
2012-06-04 10:02:01 +02:00
Yamagi Burmeister
93f518e7b5
Initial Makefile suppport for the client under Windows
2012-06-04 09:51:17 +02:00
Yamagi Burmeister
65a7ac596d
Port the game.so to Windows
...
The game.so hasn't any platform depended code, therefore this
rudimentary port can be done with Makefile magic. There are
some TODOs left, they'll be resolved later on.
2012-06-04 09:32:35 +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
9618483d48
Add linker flags for Windows
2012-06-04 09:13:30 +02:00
Yamagi Burmeister
f3bead4f6b
Add Windows network functions in network.c
...
This file was taken from ioQuake2 and refactored to match Yamagi Quake
II. It would be nice to have IPv6 support and to remove the old IPX
cruft, but that happen now.
2012-06-04 09:13:30 +02:00
Yamagi Burmeister
05f7e37c77
Add memory handling functions in mem.c
...
This code was taken from ioQuake2, refactored into an own file and
altered for the inclusion in Yamagi Quake II.
2012-06-04 09:13:30 +02:00
Yamagi Burmeister
d80b8e7d37
Alter the Makefile again to bootstrap Windows
...
This version of the Makefile adds a horrible workaround for Windows
broken "mkdir". It'll be resolved before the first CFT is released.
2012-06-04 09:13:30 +02:00
Yamagi Burmeister
0eb042555b
Add conproc.c and the coresponding header
...
conproc.c implements support functions for the console windows used by
the dedicated server. It was taken from ioQuake2 and cleaned up for the
inclusion in Yamagi Quake II.
2012-06-04 09:13:30 +02:00
Yamagi Burmeister
09fc72fb60
Add preliminary support for Windows to the Makefile
...
This is incomplete but should be sufficent to build q2ded on Windows as
soon as the sourcefile are added.
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
056f4d287b
Add rand.c, an implementation of G. Marsaglia KISS PRNG
2012-06-04 09:13:29 +02:00
Yamagi Burmeister
c5cdccb97f
Move glob.c and glob.h to common
...
We need glob_match() for Windows
2012-06-03 15:26:31 +02:00
Yamagi Burmeister
a8e402705a
Add linker flags for Windows
2012-06-03 15:20:59 +02:00
Yamagi Burmeister
5133dad7a2
Add Windows network functions in network.c
...
This file was taken from ioQuake2 and refactored to match Yamagi Quake
II. It would be nice to have IPv6 support and to remove the old IPX
cruft, but that happen now.
2012-06-03 15:07:36 +02:00
Yamagi Burmeister
6e2bbf2f44
Add memory handling functions in mem.c
...
This code was taken from ioQuake2, refactored into an own file and
altered for the inclusion in Yamagi Quake II.
2012-06-03 14:08:31 +02:00
Yamagi Burmeister
d43e10b1b0
Alter the Makefile again to bootstrap Windows
...
This version of the Makefile adds a horrible workaround for Windows
broken "mkdir". It'll be resolved before the first CFT is released.
2012-06-03 13:06:48 +02:00
Yamagi Burmeister
75425ce987
Add conproc.c and the coresponding header
...
conproc.c implements support functions for the console windows used by
the dedicated server. It was taken from ioQuake2 and cleaned up for the
inclusion in Yamagi Quake II.
2012-06-03 12:14:05 +02:00
Yamagi Burmeister
72145227d7
Add preliminary support for Windows to the Makefile
...
This is incomplete but should be sufficent to build q2ded on Windows as
soon as the sourcefile are added.
2012-06-03 11:18:26 +02:00
Yamagi Burmeister
a0ccf86660
Implemented the new random generator in shared.h instead of common.h
2012-06-02 11:32:45 +02:00
Yamagi Burmeister
97f7ba0610
Add rand.c, an implementation of G. Marsaglia KISS PRNG
2012-06-02 10:56:40 +02:00
Christoph Mallon
3c7539b417
Simplify the test whether the architecture is supported.
2012-04-30 08:35:40 +02:00
Christoph Mallon
2867c00d61
Do not overwrite CC.
2012-04-30 08:35:10 +02:00
Christoph Mallon
ab034114b4
Whitespace fixes.
2012-04-30 08:25:59 +02:00
Yamagi Burmeister
dc3e2bd3b4
Mention openal-soft in the Makefile
2012-04-29 16:16:44 +02:00
Daniel Gibson
8612950e0a
Make SYSTEMWIDE options in Makefile configurable from Console
...
With the WITH_SYSTEMWIDE (yes/no) and WITH_SYSTEMDIR (actual path) options
2012-04-29 15:54:15 +02:00
Daniel Gibson
ebccfc63df
Remove need to link against libopenal
...
libopenal is loaded with dlopen() and for all used alBla and alcBla functions
there are function pointers (just like thee qgl stuff for OpenGL).
Thus there's no need to link against libopenal on compile-time.
There were a few occurences of "normal" openal functions (al* instead of qal*)
- they are fixed now.
This allows to use a yquake2 version compield with WITH_OPENAL=yes to be used
on systems that have no libopenal installed (the standard SDL sound backend
will be used then).
2012-04-29 15:24:14 +02:00
Daniel Gibson
669a78de12
Compiletime options in Makefile overwritable from console
...
And a small fix that shuts up a compiler warning
2012-04-28 19:38:07 +00:00
Yamagi Burmeister
905b31a918
Integrate OpenAL into the options system
2012-04-25 10:09:30 +00:00
Yamagi Burmeister
2c3c203097
Merge out new options framework from the trunk
2012-04-25 09:57:17 +00:00
Yamagi Burmeister
a00ce8dee3
Typos :/
2012-04-25 09:32:36 +00:00
Yamagi Burmeister
3d84b624c7
Allow the setting of user defined options in the Makefile
2012-04-25 09:32:11 +00:00
Yamagi Burmeister
03015a686b
Hide music playback from CD behind CDA
2012-04-25 08:53:25 +00:00
Yamagi Burmeister
f836cef4c4
Rename qal_api.c to unix/qal.c and qal_api.h to unix/header/qal.h.
...
Both files are platform dependend and won't work on non unixoid
platforms.
2012-04-24 14:20:01 +00:00
Yamagi Burmeister
4ff4bf09e9
Merge the trunk back into the openal branch.
2012-04-23 14:09:33 +00:00
Daniel Gibson
f4d5040a73
Add OpenAL stuff to Makefile, make it compile and work (no streaming sound yet)
...
It works \o/
It's still hacky so it needs more work.
And streaming sound (OGG music, sound from videos) is still missing.
2012-04-22 00:24:50 +00:00
Yamagi Burmeister
df0347bde0
Do not link the X11 libs used for setting the gamma
2012-04-19 13:25:51 +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
a7aa1e93c0
Rename misc.c to main.c
2012-04-19 13:14:03 +00:00