- quadrino_src.zip
- quadrino_resource.zip
- images
- block.bmp
- Board.bmp
- exit.bmp
- gameover.bmp
- left.bmp
- line.bmp
- main.bmp
- options.bmp
- optionscreen.bmp
- pause.bmp
- right.bmp
- s.bmp
- start.bmp
- t.bmp
- Title.bmp
- z.bmp
- layout.ini
- sounds
- bang.wav
- Fade.wav
- gameover.wav
- move.wav
- Quadrino.mp3
- rotate.wav
- SetPiece.wav
- state.wav
- tumble.wav
- quadrino_exe.zip
- Quadrino.exe
- tetris_demo.zip
- block.bmp
- Board.bmp
- exit.bmp
- gameover.bmp
- left.bmp
- line.bmp
- main.bmp
- options.bmp
- optionscreen.bmp
- pause.bmp
- right.bmp
- s.bmp
- start.bmp
- t.bmp
- Title.bmp
- z.bmp
- layout.ini
- bang.wav
- Fade.wav
- gameover.wav
- move.wav
- rotate.wav
- SetPiece.wav
- state.wav
- tetris.mp3
- tumble.wav
- tetris_exe.zip
- Tetris.exe
- tetris_resource.zip
- block.bmp
- Board.bmp
- exit.bmp
- gameover.bmp
- left.bmp
- line.bmp
- main.bmp
- options.bmp
- optionscreen.bmp
- pause.bmp
- right.bmp
- s.bmp
- start.bmp
- t.bmp
- Title.bmp
- z.bmp
- layout.ini
- bang.wav
- Fade.wav
- gameover.wav
- move.wav
- rotate.wav
- SetPiece.wav
- state.wav
- tetris.mp3
- tumble.wav
- tetris_src.zip
|
/* QuadrinoErrors.h *************************************************************
Author: Paul Watt, Copyright (c) 2002
Date: 10/27/2002
Purpose:
******************************************************************************/
#ifndef __QuadrinoERRORS_H
#define __QuadrinoERRORS_H
//
// MessageId: Quadrino_S_COMPLETED_LINES
//
// MessageText:
//
// Indicates that there are completed lines.
//
const HRESULT Quadrino_S_COMPLETED_LINES = MAKE_HRESULT (SEVERITY_SUCCESS, FACILITY_ITF, 0);
//
// MessageId: Quadrino_S_NO_COMPLETE_LINES
//
// MessageText:
//
// Indicates that there are no completed lines.
//
const HRESULT Quadrino_S_NO_COMPLETE_LINES = MAKE_HRESULT (SEVERITY_SUCCESS, FACILITY_ITF, 1);
//
// MessageId: Quadrino_E_COLLISION_TOP
//
// MessageText:
//
// The piece collides with the top border of the game board.
//
const HRESULT Quadrino_E_COLLISION_TOP = MAKE_HRESULT (SEVERITY_ERROR, FACILITY_ITF, 100);
//
// MessageId: Quadrino_E_COLLISION_LEFT
//
// MessageText:
//
// The piece collides with the left border of the game board.
//
const HRESULT Quadrino_E_COLLISION_LEFT = MAKE_HRESULT (SEVERITY_ERROR, FACILITY_ITF, 101);
//
// MessageId: Quadrino_E_COLLISION_RIGHT
//
// MessageText:
//
// The piece collides with the right border of the game board.
//
const HRESULT Quadrino_E_COLLISION_RIGHT = MAKE_HRESULT (SEVERITY_ERROR, FACILITY_ITF, 102);
//
// MessageId: Quadrino_E_COLLISION_BOTTOM
//
// MessageText:
//
// The piece collides with the BOTTOM border of the game board.
//
const HRESULT Quadrino_E_COLLISION_BOTTOM = MAKE_HRESULT (SEVERITY_ERROR, FACILITY_ITF, 103);
//
// MessageId: Quadrino_E_COLLISION_PIECES
//
// MessageText:
//
// The piece collides with the other pieces that have already been placed on the game board.
//
const HRESULT Quadrino_E_COLLISION_PIECES = MAKE_HRESULT (SEVERITY_ERROR, FACILITY_ITF, 104);
#endif
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
I am a software architect and I have been developing software for nearly two decades. Over the years I have learned to value maintainable solutions first. This has allowed me to adapt my projects to meet the challenges that inevitably appear during development. I use the most beneficial short-term achievements to drive the software I develop towards a long-term vision.
C++ is my strongest language. However, I have also used x86 ASM, ARM ASM, C, C#, JAVA, Python, and JavaScript to solve programming problems. I have worked in a variety of industries throughout my career, which include:
• Manufacturing
• Consumer Products
• Virtualization
• Computer Infrastructure Management
• DoD Contracting
My experience spans these hardware types and operating systems:
• Desktop
o Windows (Full-stack: GUI, Application, Service, Kernel Driver)
o Linux (Application, Daemon)
• Mobile Devices
o Windows CE / Windows Phone
o Linux
• Embedded Devices
o VxWorks (RTOS)
o Greenhills Linux
o Embedded Windows XP
I am a Mentor and frequent contributor to CodeProject.com with tutorial articles that teach others about the inner workings of the Windows APIs.
I am the creator of an open source project on GitHub called
Alchemy[
^], which is an open-source compile-time data serialization library.
I maintain my own repository and blog at
CodeOfTheDamned.com/[
^], because code maintenance does not have to be a living hell.