[Warzone2100-commits] mainline - pre-3.0: 1 commits.

2010-10-13 Thread Giel van Schijndel
Commit: a38f754b77c3c3dd3276dca58ea350b19fe301b2

Author: Giel van Schijndel g...@wz2100.net
Date:   Wed Oct 13 00:10:03 2010 +0200

scriptfuncs: store (possibly) signed values in signed variables

Store map coordinates in a pair of signed integers as that's how
map_coord returns them.

Signed-off-by: Giel van Schijndel g...@wz2100.net

 src/scriptfuncs.c |3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)


-


--
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2  L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
___
Warzone2100-commits mailing list
Warzone2100-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/warzone2100-commits


[Warzone2100-commits] mainline - master: 1 commits.

2010-10-13 Thread Giel van Schijndel
Commit: 10f2bdede638766ed0ea198d750a00af95fbf110

Author: Giel van Schijndel g...@wz2100.net
Date:   Wed Oct 13 00:10:03 2010 +0200

scriptfuncs: store (possibly) signed values in signed variables

Store map coordinates in a pair of signed integers as that's how
map_coord returns them.

Signed-off-by: Giel van Schijndel g...@wz2100.net

 src/scriptfuncs.c |6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)


-


--
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2  L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
___
Warzone2100-commits mailing list
Warzone2100-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/warzone2100-commits


[Warzone2100-commits] [SF-Git]Warzone 2100 Project. branch, master, updated. 0d2dbdbaef02c900b557baa31627c3d23e762d21

2010-10-13 Thread Giel van Schijndel
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project Warzone 2100 Project..

The branch, master has been updated
   via  0d2dbdbaef02c900b557baa31627c3d23e762d21 (commit)
   via  6e509622c2895bc991215a603d61fe1a040aad7f (commit)
   via  5ab267ab71d8e389ea19a68558cf460cce55e2c4 (commit)
   via  681988a5d4b377b41d4c823f6e3580ff7a346d83 (commit)
   via  5a51986e65065e0f583893813999e562b28f3458 (commit)
   via  e278f01bcdec5f89425b693e830a472499d40dd7 (commit)
   via  569fb996937bcfcab5547cb44431f781bcaa3b4b (commit)
  from  10f2bdede638766ed0ea198d750a00af95fbf110 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -
commit 0d2dbdbaef02c900b557baa31627c3d23e762d21
Author: Giel van Schijndel g...@wz2100.net
Date:   Wed Oct 13 21:25:26 2010 +0200

Replace rendSurface related bitshifts with divisions

These cases of bitshifting are premature optimisations ''only'',
especially since they obscure what's really going on (finding the center
of a range).

Signed-off-by: Giel van Schijndel g...@wz2100.net

commit 6e509622c2895bc991215a603d61fe1a040aad7f
Author: Giel van Schijndel g...@wz2100.net
Date:   Wed Oct 13 20:25:57 2010 +0200

move global rendSurface to piemode.c

rendSurface isn't used by rendmode.c, so define it in piemode.c where it
is both used and its contents are defined.

Additionally remove unnecessary #includes from rendmode.h and include
the correct headers at places where rendmode.h was included.

Signed-off-by: Giel van Schijndel g...@wz2100.net

commit 5ab267ab71d8e389ea19a68558cf460cce55e2c4
Author: Giel van Schijndel g...@wz2100.net
Date:   Wed Oct 13 19:21:32 2010 +0200

Remove pointer global psRendSurface

Global pointer psRendSurface only ever contains rendSurface (another
global), provided that it isn't undefined (isn't statically NULL
initialised).  So replace the use of this pointer with using
rendSurface.

Additionally remove function iV_RenderAssign, which only wraps the
psRendSurface assignment along with a debug() call, and inline it at its
only call-site.

Signed-off-by: Giel van Schijndel g...@wz2100.net

commit 681988a5d4b377b41d4c823f6e3580ff7a346d83
Author: Giel van Schijndel g...@wz2100.net
Date:   Wed Oct 13 18:51:58 2010 +0200

Remove unused constant PIE_NO_CULL

Signed-off-by: Giel van Schijndel g...@wz2100.net

commit 5a51986e65065e0f583893813999e562b28f3458
Author: Giel van Schijndel g...@wz2100.net
Date:   Wed Oct 13 18:50:12 2010 +0200

Get rid of double pie_/iV_ names for the same functions

Signed-off-by: Giel van Schijndel g...@wz2100.net

commit e278f01bcdec5f89425b693e830a472499d40dd7
Author: Giel van Schijndel g...@wz2100.net
Date:   Wed Oct 13 18:22:45 2010 +0200

remove write-only variable iSurface.flags

Remove the write only member variable `flags` from struct iSurface.

