Go to file
Giel van Schijndel 0711b342ed Major (but partly) cleanup of actionUpdateDroid:
* Move variables into a more local scope
  - I don't think I screwed up start-at-block-declaration rules for MSVC, but given the size of these changes I can't be sure.
 * Remove a large amount of low level bit manipulation and replace it with arrays of boolean values instead
  - Yes bit shift and bitwise and where used; bitwise or was replaced with addition though
 * Don't use *WORD/*BYTE when we don't need the size guarantee (and the size guarantee is in fact an optimisation prone to introduce bugs)
 * "Concatenate" nested if statements into a single condition in a single if-statement
  - Less nested code to convey exactly the same meaning
 * Remove unused variable moveAction
  - It was only ever written to, but never read from

We don't need the size guarantee for WEAPON::nStat, so substitute "unsigned int" for "UDWORD"

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@6634 4a71c877-e1ca-e34f-864e-861f7616d084
2009-02-11 22:00:47 +00:00
build_tools Bump copyright 2009-02-10 18:01:48 +00:00
data Bump copyright 2009-02-10 18:01:48 +00:00
doc * Wrap all file lists in the automake and win32 makefiles across lines such that there's only one file on each line 2008-10-13 13:04:37 +00:00
icons * Wrap all file lists in the automake and win32 makefiles across lines such that there's only one file on each line 2008-10-13 13:04:37 +00:00
lib Safen includes 2009-02-11 12:12:00 +00:00
m4 Bump copyright 2009-02-10 18:01:48 +00:00
macosx Tidy up the Xcode project, ensuring files are in the correct group rather than all over the place. 2008-11-27 10:35:31 +00:00
makerules Add video playback support: 2008-10-08 18:24:19 +00:00
pkg Fix warnings in NSIS scripts 2009-02-11 14:13:08 +00:00
po update-po 2009-02-11 12:54:32 +00:00
src Major (but partly) cleanup of actionUpdateDroid: 2009-02-11 22:00:47 +00:00
tools Bump copyright 2009-02-10 18:01:48 +00:00
win32 Bump copyright 2009-02-10 18:01:48 +00:00
.gitignore GitIgnore more stuff 2008-12-26 00:46:12 +00:00
AUTHORS * Alphabetical order can be difficult... 2008-09-07 18:08:09 +00:00
COMPILE Note that a "privileged user" usually is "root" 2008-04-26 14:33:32 +00:00
COPYING Create final repository structure. 2007-06-28 17:47:08 +00:00
COPYING.NONGPL Add an urban sky and (for now) also use it for the Rockies. 2008-11-17 10:02:28 +00:00
COPYING.README Warzone 2100, I have the honour to release you from any license unclarities. 2008-06-11 16:38:04 +00:00
ChangeLog Update trunk changelog with r6562's changes to 2.1 2009-01-25 01:22:53 +00:00
Doxyfile Exclude config-macosx.h and exceptionhandler/include/* from the Doxygen documentation 2008-11-16 16:28:06 +00:00
Makefile.am * Wrap all file lists in the automake and win32 makefiles across lines such that there's only one file on each line 2008-10-13 13:04:37 +00:00
autogen.sh Move the version checks for pkg-config, xgettext and msgfmt out of autogen.sh and into configure.ac 2008-09-28 17:35:56 +00:00
autorevision.conf * In revision information extraction class RevSVNVersionQuery (uses "svnversion"), ignore its output if the word "exported" is encountered (that way compiling from an exported working copy is possible also) 2007-11-05 18:43:30 +00:00
config.rpath Port r3878 and r3879 from trunk/ 2008-03-01 13:04:16 +00:00
configure.ac Make configure warning complain about correct sqlite3 version number 2009-01-30 20:56:01 +00:00
makefile.win32 Rename "raw" Makefiles to "win32" Makefiles 2008-07-06 14:29:04 +00:00
warzone2100.cbp Add video playback support: 2008-10-08 18:24:19 +00:00
wscript Fix "incompatible declarations" found by batched compiling. 2007-09-16 14:05:01 +00:00