summary refs log tree commit diff
path: root/bin/gfxx.c (follow)
Commit message (Collapse)AuthorAge
* Reunify gfx and binJune McEnroe2019-01-17
|
* Move graphical programs out of binJune McEnroe2018-07-30
| | | | I wonder when the last time was something needed -ledit...
* Use break; case style everywhere*June McEnroe2018-05-25
| | | | *Except in switches where every branch does a return.
* Tabify binJune McEnroe2018-05-13
|
* Format gfxx options with uppercase hexadecimalJune McEnroe2018-04-16
| | | | | Missed this one because of the #. Whose behaviour is dumb, by the way. %#X prefixes with "0X", which no one should ever have to look at.
* Simplify gfxx palette generationJune McEnroe2018-03-31
|
* Switch to HSV for gfxx palette generationJune McEnroe2018-03-31
|
* Generate default palette in gfxxJune McEnroe2018-03-30
|
* Clean up gfxx and add default paletteJune McEnroe2018-02-28
| | | | | | | | | | | | | | The palette was generated in Rust: extern crate hsl; fn main() { for i in 0..256 { let h = i as f64 * 360.0 / 256.0; let hsl = hsl::HSL { h, s: 1.0, l: 0.5 }; let (r, g, b) = hsl.to_rgb(); println!("0x{:02X}{:02X}{:02X},", r, g, b); } }
* Fix zlib types on 32-bitJune McEnroe2018-02-22
|
* Always dump truecolor PNG in gfxxJune McEnroe2018-02-18
| | | | pngo can handle reducing it to grayscale.
* Encode grayscale PNGs in gfxxJune McEnroe2018-02-14
|
* Avoid accessing past last byte in gfxxJune McEnroe2018-02-14
|
* Print PNG path on gfxx dumpJune McEnroe2018-02-14
|
* Add gfxx 4444 presetJune McEnroe2018-02-14
|
* Fix gfxx row scrolling for BITS_TOTAL < 8June McEnroe2018-02-14
|
* Write at least 1 for each component of sBIT in gfxxJune McEnroe2018-02-14
| | | | PNG requires each to be 0 < x <= depth. ImageMagick actually checks.
* Add gfxx DUMP_ALLJune McEnroe2018-02-14
|
* Replace pngChunk with glorious C metaprogrammingJune McEnroe2018-02-14
|
* Move PNG filename counter into gfxxJune McEnroe2018-02-14
| | | | pngs.c was a fun idea but a little convoluted.
* Unset dump in gfxx drawJune McEnroe2018-02-13
| | | | Otherwise hitting 'x' then resizing would cause dumps.
* Dump gfxx screen to PNG on stdout with xJune McEnroe2018-02-12
|
* Add PNG encoder to gfxxJune McEnroe2018-02-12
|
* Tweak gfxx code styleJune McEnroe2018-02-11
| | | | Just things.
* Avoid xres/yres names in gfxxJune McEnroe2018-02-11
|
* Exit by returning false from input to gf{b,cocoa}June McEnroe2018-02-07
| | | | I haven't built gfb yet, so a fix commit is probably incoming.
* Rename title to status in gfcocoaJune McEnroe2018-02-07
| | | | Also separate the options and fileName buffers in gfxx.
* Require 4 bit counts on gfxx command lineJune McEnroe2018-02-06
|
* Add gfxx controls for custom bitsJune McEnroe2018-02-06
|
* Add gfxx palette loading and dumpingJune McEnroe2018-02-06
|
* Replace gfxx SCALE macro with interp functionJune McEnroe2018-02-06
| | | | Short-circuits for b = 8.
* Rename gfxx space indexed and add palette samplingJune McEnroe2018-02-05
|
* Take scale into account for when to stop drawing in gfxxJune McEnroe2018-02-05
|
* Always skip most significant bits in gfxxJune McEnroe2018-02-05
| | | | This works for CARDS.DLL but might not for other things. We'll see.
* Set title in gfcocoaJune McEnroe2018-02-05
|
* Rewrite gfxx bit handlingJune McEnroe2018-02-05
| | | | | | | | | | | Specifies how many bits for each of "alpha" (ignored), red, green, blue. Separates byte-order and bit-order. Much more flexible, but now won't render CARDS.DLL graphics properly due to the skip bit being not where it expects. Also mmaps the file instead of reading it all in. And the default palette and sampling got removed again for now, since it's too awkward to use.
* Add flip option to gfxxJune McEnroe2018-02-05
| | | | This handles upside-down graphics much better than reverse did.
* Remove gfxx reverse optionJune McEnroe2018-02-05
|
* Fix gfxx draw stop conditionJune McEnroe2018-02-04
| | | | Would not draw the last partially visible column when mirrored.
* Avoid doing excessive work in gfxxJune McEnroe2018-02-04
| | | | By stopping when the next column would be off the edge of the buffer.
* Add palette sampling to gfxxJune McEnroe2018-02-04
|
* Add 4-bit RGB to gfxxJune McEnroe2018-02-04
| | | | Replace default palette with alternating black and white.
* Separate gfxx and its framebuffer frontendJune McEnroe2018-02-03
|
* Add gfxx palette loadingJune McEnroe2018-02-02
|
* Fix color scaling in gfxxJune McEnroe2018-02-02
| | | | The 8-bit RGB palette definitely looks right now.
* Rework gfxx controlsJune McEnroe2018-02-02
| | | | Also hardcode the right palette for CARDS.DLL.
* Add RGB and GRAY macros in gfxxJune McEnroe2018-02-02
|
* Add colorspaces and mirroring to gfxxJune McEnroe2018-02-02
| | | | Also 4-bit color and a palette that can't be set yet.
* Blank framebuffer with sampled background on exitJune McEnroe2018-02-01
| | | | This should work like 99% of the time, probably.
* Add license notice to gfxxJune McEnroe2018-02-01
|