~mjmendoza/quixie/trunk

« back to all changes in this revision

Viewing changes to src/cls/kse_Konsol.cpp

  • Committer: creek23
  • Date: 2018-06-12 15:52:49 UTC
  • Revision ID: svn-v4:5d579d6f-57a3-4165-9b1e-6dacaf8da75a:quixie:683
* done with partial functional testing
* it's confirmed to be compilable and tested to be partially functional :)
* silenced a huge amount of warning messages
* commented out graphics
* still todo Net/MySQL handling

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
//translated this 17.09.30 by mjmendozaIV
 
2
#include "../../kage.hpp"
2
3
#include "../../kageExterns.hpp"
3
4
 
4
5
unsigned long SynKonsol(unsigned long &iIndex) {
256
257
        iColorG = iColorG % 256;
257
258
        iColorB = iColorB % 256;
258
259
        
 
260
#ifdef QUIXIE_CAIRO
259
261
        iColor = KAGE_RGBA(iColorR, iColorG, iColorB, 255);
260
 
        
 
262
#endif  
261
263
        SetNumValue(iRet, CDbl(iColor));
262
264
        return iIndex;
263
265
}
295
297
        iColorB = iColorB % 256;
296
298
        iColorA = iColorA % 256;
297
299
        
 
300
#ifdef QUIXIE_CAIRO
298
301
        iColor = KAGE_RGBA(iColorR, iColorG, iColorB, iColorA);
 
302
#endif
299
303
        
300
304
        SetNumValue(iRet, CDbl(iColor));
301
305
        return iIndex;