Per Inge Mathisen
af40ffa1cb
Convert fog code to PIELIGHT
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2888 4a71c877-e1ca-e34f-864e-861f7616d084
2007-11-25 23:06:24 +00:00
Freddie Witherden
7361191aa5
Apply patch #860 (cursor trapping)
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2887 4a71c877-e1ca-e34f-864e-861f7616d084
2007-11-25 22:52:58 +00:00
Per Inge Mathisen
fcf0fc8d21
More colour cleanup.
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2886 4a71c877-e1ca-e34f-864e-861f7616d084
2007-11-25 22:38:22 +00:00
Per Inge Mathisen
1fd3e84133
Remove unused ALPHA_MODE
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2885 4a71c877-e1ca-e34f-864e-861f7616d084
2007-11-25 22:02:35 +00:00
Per Inge Mathisen
0265339de6
Remove unused TEX_CAP and TEX_MODE.
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2884 4a71c877-e1ca-e34f-864e-861f7616d084
2007-11-25 21:55:40 +00:00
Per Inge Mathisen
7713623a64
Remove unused bilinear mode.
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2883 4a71c877-e1ca-e34f-864e-861f7616d084
2007-11-25 21:47:57 +00:00
Giel van Schijndel
6172bdd498
* Refactor space trailing code in textdraw.c such that it is easier to read (also has some comments now which might help...)
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2882 4a71c877-e1ca-e34f-864e-861f7616d084
2007-11-25 21:43:16 +00:00
Giel van Schijndel
d960e73996
* Fix a possible buffer overflow
...
Issue pointed out by Buginator
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2881 4a71c877-e1ca-e34f-864e-861f7616d084
2007-11-25 21:20:36 +00:00
Per Inge Mathisen
4e25b2d0fe
Make more use of PIELIGHT.
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2880 4a71c877-e1ca-e34f-864e-861f7616d084
2007-11-25 21:15:08 +00:00
Freddie Witherden
f2e4a18d5f
Merge 2877 and 2878 from the netcode branch into the trunk
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2879 4a71c877-e1ca-e34f-864e-861f7616d084
2007-11-25 20:27:50 +00:00
Giel van Schijndel
b72ee652ac
* Fix a typo in the AUTHORS file (v2k5 -> vs2k5)
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2874 4a71c877-e1ca-e34f-864e-861f7616d084
2007-11-25 14:25:38 +00:00
Freddie Witherden
81e5a74f2e
Update AUTHORS
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2873 4a71c877-e1ca-e34f-864e-861f7616d084
2007-11-25 13:49:57 +00:00
Freddie Witherden
05fdb3af34
Updated the network primitives functions
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2870 4a71c877-e1ca-e34f-864e-861f7616d084
2007-11-25 12:12:03 +00:00
Giel van Schijndel
764a456efc
* In AutoRevision set 'LC_ALL' to 'C', as well as 'LANG' which already is set to 'C'
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2869 4a71c877-e1ca-e34f-864e-861f7616d084
2007-11-25 11:07:11 +00:00
Per Inge Mathisen
0d7d6dee26
Extend tagfile saves to cover droid movement information. Improve tagfile error reporting somewhat.
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2868 4a71c877-e1ca-e34f-864e-861f7616d084
2007-11-24 22:23:40 +00:00
Per Inge Mathisen
bacb7975b1
Add new tagfile method to read and write 32bit signed arrays. Fix error that
...
would interpret floating point arrays as 16bit.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2867 4a71c877-e1ca-e34f-864e-861f7616d084
2007-11-24 21:05:19 +00:00
Per Inge Mathisen
92c4fb3c33
Remove some dead code
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2866 4a71c877-e1ca-e34f-864e-861f7616d084
2007-11-24 19:38:17 +00:00
Per Inge Mathisen
9a644671d8
Fix really bad indentation
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2865 4a71c877-e1ca-e34f-864e-861f7616d084
2007-11-24 19:38:06 +00:00
Per Inge Mathisen
b5fa689b41
Include SDL_opengl.h instead of GL/gl.h for better portability. This is vital
...
for Mac compilation.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2864 4a71c877-e1ca-e34f-864e-861f7616d084
2007-11-24 16:41:00 +00:00
Dennis Schridde
9cc0a628c1
Do parts of the proposed changes in "[Warzone-dev] build issues in FreeBSD system" by Yaroslav Kolomiyets from 24.10.2006:
...
- SDL header includes don't use SDL/ anymore (raw Makefiles and MSVC Project adapted).
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2863 4a71c877-e1ca-e34f-864e-861f7616d084
2007-11-24 11:49:51 +00:00
Dennis Schridde
6ffdcc0bb5
Fix MinGW build by linking against WIN32_LIBS
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2862 4a71c877-e1ca-e34f-864e-861f7616d084
2007-11-24 11:21:27 +00:00
Per Inge Mathisen
36c3cb1b6c
Remove unused PIEVERTLIGHT. Retire iColour type in favour of PIELIGHT. Fix circular headers.
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2861 4a71c877-e1ca-e34f-864e-861f7616d084
2007-11-23 21:51:48 +00:00
Per Inge Mathisen
8475171be0
Remove iV colour defines
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2860 4a71c877-e1ca-e34f-864e-861f7616d084
2007-11-22 21:29:28 +00:00
Per Inge Mathisen
6d4d3ab476
Fix colour of separator between chat box and input area in multiplayer join dialog.
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2859 4a71c877-e1ca-e34f-864e-861f7616d084
2007-11-22 20:27:48 +00:00
Per Inge Mathisen
d82cd8172b
Small cleanup
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2858 4a71c877-e1ca-e34f-864e-861f7616d084
2007-11-22 20:21:24 +00:00
Per Inge Mathisen
dadf2ffc00
Vastly improve edit box cursor. Fix improves on patch in bug #10270 by Buginator.
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2857 4a71c877-e1ca-e34f-864e-861f7616d084
2007-11-22 20:13:50 +00:00
Per Inge Mathisen
5d77ed8d9f
Remove alpha channel from two new backdrops, since those were messing up campaign when used.
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2856 4a71c877-e1ca-e34f-864e-861f7616d084
2007-11-22 19:35:40 +00:00
Per Inge Mathisen
b2e28aec07
Cleanup. Remove dead code.
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2855 4a71c877-e1ca-e34f-864e-861f7616d084
2007-11-22 19:12:30 +00:00
Per Inge Mathisen
8ad6ff9dc1
Remove double click for keyboard and mouse wheel. Patch by buginator in patch #851 .
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2854 4a71c877-e1ca-e34f-864e-861f7616d084
2007-11-22 18:51:54 +00:00
Per Inge Mathisen
eeefdc0af0
Do not crash if filename to sound is not set. Modified version of patch #855 by Buginator.
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2853 4a71c877-e1ca-e34f-864e-861f7616d084
2007-11-22 18:35:03 +00:00
Giel van Schijndel
a57b33f800
* Fix a wrong date in the license header (was 1007 instead of 2007...)
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2852 4a71c877-e1ca-e34f-864e-861f7616d084
2007-11-22 16:34:51 +00:00
Giel van Schijndel
d648927a13
* Update Code::Blocks and MSVC project files to match the deletion of lib/gamelib/maxpidef.h in r2850
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2851 4a71c877-e1ca-e34f-864e-861f7616d084
2007-11-22 08:38:07 +00:00
Per Inge Mathisen
a980ac2ffe
Clean up gamelib, removing nearly empty maxpidef.h
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2850 4a71c877-e1ca-e34f-864e-861f7616d084
2007-11-21 23:06:31 +00:00
Giel van Schijndel
d5a4ebe0df
* Make the default build for TRUNK a debug build (hey! this is a development build after all...)
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2849 4a71c877-e1ca-e34f-864e-861f7616d084
2007-11-21 21:43:56 +00:00
Giel van Schijndel
9df7ace6a3
* Update Code::Blocks and MSVC project files to match the deletion of src/player.[ch] in r2847
...
* Update po/POTFILES.in to match the deletion of src/player.[ch] in r2847
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2848 4a71c877-e1ca-e34f-864e-861f7616d084
2007-11-21 21:17:42 +00:00
Per Inge Mathisen
941ccb3c88
Big cleanup. Script function "attackLocation" it turns out does nothing, but
...
was not removed. player.c|h was removed, however. They actually did nothing.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2847 4a71c877-e1ca-e34f-864e-861f7616d084
2007-11-20 22:58:25 +00:00
Per Inge Mathisen
3bbdf8d15d
Clean up display.c, remove dead code and make vars static if possible.
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2846 4a71c877-e1ca-e34f-864e-861f7616d084
2007-11-20 22:18:17 +00:00
Giel van Schijndel
6083c030bf
* revert (unnecessary r2843)
...
* make sure to #define _GNU_SOURCE when compiling on Unix systems with Code::Blocks
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2845 4a71c877-e1ca-e34f-864e-861f7616d084
2007-11-20 21:36:36 +00:00
Per Inge Mathisen
715c860ffc
Make stuff static
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2844 4a71c877-e1ca-e34f-864e-861f7616d084
2007-11-20 21:31:39 +00:00
Giel van Schijndel
027b9218a9
* Fix a potential compile error when using asprintf on non-Windows systems
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2843 4a71c877-e1ca-e34f-864e-861f7616d084
2007-11-20 21:18:33 +00:00
Per Inge Mathisen
904bfe5f3d
Make some stuff static
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2842 4a71c877-e1ca-e34f-864e-861f7616d084
2007-11-20 20:41:13 +00:00
Per Inge Mathisen
345d335790
Reduce max radar zoom to 1, because a value of 2 is buggy. Replace
...
hard-coded radar size values with a slightly better define.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2841 4a71c877-e1ca-e34f-864e-861f7616d084
2007-11-19 21:32:35 +00:00
Per Inge Mathisen
163c7b062c
Remove sweep effect when updating radar.
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2840 4a71c877-e1ca-e34f-864e-861f7616d084
2007-11-19 21:10:43 +00:00
Per Inge Mathisen
0dfa846456
Weed out some more dead code.
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2839 4a71c877-e1ca-e34f-864e-861f7616d084
2007-11-19 20:58:36 +00:00
Per Inge Mathisen
d8c8ee9ee1
Remove unused _iVPRIM_DIVTABLE table.
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2838 4a71c877-e1ca-e34f-864e-861f7616d084
2007-11-19 20:09:01 +00:00
Per Inge Mathisen
e07b36e7b5
Remove unused font lookup tables that are no longer used.
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2837 4a71c877-e1ca-e34f-864e-861f7616d084
2007-11-19 19:30:57 +00:00
Per Inge Mathisen
9a9736f55b
Fix another lassat bug: If you start building one, then save and load the game,
...
you will assert fail, or building will not be built.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2836 4a71c877-e1ca-e34f-864e-861f7616d084
2007-11-19 19:28:26 +00:00
Per Inge Mathisen
647ae8810c
Improve comments and documentation of tagfile code.
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2835 4a71c877-e1ca-e34f-864e-861f7616d084
2007-11-19 19:16:21 +00:00
Per Inge Mathisen
6add3309a7
Forgot to actually remove currRayAng from the droid definition.
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2834 4a71c877-e1ca-e34f-864e-861f7616d084
2007-11-19 18:04:02 +00:00
Per Inge Mathisen
f76cffb718
Remove mysterious and never used currRayAng from droid object definition.
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2833 4a71c877-e1ca-e34f-864e-861f7616d084
2007-11-18 22:04:23 +00:00