Additionally remove the macros REND_SURFACE_(UNDEFINED|SCREEN|USR) which
were only used to assign to the `flags` variable.

Signed-off-by: Giel van Schijndel g...@wz2100.net

commit 569fb996937bcfcab5547cb44431f781bcaa3b4b
Author: Cyp c...@wz2100.net
Date:   Sun Oct 10 17:18:13 2010 +0200

Also fix MSVC *.vcproj files that somehow ended up in lib/ instead of 
win32/, remove the last part that touches macosx.

---

Summary of changes:
 fixcppbuild   |2 +-
 lib/ivis_common/imdload.c |1 -
 lib/ivis_common/ivisdef.h |1 -
 lib/ivis_common/pieblitfunc.h |   10 +++---
 lib/ivis_common/piemode.h |4 ++-
 lib/ivis_common/rendmode.h|   33 +---
 lib/ivis_opengl/pieblitfunc.c |   31 +++---
 lib/ivis_opengl/piedraw.c |1 -
 lib/ivis_opengl/piefunc.c |1 -
 lib/ivis_opengl/piematrix.c   |   14 +-
 lib/ivis_opengl/piemode.c |8 ++---
 lib/ivis_opengl/piepalette.c  |3 +-
 lib/ivis_opengl/piestate.c|2 +-
 lib/ivis_opengl/rendmode.c|   56 ++---
 lib/ivis_opengl/tex.c |1 -
 lib/ivis_opengl/textdraw.c|1 -
 lib/widget/bar.c  |2 +-
 lib/widget/button.c   |2 +-
 lib/widget/editbox.c  |2 +-
 lib/widget/form.c |2 +-
 lib/widget/label.c|1 -
 lib/widget/slider.c   |2 +-
 lib/widget/tip.c  |2 +-
 src/challenge.c   |3 +-
 src/console.c |3 +-
 src/design.c  |3 +-
 src/display3d.c   |4 +-
 src/drive.c   |2

[Warzone2100-commits] mainline - master: 6 commits.

2010-10-13 Thread Giel van Schijndel
Commit: e278f01bcdec5f89425b693e830a472499d40dd7

Trac URL:   
http://developer.wz2100.net/changeset/e278f01bcdec5f89425b693e830a472499d40dd7

Author: Giel van Schijndel g...@wz2100.net
Date:   Wed Oct 13 18:22:45 2010 +0200

remove write-only variable iSurface.flags

Remove the write only member variable `flags` from struct iSurface.

Additionally remove the macros REND_SURFACE_(UNDEFINED|SCREEN|USR) which
were only used to assign to the `flags` variable.

Signed-off-by: Giel van Schijndel g...@wz2100.net

 lib/ivis_common/ivisdef.h  |1 -
 lib/ivis_common/rendmode.h |8 +---
 lib/ivis_opengl/piemode.c  |3 ---
 lib/ivis_opengl/rendmode.c |9 -
 src/intdisplay.c   |8 
 5 files changed, 9 insertions(+), 20 deletions(-)


-

Commit: 5a51986e65065e0f583893813999e562b28f3458

Trac URL:   
http://developer.wz2100.net/changeset/5a51986e65065e0f583893813999e562b28f3458

Author: Giel van Schijndel g...@wz2100.net
Date:   Wed Oct 13 18:50:12 2010 +0200

Get rid of double pie_/iV_ names for the same functions

Signed-off-by: Giel van Schijndel g...@wz2100.net

 lib/ivis_common/pieblitfunc.h |   10 +-
 lib/ivis_common/rendmode.h|9 -
 lib/ivis_opengl/pieblitfunc.c |   10 +-
 src/intdisplay.c  |4 ++--
 4 files changed, 12 insertions(+), 21 deletions(-)


-

Commit: 681988a5d4b377b41d4c823f6e3580ff7a346d83

Trac URL:   
http://developer.wz2100.net/changeset/681988a5d4b377b41d4c823f6e3580ff7a346d83

Author: Giel van Schijndel g...@wz2100.net
Date:   Wed Oct 13 18:51:58 2010 +0200

Remove unused constant PIE_NO_CULL

Signed-off-by: Giel van Schijndel g...@wz2100.net

 lib/ivis_common/rendmode.h |7 ---
 1 files changed, 0 insertions(+), 7 deletions(-)


-

Commit: 5ab267ab71d8e389ea19a68558cf460cce55e2c4

Trac URL:   
http://developer.wz2100.net/changeset/5ab267ab71d8e389ea19a68558cf460cce55e2c4

Author: Giel van Schijndel g...@wz2100.net
Date:   Wed Oct 13 19:21:32 2010 +0200

Remove pointer global psRendSurface

