Skip to content
Permalink
Browse files

Rename all C files in cgame/* and shared/* to C++ files

  • Loading branch information...
Kangz committed Sep 3, 2014
1 parent 6f7e336 commit f1f2842103cf69d50df4799226e277c0aea27310
Showing with 41 additions and 45 deletions.
  1. +41 −45 CMakeLists.txt
  2. 0 src/gamelogic/cgame/{cg_animation.c → cg_animation.cpp}
  3. 0 src/gamelogic/cgame/{cg_animmapobj.c → cg_animmapobj.cpp}
  4. 0 src/gamelogic/cgame/{cg_attachment.c → cg_attachment.cpp}
  5. 0 src/gamelogic/cgame/{cg_beacon.c → cg_beacon.cpp}
  6. 0 src/gamelogic/cgame/{cg_buildable.c → cg_buildable.cpp}
  7. 0 src/gamelogic/cgame/{cg_consolecmds.c → cg_consolecmds.cpp}
  8. 0 src/gamelogic/cgame/{cg_draw.c → cg_draw.cpp}
  9. 0 src/gamelogic/cgame/{cg_drawtools.c → cg_drawtools.cpp}
  10. 0 src/gamelogic/cgame/{cg_ents.c → cg_ents.cpp}
  11. 0 src/gamelogic/cgame/{cg_event.c → cg_event.cpp}
  12. 0 src/gamelogic/cgame/{cg_gameinfo.c → cg_gameinfo.cpp}
  13. 0 src/gamelogic/cgame/{cg_main.c → cg_main.cpp}
  14. 0 src/gamelogic/cgame/{cg_marks.c → cg_marks.cpp}
  15. 0 src/gamelogic/cgame/{cg_minimap.c → cg_minimap.cpp}
  16. 0 src/gamelogic/cgame/{cg_parseutils.c → cg_parseutils.cpp}
  17. 0 src/gamelogic/cgame/{cg_particles.c → cg_particles.cpp}
  18. 0 src/gamelogic/cgame/{cg_players.c → cg_players.cpp}
  19. 0 src/gamelogic/cgame/{cg_playerstate.c → cg_playerstate.cpp}
  20. 0 src/gamelogic/cgame/{cg_predict.c → cg_predict.cpp}
  21. 0 src/gamelogic/cgame/{cg_rocket.c → cg_rocket.cpp}
  22. 0 src/gamelogic/cgame/{cg_rocket_dataformatter.c → cg_rocket_dataformatter.cpp}
  23. 0 src/gamelogic/cgame/{cg_rocket_datasource.c → cg_rocket_datasource.cpp}
  24. 0 src/gamelogic/cgame/{cg_rocket_draw.c → cg_rocket_draw.cpp}
  25. 0 src/gamelogic/cgame/{cg_rocket_events.c → cg_rocket_events.cpp}
  26. 0 src/gamelogic/cgame/{cg_rocket_progressbar.c → cg_rocket_progressbar.cpp}
  27. 0 src/gamelogic/cgame/{cg_scanner.c → cg_scanner.cpp}
  28. 0 src/gamelogic/cgame/{cg_servercmds.c → cg_servercmds.cpp}
  29. 0 src/gamelogic/cgame/{cg_snapshot.c → cg_snapshot.cpp}
  30. 0 src/gamelogic/cgame/{cg_trails.c → cg_trails.cpp}
  31. 0 src/gamelogic/cgame/{cg_tutorial.c → cg_tutorial.cpp}
  32. 0 src/gamelogic/cgame/{cg_utils.c → cg_utils.cpp}
  33. 0 src/gamelogic/cgame/{cg_view.c → cg_view.cpp}
  34. 0 src/gamelogic/cgame/{cg_weapons.c → cg_weapons.cpp}
  35. 0 src/gamelogic/shared/{bg_alloc.c → bg_alloc.cpp}
  36. 0 src/gamelogic/shared/{bg_misc.c → bg_misc.cpp}
  37. 0 src/gamelogic/shared/{bg_parse.c → bg_parse.cpp}
  38. 0 src/gamelogic/shared/{bg_pmove.c → bg_pmove.cpp}
  39. 0 src/gamelogic/shared/{bg_slidemove.c → bg_slidemove.cpp}
  40. 0 src/gamelogic/shared/{bg_teamprogress.c → bg_teamprogress.cpp}
  41. 0 src/gamelogic/shared/{bg_utilities.c → bg_utilities.cpp}
  42. 0 src/gamelogic/shared/{bg_voice.c → bg_voice.cpp}
@@ -774,14 +774,14 @@ set( SDLLIST
)

set( GAMESHAREDLIST
${GAMELOGIC_DIR}/shared/bg_misc.c
${GAMELOGIC_DIR}/shared/bg_parse.c
${GAMELOGIC_DIR}/shared/bg_pmove.c
${GAMELOGIC_DIR}/shared/bg_slidemove.c
${GAMELOGIC_DIR}/shared/bg_alloc.c
${GAMELOGIC_DIR}/shared/bg_voice.c
${GAMELOGIC_DIR}/shared/bg_teamprogress.c
${GAMELOGIC_DIR}/shared/bg_utilities.c
${GAMELOGIC_DIR}/shared/bg_misc.cpp
${GAMELOGIC_DIR}/shared/bg_parse.cpp
${GAMELOGIC_DIR}/shared/bg_pmove.cpp
${GAMELOGIC_DIR}/shared/bg_slidemove.cpp
${GAMELOGIC_DIR}/shared/bg_alloc.cpp
${GAMELOGIC_DIR}/shared/bg_voice.cpp
${GAMELOGIC_DIR}/shared/bg_teamprogress.cpp
${GAMELOGIC_DIR}/shared/bg_utilities.cpp
${GAMELOGIC_DIR}/shared/CommonProxies.cpp
${GAMELOGIC_DIR}/shared/CommonProxies.h
${GAMELOGIC_DIR}/shared/VMMain.cpp
@@ -790,39 +790,39 @@ set( GAMESHAREDLIST

set( CGAMELIST
${GAMELOGIC_DIR}/cgame/cg_api.cpp
${GAMELOGIC_DIR}/cgame/cg_consolecmds.c
${GAMELOGIC_DIR}/cgame/cg_buildable.c
${GAMELOGIC_DIR}/cgame/cg_animation.c
${GAMELOGIC_DIR}/cgame/cg_animmapobj.c
${GAMELOGIC_DIR}/cgame/cg_draw.c
${GAMELOGIC_DIR}/cgame/cg_drawtools.c
${GAMELOGIC_DIR}/cgame/cg_ents.c
${GAMELOGIC_DIR}/cgame/cg_event.c
${GAMELOGIC_DIR}/cgame/cg_main.c
${GAMELOGIC_DIR}/cgame/cg_marks.c
${GAMELOGIC_DIR}/cgame/cg_minimap.c
${GAMELOGIC_DIR}/cgame/cg_players.c
${GAMELOGIC_DIR}/cgame/cg_playerstate.c
${GAMELOGIC_DIR}/cgame/cg_predict.c
${GAMELOGIC_DIR}/cgame/cg_servercmds.c
${GAMELOGIC_DIR}/cgame/cg_snapshot.c
${GAMELOGIC_DIR}/cgame/cg_view.c
${GAMELOGIC_DIR}/cgame/cg_weapons.c
${GAMELOGIC_DIR}/cgame/cg_scanner.c
${GAMELOGIC_DIR}/cgame/cg_attachment.c
${GAMELOGIC_DIR}/cgame/cg_trails.c
${GAMELOGIC_DIR}/cgame/cg_particles.c
${GAMELOGIC_DIR}/cgame/cg_tutorial.c
${GAMELOGIC_DIR}/cgame/cg_utils.c
${GAMELOGIC_DIR}/cgame/cg_beacon.c
${GAMELOGIC_DIR}/cgame/cg_rocket.c
${GAMELOGIC_DIR}/cgame/cg_rocket_draw.c
${GAMELOGIC_DIR}/cgame/cg_rocket_events.c
${GAMELOGIC_DIR}/cgame/cg_rocket_datasource.c
${GAMELOGIC_DIR}/cgame/cg_rocket_progressbar.c
${GAMELOGIC_DIR}/cgame/cg_rocket_dataformatter.c
${GAMELOGIC_DIR}/cgame/cg_gameinfo.c
${GAMELOGIC_DIR}/cgame/cg_parseutils.c
${GAMELOGIC_DIR}/cgame/cg_consolecmds.cpp
${GAMELOGIC_DIR}/cgame/cg_buildable.cpp
${GAMELOGIC_DIR}/cgame/cg_animation.cpp
${GAMELOGIC_DIR}/cgame/cg_animmapobj.cpp
${GAMELOGIC_DIR}/cgame/cg_draw.cpp
${GAMELOGIC_DIR}/cgame/cg_drawtools.cpp
${GAMELOGIC_DIR}/cgame/cg_ents.cpp
${GAMELOGIC_DIR}/cgame/cg_event.cpp
${GAMELOGIC_DIR}/cgame/cg_main.cpp
${GAMELOGIC_DIR}/cgame/cg_marks.cpp
${GAMELOGIC_DIR}/cgame/cg_minimap.cpp
${GAMELOGIC_DIR}/cgame/cg_players.cpp
${GAMELOGIC_DIR}/cgame/cg_playerstate.cpp
${GAMELOGIC_DIR}/cgame/cg_predict.cpp
${GAMELOGIC_DIR}/cgame/cg_servercmds.cpp
${GAMELOGIC_DIR}/cgame/cg_snapshot.cpp
${GAMELOGIC_DIR}/cgame/cg_view.cpp
${GAMELOGIC_DIR}/cgame/cg_weapons.cpp
${GAMELOGIC_DIR}/cgame/cg_scanner.cpp
${GAMELOGIC_DIR}/cgame/cg_attachment.cpp
${GAMELOGIC_DIR}/cgame/cg_trails.cpp
${GAMELOGIC_DIR}/cgame/cg_particles.cpp
${GAMELOGIC_DIR}/cgame/cg_tutorial.cpp
${GAMELOGIC_DIR}/cgame/cg_utils.cpp
${GAMELOGIC_DIR}/cgame/cg_beacon.cpp
${GAMELOGIC_DIR}/cgame/cg_rocket.cpp
${GAMELOGIC_DIR}/cgame/cg_rocket_draw.cpp
${GAMELOGIC_DIR}/cgame/cg_rocket_events.cpp
${GAMELOGIC_DIR}/cgame/cg_rocket_datasource.cpp
${GAMELOGIC_DIR}/cgame/cg_rocket_progressbar.cpp
${GAMELOGIC_DIR}/cgame/cg_rocket_dataformatter.cpp
${GAMELOGIC_DIR}/cgame/cg_gameinfo.cpp
${GAMELOGIC_DIR}/cgame/cg_parseutils.cpp
${ENGINE_DIR}/client/cg_api.h
${ENGINE_DIR}/qcommon/print_translated.h
${GAMESHAREDLIST}
@@ -1052,10 +1052,6 @@ set( NACLLIST_MODULE
${LIB_DIR}/nacl/native_client/src/untrusted/nacl/imc_socketpair.c
)

# HACK: Force the compilation of EVERYTHING in C++
file( GLOB_RECURSE EVERYTHING_C "src/engine/*.c" "src/gamelogic/*.c" )
set_source_files_properties( ${EVERYTHING_C} PROPERTIES LANGUAGE CXX )

################################################################################
# Libraries
################################################################################
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit f1f2842

Please sign in to comment.
You can’t perform that action at this time.