Stefan Huehner
5215f1ab44
Make more functions static.
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@735 4a71c877-e1ca-e34f-864e-861f7616d084
2006-09-20 01:12:13 +00:00
Stefan Huehner
ac7da134bd
Make more functions static which aren't used outside their
...
declaring source files.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@734 4a71c877-e1ca-e34f-864e-861f7616d084
2006-09-20 00:49:20 +00:00
Stefan Huehner
a5b8c5a451
Add doxygen headers describing files in gamelib
...
(using description which were already there)
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@733 4a71c877-e1ca-e34f-864e-861f7616d084
2006-09-19 20:25:16 +00:00
Stefan Huehner
d913adc42e
Add doxygen comments the the hashtable header
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@732 4a71c877-e1ca-e34f-864e-861f7616d084
2006-09-19 19:58:06 +00:00
Stefan Huehner
1395a7c69c
Make some more functions static which aren't used outside their
...
declaring source files and which have no prototype.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@731 4a71c877-e1ca-e34f-864e-861f7616d084
2006-09-19 18:45:48 +00:00
Dennis Schridde
1b520925ec
Clarify names, add docs, add OP_FUNC etc. to aOpSize so the opsize can be retrieved through aOpCode[opcode], make retStack* functions static, improve the return address stack to be easier to understand.
...
Patch created after ideas of Christian Ohm.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@730 4a71c877-e1ca-e34f-864e-861f7616d084
2006-09-19 16:30:50 +00:00
Roman C
15b02fe669
Fixed script compilation bugs,
...
further scripting enhancements.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@729 4a71c877-e1ca-e34f-864e-861f7616d084
2006-09-19 16:07:06 +00:00
Dennis Schridde
139f769d2d
Fixed the video. Last commit was done with a texteditor. ;) This one is done with a hexeditor and carefully looking after the size of the changed string.
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@728 4a71c877-e1ca-e34f-864e-861f7616d084
2006-09-18 22:56:37 +00:00
Dennis Schridde
44cc4058b4
Enforce GPL. (Was GPL before, according to the original readme.txt by Pumpkin. Just changed the apparently wrong statement inside the file.)
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@727 4a71c877-e1ca-e34f-864e-861f7616d084
2006-09-18 21:32:49 +00:00
Dennis Schridde
772dc32c29
Change the website to rootzilla
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@725 4a71c877-e1ca-e34f-864e-861f7616d084
2006-09-18 20:58:27 +00:00
Dennis Schridde
54a7db8889
Bring latest fix also to trunk
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@724 4a71c877-e1ca-e34f-864e-861f7616d084
2006-09-18 19:58:55 +00:00
Dennis Schridde
d889ce9da7
Patch by Christian Ohm: "g++ fixes"
...
Mainly explicit casts, some type changes, a few fixes.
We need to have a look if this line creates any problems:
lib/script/interp.c @@ -329,7 +329,7 @@
- if(!RetStackRemember(CurEvent, (ip + 2))) //Remember where to jump back later
+ if(!RetStackRemember(CurEvent, *(ip + 2))) //Remember where to jump back later
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@719 4a71c877-e1ca-e34f-864e-861f7616d084
2006-09-17 20:39:25 +00:00
Angus Lees
ea15befafe
Update Debian packaging to "warzone2100" name.
...
Remove executable svn property from warzone2100.png
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@718 4a71c877-e1ca-e34f-864e-861f7616d084
2006-09-17 14:20:14 +00:00
Dennis Schridde
75af155bbf
Patches by Stefan Huehner: "code cleanup: void 5, static 4" and a slightly modified "doxy 1"
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@717 4a71c877-e1ca-e34f-864e-861f7616d084
2006-09-16 17:41:40 +00:00
Dennis Schridde
a88bbc0c37
Patch by Stefan Huehner: "string 1"
...
Replace all STRING with char or const char.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@716 4a71c877-e1ca-e34f-864e-861f7616d084
2006-09-16 16:02:17 +00:00
Dennis Schridde
02ee180072
More warnings in debug mode.
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@715 4a71c877-e1ca-e34f-864e-861f7616d084
2006-09-16 15:56:26 +00:00
Dennis Schridde
74c69f2a47
Fix VOID type for scripts, broken in r703.
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@714 4a71c877-e1ca-e34f-864e-861f7616d084
2006-09-16 15:55:52 +00:00
Roman C
33f42adf41
-fixed 'The Pit' map to make it act as an 8-player map in T1
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@713 4a71c877-e1ca-e34f-864e-861f7616d084
2006-09-16 14:40:38 +00:00
Dennis Schridde
876ab9a3ba
Patch by Stefan Huehner: "code cleanup: static 3, 3a"
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@712 4a71c877-e1ca-e34f-864e-861f7616d084
2006-09-14 16:30:07 +00:00
Dennis Schridde
0ebbf5f1db
Patch by Stefan Huehner: "code cleanup: static 2"
...
Mark some more function as static.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@711 4a71c877-e1ca-e34f-864e-861f7616d084
2006-09-14 13:15:40 +00:00
Dennis Schridde
3fdc9539b9
Add the missing playlist.h I forgot in r707.
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@710 4a71c877-e1ca-e34f-864e-861f7616d084
2006-09-13 21:37:48 +00:00
Dennis Schridde
27b07a0ba1
Patch by Stefan Huehner: "code cleanup: const 2"
...
Patch marks several read-only function parameters and datastructures as such by adding const.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@709 4a71c877-e1ca-e34f-864e-861f7616d084
2006-09-13 21:16:17 +00:00
Dennis Schridde
7e8990c661
Patch by Stefan Huehner: "code cleanup: static"
...
Patch marks several function & datastructures without prototypes, which aren't used outside their declaring sourcefiles as static.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@708 4a71c877-e1ca-e34f-864e-861f7616d084
2006-09-13 21:14:47 +00:00
Dennis Schridde
3b59d20acb
Patch by Stefan Huehner: "code cleanup: playlist.h"
...
Comment by him:
Patch removes the playlist prototypes from the c-file cdaudio.c and add an extra header playlist.h for them.
This is then included in both cdaudio.c and playlist.c
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@707 4a71c877-e1ca-e34f-864e-861f7616d084
2006-09-13 21:13:19 +00:00
Dennis Schridde
b9087ef4ca
Patch by Stefan Huehner: "code cleanup: void 4"
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@706 4a71c877-e1ca-e34f-864e-861f7616d084
2006-09-13 21:11:11 +00:00
Dennis Schridde
fc4ce66939
Patch "code cleanup: void 2" by Stefan Huehner
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@705 4a71c877-e1ca-e34f-864e-861f7616d084
2006-09-13 12:58:32 +00:00
Dennis Schridde
7d0d4faa49
Patch "code cleanup: void 3" by Stefan Huehner
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@704 4a71c877-e1ca-e34f-864e-861f7616d084
2006-09-13 10:54:35 +00:00
Dennis Schridde
728b9a9913
- Commit patches "code cleanup: void" and "code cleanup: const" by Stefan Huehner
...
- Replace every occurence of VOID with void (and LPVOID with void*)
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@703 4a71c877-e1ca-e34f-864e-861f7616d084
2006-09-13 09:09:05 +00:00
Dennis Schridde
e0fda9c0b9
Forgot to change the file info for the Windows exe...
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@701 4a71c877-e1ca-e34f-864e-861f7616d084
2006-09-08 22:55:20 +00:00
Dennis Schridde
fe1a94f6dc
- Mark possibly breaking assignments
...
- Don't declare stdint declarations which are allready declared in SDL_config
- Change only use of stdint type to use SDL type instead
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@700 4a71c877-e1ca-e34f-864e-861f7616d084
2006-09-08 20:05:38 +00:00
Dennis Schridde
fad48ad4f8
Fix multiple definitions of the MAX macro.
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@699 4a71c877-e1ca-e34f-864e-861f7616d084
2006-09-08 20:03:55 +00:00
Dennis Schridde
78be6bc2bc
Fix double to float assignments by forcing fixed numbers to float.
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@698 4a71c877-e1ca-e34f-864e-861f7616d084
2006-09-08 20:02:49 +00:00
Dennis Schridde
dcd97ac079
Use ASCII version of functions for Windows instead of UNICODE versions.
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@697 4a71c877-e1ca-e34f-864e-861f7616d084
2006-09-08 20:01:09 +00:00
Dennis Schridde
93389e9d3f
Include frame.h into .y files using free and malloc, so they get the redefinitions needed for msvcrt malloc debugging.
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@696 4a71c877-e1ca-e34f-864e-861f7616d084
2006-09-08 19:59:00 +00:00
Dennis Schridde
e80250bf2b
- Fix paths
...
- Define VERSION
- Link against shfolder.lib for compatibility with Windows versions older than Windows 2000.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@695 4a71c877-e1ca-e34f-864e-861f7616d084
2006-09-08 19:01:47 +00:00
Dennis Schridde
2449a2f5d3
Fix the version. *sigh, I hope I don't forget anything else...*
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@693 4a71c877-e1ca-e34f-864e-861f7616d084
2006-09-07 18:16:01 +00:00
Dennis Schridde
d5579035b4
Updated ChangeLog with latest fixes and 2.0.5_rc1
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@691 4a71c877-e1ca-e34f-864e-861f7616d084
2006-09-07 17:50:58 +00:00
Dennis Schridde
dad411003e
Add SVG version of Warzone 2100 icon. (bug #6548 )
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@690 4a71c877-e1ca-e34f-864e-861f7616d084
2006-09-07 17:28:14 +00:00
Dennis Schridde
1e476c2074
Possible fix for bug #5188 (Wrong tileset)
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@689 4a71c877-e1ca-e34f-864e-861f7616d084
2006-09-07 17:13:50 +00:00
Dennis Schridde
e057d6240c
Finalize VIDEO_QUIT callback fix on request of Troman.
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@688 4a71c877-e1ca-e34f-864e-861f7616d084
2006-09-06 17:19:20 +00:00
Roman C
96f59fbb50
Fix to #6735 and #6751 ,
...
also fixes some beacon-related code
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@687 4a71c877-e1ca-e34f-864e-861f7616d084
2006-09-06 16:58:20 +00:00
Per Inge Mathisen
5396324fb6
Remove lots of unused graphics code. (Did the Pumpkin guys EVER delete code?)
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@686 4a71c877-e1ca-e34f-864e-861f7616d084
2006-09-03 21:33:29 +00:00
Dennis Schridde
915390aa1b
Fix possible bugs when having deeper pointers than probably intended.
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@685 4a71c877-e1ca-e34f-864e-861f7616d084
2006-09-03 20:32:01 +00:00
Dennis Schridde
6094ea9bbf
Fix ASSERT() to be standards compliant and compile with g++.
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@684 4a71c877-e1ca-e34f-864e-861f7616d084
2006-09-03 20:30:46 +00:00
Dennis Schridde
2208c79ea4
Fix sound init reporting "Sound disabled!" even when sound was enabled.
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@683 4a71c877-e1ca-e34f-864e-861f7616d084
2006-09-03 20:29:54 +00:00
Dennis Schridde
7671bf79e9
Update ChangeLog for commandline option changes (shadow,sound)
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@682 4a71c877-e1ca-e34f-864e-861f7616d084
2006-09-03 17:20:01 +00:00
Dennis Schridde
be5f08343a
Remove Palette code formerly used for the software renderer. (Patch by Christian Ohm)
...
This seems to also fix the rader flickering without shadows. (Or was this fixed in a previous commit?)
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@681 4a71c877-e1ca-e34f-864e-861f7616d084
2006-09-03 13:35:50 +00:00
Dennis Schridde
1607f7e194
- --(no)sound toggles sound initialization (to explicitly disable sound)
...
- --(no)shadows toggles shadows (instead of --shadows yes/no)
- Removed unused functions from warzoneconfig
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@680 4a71c877-e1ca-e34f-864e-861f7616d084
2006-09-03 12:41:55 +00:00
Per Inge Mathisen
de5553bd9f
Fix bug #6840 , assert failure when pressing 'Edit' button in the
...
options dialog (ctrl+o), by removing the button when not #define
EDIT_OPTIONS, since it does not do anything other than cause
crashes at the moment.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@679 4a71c877-e1ca-e34f-864e-861f7616d084
2006-09-03 12:01:14 +00:00
Per Inge Mathisen
b37fd5d62f
Make some code more readable
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@678 4a71c877-e1ca-e34f-864e-861f7616d084
2006-09-03 11:22:51 +00:00