Changeset 261 in Main for trunk


Ignore:
Timestamp:
Oct 5, 2024, 8:19:59 AM (6 weeks ago)
Author:
Nishi
Message:

attempt to fix

Location:
trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Common/dir.c

    r257 r261  
    88#if !defined(_MSC_VER) && !defined(__WATCOMC__)
    99#include <dirent.h>
    10 #elif defined(__WATCOMC__)
     10#elif defined(__WATCOMC__) || defined(_MSC_VER)
    1111#include <direct.h>
     12#endif
     13#ifdef _MSC_VER
     14#include <windows.h>
    1215#endif
    1316#include <stdlib.h>
  • trunk/Server/gui.h

    r255 r261  
    1414#define GUI_TEWI_DATE 108
    1515#define GUI_LOG 109
    16 #define GUI_BUTTON_EXIT 104
    17 #define GUI_BUTTON_RESET 105
     16#define GUI_BUTTON_EXIT 110
     17#define GUI_BUTTON_RESET 111
     18#define GUI_TEWI_WEBSITE 112
    1819
    1920#define TIMER_WATCH_TEWI 1000
  • trunk/Server/gui.rc

    r257 r261  
    22
    33#include <windows.h>
     4
     5#ifdef _MSC_VER
     6#include <winresrc.h>
     7#endif
     8
    49#include "gui.h"
    510#include "tw_version.h"
     
    1419        LTEXT TW_VERSION_TEXT, GUI_TEWI_NAME, 42, 5, 192, 50
    1520        LTEXT "Original by Nishi <nishi@nishi.boats>", GUI_TEWI_ORIGINAL, 42, 5 + 8, 192, 50
    16         LTEXT "Website: http://nishi.boats/tewi", GUI_TEWI_ORIGINAL, 42, 5 + 8 * 2, 192, 50
     21        LTEXT "Website: http://nishi.boats/tewi", GUI_TEWI_WEBSITE, 42, 5 + 8 * 2, 192, 50
    1722        DEFPUSHBUTTON "&OK", IDOK, 75, 35, 50, 10
    1823}
Note: See TracChangeset for help on using the changeset viewer.