Global pointer psRendSurface only ever contains rendSurface (another
global), provided that it isn't undefined (isn't statically NULL
initialised).  So replace the use of this pointer with using
rendSurface.

Additionally remove function iV_RenderAssign, which only wraps the
psRendSurface assignment along with a debug() call, and inline it at its
only call-site.

Signed-off-by: Giel van Schijndel g...@wz2100.net

 lib/ivis_common/rendmode.h|2 --
 lib/ivis_opengl/pieblitfunc.c |   20 ++--
 lib/ivis_opengl/piematrix.c   |   12 ++--
 lib/ivis_opengl/piemode.c |2 +-
 lib/ivis_opengl/rendmode.c|   27 +--
 5 files changed, 18 insertions(+), 45 deletions(-)


-

Commit: 6e509622c2895bc991215a603d61fe1a040aad7f

Trac URL:   
http://developer.wz2100.net/changeset/6e509622c2895bc991215a603d61fe1a040aad7f

Author: Giel van Schijndel g...@wz2100.net
Date:   Wed Oct 13 20:25:57 2010 +0200

move global rendSurface to piemode.c

rendSurface isn't used by rendmode.c, so define it in piemode.c where it
is both used and its contents are defined.

Additionally remove unnecessary #includes from rendmode.h and include
the correct headers at places where rendmode.h was included.

Signed-off-by: Giel van Schijndel g...@wz2100.net

 lib/ivis_common/imdload.c |1 -
 lib/ivis_common/piemode.h |4 +++-
 lib/ivis_common/rendmode.h|7 ---
 lib/ivis_opengl/pieblitfunc.c |1 -
 lib/ivis_opengl/piedraw.c |1 -
 lib/ivis_opengl/piefunc.c |1 -
 lib/ivis_opengl/piematrix.c   |2 +-
 lib/ivis_opengl/piemode.c |3 ++-
 lib/ivis_opengl/piepalette.c  |3 +--
 lib/ivis_opengl/piestate.c|2 +-
 lib/ivis_opengl/rendmode.c|   20 +++-
 lib/ivis_opengl/tex.c |1 -
 lib/ivis_opengl/textdraw.c|1 -
 lib/widget/bar.c  |2 +-
 lib/widget/button.c   |2 +-
 lib/widget/editbox.c  |2 +-
 lib/widget/form.c |2 +-
 lib/widget/label.c|1 -
 lib/widget/slider.c   |2 +-
 lib/widget/tip.c  |2 +-
 src/challenge.c   |3 ++-
 src/console.c |3 ++-
 src/design.c  |3 ++-
 src/display3d.c   |2 +-
 src/drive.c   |2 --
 src/frontend.c|3 ++-
 src/game.c|2 +-
 src/hci.c |3 ++-
 src/ingameop.c|1 -
 src/init.c|1 -
 src/intdisplay.c  |1 +
 src/intelmap.c|2 +-
 src/intimage.c|4 +++-
 src/keybind.c |1 -
 src/loadsave.c|3 ++-
 src/loop.c|3 +--
 src/main.c

[Warzone2100-commits] [SF-Git]Warzone 2100 Project. branch, master, updated. b5fb5bacf883cac1b1557404cb1d8bb1c6abb063

2010-10-13 Thread Giel van Schijndel
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project Warzone 2100 Project..

The branch, master has been updated
   via  b5fb5bacf883cac1b1557404cb1d8bb1c6abb063 (commit)
  from  0d2dbdbaef02c900b557baa31627c3d23e762d21 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -
commit b5fb5bacf883cac1b1557404cb1d8bb1c6abb063
Author: Giel van Schijndel g...@wz2100.net
Date:   Wed Oct 13 22:09:31 2010 +0200

remove write-only variables buffer and size from iSurface

Signed-off-by: Giel van Schijndel g...@wz2100.net

---

Summary of changes:
 lib/ivis_common/ivisdef.h  |3 ---
 lib/ivis_common/rendmode.h |2 +-
 lib/ivis_opengl/piemode.c  |   12 +++-
 lib/ivis_opengl/rendmode.c |7 +--
 src/intdisplay.c   |8 
 5 files changed, 9 insertions(+), 23 deletions(-)


hooks/post-receive
-- 
Warzone 2100 Project.

--
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2  L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
___
Warzone2100-commits mailing list
Warzone2100-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/warzone2100-commits


[Warzone2100-commits] mainline - master: 1 commits.

2010-10-13 Thread Giel van Schijndel
Commit: b5fb5bacf883cac1b1557404cb1d8bb1c6abb063

Trac URL:   
http://developer.wz2100.net/changeset/b5fb5bacf883cac1b1557404cb1d8bb1c6abb063

