Ignore:
Timestamp:
Apr 17, 2011, 10:28:05 AM (12 years ago)
Author:
Sam Hocevar
Message:

Fuck the history, I'm renaming all .hpp files to .h for my own sanity.

Location:
abuse/trunk/src/imlib
Files:
29 edited
31 moved

Legend:

Unmodified
Added
Removed
  • abuse/trunk/src/imlib/Makefile.am

    r142 r481  
    33
    44libimlib_a_SOURCES = \
    5     filter.cpp filter.hpp \
    6     image.cpp image.hpp \
    7     linked.cpp linked.hpp \
    8     input.cpp input.hpp \
    9     palette.cpp palette.hpp \
    10     include.cpp include.hpp \
    11     fonts.cpp fonts.hpp \
    12     specs.cpp specs.hpp \
    13     supmorph.cpp supmorph.hpp \
    14     pcxread.cpp pcxread.hpp \
    15     timage.cpp timage.hpp \
    16     jrand.cpp jrand.hpp \
    17     keys.cpp keys.hpp \
    18     dprint.cpp dprint.hpp \
    19     status.cpp status.hpp \
    20     readwav.cpp readwav.hpp \
    21     pmenu.cpp pmenu.hpp \
    22     scroller.cpp scroller.hpp \
    23     filesel.cpp filesel.hpp \
    24     tools.cpp tools.hpp \
    25     guistat.cpp guistat.hpp \
    26     sprite.cpp sprite.hpp \
    27     jwindow.cpp jwindow.hpp \
    28     main.hpp macs.hpp video.hpp event.hpp mouse.hpp timing.hpp jdir.hpp \
     5    filter.cpp filter.h \
     6    image.cpp image.h \
     7    linked.cpp linked.h \
     8    input.cpp input.h \
     9    palette.cpp palette.h \
     10    include.cpp include.h \
     11    fonts.cpp fonts.h \
     12    specs.cpp specs.h \
     13    supmorph.cpp supmorph.h \
     14    pcxread.cpp pcxread.h \
     15    timage.cpp timage.h \
     16    jrand.cpp jrand.h \
     17    keys.cpp keys.h \
     18    dprint.cpp dprint.h \
     19    status.cpp status.h \
     20    readwav.cpp readwav.h \
     21    pmenu.cpp pmenu.h \
     22    scroller.cpp scroller.h \
     23    filesel.cpp filesel.h \
     24    tools.cpp tools.h \
     25    guistat.cpp guistat.h \
     26    sprite.cpp sprite.h \
     27    jwindow.cpp jwindow.h \
     28    main.h macs.h video.h event.h mouse.h timing.h jdir.h \
    2929    system.h \
    3030    $(NULL)
  • abuse/trunk/src/imlib/dprint.cpp

    r124 r481  
    1414#include <stdio.h>
    1515
    16 #include "macs.hpp"
     16#include "macs.h"
    1717
    1818void  (*dprint_fun)(char *) = NULL;
  • abuse/trunk/src/imlib/dprint.h

    • Property svn:keywords set to Id
  • abuse/trunk/src/imlib/event.h

    • Property svn:keywords set to Id
    r480 r481  
    2525#define RIGHT_BUTTON   2
    2626#define MIDDLE_BUTTON  4
    27 #include "keys.hpp"
    28 #include "sprite.hpp"
    29 #include "mouse.hpp"
     27#include "keys.h"
     28#include "sprite.h"
     29#include "mouse.h"
    3030
    3131class Jwindow;
  • abuse/trunk/src/imlib/filesel.cpp

    r129 r481  
    1010#include "config.h"
    1111
    12 #include "filesel.hpp"
    13 #include "input.hpp"
    14 #include "scroller.hpp"
    15 #include "jdir.hpp"
     12#include "filesel.h"
     13#include "input.h"
     14#include "scroller.h"
     15#include "jdir.h"
    1616
    1717class file_picker : public spicker
  • abuse/trunk/src/imlib/filesel.h

    • Property svn:keywords set to Id
    r480 r481  
    1111#define __FSELECT_HPP_
    1212
    13 #include "jwindow.hpp"
     13#include "jwindow.h"
    1414
    1515Jwindow *file_dialog(char const *prompt, char const *def,
  • abuse/trunk/src/imlib/filter.cpp

    r129 r481  
    1010#include "config.h"
    1111
    12 #include "image.hpp"
    13 #include "macs.hpp"
    14 #include "filter.hpp"
     12#include "image.h"
     13#include "macs.h"
     14#include "filter.h"
    1515
    1616extern unsigned char current_background;
  • abuse/trunk/src/imlib/filter.h

    • Property svn:keywords set to Id
    r480 r481  
    1111#define _FILTER_HPP
    1212
    13 #include "image.hpp"
    14 #include "palette.hpp"
    15 #include "specs.hpp"
     13#include "image.h"
     14#include "palette.h"
     15#include "specs.h"
    1616
    1717class filter
  • abuse/trunk/src/imlib/fonts.cpp

    r124 r481  
    1212#include <ctype.h>
    1313
    14 #include "fonts.hpp"
     14#include "fonts.h"
    1515
    1616texture_font::texture_font(image *letters, image *font_pattern)
  • abuse/trunk/src/imlib/fonts.h

    • Property svn:keywords set to Id
    r480 r481  
    1010#ifndef __FONTS_HPP_
    1111#define __FONTS_HPP_
    12 #include "image.hpp"
    13 #include "timage.hpp"
     12#include "image.h"
     13#include "timage.h"
    1414
    1515
  • abuse/trunk/src/imlib/glview.cpp

    r129 r481  
    1212#include <math.h>
    1313
    14 #include "macs.hpp"
    15 #include "mdlread.hpp"
    16 #include "video.hpp"
    17 #include "image.hpp"
    18 #include "palette.hpp"
    19 #include "linked.hpp"
     14#include "macs.h"
     15#include "mdlread.h"
     16#include "video.h"
     17#include "image.h"
     18#include "palette.h"
     19#include "linked.h"
    2020
    21 #include "glread.hpp"
    22 #include "gifread.hpp"
    23 #include "ppmread.hpp"
     21#include "glread.h"
     22#include "gifread.h"
     23#include "ppmread.h"
    2424
    2525
  • abuse/trunk/src/imlib/guistat.cpp

    r131 r481  
    1212#include <string.h>
    1313
    14 #include "input.hpp"
    15 #include "status.hpp"
    16 #include "timing.hpp"
    17 #include "guistat.hpp"
     14#include "input.h"
     15#include "status.h"
     16#include "timing.h"
     17#include "guistat.h"
    1818
    1919class gui_status_node
  • abuse/trunk/src/imlib/guistat.h

    • Property svn:keywords set to Id
    r480 r481  
    1010#ifndef __GU_STAT_HPP
    1111#define __GU_STAT_HPP
    12 #include "status.hpp"
    13 #include "jwindow.hpp"
     12#include "status.h"
     13#include "jwindow.h"
    1414#include <string.h>
    1515
  • abuse/trunk/src/imlib/image.cpp

    r129 r481  
    1818#include <stdlib.h>
    1919
    20 #include "image.hpp"
    21 #include "macs.hpp"
     20#include "image.h"
     21#include "macs.h"
    2222#include "system.h"
    2323#include "system.h"
  • abuse/trunk/src/imlib/image.h

    • Property svn:keywords set to Id
    r480 r481  
    1212
    1313#include <stdlib.h>
    14 #include "linked.hpp"
    15 #include "palette.hpp"
     14#include "linked.h"
     15#include "palette.h"
    1616#include "system.h"
    17 #include "specs.hpp"
     17#include "specs.h"
    1818#define MAX_DIRTY 200
    1919#define Inew(pointer,type); { make_block(sizeof(type)); pointer=new type; }
  • abuse/trunk/src/imlib/include.cpp

    r124 r481  
    1010#include "config.h"
    1111
    12 #include "include.hpp"
     12#include "include.h"
    1313#include "ctype.h"
    1414
  • abuse/trunk/src/imlib/include.h

    • Property svn:keywords set to Id
    r480 r481  
    1010#ifndef __INCLUDE_HPP_
    1111#define __INCLUDE_HPP_
    12 #include "image.hpp"
    13 #include "palette.hpp"
     12#include "image.h"
     13#include "palette.h"
    1414
    1515void write_include(image *im, palette *pal, char *filename, char *name);
  • abuse/trunk/src/imlib/input.cpp

    r131 r481  
    1212#include <string.h>
    1313
    14 #include "input.hpp"
    15 #include "macs.hpp"
     14#include "input.h"
     15#include "macs.h"
    1616
    1717
  • abuse/trunk/src/imlib/input.h

    • Property svn:keywords set to Id
    r480 r481  
    1010#ifndef __INPUT_HPP_
    1111#define __INPUT_HPP_
    12 #include "jwindow.hpp"
    13 #include "filter.hpp"
     12#include "jwindow.h"
     13#include "filter.h"
    1414
    1515extern WindowManager *wm; /* FIXME: get rid of this if possible */
  • abuse/trunk/src/imlib/jdir.h

    • Property svn:keywords set to Id
  • abuse/trunk/src/imlib/jrand.cpp

    r124 r481  
    1313#include <stdio.h>
    1414
    15 #include "jrand.hpp"
     15#include "jrand.h"
    1616
    1717unsigned short rtable[RAND_TABLE_SIZE];
  • abuse/trunk/src/imlib/jrand.h

    • Property svn:keywords set to Id
  • abuse/trunk/src/imlib/jwindow.cpp

    r131 r481  
    1212#include <string.h>
    1313
    14 #include "video.hpp"
    15 #include "image.hpp"
    16 #include "input.hpp"
    17 #include "event.hpp"
    18 #include "filter.hpp"
    19 #include "event.hpp"
    20 #include "jwindow.hpp"
     14#include "video.h"
     15#include "image.h"
     16#include "input.h"
     17#include "event.h"
     18#include "filter.h"
     19#include "event.h"
     20#include "jwindow.h"
    2121
    2222static int jw_left = 3, jw_right = 3, jw_top = 2, jw_bottom = 3;
  • abuse/trunk/src/imlib/jwindow.h

    • Property svn:keywords set to Id
    r480 r481  
    1010#ifndef __JWIN__
    1111#define __JWIN__
    12 #include "video.hpp"
    13 #include "image.hpp"
    14 #include "event.hpp"
    15 #include "filter.hpp"
    16 #include "event.hpp"
    17 #include "fonts.hpp"
     12#include "video.h"
     13#include "image.h"
     14#include "event.h"
     15#include "filter.h"
     16#include "event.h"
     17#include "fonts.h"
    1818
    1919class ifield;
  • abuse/trunk/src/imlib/keys.cpp

    r56 r481  
    1313#include <ctype.h>
    1414
    15 #include "keys.hpp"
     15#include "keys.h"
    1616
    1717char const *jk_key_names[]=
  • abuse/trunk/src/imlib/keys.h

    • Property svn:keywords set to Id
  • abuse/trunk/src/imlib/linked.cpp

    r124 r481  
    1414#include <string.h>
    1515
    16 #include "linked.hpp"
     16#include "linked.h"
    1717
    1818//
  • abuse/trunk/src/imlib/linked.h

    • Property svn:keywords set to Id
    r480 r481  
    88 */
    99
    10 // linked.hpp  - linked list and linked list node classes
     10// linked.h  - linked list and linked list node classes
    1111// written June 2, 1992 by Jonathan Clark  (at home)
    1212// these classes provide the basic groundwork for any future linked list
  • abuse/trunk/src/imlib/macs.h

    • Property svn:keywords set to Id
  • abuse/trunk/src/imlib/main.h

    • Property svn:keywords set to Id
  • abuse/trunk/src/imlib/morph.cpp

    r129 r481  
    1212#include "config.h"
    1313
    14 #include "morph.hpp"
     14#include "morph.h"
    1515
    1616long trans(long x1, long x2, long frame)
  • abuse/trunk/src/imlib/morph.h

    r57 r481  
    1111#define __MORPH_H_
    1212
    13 #include "image.hpp"
     13#include "image.h"
    1414struct point
    1515{
  • abuse/trunk/src/imlib/morph.hpp

    r129 r481  
    1515#include <stdio.h>
    1616
    17 #include "image.hpp"
    18 #include "palette.hpp"
    19 #include "macs.hpp"
    20 #include "specs.hpp"
    21 #include "filter.hpp"
     17#include "image.h"
     18#include "palette.h"
     19#include "macs.h"
     20#include "specs.h"
     21#include "filter.h"
    2222
    2323
  • abuse/trunk/src/imlib/mouse.h

    • Property svn:keywords set to Id
    r480 r481  
    1010#ifndef __MOUSE_HPP_
    1111#define __MOUSE_HPP_
    12 #include "image.hpp"
    13 #include "sprite.hpp"
     12#include "image.h"
     13#include "sprite.h"
    1414
    1515class JCMouse
  • abuse/trunk/src/imlib/palette.cpp

    r476 r481  
    1212#include <math.h>
    1313
    14 #include "palette.hpp"
    15 #include "image.hpp"
    16 #include "macs.hpp"
    17 #include "video.hpp"
    18 #include "filter.hpp"
     14#include "palette.h"
     15#include "image.h"
     16#include "macs.h"
     17#include "video.h"
     18#include "filter.h"
    1919
    2020palette *lastl=NULL;
  • abuse/trunk/src/imlib/palette.h

    • Property svn:keywords set to Id
    r480 r481  
    1010#ifndef _PALETTE_H_
    1111#define _PALETTE_H_
    12 #include "linked.hpp"
    13 #include "specs.hpp"
     12#include "linked.h"
     13#include "specs.h"
    1414#define COLOR_BITS 6    // On PC-6, most others -8
    1515#define COLOR_SHIFT (8-COLOR_BITS)
  • abuse/trunk/src/imlib/pcxread.cpp

    r134 r481  
    1010#include "config.h"
    1111
    12 #include "pcxread.hpp"
    13 #include "specs.hpp"
     12#include "pcxread.h"
     13#include "specs.h"
    1414
    1515struct PCX_header_type
  • abuse/trunk/src/imlib/pcxread.h

    • Property svn:keywords set to Id
    r480 r481  
    1111#define __PCX_READ_HPP__
    1212
    13 #include "image.hpp"
    14 #include "palette.hpp"
     13#include "image.h"
     14#include "palette.h"
    1515
    1616void write_PCX(image *im, palette *pal, char const *filename);
  • abuse/trunk/src/imlib/pmenu.cpp

    r162 r481  
    1212#include <string.h>
    1313
    14 #include "pmenu.hpp"
     14#include "pmenu.h"
    1515
    1616void pmenu::move(int new_x, int new_y)
  • abuse/trunk/src/imlib/pmenu.h

    • Property svn:keywords set to Id
    r480 r481  
    1111#define __PMENU_HPP_
    1212
    13 #include "input.hpp"
     13#include "input.h"
    1414
    1515class psub_menu;
  • abuse/trunk/src/imlib/readwav.cpp

    r129 r481  
    1010#include "config.h"
    1111
    12 #include "readwav.hpp"
    13 #include "specs.hpp"
    14 #include "macs.hpp"
    15 #include "dprint.hpp"
     12#include "readwav.h"
     13#include "specs.h"
     14#include "macs.h"
     15#include "dprint.h"
    1616
    1717struct wav_chunk
  • abuse/trunk/src/imlib/readwav.h

    • Property svn:keywords set to Id
    r480 r481  
    1010#ifndef __READ_WAV_HPP_
    1111#define __READ_WAV_HPP_
    12 #include "specs.hpp"
     12#include "specs.h"
    1313unsigned char *read_wav(char *filename, long &sample_rate, long &data_size);
    1414void write_wav(char *filename, long sample_rate, long data_size, unsigned char *data);
  • abuse/trunk/src/imlib/scroller.cpp

    r129 r481  
    1010#include "config.h"
    1111
    12 #include "scroller.hpp"
     12#include "scroller.h"
    1313#define HS_ICON_W 10
    1414#define HS_ICON_H 8
  • abuse/trunk/src/imlib/scroller.h

    • Property svn:keywords set to Id
    r480 r481  
    1111#define _SCROLLER_HPP_
    1212
    13 #include "input.hpp"
     13#include "input.h"
    1414
    1515class scroller : public ifield
  • abuse/trunk/src/imlib/specs.cpp

    r162 r481  
    2121#endif
    2222
    23 #include "image.hpp"
    24 #include "palette.hpp"
    25 #include "specs.hpp"
     23#include "image.h"
     24#include "palette.h"
     25#include "specs.h"
    2626#include "system.h"
    27 #include "dprint.hpp"
     27#include "dprint.h"
    2828
    2929char const *spec_types[] =
  • abuse/trunk/src/imlib/specs.h

    • Property svn:keywords set to Id
    r480 r481  
    1717#include <string.h>
    1818
    19 #include "linked.hpp"
     19#include "linked.h"
    2020#include "system.h"
    2121
  • abuse/trunk/src/imlib/sprite.cpp

    r134 r481  
    1212#include <math.h>
    1313
    14 #include "macs.hpp"
    15 #include "video.hpp"
    16 #include "image.hpp"
    17 #include "palette.hpp"
    18 #include "linked.hpp"
    19 #include "sprite.hpp"
     14#include "macs.h"
     15#include "video.h"
     16#include "image.h"
     17#include "palette.h"
     18#include "linked.h"
     19#include "sprite.h"
    2020
    2121
  • abuse/trunk/src/imlib/sprite.h

    • Property svn:keywords set to Id
    r480 r481  
    1010#ifndef __SPRITE_HPP
    1111#define __SPRITE_HPP
    12 #include "macs.hpp"
    13 #include "image.hpp"
    14 #include "linked.hpp"
     12#include "macs.h"
     13#include "image.h"
     14#include "linked.h"
    1515
    1616class sprite : public linked_node
  • abuse/trunk/src/imlib/status.cpp

    r131 r481  
    1212#include <string.h>
    1313
    14 #include "macs.hpp"
    15 #include "status.hpp"
    16 #include "dprint.hpp"
     14#include "macs.h"
     15#include "status.h"
     16#include "dprint.h"
    1717
    1818status_manager *stat_man=NULL;
  • abuse/trunk/src/imlib/status.h

    • Property svn:keywords set to Id
    r480 r481  
    1111#define __STATUS_HPP_
    1212
    13 #include "visobj.hpp"      // get visual object declaration
     13#include "visobj.h"      // get visual object declaration
    1414
    1515
  • abuse/trunk/src/imlib/supmorph.cpp

    r129 r481  
    1010#include "config.h"
    1111
    12 #include "supmorph.hpp"
    13 #include "specs.hpp"
    14 #include "timage.hpp"
    15 #include "timing.hpp"
    16 #include "filter.hpp"
    17 #include "video.hpp"
    18 #include "jrand.hpp"
     12#include "supmorph.h"
     13#include "specs.h"
     14#include "timage.h"
     15#include "timing.h"
     16#include "filter.h"
     17#include "video.h"
     18#include "jrand.h"
    1919
    2020#define p_swap(x,y) { x^=y; y^=x; x^=y; }
  • abuse/trunk/src/imlib/supmorph.h

    • Property svn:keywords set to Id
    r480 r481  
    1111#define __SUPER_MORPH_HPP__
    1212
    13 #include "timage.hpp"
     13#include "timage.h"
    1414
    1515class super_morph
  • abuse/trunk/src/imlib/timage.cpp

    r130 r481  
    1010#include "config.h"
    1111
    12 #include "timage.hpp"
     12#include "timage.h"
    1313
    1414void trans_image::make_color(int c)
  • abuse/trunk/src/imlib/timage.h

    • Property svn:keywords set to Id
    r480 r481  
    1111#define __TIMAGE_HPP_
    1212
    13 #include "image.hpp"
    14 #include "macs.hpp"
    15 #include "palette.hpp"
    16 #include "filter.hpp"
     13#include "image.h"
     14#include "macs.h"
     15#include "palette.h"
     16#include "filter.h"
    1717
    1818/* data is stored in the following format
  • abuse/trunk/src/imlib/timing.h

    • Property svn:keywords set to Id
  • abuse/trunk/src/imlib/tools.cpp

    r124 r481  
    1010#include "config.h"
    1111
    12 #include "tools.hpp"
     12#include "tools.h"
    1313
    1414
  • abuse/trunk/src/imlib/tools.h

    • Property svn:keywords set to Id
    r480 r481  
    1111#define __TOOLS_HPP_
    1212
    13 #include "jwindow.hpp"
    14 #include "input.hpp"
    15 #include "specs.hpp"
    16 #include "scroller.hpp"
    17 #include "visobj.hpp"
     13#include "jwindow.h"
     14#include "input.h"
     15#include "specs.h"
     16#include "scroller.h"
     17#include "visobj.h"
    1818
    1919class tool_picker : public spicker
  • abuse/trunk/src/imlib/video.h

    • Property svn:keywords set to Id
    r480 r481  
    2020#define XWINDOWS_2       2
    2121
    22 #include "image.hpp"
     22#include "image.h"
    2323
    2424
  • abuse/trunk/src/imlib/visobj.cpp

    r131 r481  
    1212#include <string.h>
    1313
    14 #include "input.hpp"
    15 #include "visobj.hpp"
     14#include "input.h"
     15#include "visobj.h"
    1616
    1717void image_visual::draw(image *screen, int x, int y,
  • abuse/trunk/src/imlib/visobj.h

    • Property svn:keywords set to Id
    r480 r481  
    1111#define VIS_OBJECT_HPP
    1212
    13 #include "jwindow.hpp"
    14 #include "filter.hpp"
     13#include "jwindow.h"
     14#include "filter.h"
    1515
    1616class visual_object
Note: See TracChangeset for help on using the changeset viewer.