Ari Johnson
89959394d6
Fixed bug that caused garbage to be read from asScrTypeTab, which could confuse
...
the script parser.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@593 4a71c877-e1ca-e34f-864e-861f7616d084
2006-08-20 11:17:51 +00:00
Ari Johnson
737f37663e
AM_CONFIG_HEADER replaces AC_CONFIG_HEADER to avoid complaints from automake
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@592 4a71c877-e1ca-e34f-864e-861f7616d084
2006-08-20 11:16:40 +00:00
Ari Johnson
8917cea6cb
Runtime script parse errors now report a filename and line number rather
...
than just an inaccurate line number.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@591 4a71c877-e1ca-e34f-864e-861f7616d084
2006-08-20 11:15:55 +00:00
Dennis Schridde
a026b6118d
Make both MSVC and GCC use a very similar define for ASSERT.
...
I am afraid that I reverted the changes made by Per. Will try to recover them tomorrow.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@590 4a71c877-e1ca-e34f-864e-861f7616d084
2006-08-19 22:45:58 +00:00
Dennis Schridde
3210bebd6b
- configure.ac, configure.mk: Define NDEBUG for non debug builds (disables assert())
...
- mem.c: Beautify memFree ASSERT(())
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@589 4a71c877-e1ca-e34f-864e-861f7616d084
2006-08-19 22:24:07 +00:00
Dennis Schridde
e989a55798
Change define of _CONSOLE to _WINDOWS for a full Windows app.
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@588 4a71c877-e1ca-e34f-864e-861f7616d084
2006-08-19 21:17:20 +00:00
Per Inge Mathisen
32dc6ada48
Add debug logging and asserts for MSVC use similar to what we have on
...
the unixy side.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@587 4a71c877-e1ca-e34f-864e-861f7616d084
2006-08-19 18:56:03 +00:00
Roman C
f286ffd1bf
Fixed dependencies
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@585 4a71c877-e1ca-e34f-864e-861f7616d084
2006-08-19 14:37:36 +00:00
Roman C
797906a0db
fixed some warnings
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@584 4a71c877-e1ca-e34f-864e-861f7616d084
2006-08-19 13:40:19 +00:00
Roman C
92284dc7bc
Scripting engine update:
...
-implemented string support
-functions can now have arguments, example:
function STRING myFunc(DROID myDroid, int myInt2){<code>}
-functions can have return values:
return <statement>;
or just "return;" for void functions
-function calls are made the normal c/c++ way (using the function from the first example):
myString = myFunc(myDroid, 156);
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@583 4a71c877-e1ca-e34f-864e-861f7616d084
2006-08-19 13:26:11 +00:00
Dennis Schridde
77ed8b86a7
- Require automake 1.8 in autogen.sh to fix bug bug #6683
...
- Remove obsolete macros from configure.ac
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@582 4a71c877-e1ca-e34f-864e-861f7616d084
2006-08-19 09:39:35 +00:00
Ari Johnson
52bcaba119
Slight change to MacOS X build instructions may improve consistency of ./configure results
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@581 4a71c877-e1ca-e34f-864e-861f7616d084
2006-08-18 05:13:16 +00:00
Dennis Schridde
9c1755d1b0
When cleaning the search path:
...
First saving curSearchPath->higherPriority to tmpSearchPath and then freeing curSearchPath helps against stupidity and bug #6552 (0xfeeefeee).
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@580 4a71c877-e1ca-e34f-864e-861f7616d084
2006-08-17 22:29:49 +00:00
Dennis Schridde
c338b035e0
MSVC has no unistd.h, so make Bison generated code not use it.
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@579 4a71c877-e1ca-e34f-864e-861f7616d084
2006-08-17 22:08:22 +00:00
Ari Johnson
0d31b46b7b
MacOS-related documentation updates
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@578 4a71c877-e1ca-e34f-864e-861f7616d084
2006-08-17 04:47:35 +00:00
Ari Johnson
58ec3169b3
Minor improvements to application bundle generation screen
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@577 4a71c877-e1ca-e34f-864e-861f7616d084
2006-08-17 04:47:17 +00:00
Dennis Schridde
580338815f
Update for 2.0.4_rc2
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@576 4a71c877-e1ca-e34f-864e-861f7616d084
2006-08-16 21:23:24 +00:00
Dennis Schridde
fe22ab0f64
Show whether this is a debug compile in mainmenu.
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@575 4a71c877-e1ca-e34f-864e-861f7616d084
2006-08-16 20:51:45 +00:00
Dennis Schridde
b3209ba881
Update to version 2.0.4_rc2
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@574 4a71c877-e1ca-e34f-864e-861f7616d084
2006-08-16 20:30:02 +00:00
Per Inge Mathisen
e4c4f4be6f
Revert allied visibility patch. It needs more testing.
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@573 4a71c877-e1ca-e34f-864e-861f7616d084
2006-08-16 20:07:24 +00:00
Roman C
e0c93aec7d
Scripting engine update:
...
Implemented local variables, which can be used inside of functions or events.
Syntax:
local int myVar1,myVar2;
* fixed a bug which made wz crash when local variable was declared inside of an event
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@572 4a71c877-e1ca-e34f-864e-861f7616d084
2006-08-16 11:23:43 +00:00
Per Inge Mathisen
6fa9777262
Comment out some anti-cheat checks for now.
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@571 4a71c877-e1ca-e34f-864e-861f7616d084
2006-08-15 21:03:22 +00:00
Roman C
a891af6a7a
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@570 4a71c877-e1ca-e34f-864e-861f7616d084
2006-08-15 18:38:51 +00:00
Per Inge Mathisen
6d8b190950
Make SBYTE explicitly a signed char, not just a char. This would have broken
...
some things on platforms where 'just char' means unsigned char. Fix lots of
new signedness warnings resulting from that fix (which would have cropped
up on unsigned char platforms anyway). Also implement a small subset of
stdint.h for windows platform in frame.h, hope this does not create any
conflicts. This allows us to use types like uint64_t where relevant.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@569 4a71c877-e1ca-e34f-864e-861f7616d084
2006-08-15 18:20:36 +00:00
Per Inge Mathisen
e730e71ee7
Add MacOSX support files by Ari Johnson (iamtheari).
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@568 4a71c877-e1ca-e34f-864e-861f7616d084
2006-08-15 16:43:32 +00:00
Per Inge Mathisen
2fe7d306ac
Fix some MacOSX issues with order of include/defines, and required conditionals.
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@567 4a71c877-e1ca-e34f-864e-861f7616d084
2006-08-15 16:33:48 +00:00
Per Inge Mathisen
e86f311e96
Put back the prototype for glActiveStencilFaceEXT, which is needed on
...
Windows despite SDL_opengl.h
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@566 4a71c877-e1ca-e34f-864e-861f7616d084
2006-08-12 18:23:39 +00:00
Per Inge Mathisen
91e864b3a5
Fix some more warnings
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@565 4a71c877-e1ca-e34f-864e-861f7616d084
2006-08-12 17:36:22 +00:00
Per Inge Mathisen
5c7f5462e0
Set one more forgotten svn:eol-style property
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@564 4a71c877-e1ca-e34f-864e-861f7616d084
2006-08-12 16:55:23 +00:00
Per Inge Mathisen
2149739999
Almost all strings and buffers are now of type char. This fixes
...
more than half the warnings on gcc4, and makes sure we do not
get signedness problems between platforms where char is defined
with different signedness. Also set line-ending properites for
some bison/flex files that did not have it set.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@563 4a71c877-e1ca-e34f-864e-861f7616d084
2006-08-12 16:52:37 +00:00
Per Inge Mathisen
438868b7dc
Fix two minor bugs
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@562 4a71c877-e1ca-e34f-864e-861f7616d084
2006-08-12 16:49:11 +00:00
Per Inge Mathisen
cc6537bd4f
Fix minor bugs and remove some unused code.
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@561 4a71c877-e1ca-e34f-864e-861f7616d084
2006-08-12 16:27:58 +00:00
Per Inge Mathisen
5d94e4b2e4
Fix problem with missing config.h when not using autoconf
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@560 4a71c877-e1ca-e34f-864e-861f7616d084
2006-08-12 15:22:20 +00:00
Per Inge Mathisen
302967bd69
Fix a ton of warnings with a simple three line change
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@559 4a71c877-e1ca-e34f-864e-861f7616d084
2006-08-12 11:39:01 +00:00
Per Inge Mathisen
65175a10ca
Add support for MacOSX and big endian platforms. Patch by
...
iamtheari@gmail.com with changes by me.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@558 4a71c877-e1ca-e34f-864e-861f7616d084
2006-08-12 10:45:49 +00:00
Roman C
223ea92358
Scripting Engine Update:
...
-added simple function support
Limitations:
-void return type only
-no arguments support
Example:
function void myFunc() {<code>}
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@557 4a71c877-e1ca-e34f-864e-861f7616d084
2006-08-12 10:02:59 +00:00
Per Inge Mathisen
8adf85a21b
Remove obsolete file lib/ivis_opengl/vid.h
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@556 4a71c877-e1ca-e34f-864e-861f7616d084
2006-08-11 22:08:48 +00:00
Per Inge Mathisen
0d5f830342
Remove obsolete file src/ivis02.h
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@555 4a71c877-e1ca-e34f-864e-861f7616d084
2006-08-11 21:59:37 +00:00
Per Inge Mathisen
8771927ea3
Cleanup of cheat system. Fixed problem where keymap saved in non-cheat mode would
...
override cheat mode. Made cheat words unavailable unless '-cheat' option and cheat
key combination are used. As usualy with changes to keys, deleting your keymap file
may be required for this to work as advertised. Added and changed some cheat words.
See wiki for documentation.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@554 4a71c877-e1ca-e34f-864e-861f7616d084
2006-08-10 16:39:09 +00:00
Per Inge Mathisen
ecb223924a
Remove DirectX types
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@553 4a71c877-e1ca-e34f-864e-861f7616d084
2006-08-10 16:05:52 +00:00
Per Inge Mathisen
a3df2ad6c8
Another force fix. Remove more references to DirectX.
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@552 4a71c877-e1ca-e34f-864e-861f7616d084
2006-08-10 13:53:26 +00:00
Per Inge Mathisen
5b84a97015
Remove remains of a previous iteration of the graphics layer.
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@551 4a71c877-e1ca-e34f-864e-861f7616d084
2006-08-08 20:58:32 +00:00
Per Inge Mathisen
081ec89b32
Remove legacy graphics code.
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@550 4a71c877-e1ca-e34f-864e-861f7616d084
2006-08-08 20:03:05 +00:00
Per Inge Mathisen
17bc3e60b6
Some cleanup of graphics code.
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@549 4a71c877-e1ca-e34f-864e-861f7616d084
2006-08-08 18:48:06 +00:00
Per Inge Mathisen
518478f7cd
Clean up cheat mode activation. To enter cheat mode, start the game with the
...
"-cheat" commmand line option, and then, in the game, press left shift and backspace
simultaneously. This does not work in multiplayer games unless you have compiled
the game with debug enabled. You must delete your keymap file for this to work as
described.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@548 4a71c877-e1ca-e34f-864e-861f7616d084
2006-08-07 15:06:05 +00:00
Dennis Schridde
47af9cd71c
- Set version to 2.0.4_rc1
...
- Fix typo in TODO
- Add a Debugging section to the CHANGELOG
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@547 4a71c877-e1ca-e34f-864e-861f7616d084
2006-08-07 12:30:07 +00:00
Dennis Schridde
06a5c55cc3
Move cursors.c to cursors.h so I don't try to accidently compile it again.
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@546 4a71c877-e1ca-e34f-864e-861f7616d084
2006-08-07 00:52:01 +00:00
Dennis Schridde
effa407152
Don't include GL/glext.h directly. Use SDL/SDL_opengl.h instead.
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@545 4a71c877-e1ca-e34f-864e-861f7616d084
2006-08-06 17:51:01 +00:00
Dennis Schridde
8af39f7830
Updated ChangeLog with latest stuff (I allways forget to do it immediately)
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@544 4a71c877-e1ca-e34f-864e-861f7616d084
2006-08-06 15:05:47 +00:00
Roman C
0afa375e12
-testing commit: made a softer mouse wheel zoom in/out
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@543 4a71c877-e1ca-e34f-864e-861f7616d084
2006-08-06 11:49:39 +00:00