summary refs log tree commit diff
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2018-08-04 13:58:44 -0400
committerJune McEnroe <june@causal.agency>2018-08-04 13:58:44 -0400
commit95b46b8559ca6951f198bb526f1b5752fcd303f1 (patch)
tree7f10f0421902627109a69656ca55b1ac99892adc
parentDo not free const string port (diff)
downloadcatgirl-95b46b8559ca6951f198bb526f1b5752fcd303f1.tar.gz
catgirl-95b46b8559ca6951f198bb526f1b5752fcd303f1.zip
Define A_ITALIC if not defined
System ncurses on macOS doesn't define it. At least not in El Capitan.
-rw-r--r--ui.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/ui.c b/ui.c
index d0f56f0..a8e40d9 100644
--- a/ui.c
+++ b/ui.c
@@ -29,6 +29,10 @@
 
 #include "chat.h"
 
+#ifndef A_ITALIC
+#define A_ITALIC A_NORMAL
+#endif
+
 static const int TOPIC_COLS = 512;
 static const int CHAT_LINES = 100;
 static const int INPUT_COLS = 512;
l. This way it's easier to do the correct moves manually. 2022-01-19Add SDL2Config.cmake workarounds for MinGW compilerWilliam D. Jones 2022-01-19Only require CJune McEnroe 2022-01-19Only require CJune McEnroe 2022-01-19Add basic installJune McEnroe 2022-01-19Use cards with add_subdirectoryJune McEnroe 2022-01-19Replace build system with cmakeJune McEnroe 2022-01-19Replace build system with cmakeJune McEnroe Thanks to cr1901 for helping to test this on Windows. 2020-03-31Allow choosing freecell game on command lineJune McEnroe 2020-01-27Remove cards submoduleJune McEnroe 2019-12-19Remove READMEJune McEnroe 2019-12-16Update submodule URLJune McEnroe 2019-12-15Use symlink for README.3June McEnroe 2019-08-27Show game number in titleJune McEnroe 2019-08-27Replicate the FreeCell LCG and deal algorithmJune McEnroe 2019-08-26Move as deep a stack as possible to empty columnsJune McEnroe 2019-08-26Simplify card and stack function namesJune McEnroe 2019-08-26Clean up namingJune McEnroe 2019-08-25Rewrite FreeCellJune McEnroe With move sequencing! 2019-08-25Build with cards submoduleJune McEnroe 2019-08-25Add cards submoduleJune McEnroe 2019-08-25Remove files from cards repoJune McEnroe 2019-08-22Add READMEJune McEnroe 2019-08-22Add exampleJune McEnroe 2019-08-22Add FILES sectionJune McEnroe 2019-08-22Remove gamesJune McEnroe 2019-04-04Mark card functions inlineJune McEnroe 2019-04-04Add listClearJune McEnroe 2019-04-03Tweak mouseButtonUp code a bitJune McEnroe It's still kind of confusing. 2019-04-03Check gameAvail on double-clickJune McEnroe 2019-04-02Select and move cards on mouse upJune McEnroe 2019-04-01Add idSkipJune McEnroe In Windows 95 FREECELL.EXE, the resource IDs are changed to 403, 404 and 405. For some reason. 2019-03-31Fix weird typoJune McEnroe What the hell. 2019-03-30Add undo to freecellJune McEnroe 2019-03-29Replace path.h with asset.hJune McEnroe 2019-03-29Add king win faceJune McEnroe 2019-03-29Change king face directionJune McEnroe 2019-03-29Load king bitmaps in freecellJune McEnroe