[Scummvm-git-logs] scummvm master -> c6bb053a09a7e532491ce7ae0a7488b7b9ba965d
SupSuper
supsuper at gmail.com
Fri May 22 03:19:35 UTC 2020
This automated email contains information about 2 new commits which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
e0accacf34 MSVC: Add our doxygen convention to editorconfig
c6bb053a09 MADS: Fix compilation error from using methods in anonymous typedef struct
Commit: e0accacf3456495a984672394835218337202a56
https://github.com/scummvm/scummvm/commit/e0accacf3456495a984672394835218337202a56
Author: SupSuper (supsuper at gmail.com)
Date: 2020-05-22T03:29:44+01:00
Commit Message:
MSVC: Add our doxygen convention to editorconfig
See https://devblogs.microsoft.com/cppblog/doxygen-and-xml-doc-comment-support/
Changed paths:
.editorconfig
diff --git a/.editorconfig b/.editorconfig
index d216796f02..ecab03efb6 100644
--- a/.editorconfig
+++ b/.editorconfig
@@ -3,3 +3,4 @@ indent_style = tab
indent_size = 4
trim_trailing_whitespace = true
insert_final_newline = true
+vc_generate_documentation_comments = doxygen_slash_star
Commit: c6bb053a09a7e532491ce7ae0a7488b7b9ba965d
https://github.com/scummvm/scummvm/commit/c6bb053a09a7e532491ce7ae0a7488b7b9ba965d
Author: SupSuper (supsuper at gmail.com)
Date: 2020-05-22T04:17:52+01:00
Commit Message:
MADS: Fix compilation error from using methods in anonymous typedef struct
The latest C++ standard no longer allows this, so just make it a named struct to be safe
Changed paths:
engines/mads/nebular/nebular_scenes3.h
diff --git a/engines/mads/nebular/nebular_scenes3.h b/engines/mads/nebular/nebular_scenes3.h
index d4288cf235..fa56301cd7 100644
--- a/engines/mads/nebular/nebular_scenes3.h
+++ b/engines/mads/nebular/nebular_scenes3.h
@@ -32,7 +32,7 @@ namespace MADS {
namespace Nebular {
-typedef struct {
+struct ForceField {
bool _flag;
int _vertical;
int _horizontal;
@@ -55,7 +55,7 @@ typedef struct {
s.syncAsSint32LE(_seqId[i]);
s.syncAsUint32LE(_timer);
};
-} ForceField;
+};
class Scene3xx : public NebularScene {
protected:
More information about the Scummvm-git-logs
mailing list