Changeset 10


Ignore:
Timestamp:
Feb 21, 2018, 12:49:59 AM (7 years ago)
Author:
Gregg Young
Message:

The changes in these files were made to fix Open Watcom compiler, WRC and wipfc errors and warning. There are several more in the next commit.

Location:
trunk
Files:
16 edited

Legend:

Unmodified
Added
Removed
  • trunk/common.rc

    r2 r10  
    2525#include "version.h"
    2626
    27 ICON    1 "src\\data\\gotcha.ico"
    28 POINTER 2 "src\\data\\gotcha.ptr"
    29 BITMAP  3 "src\\data\\snap.bmp"
    30 BITMAP  4 "src\\data\\smile.bmp"
     27ICON    1 "..\\data\\gotcha.ico"
     28POINTER 2 "..\\data\\gotcha.ptr"
     29BITMAP  3 "..\\data\\snap.bmp"
     30BITMAP  4 "..\\data\\smile.bmp"
    3131
    3232/** Haupthilfstabelle ****************************************************/
  • trunk/czech/gotrescz.rc

    r4 r10  
    2222
    2323/* Please do NOT try to translate the following statement :-) */
    24 RCINCLUDE "src\common.rc"
     24RCINCLUDE "..\common.rc"
    2525
    2626/* Pros¡m, upravte jm‚no jazyka (ale ponechte Ÿ¡slo) :-)
  • trunk/deutsch/gotresde.rc

    r5 r10  
    2020
    2121/* Bitte die folgende Zeile NICHT bersetzen :-) */
    22 RCINCLUDE "src\common.rc"
     22RCINCLUDE "..\common.rc"
    2323
    2424/* Please adjust the name of the language (but leave the number alone :-)
  • trunk/dll/gotchdll.h

    r2 r10  
    22#ifndef _THTH_GOTCHDLL_H_
    33#define _THTH_GOTCHDLL_H_
     4#ifdef __cplusplus
     5      extern "C" {
     6#endif
    47
    58extern void EXPENTRY InitDLL (HAB hab, HWND hwnd);
     
    811extern USHORT Version (VOID);
    912
     13#ifdef __cplusplus
     14        }
    1015#endif
     16
     17#endif
  • trunk/english/gotcha_en.ipf

    r6 r10  
    11:userdoc.
    22
    3 .im src\common.ipf
     3.im ..\common.ipf
    44
    55.*-------------------------------------------------------------------------
     
    77
    88:h1 id=about res=1000.About &progname.
    9 :artwork name='src\data\gotcha.bmp' align=center.
     9:artwork name='..\data\gotcha.bmp' align=center.
    1010:p.&progname. is a small (well, not :hp1.that:ehp1. small any more)
    1111utility for OS/2 which allows to easily capture windows, window interiors,
     
    1616.* FIXME
    1717.* changed from:
    18 .*  (bitmap format)
     18(bitmap format)
    1919.* changed to:
    20 .*  (in many image formats, depending on what MMOS/2 can do).
     20(in many image formats, depending on what MMOS/2 can do).
    2121
    2222:p.&progname. also has features for automatically making a capture every n
     
    373373.*-------------------------------------------------------------------------
    374374.*Version history
    375 :h2 id=history.Version history :p.Here you can see what was added or changed
     375:h2 id=history res=5001.Version history
     376
     377:p.Here you can see what was added or changed
    376378in the different versions of the program.
    377379
     
    543545.*fold00.*Future enhancements
    544546
    545 :h2 id=future.Future enhancements
     547:h2 id=future res=5002.Future enhancements
    546548:p.Well, there's still a few things that users requested and that will be
    547549added a long time ago in a galaxy far away ... aarg, a future version I
     
    557559.*fold00.*Disclaimer & legal stuff
    558560
    559 :h1 id=disclaimer.Disclaimer &amp. legal stuff
     561:h1 id=disclaimer res=5003.Disclaimer &amp. legal stuff
    560562:p.Following are the usual disclaimers. For those of you, who have read them
    561563far too many times, here is just the short version&colon.
     
    605607.*fold00.*GNU Public License
    606608
    607 :h1 id=gpl.GNU GENERAL PUBLIC LICENSE
     609:h1 id=gpl res=5004.GNU GENERAL PUBLIC LICENSE
    608610
    609611:lines.
     
    954956.*fold00.*Author & Gotcha! homepage
    955957
    956 :h1 id=author.Author &amp. &progname. homepage
     958:h1 id=author res=5005.Author &amp. &progname. homepage
    957959:p.:hp7.Author:ehp7.
    958960
     
    970972:edl.
    971973
    972 :artwork name='src\data\teamlogo.bmp' align=center.
     974:artwork name='..\data\teamlogo.bmp' align=center.
    973975:p.Proud member of Team OS/2 Region Trier (:hp1.www.teamos2.ipcon.de:ehp1.),
    974976the makers of the "Team Trier Collection"-CDROM.
     
    986988.*-------------------------------------------------------------------------
    987989.*fold00.*Help wanted!
    988 :h1 id=helpwanted.Help wanted!
     990:h1 id=helpwanted res=5006.Help wanted!
    989991:p.Now that &progname. supports other languages, I of course want to include
    990992as many as possible. The problem is that I only speak english and german well
     
    10051007.*fold00.*Credits
    10061008
    1007 :h1 id=credits.Credits
     1009:h1 id=credits res=5007.Credits
    10081010:p.I wish to thank the following people, for their help and support with
    10091011&progname.&colon.
     
    10271029.*-------------------------------------------------------------------------
    10281030.*fold00.*Registering
    1029 :h1 id=register."Registering"
     1031:h1 id=register res=5008."Registering"
    10301032.*:p. if you are satisfied with what &progname. 1.67 offers, you are free to keep
    10311033.*using this version ... but please keep in mind that it lacks many useful
     
    11091111.*fold00.*Dedication
    11101112
    1111 :h1 id=dedication.Dedication
    1112 :p.:artwork name='src\data\rosaleen.bmp' align=center.
     1113:h1 id=dedication res=5009.Dedication
     1114:p.:artwork name='..\data\rosaleen.bmp' align=center.
    11131115:hp2.
    11141116.ce Gotcha! is dedicated to Rosaleen.
  • trunk/gotcha.cpp

    r2 r10  
    2121
    2222#include "gotcha.h"
    23 //#include "dll/gotchdll.h"
     23#include "dll/gotchdll.h"
    2424#include "settings.h"
    2525#include "string.h"
  • trunk/gotcha.h

    r2 r10  
    2828#define INCL_DOSRESOURCES
    2929#define INCL_WINHELP
     30#define INCL_MMIOOS2
    3031
    3132#define OS2EMX_PLAIN_CHAR
     
    8384
    8485HBITMAP  CaptureWindow (HWND hwnd, HWND hwndParent, PRECTL prcl, BOOL f);
    85 VOID     SaveBitmap (HBITMAP hbm, HPS hps);
     86VOID     SaveBitmap (HBITMAP hbm, HPS hps, int width, int height, int bitCount);
    8687VOID     SaveBitmapToClipboard (HBITMAP hbm);
    8788VOID     SaveBitmapToFile (HBITMAP hbm, PSZ psz, HPS hps);
  • trunk/gotcha.rc

    r2 r10  
    1 ICON 1 "SRC\\gotcha.ico"
     1ICON 1 ".\\gotcha.ico"
  • trunk/italiano/gotcha_it.ipf

    r6 r10  
    11:userdoc.
    22
    3 .*  Note from Thorsten: This file is not licensed under the GPL but
     3.* Note from Thorsten: This file is not licensed under the GPL but
    44.* copyright by Alberto Gabrielli.
    55
    66.*##############################
    77.*
    8 .*      Gotcha!
    9 .*      =======
    10 .*      italiano.ipf
    11 .*      v.1.73 - GA
    12 .*      2002-05-21
     8.*    Gotcha!
     9.*    =======
     10.*    italiano.ipf
     11.*    v.1.73 - GA
     12.*    2002-05-21
    1313.*
    14 .*      (C) 2002 - Alberto Gabrielli
     14.*    (C) 2002 - Alberto Gabrielli
    1515.*
    1616.*##############################
     
    2424.*                  - Removed a "&version." no longer needed
    2525
    26 .im src\common.ipf
     26.im ..\common.ipf
    2727
    2828.*-------------------------------------------------------------------------
     
    3030
    3131:h1 id=about res=1000.Informazioni sul programma
    32 :artwork name='src\data\gotcha.bmp' align=center.
     32:artwork name='..\data\gotcha.bmp' align=center.
    3333.*:p.Attention&colon. This version of the documentation may be outdated or
    3434.*incomplete. If you think you are missing something, see the English version!
     
    415415.*-------------------------------------------------------------------------
    416416.*FOLD00.*Version history
    417 :h2 id=history.Cronologia :p.Questa pagina contiene l'elenco dei cambiamenti nelle varie
     417:h2 id=history res=5001.Cronologia
     418
     419:p.Questa pagina contiene l'elenco dei cambiamenti nelle varie
    418420versioni del programma.
    419421
     
    527529.*fold00.*Bugs
    528530
    529 :h2 id=bugs.Problemi conosciuti
     531:h2 id=bugs res=5002.Problemi conosciuti
    530532:p.Dopo il rilascio della v1.00, la mia sensazione che il codice di &progname. fosse il
    531533pi— pasticciato degli ultimi anni si Š rivelata esatta, visto che
     
    604606.*fold00.*Future enhancements
    605607
    606 :h2 id=future.Miglioramenti futuri
     608:h2 id=future res=5003.Miglioramenti futuri
    607609:p.Beh, ci sono ancora alcune cose richieste dagli utenti, e che verranno aggiunte in un tempo
    608610lontano, in una remotissima galassia... aargh, in una futura versione, intendevo... ;-)
     
    616618.*fold00.*Disclaimer & legal stuff
    617619
    618 :h1 id=disclaimer.Disclaimer &amp. questioni legali
     620:h1 id=disclaimer res=5004.Disclaimer &amp. questioni legali
    619621
    620622:p.[inizio N.d.T.]
     
    700702.*fold00.*GNU Public License
    701703
    702 :h1 id=gpl.GNU GENERAL PUBLIC LICENSE
     704:h1 id=gpl res=5005.GNU GENERAL PUBLIC LICENSE
    703705
    704706:lines.
     
    10491051.*fold00.*Author & Gotcha! homepage
    10501052
    1051 :h1 id=author.L'autore &amp. la pagina Web di &progname.
     1053:h1 id=author res=5006.L'autore &amp. la pagina Web di &progname.
    10521054:p.:hp7.Autore:ehp7.
    10531055
     
    10651067:edl.
    10661068
    1067 :artwork name='src\data\teamlogo.bmp' align=center.
     1069:artwork name='..\data\teamlogo.bmp' align=center.
    10681070:p.Membro orgoglioso del Team OS/2 Region Trier (:hp1.www.teamos2.ipcon.de:ehp1.),
    10691071i creatori del CD-ROM "Team Trier Collection".
     
    10801082.*-------------------------------------------------------------------------
    10811083.*fold00.*Help wanted!
    1082 :h1 id=helpwanted.Richiesta di aiuto!
     1084:h1 id=helpwanted res=5007.Richiesta di aiuto!
    10831085
    10841086:p.Ora che &progname. gestisce altre lingue, Š chiaro che vorrei includerne quante pi—
     
    11021104.*fold00.*Credits
    11031105
    1104 :h1 id=credits.Ringraziamenti
     1106:h1 id=credits res=5008.Ringraziamenti
    11051107:p.Per il loro l'aiuto ed appoggio su &progname., desidero ringraziare le seguenti persone&colon.
    11061108
     
    11241126.*-------------------------------------------------------------------------
    11251127.*fold00.*Registering
    1126 :h1 id=register."Registrazione"
     1128:h1 id=register res=5009."Registrazione"
    11271129.*:p. if you are satisfied with what &progname. 1.67 offers, you are free to keep
    11281130.*using this version ... but please keep in mind that it lacks many useful
     
    12271229.*fold00.*Dedication
    12281230
    1229 :h1 id=dedication.Dedica
    1230 :p.:artwork name='src\data\rosaleen.bmp' align=center.
     1231:h1 id=dedication res=5010.Dedica
     1232:p.:artwork name='..\data\rosaleen.bmp' align=center.
    12311233:hp2.
    12321234.ce &progname. Š dedicato a Rosaleen.
  • trunk/italiano/gotresit.rc

    r5 r10  
    5656
    5757/* Please do NOT try to translate the following statement :-) */
    58 RCINCLUDE "src\common.rc"
     58RCINCLUDE "..\common.rc"
    5959
    6060/* Please adjust the name of the language (but leave the number alone :-)
  • trunk/mainwin.cpp

    r2 r10  
    326326            // I have no idea why this delay is necessary, but CAP_SCREEN with
    327327            // hiding our window does not work without it ...
    328             _sleep2 (100);
     328            DosSleep (100);
    329329            usState = STATE_SELECTWINDOW;
    330330            WinSendMsg (hwnd, UM_SELECTWINDOW, 0,0);
     
    466466        // I have no idea why this delay is necessary, but CAP_SCREEN with
    467467        // hiding our window does not work without it ...
    468         _sleep2 (100);
     468        DosSleep (100);
    469469        WinSendMsg (hwnd, UM_CAPTURE2, 0,0);
    470470        return MRESULT (FALSE);
  • trunk/portbras/gotcha_br.ipf

    r6 r10  
    22.* :title.Documenta‡Æo do Gotcha! 1.65
    33
    4 .*  Note from Thorsten: This file is not licensed under the GPL but
     4.* Note from Thorsten: This file is not licensed under the GPL but
    55.* copyright by rico Mendon‡a.
    66
    7 .im src\common.ipf
     7.im ..\common.ipf
    88
    99.*-------------------------------------------------------------------------
     
    1111
    1212:h1 id=about res=1000.Sobre Gotcha!
    13 :artwork name='src\\data\\gotcha.bmp' align=center.
     13:artwork name='..\\data\\gotcha.bmp' align=center.
    1414:p.Attention&colon. This version of the documentation may be outdated or
    1515incomplete. If you think you are missing something, see the English version!
     
    317317.*-------------------------------------------------------------------------
    318318.*FOLD00.*Altera‡äes em cada versÆo
    319 :h2 id=history.Altera‡äes em cada versÆo :p.Aqui vocˆ pode ver o que foi acrescentado ou
     319:h2 id=history  res=5001.Altera‡äes em cada versÆo :p.Aqui vocˆ pode ver o que foi acrescentado ou
    320320 alterado nas diferentes versäes deste programa.
    321321
     
    429429.*fold00.*Bugs
    430430
    431 :h2 id=bugs.Bugs conhecidos
     431:h2 id=bugs  res=5002.Bugs conhecidos
    432432:p.Ap¢s o lan‡amento da v1.00, meu consenso de que Gotcha! ‚ o meu c¢digo mais
    433433bagun‡ado dos £ltimos anos se confirmou, pois mesmo os bugs tinham bugs! ;-)
     
    487487.*fold00.*Melhorias futuras
    488488
    489 :h2 id=future.Futuras melhorias
     489:h2 id=future  res=5003.Futuras melhorias
    490490:p.Bem, ainda existem algumas coisas que os usu rios pediram e que serÆo acrescentadas
    491491num futuro distante em uma gal xia long¡nqua ... aarg, quer dizer, em uma versÆo futura  ;-)
     
    501501.*fold00.*Avisos & considera‡äes legais
    502502
    503 :h1 id=disclaimer.Avisos &amp. considera‡äes legais
     503:h1 id=disclaimer  res=5004.Avisos &amp. considera‡äes legais
    504504:p.Seguem os avisos de sempre. Para aqueles que ainda nÆo leram este tipo de aviso
    505505vezes demais, aqui tem uma versÆo mais curta&colon.
     
    545545.*FOLD00.*GNU Public License
    546546
    547 :h1 id=gpl.GNU GENERAL PUBLIC LICENSE
     547:h1 id=gpl  res=5005.GNU GENERAL PUBLIC LICENSE
    548548
    549549:lines.
     
    894894.*fold00.*Homepage do autor e de Gotcha!
    895895
    896 :h1 id=author.Homepage do autor e de &progname.
     896:h1 id=author  res=5006.Homepage do autor e de &progname.
    897897:p.:hp7.Autor:ehp7.
    898898
     
    910910:edl.
    911911
    912 :artwork name='src\\data\\teamlogo.bmp' align=center.
     912:artwork name='..\\data\\teamlogo.bmp' align=center.
    913913:p.Orgulhoso membro do Team OS/2 Region Trier e.V., criadores do CDROM "Team Trier Collection".
    914914
     
    925925.*-------------------------------------------------------------------------
    926926.*fold00.*Precisa-se de ajuda!
    927 :h1 id=helpwanted.Precisa-se de ajuda!
     927:h1 id=helpwanted res=5007.Precisa-se de ajuda!
    928928:p.Agora que &progname. suporta outra l¡nguas, ‚ claro que eu gostaria
    929929de incluir quantas forem poss¡veis. O problema ‚ que eu apenas falo
     
    948948.*fold00.*Cr‚ditos
    949949
    950 :h1 id=credits.Cr‚ditos
     950:h1 id=credits  res=5008.Cr‚ditos
    951951:p.Eu gostaria de agradecer as pessoas abaixo, por sua ajuda e suporte com
    952952&progname.&colon.
     
    970970.*-------------------------------------------------------------------------
    971971.*fold00.*Registrando
    972 :h1 id=register."Registrando"
     972:h1 id=register  res=5009."Registrando"
    973973.*:p. se vocˆ est  satisfeito com o que &progname. 1.67 oferece, vocˆ pode continuar
    974974.*utilizando esta versÆo ... mas lembre-se que ela ainda nÆo possui muitas fun‡äes £teis
     
    10511051.*fold00.*Dedicat¢ria
    10521052
    1053 :h1 id=dedication.Dedicat¢ria
    1054 :p.:artwork name='src\\data\\rosaleen.bmp' align=center.
     1053:h1 id=dedication  res=5010.Dedicat¢ria
     1054:p.:artwork name='..\\data\\rosaleen.bmp' align=center.
    10551055:hp2.
    10561056.ce Gotcha! ‚ dedicado a Rosaleen.
  • trunk/portbras/gotresbr.rc

    r5 r10  
    2323
    2424/* Please do NOT try to translate the following statement :-) */
    25 RCINCLUDE "src\common.rc"
     25RCINCLUDE "..\common.rc"
    2626
    2727/* Please adjust the name of the language (but leave the number alone :-)
  • trunk/rstring.cpp

    r2 r10  
    1717 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
    1818 ***/
    19 
     19#define INCL_DOS
     20#include <os2.h>
    2021#include "rstring.h"
    2122
  • trunk/rstring.h

    r2 r10  
    2121#define _RSTRING_H_
    2222
    23 #define OS2EMX_PLAIN_CHAR
     23//#define OS2EMX_PLAIN_CHAR
     24#define INCL_DOSMODULEMGR
    2425
    2526#include <os2.h>
Note: See TracChangeset for help on using the changeset viewer.