Fixed warnings about missing initializers in testoverlay2 program.
authorPhilipp Wiesemann <philipp.wiesemann@arcor.de>
Sat, 14 Jan 2017 21:34:45 +0100
changeset 10810369a849f124a
parent 10809 2a66eb727150
child 10811 8dd0da2a25b6
Fixed warnings about missing initializers in testoverlay2 program.
test/testoverlay2.c
     1.1 --- a/test/testoverlay2.c	Fri Jan 13 11:37:12 2017 -0800
     1.2 +++ b/test/testoverlay2.c	Sat Jan 14 21:34:45 2017 +0100
     1.3 @@ -33,110 +33,110 @@
     1.4  #define MOOSEFRAMES_COUNT 10
     1.5  
     1.6  SDL_Color MooseColors[84] = {
     1.7 -    {49, 49, 49}
     1.8 -    , {66, 24, 0}
     1.9 -    , {66, 33, 0}
    1.10 -    , {66, 66, 66}
    1.11 +    {49, 49, 49, SDL_ALPHA_OPAQUE}
    1.12 +    , {66, 24, 0, SDL_ALPHA_OPAQUE}
    1.13 +    , {66, 33, 0, SDL_ALPHA_OPAQUE}
    1.14 +    , {66, 66, 66, SDL_ALPHA_OPAQUE}
    1.15      ,
    1.16 -    {66, 115, 49}
    1.17 -    , {74, 33, 0}
    1.18 -    , {74, 41, 16}
    1.19 -    , {82, 33, 8}
    1.20 +    {66, 115, 49, SDL_ALPHA_OPAQUE}
    1.21 +    , {74, 33, 0, SDL_ALPHA_OPAQUE}
    1.22 +    , {74, 41, 16, SDL_ALPHA_OPAQUE}
    1.23 +    , {82, 33, 8, SDL_ALPHA_OPAQUE}
    1.24      ,
    1.25 -    {82, 41, 8}
    1.26 -    , {82, 49, 16}
    1.27 -    , {82, 82, 82}
    1.28 -    , {90, 41, 8}
    1.29 +    {82, 41, 8, SDL_ALPHA_OPAQUE}
    1.30 +    , {82, 49, 16, SDL_ALPHA_OPAQUE}
    1.31 +    , {82, 82, 82, SDL_ALPHA_OPAQUE}
    1.32 +    , {90, 41, 8, SDL_ALPHA_OPAQUE}
    1.33      ,
    1.34 -    {90, 41, 16}
    1.35 -    , {90, 57, 24}
    1.36 -    , {99, 49, 16}
    1.37 -    , {99, 66, 24}
    1.38 +    {90, 41, 16, SDL_ALPHA_OPAQUE}
    1.39 +    , {90, 57, 24, SDL_ALPHA_OPAQUE}
    1.40 +    , {99, 49, 16, SDL_ALPHA_OPAQUE}
    1.41 +    , {99, 66, 24, SDL_ALPHA_OPAQUE}
    1.42      ,
    1.43 -    {99, 66, 33}
    1.44 -    , {99, 74, 33}
    1.45 -    , {107, 57, 24}
    1.46 -    , {107, 82, 41}
    1.47 +    {99, 66, 33, SDL_ALPHA_OPAQUE}
    1.48 +    , {99, 74, 33, SDL_ALPHA_OPAQUE}
    1.49 +    , {107, 57, 24, SDL_ALPHA_OPAQUE}
    1.50 +    , {107, 82, 41, SDL_ALPHA_OPAQUE}
    1.51      ,
    1.52 -    {115, 57, 33}
    1.53 -    , {115, 66, 33}
    1.54 -    , {115, 66, 41}
    1.55 -    , {115, 74, 0}
    1.56 +    {115, 57, 33, SDL_ALPHA_OPAQUE}
    1.57 +    , {115, 66, 33, SDL_ALPHA_OPAQUE}
    1.58 +    , {115, 66, 41, SDL_ALPHA_OPAQUE}
    1.59 +    , {115, 74, 0, SDL_ALPHA_OPAQUE}
    1.60      ,
    1.61 -    {115, 90, 49}
    1.62 -    , {115, 115, 115}
    1.63 -    , {123, 82, 0}
    1.64 -    , {123, 99, 57}
    1.65 +    {115, 90, 49, SDL_ALPHA_OPAQUE}
    1.66 +    , {115, 115, 115, SDL_ALPHA_OPAQUE}
    1.67 +    , {123, 82, 0, SDL_ALPHA_OPAQUE}
    1.68 +    , {123, 99, 57, SDL_ALPHA_OPAQUE}
    1.69      ,
    1.70 -    {132, 66, 41}
    1.71 -    , {132, 74, 41}
    1.72 -    , {132, 90, 8}
    1.73 -    , {132, 99, 33}
    1.74 +    {132, 66, 41, SDL_ALPHA_OPAQUE}
    1.75 +    , {132, 74, 41, SDL_ALPHA_OPAQUE}
    1.76 +    , {132, 90, 8, SDL_ALPHA_OPAQUE}
    1.77 +    , {132, 99, 33, SDL_ALPHA_OPAQUE}
    1.78      ,
    1.79 -    {132, 99, 66}
    1.80 -    , {132, 107, 66}
    1.81 -    , {140, 74, 49}
    1.82 -    , {140, 99, 16}
    1.83 +    {132, 99, 66, SDL_ALPHA_OPAQUE}
    1.84 +    , {132, 107, 66, SDL_ALPHA_OPAQUE}
    1.85 +    , {140, 74, 49, SDL_ALPHA_OPAQUE}
    1.86 +    , {140, 99, 16, SDL_ALPHA_OPAQUE}
    1.87      ,
    1.88 -    {140, 107, 74}
    1.89 -    , {140, 115, 74}
    1.90 -    , {148, 107, 24}
    1.91 -    , {148, 115, 82}
    1.92 +    {140, 107, 74, SDL_ALPHA_OPAQUE}
    1.93 +    , {140, 115, 74, SDL_ALPHA_OPAQUE}
    1.94 +    , {148, 107, 24, SDL_ALPHA_OPAQUE}
    1.95 +    , {148, 115, 82, SDL_ALPHA_OPAQUE}
    1.96      ,
    1.97 -    {148, 123, 74}
    1.98 -    , {148, 123, 90}
    1.99 -    , {156, 115, 33}
   1.100 -    , {156, 115, 90}
   1.101 +    {148, 123, 74, SDL_ALPHA_OPAQUE}
   1.102 +    , {148, 123, 90, SDL_ALPHA_OPAQUE}
   1.103 +    , {156, 115, 33, SDL_ALPHA_OPAQUE}
   1.104 +    , {156, 115, 90, SDL_ALPHA_OPAQUE}
   1.105      ,
   1.106 -    {156, 123, 82}
   1.107 -    , {156, 132, 82}
   1.108 -    , {156, 132, 99}
   1.109 -    , {156, 156, 156}
   1.110 +    {156, 123, 82, SDL_ALPHA_OPAQUE}
   1.111 +    , {156, 132, 82, SDL_ALPHA_OPAQUE}
   1.112 +    , {156, 132, 99, SDL_ALPHA_OPAQUE}
   1.113 +    , {156, 156, 156, SDL_ALPHA_OPAQUE}
   1.114      ,
   1.115 -    {165, 123, 49}
   1.116 -    , {165, 123, 90}
   1.117 -    , {165, 132, 82}
   1.118 -    , {165, 132, 90}
   1.119 +    {165, 123, 49, SDL_ALPHA_OPAQUE}
   1.120 +    , {165, 123, 90, SDL_ALPHA_OPAQUE}
   1.121 +    , {165, 132, 82, SDL_ALPHA_OPAQUE}
   1.122 +    , {165, 132, 90, SDL_ALPHA_OPAQUE}
   1.123      ,
   1.124 -    {165, 132, 99}
   1.125 -    , {165, 140, 90}
   1.126 -    , {173, 132, 57}
   1.127 -    , {173, 132, 99}
   1.128 +    {165, 132, 99, SDL_ALPHA_OPAQUE}
   1.129 +    , {165, 140, 90, SDL_ALPHA_OPAQUE}
   1.130 +    , {173, 132, 57, SDL_ALPHA_OPAQUE}
   1.131 +    , {173, 132, 99, SDL_ALPHA_OPAQUE}
   1.132      ,
   1.133 -    {173, 140, 107}
   1.134 -    , {173, 140, 115}
   1.135 -    , {173, 148, 99}
   1.136 -    , {173, 173, 173}
   1.137 +    {173, 140, 107, SDL_ALPHA_OPAQUE}
   1.138 +    , {173, 140, 115, SDL_ALPHA_OPAQUE}
   1.139 +    , {173, 148, 99, SDL_ALPHA_OPAQUE}
   1.140 +    , {173, 173, 173, SDL_ALPHA_OPAQUE}
   1.141      ,
   1.142 -    {181, 140, 74}
   1.143 -    , {181, 148, 115}
   1.144 -    , {181, 148, 123}
   1.145 -    , {181, 156, 107}
   1.146 +    {181, 140, 74, SDL_ALPHA_OPAQUE}
   1.147 +    , {181, 148, 115, SDL_ALPHA_OPAQUE}
   1.148 +    , {181, 148, 123, SDL_ALPHA_OPAQUE}
   1.149 +    , {181, 156, 107, SDL_ALPHA_OPAQUE}
   1.150      ,
   1.151 -    {189, 148, 123}
   1.152 -    , {189, 156, 82}
   1.153 -    , {189, 156, 123}
   1.154 -    , {189, 156, 132}
   1.155 +    {189, 148, 123, SDL_ALPHA_OPAQUE}
   1.156 +    , {189, 156, 82, SDL_ALPHA_OPAQUE}
   1.157 +    , {189, 156, 123, SDL_ALPHA_OPAQUE}
   1.158 +    , {189, 156, 132, SDL_ALPHA_OPAQUE}
   1.159      ,
   1.160 -    {189, 189, 189}
   1.161 -    , {198, 156, 123}
   1.162 -    , {198, 165, 132}
   1.163 -    , {206, 165, 99}
   1.164 +    {189, 189, 189, SDL_ALPHA_OPAQUE}
   1.165 +    , {198, 156, 123, SDL_ALPHA_OPAQUE}
   1.166 +    , {198, 165, 132, SDL_ALPHA_OPAQUE}
   1.167 +    , {206, 165, 99, SDL_ALPHA_OPAQUE}
   1.168      ,
   1.169 -    {206, 165, 132}
   1.170 -    , {206, 173, 140}
   1.171 -    , {206, 206, 206}
   1.172 -    , {214, 173, 115}
   1.173 +    {206, 165, 132, SDL_ALPHA_OPAQUE}
   1.174 +    , {206, 173, 140, SDL_ALPHA_OPAQUE}
   1.175 +    , {206, 206, 206, SDL_ALPHA_OPAQUE}
   1.176 +    , {214, 173, 115, SDL_ALPHA_OPAQUE}
   1.177      ,
   1.178 -    {214, 173, 140}
   1.179 -    , {222, 181, 148}
   1.180 -    , {222, 189, 132}
   1.181 -    , {222, 189, 156}
   1.182 +    {214, 173, 140, SDL_ALPHA_OPAQUE}
   1.183 +    , {222, 181, 148, SDL_ALPHA_OPAQUE}
   1.184 +    , {222, 189, 132, SDL_ALPHA_OPAQUE}
   1.185 +    , {222, 189, 156, SDL_ALPHA_OPAQUE}
   1.186      ,
   1.187 -    {222, 222, 222}
   1.188 -    , {231, 198, 165}
   1.189 -    , {231, 231, 231}
   1.190 -    , {239, 206, 173}
   1.191 +    {222, 222, 222, SDL_ALPHA_OPAQUE}
   1.192 +    , {231, 198, 165, SDL_ALPHA_OPAQUE}
   1.193 +    , {231, 231, 231, SDL_ALPHA_OPAQUE}
   1.194 +    , {239, 206, 173, SDL_ALPHA_OPAQUE}
   1.195  };
   1.196  
   1.197  Uint8 MooseFrame[MOOSEFRAMES_COUNT][MOOSEFRAME_SIZE*2];