Branch: refs/heads/master
Home: https://github.com/Warzone2100/warzone2100
Commit: b32ac46063a0c7ed2393d2deacd8d0e9a45c06e7
https://github.com/Warzone2100/warzone2100/commit/b32ac46063a0c7ed2393d2deacd8d0e9a45c06e7
Author: Per Inge Mathisen <[email protected]>
Date: 2018-03-04 (Sun, 04 Mar 2018)
Changed paths:
M lib/ivis_opengl/textdraw.h
M src/statsdef.h
Log Message:
-----------
Reorder structs to waste less memory on member padding.
On x86_64, this results in:
sizeof(COMPONENT_STATS) 160 -> 152
sizeof(WEAPON_STATS) 1024 -> 1016
sizeof(REPAIR_STATS) 320 -> 312
sizeof(ECM_STATS) 320 -> 312
sizeof(SENSOR_STATS) 320 -> 312
sizeof(PROPULSION_STATS) 336 -> 328
sizeof(COMPONENT_STATS) 160 -> 152
sizeof(BASE_STATS) 32 -> 24
sizeof(WidthLimitedWzText) 128 -> 120
sizeof(WzText) 88 -> 80
Also make code prettier in statsdef.h
Commit: 3ac5343a6c39bf86f918ef6e4e916faf80a4ca15
https://github.com/Warzone2100/warzone2100/commit/3ac5343a6c39bf86f918ef6e4e916faf80a4ca15
Author: Per Inge Mathisen <[email protected]>
Date: 2018-03-04 (Sun, 04 Mar 2018)
Changed paths:
M lib/ivis_opengl/imd.h
M lib/ivis_opengl/imdload.cpp
M lib/ivis_opengl/ivisdef.h
M lib/ivis_opengl/piedraw.cpp
M src/display3d.cpp
M src/effects.cpp
M src/structure.cpp
Log Message:
-----------
Make IMD loader code a bit more modern
Commit: 4acfc135083ce3406668aa402e7852a0b5712832
https://github.com/Warzone2100/warzone2100/commit/4acfc135083ce3406668aa402e7852a0b5712832
Author: Per Inge Mathisen <[email protected]>
Date: 2018-03-05 (Mon, 05 Mar 2018)
Changed paths:
M data/mp/multiplay/skirmish/semperfi_includes/events.js
Log Message:
-----------
semperfi-js: Do not crash on creating a building by cheating
Compare:
https://github.com/Warzone2100/warzone2100/compare/c68a43790161...4acfc135083c------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Warzone2100-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/warzone2100-commits