Author: Giel van Schijndel g...@wz2100.net
Date:   Wed Oct 13 22:09:31 2010 +0200

remove write-only variables buffer and size from iSurface

Signed-off-by: Giel van Schijndel g...@wz2100.net

 lib/ivis_common/ivisdef.h  |3 ---
 lib/ivis_common/rendmode.h |2 +-
 lib/ivis_opengl/piemode.c  |   12 +++-
 lib/ivis_opengl/rendmode.c |7 +--
 src/intdisplay.c   |8 
 5 files changed, 9 insertions(+), 23 deletions(-)


-


--
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2  L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
___
Warzone2100-commits mailing list
Warzone2100-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/warzone2100-commits


[Warzone2100-commits] [SF-Git]Warzone 2100 Project. branch, master, updated. 5457aefde6d3259f37c04020843d208900c817ed

2010-10-13 Thread Giel van Schijndel
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project Warzone 2100 Project..

The branch, master has been updated
   via  5457aefde6d3259f37c04020843d208900c817ed (commit)
  from  b5fb5bacf883cac1b1557404cb1d8bb1c6abb063 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -
commit 5457aefde6d3259f37c04020843d208900c817ed
Author: Giel van Schijndel g...@wz2100.net
Date:   Wed Oct 13 22:47:04 2010 +0200

Turn global geoOffset into a constant

geoOffset is only ever intialised to 192 so make it a constant instead
of a variable.

Signed-off-by: Giel van Schijndel g...@wz2100.net

---

Summary of changes:
 src/display3d.c |6 ++
 src/display3d.h |1 -
 src/keybind.c   |   17 -
 src/keybind.h   |2 --
 src/keymap.c|2 --
 5 files changed, 2 insertions(+), 26 deletions(-)


hooks/post-receive
-- 
Warzone 2100 Project.

--
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2  L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
___
Warzone2100-commits mailing list
Warzone2100-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/warzone2100-commits


[Warzone2100-commits] [Warzone2100/warzone2100] 759b4c: map2preview: handle unknown tilesets

2013-01-04 Thread Giel van Schijndel
  Branch: refs/heads/bugfixes
  Home:   https://github.com/Warzone2100/warzone2100
  Commit: 759b4cc38de09660ccd2c22d48cafc44b60cf809
  
https://github.com/Warzone2100/warzone2100/commit/759b4cc38de09660ccd2c22d48cafc44b60cf809
  Author: Giel van Schijndel m...@mortis.eu
  Date:   2013-01-04 (Fri, 04 Jan 2013)

  Changed paths:
M tools/map/map2preview.cpp

  Log Message:
  ---
  map2preview: handle unknown tilesets

Signed-off-by: Giel van Schijndel m...@mortis.eu


  Commit: 0dae748d63bba0e8ea9a9986a7ec147fc27a7664
  
https://github.com/Warzone2100/warzone2100/commit/0dae748d63bba0e8ea9a9986a7ec147fc27a7664
  Author: Giel van Schijndel m...@mortis.eu
  Date:   2013-01-04 (Fri, 04 Jan 2013)

  Changed paths:
M src/power.cpp

  Log Message:
  ---
  Prevent out-of-bounds array access

GCC actually gives a warning for this.

Signed-off-by: Giel van Schijndel m...@mortis.eu


  Commit: 3042d5872a2458722bf271a6a4022ae62480bf0b
  
https://github.com/Warzone2100/warzone2100/commit/3042d5872a2458722bf271a6a4022ae62480bf0b
  Author: Giel van Schijndel m...@mortis.eu
  Date:   2013-01-04 (Fri, 04 Jan 2013)

  Changed paths:
M src/Makefile.am

  Log Message:
  ---
  Prevent updating autorevision.h's timestamp when its contents haven't changed

Signed-off-by: Giel van Schijndel m...@mortis.eu


  Commit: 60b33a16b83bc2f562edf21585f8fb0d3863478a
  
https://github.com/Warzone2100/warzone2100/commit/60b33a16b83bc2f562edf21585f8fb0d3863478a
  Author: Giel van Schijndel m...@mortis.eu
  Date:   2013-01-04 (Fri, 04 Jan 2013)

  Changed paths:
M src/Makefile.am
M src/power.cpp
M tools/map/map2preview.cpp

  Log Message:
  ---
  Merge branch 'build-problems' into bugfixes

Signed-off-by: Giel van Schijndel m...@mortis.eu


Compare: 
https://github.com/Warzone2100/warzone2100/compare/bf5834bb480b...60b33a16b83b
--
Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and
much more. Get web development skills now with LearnDevNow -
350+ hours of step-by-step video tutorials by Microsoft MVPs and experts.
SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122812___
Warzone2100-commits mailing list
Warzone2100-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/warzone2100-commits