Commit Graph

45 Commits

Author SHA1 Message Date
Sam Edwards e2b4353800 general: Replace NULL (and 0 as pointer) with C++11 nullptr
Exceptions to this replacement are:
- .c files
- Headers included by a .c file
- stb_image.h
- dr_flac.h
- Strings
- Comments
2018-06-03 16:35:13 -06:00
Sam Edwards 52e7c952b3 putil: Rename config_util to config_putil 2018-05-14 02:36:42 -06:00
Sam Edwards 9dd37e9dbc general: Add guards to ensure proper BUILDING_ macros defined
This is designed to sanity-check the buildsystem, ensuring that the
expected BUILDING_ macros are defined at the expected time. It
also helps catch cases where the wrong BUILDING_/EXPCL_ macros
are used.
2018-03-25 13:17:52 -06:00
rdb dd2806c8bd Mark constructors 'explicit' for which coercion makes no sense 2017-11-06 19:47:38 +01:00
rdb 8381118a97 Assorted tweaks and compile warning fixes 2016-07-14 12:54:39 +02:00
Sam Edwards 6b8f78c9e0 general: Fix missing includes. 2016-03-15 18:30:24 -07:00
Sam Edwards f0bed9ab1c pnmtext: Remove unused local. 2016-03-15 18:30:24 -07:00
tobspr 0fcfb8e372 New file headers, new comment style 2016-02-17 17:47:48 +01:00
rdb 090e912ce6 Cleanup of comments and whitespace 2016-02-01 22:30:43 +01:00
rdb f4f7df9949 Add signed-distance-field text rendering to DynamicTextFont and egg-mkfont 2015-12-31 22:00:37 +01:00
rdb db3ab953e4 Remove ppremake, genPyCode, and all hacks created to support them 2015-11-09 19:06:49 +01:00
rdb 1e4a39d68e Merge remote-tracking branch 'origin/release/1.9.x' 2015-08-06 17:23:25 +02:00
Ed Swartz b06ff60c10 Fix DynamicTextFont.makeCopy() implementation 2015-08-06 17:21:42 +02:00
rdb f22cc71995 Fix double-precision build blibli 2015-07-29 14:07:06 +02:00
rdb 22120524a2 PNMImage sRGB support, use floats instead of doubles 2015-03-15 17:22:28 +01:00
rdb 02e95bdba3 PNMTextMaker constructor should take FreetypeFont 2014-09-13 17:21:38 +00:00
rdb 20c1f16291 Set default text-pixels-per-unit from 30 to 40 to improve default font quality 2014-03-07 22:09:29 +00:00
David Rose dfe16c64f6 rename all Panda-built libraries to begin with libp3 or libpanda 2011-12-06 02:39:21 +00:00
David Rose 134e9a9e92 dual names for interrogate 2011-10-11 00:45:51 +00:00
David Rose 501470169f stdfloat_double 2011-10-10 05:25:10 +00:00
David Rose 4785161374 squelch some more compiler warnings 2011-06-18 00:16:48 +00:00
David Rose 4eae7e6635 remove unused declaration 2010-05-19 13:01:42 +00:00
David Rose 6a7580ca45 TextFont::make_copy() 2010-05-03 03:51:15 +00:00
David Rose 96dbda26ba calc_width 2009-12-13 07:53:30 +00:00
David Rose c172d80a41 more fixes from Gogg: Windows 7 fullscreen workaround 2009-11-18 22:14:05 +00:00
David Rose 9dad929019 FreetypeFace::init_type() 2009-11-18 15:19:23 +00:00
David Rose 8a64a06946 changes from Gogg: startup optimization, freetype faces, string tokenizer 2009-11-18 15:00:52 +00:00
rdb 10f17086af Exposed PNMTextGlyph 2009-02-07 07:37:07 +00:00
David Rose fb9c56432a we are now using the modified BSD license 2008-05-28 18:37:20 +00:00
Zachary Pavlov 220d33e006 okay, this is going to be a big commit. The basic idea here is to add transparent defines to allow for directory based dlls later. This will let us build tau again. ugggg 2007-07-20 23:02:51 +00:00
David Rose d87cae471d more better pstats mem tracking 2007-05-10 14:40:52 +00:00
David Rose 629b215aee DynamicTextFont::RenderMode 2007-01-24 00:27:39 +00:00
Roger Hughston 7b1d16480f More OSx Stuff .. lib prc refence 2006-03-14 22:06:59 +00:00
David Rose 420ab68136 implicitly decompress/compress for input/output files named .pz; also support vfs-implicit-pz. 2006-01-25 17:45:31 +00:00
Josh Yelon bc5fc1af02 misc fixes 2005-10-02 05:48:25 +00:00
David Rose 7d5ae1e3f6 move more config variables to new interface 2004-12-23 05:42:42 +00:00
David Rose 99d24b226b dos2unix 2004-06-14 19:22:15 +00:00
David Rose 1573ff1f73 generate_into() now returns the width 2004-03-17 06:55:35 +00:00
David Rose 843c0331ae update license, change remaining local #includes to use quotation marks 2004-02-13 19:27:33 +00:00
David Rose 93384e8988 handle fixed-pixel-size fonts better 2003-09-13 01:05:12 +00:00
David Rose 1b97d7e178 support solid interiors 2003-09-10 16:30:38 +00:00
David Rose ef39b3cb23 install config_pnmtext.h 2003-09-09 20:40:02 +00:00
David Rose 8ba538ac91 oops, includes 2003-09-09 20:08:31 +00:00
David Rose 6612040c54 add pnmtext 2003-09-09 19:27:58 +00:00
David Rose 6409ff6b7f add pnmtext library 2003-09-09 19:26:25 +00:00