summary refs log tree commit diff
path: root/cards.h (unfollow)
Commit message (Collapse)Author
2019-03-28Add right click to reveal cardsJune McEnroe
This is a feature I didn't know about until reading the help.
2019-03-28Fix double-click regardless of selectionJune McEnroe
2019-03-27Add "configure" scriptJune McEnroe
Look I'm being all compatible and stuff.
2019-03-27Replace feature test macro with _XOPEN_SOURCEJune McEnroe
For some reason the former makes snprintf disappear on macOS even though it's specified in C99???
2019-03-27Refactor MakefileJune McEnroe
2019-03-27Add feature test macro for GNU in dumpJune McEnroe
2019-03-27Add FreeCellJune McEnroe
2019-03-27Remove unneeded includeJune McEnroe
2019-03-27Add Cards_InvertJune McEnroe
2019-03-27Add flags to dumpJune McEnroe
And just use UNIX stuff since it's a utility.
2019-03-27Factor out layout codeJune McEnroe
2019-03-26Search for lowercase cards.dll and fall back to current directoryJune McEnroe
2019-03-26Make Stack capacity configurableJune McEnroe
Allows games to use multiple decks.
2019-03-26Remove stackDeckJune McEnroe
Other games will probably want to do it differently.
2019-03-25Implement loadPEJune McEnroe
Can now load cards.dll from Windows XP.
2019-03-25Only set palette length for bitsPerPixel < 16June McEnroe
The awful XP card backs are 24-bit.
2019-03-24Fix gcc sign warningsJune McEnroe
2019-03-24Use SDL2_PREFIX as make variableJune McEnroe
2019-03-24Add missing time.h includeJune McEnroe
2019-03-24Prepare for PE loadingJune McEnroe
2019-03-24Add back dump Makefile targetJune McEnroe
Oops, don't know why that got deleted.
2019-03-24Use SDL_RenderSetLogicalSize rather than SetScaleJune McEnroe
2019-03-24Use Card typedefJune McEnroe
2019-03-24Choose card back randomlyJune McEnroe
2019-03-24Add undoJune McEnroe
2019-03-24Use rand(3)June McEnroe
Disgusting, I know. randUniform is based on the FreeBSD implementation of arc4random_uniform(3).
2019-03-24Search pref path, base path for CARDS.DLL, SOL.EXEJune McEnroe
2019-03-24Use SDL_ShowSimpleMessageBox for errorsJune McEnroe
2019-03-24Factor out suit, color and rank functionsJune McEnroe
I plan to implement other solitaire games.
2019-03-22Treat multiple-of-two-clicks as double-clicksJune McEnroe
2019-03-22Treat multi-clicks as double-clicksJune McEnroe
2019-03-22Add d keyJune McEnroe
2019-03-22Add F2 and b temporary keyJune McEnroe
2019-03-22Implement the gameJune McEnroe
2019-03-21Refactor layout code slightlyJune McEnroe
2019-03-20Separate layout step for draggingJune McEnroe
2019-03-20Remove demoJune McEnroe
2019-03-20Add WIP sol.cJune McEnroe
2019-03-17Only check errors from create callsJune McEnroe
2019-03-16Add demoJune McEnroe
2019-03-16Add flags to fix up cards graphicsJune McEnroe
2019-03-15Simplify Cards constantsJune McEnroe
2019-03-15Turn on -WpedanticJune McEnroe
2019-03-15Add Cards_{Width,Height} constantsJune McEnroe
2019-03-14Handle error from SDL_SaveBMPJune McEnroe
2019-03-14Rewrite using SDLJune McEnroe
2019-03-10Add cards.h, cards.c, dump.cJune McEnroe